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

« back to all changes in this revision

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

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