~ubuntu-branches/ubuntu/utopic/gridengine/utopic

« back to all changes in this revision

Viewing changes to source/3rdparty/qtcsh/config/hpux8

  • Committer: Bazaar Package Importer
  • Author(s): Mark Hymers
  • Date: 2008-06-25 22:36:13 UTC
  • Revision ID: james.westby@ubuntu.com-20080625223613-tvd9xlhuoct9kyhm
Tags: upstream-6.2~beta2
ImportĀ upstreamĀ versionĀ 6.2~beta2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * config.h -- configure various defines for tcsh
 
3
 *
 
4
 * All source files should #include this FIRST.
 
5
 *
 
6
 * Edit this to match your system type.
 
7
 */
 
8
 
 
9
#ifndef _h_config
 
10
#define _h_config
 
11
/****************** System dependant compilation flags ****************/
 
12
/*
 
13
 * POSIX        This system supports IEEE Std 1003.1-1988 (POSIX).
 
14
 */
 
15
#define POSIX
 
16
 
 
17
#if defined(__hpux) && !defined(hpux)
 
18
# define hpux
 
19
#endif /* __hpux && !hpux */
 
20
 
 
21
#if __STDC__ && !defined(__GNUC__)
 
22
# define _POSIX_SOURCE
 
23
# ifndef _HPUX_SOURCE
 
24
# define  _HPUX_SOURCE
 
25
# endif /* !_HPUX_SOURCE */
 
26
#endif
 
27
 
 
28
/*
 
29
 * POSIXJOBS    This system supports the optional IEEE Std 1003.1-1988 (POSIX)
 
30
 *              job control facilities.
 
31
 */
 
32
#define POSIXJOBS
 
33
 
 
34
/*
 
35
 * POSIXSIGS    Use the POSIX signal facilities to emulate BSD signals.
 
36
 */
 
37
#undef POSIXSIGS
 
38
 
 
39
/*
 
40
 * VFORK        This machine has a vfork().  
 
41
 *              It used to be that for job control to work, this define
 
42
 *              was mandatory. This is not the case any more.
 
43
 *              If you think you still need it, but you don't have vfork, 
 
44
 *              define this anyway and then do #define vfork fork.  
 
45
 *              I do this anyway on a Sun because of yellow pages brain damage,
 
46
 *              [should not be needed under 4.1]
 
47
 *              and on the iris4d cause SGI's fork is sufficiently "virtual" 
 
48
 *              that vfork isn't necessary.  (Besides, SGI's vfork is weird).
 
49
 *              Note that some machines eg. rs6000 have a vfork, but not
 
50
 *              with the berkeley semantics, so we cannot use it there either.
 
51
 */
 
52
#undef VFORK
 
53
 
 
54
/*
 
55
 * BSDJOBS      You have BSD-style job control (both process groups and
 
56
 *              a tty that deals correctly
 
57
 */
 
58
#define BSDJOBS
 
59
 
 
60
/*
 
61
 * BSDSIGS      You have 4.2-style signals, rather than USG style.
 
62
 *              Note: POSIX systems should not define this unless they
 
63
 *              have sigvec() and friends (ie: 4.3BSD-RENO, HP-UX).
 
64
 */
 
65
#define BSDSIGS
 
66
 
 
67
/*
 
68
 * BSDTIMES     You have BSD-style process time stuff (like rusage)
 
69
 *              This may or may not be true.  For example, Apple Unix
 
70
 *              (OREO) has BSDJOBS and BSDSIGS but not BSDTIMES.
 
71
 */
 
72
#undef BSDTIMES
 
73
 
 
74
/*
 
75
 * BSDLIMIT     You have BSD-style resource limit stuff (getrlimit/setrlimit)
 
76
 */
 
77
#define BSDLIMIT
 
78
 
 
79
/*
 
80
 * BSDNICE      Your system uses setpriority() instead of nice, to
 
81
 *              change a processes scheduling priority
 
82
 */
 
83
#undef BSDNICE
 
84
 
 
85
/*
 
86
 * TERMIO       You have struct termio instead of struct sgttyb.
 
87
 *              This is usually the case for SYSV systems, where
 
88
 *              BSD uses sgttyb. POSIX systems should define this
 
89
 *              anyway, even though they use struct termios.
 
90
 */
 
91
#define TERMIO
 
92
 
 
93
/*
 
94
 * SYSVREL      Your machine is SYSV based (HPUX, A/UX)
 
95
 *              NOTE: don't do this if you are on a Pyramid -- tcsh is
 
96
 *              built in a BSD universe.
 
97
 *              Set SYSVREL to 1, 2, 3, or 4, depending the version of System V
 
98
 *              you are running. Or set it to 0 if you are not SYSV based
 
99
 */
 
100
#define SYSVREL 3
 
101
 
 
102
/*
 
103
 * SIGVOID      Define this if your signal handlers return void.  On older
 
104
 *              systems, signal returns int, but on newer ones, it returns void.
 
105
 */
 
106
#define SIGVOID 
 
107
 
 
108
/*
 
109
 * HAVEDUP2     Define this if your system supports dup2().
 
110
 */
 
111
#define HAVEDUP2
 
112
 
 
113
/*
 
114
 * UTHOST       Does the utmp file have a host field?
 
115
 */
 
116
#define UTHOST
 
117
 
 
118
/*
 
119
 * DIRENT       Your system has <dirent.h> instead of <sys/dir.h>
 
120
 */
 
121
#define DIRENT
 
122
 
 
123
/*
 
124
 * ECHO_STYLE   Optionally change the behavior of the builtin echo
 
125
 *              BOTH_ECHO: Support both bsd options (-n) and sysv escapes (\nnn)
 
126
 *              BSD_ECHO:  Support only -n
 
127
 *              SYSV_ECHO: Support only sysv escapes (\nnn)
 
128
 *              NONE_ECHO: Pure echo.
 
129
 */
 
130
#define ECHO_STYLE BOTH_ECHO    /* Both BSD and SYSV options */
 
131
 
 
132
/****************** local defines *********************/
 
133
#define NAMEI_BUG       /* Great! you broke that one too */
 
134
 
 
135
#define HPUXVERSION 800 /* For HP-UX version 8.00 */
 
136
 
 
137
/****************** configurable hacks ****************/
 
138
/* have been moved to config_f.h */
 
139
#include "config_f.h"
 
140
#endif /* _h_config */