Merge from vendor branch LIBPCAP:
[dragonfly.git] / bin / csh / config.h
1 /* config.h.  Generated automatically by configure.  */
2 /*
3  * config.h -- configure various defines for tcsh
4  *
5  * All source files should #include this FIRST.
6  *
7  * Edit this to match your system type.
8  */
9
10 /* $FreeBSD: src/bin/csh/config.h,v 1.5.2.3 2001/10/08 21:11:00 mp Exp $ */
11 /* $DragonFly: src/bin/csh/config.h,v 1.3 2004/01/26 18:12:54 drhodus Exp $ */
12
13 #ifndef _h_config
14 #define _h_config
15 /****************** System dependant compilation flags ****************/
16 /*
17  * POSIX        This system supports IEEE Std 1003.1-1988 (POSIX).
18  */
19 #define POSIX
20
21 /*
22  * POSIXJOBS    This system supports the optional IEEE Std 1003.1-1988 (POSIX)
23  *              job control facilities.
24  */
25 #define POSIXJOBS
26
27 /*
28  * POSIXSIGS    Use the POSIX signal facilities to emulate BSD signals.
29  */
30 /* #undef POSIXSIGS */
31
32 /*
33  * VFORK        This machine has a vfork().  
34  *              It used to be that for job control to work, this define
35  *              was mandatory. This is not the case any more.
36  *              If you think you still need it, but you don't have vfork, 
37  *              define this anyway and then do #define vfork fork.  
38  *              I do this anyway on a Sun because of yellow pages brain damage,
39  *              [should not be needed under 4.1]
40  *              and on the iris4d cause SGI's fork is sufficiently "virtual" 
41  *              that vfork isn't necessary.  (Besides, SGI's vfork is weird).
42  *              Note that some machines eg. rs6000 have a vfork, but not
43  *              with the berkeley semantics, so we cannot use it there either.
44  */
45 #define VFORK
46
47 /*
48  * BSDJOBS      You have BSD-style job control (both process groups and
49  *              a tty that deals correctly
50  */
51 #define BSDJOBS
52
53 /*
54  * BSDSIGS      You have 4.2-style signals, rather than USG style.
55  *              Note: POSIX systems should not define this unless they
56  *              have sigvec() and friends (ie: 4.3BSD-RENO, HP-UX).
57  */
58 #define BSDSIGS
59
60 /*
61  * BSDTIMES     You have BSD-style process time stuff (like rusage)
62  *              This may or may not be true.  For example, Apple Unix
63  *              (OREO) has BSDJOBS and BSDSIGS but not BSDTIMES.
64  */
65 #define BSDTIMES
66
67 /*
68  * BSDLIMIT     You have BSD-style resource limit stuff (getrlimit/setrlimit)
69  */
70 #define BSDLIMIT
71
72 /*
73  * BSDNICE      Your system uses setpriority() instead of nice, to
74  *              change a processes scheduling priority
75  */
76 #define BSDNICE
77
78 /*
79  * TERMIO       You have struct termio instead of struct sgttyb.
80  *              This is usually the case for SYSV systems, where
81  *              BSD uses sgttyb. POSIX systems should define this
82  *              anyway, even though they use struct termios.
83  */
84 #define TERMIO
85
86 /*
87  * SYSVREL      Your machine is SYSV based (HPUX, A/UX)
88  *              NOTE: don't do this if you are on a Pyramid -- tcsh is
89  *              built in a BSD universe.
90  *              Set SYSVREL to 1, 2, 3, or 4, depending the version of System V
91  *              you are running. Or set it to 0 if you are not SYSV based
92  */
93 #define SYSVREL 0
94
95 /*
96  * YPBUGS       Work around Sun YP bugs that cause expansion of ~username
97  *              to send command output to /dev/null
98  */
99 /* #undef YPBUGS */
100
101 /*
102  * SIGVOID      Define this if your signal handlers return void.  On older
103  *              systems, signal returns int, but on newer ones, it returns void.
104  */
105 #define SIGVOID 
106
107 /*
108  * HAVEDUP2     Define this if your system supports dup2().
109  */
110 #define HAVEDUP2
111
112 /*
113  * UTHOST       Does the utmp file have a host field?
114  */
115 #define UTHOST
116
117 /*
118  * DIRENT       Your system has <dirent.h> instead of <sys/dir.h>
119  */
120 #define DIRENT
121 /****************** local defines *********************/
122 /****************** configurable hacks ****************/
123
124 #include <stdlib.h>
125
126 /* have been moved to config_f.h */
127 #include "config_f.h"
128
129 #if defined(__DragonFly__)
130 #define NLS_BUGS
131 /* we want to use the system malloc when we install as /bin/csh */
132 #define SYSMALLOC
133 #define BSD_STYLE_COLORLS
134 #endif
135
136 #if defined(__bsdi__)
137 /*
138  * _PATH_TCSHELL      if you've change the installation location (vix)
139  */
140 # if _BSDI_VERSION >= 199701
141 #  define _PATH_TCSHELL "/bin/tcsh"
142 /* #  undef SYSMALLOC */
143 #  define SYSMALLOC
144 # else
145 #  define _PATH_TCSHELL "/usr/contrib/bin/tcsh"
146 # endif
147
148 # undef NLS
149 # undef NLS_CATALOGS
150
151 #elif defined(__APPLE__)
152 # define SYSMALLOC
153
154 #else
155 # define NLS_CATALOGS
156 #endif
157
158 #define KANJI
159 #define DSPMBYTE
160
161 #endif /* _h_config */
162 /* config.h.in.  Generated automatically from configure.in by autoheader.  */