1
- /* include/config.h. Generated automatically by configure. */
2
1
/* the purpose of this file is to reduce the use of #ifdef's through
3
2
* the code base by those porting the software, and to facilitate the
4
3
* eventual use of autoconf to build the server
9
8
10
9
#define BLCKSZ 8192
11
10
12
- /*
13
- * The following is set using configure.
14
- */
15
-
16
- /* Set to 1 if you have <termios.h> */
17
- #define HAVE_TERMIOS_H 1
18
-
19
- /* Set to 1 if you have <limits.h> */
20
- #define HAVE_LIMITS_H 1
21
-
22
- /* Set to 1 if you have <values.h> */
23
- /* #undef HAVE_VALUES_H */
24
-
25
- /* Set to 1 if you have isinf() */
26
- #define HAVE_ISINF 1
27
-
28
- /* Set to 1 if you have tzset() */
29
- #define HAVE_TZSET 1
30
-
31
- /* Set to 1 if you have cbrt() */
32
- /* #undef HAVE_CBRT */
33
-
34
- /*
35
- * Code below this point should not require changes
36
- */
37
-
38
- #if defined(HAVE_TERMIOS_H )
39
- # define TERMIOS_H_LOCATION <termios.h>
11
+ #if defined(aix )
12
+ #define TERMIOS_H_LOCATION <termios.h>
40
13
#else
41
- # define TERMIOS_H_LOCATION <sys/termios.h>
14
+ #define TERMIOS_H_LOCATION <sys/termios.h>
42
15
#endif
43
16
44
- /* Temporary: Need to change source files from USE_VALUES_H to HAVE_VALUES_H */
45
- #if defined(HAVE_VALUES_H )
17
+ #if !defined(nextstep )
46
18
#define USE_VALUES_H
47
19
#endif
48
20
49
- /* Temporary: Need to change source files from USE_LIMITS_H to HAVE_LIMITS_H */
50
- #if defined(HAVE_LIMITS_H )
51
- # define USE_LIMITS_H
52
- #endif
53
-
54
- #if !defined(HAVE_ISINF )
55
- # define NEED_ISINF
56
- #endif
57
-
58
- #if !defined(HAVE_CBRT )
59
- # define NEED_CBRT
60
- #endif
61
-
62
21
#define HAVE_MEMMOVE
63
22
64
23
#if defined(aix )
65
24
# define CLASS_CONFLICT
66
25
# define DISABLE_XOPEN_NLS
26
+ # define NEED_ISINF
67
27
# define NEED_UNION_SEMUN
68
28
# define NEED_SYS_SELECT_H
29
+ # define HAVE_TZSET
69
30
# define HAVE_ANSI_CPP
70
31
# define HAS_TEST_AND_SET
71
32
typedef unsigned int slock_t ;
75
36
# define USE_POSIX_TIME
76
37
# define USE_POSIX_SIGNALS
77
38
# define DISABLE_XOPEN_NLS
39
+ # define NEED_ISINF
78
40
# define HAS_LONG_LONG
79
41
# define NEED_UNION_SEMUN
80
42
# define HAS_TEST_AND_SET
83
45
#endif
84
46
85
47
#if defined(BSD44_derived )
48
+ # define USE_LIMITS_H
86
49
# define USE_POSIX_TIME
50
+ # define NEED_CBRT
87
51
# define NEED_I386_TAS_ASM
88
52
# define HAS_TEST_AND_SET
89
53
# if defined(__mips__ )
90
- /* # undef HAS_TEST_AND_SET */
54
+ # undef HAS_TEST_AND_SET
91
55
# endif
92
56
typedef unsigned char slock_t ;
93
57
#endif
102
66
# if defined(PRE_BSDI_2_1 )
103
67
# define NEED_UNION_SEMUN
104
68
# endif
69
+ # define USE_LIMITS_H
105
70
# define USE_POSIX_TIME
71
+ # define NEED_CBRT
106
72
# define HAS_TEST_AND_SET
107
73
typedef unsigned char slock_t ;
108
74
#endif
117
83
#if defined(hpux )
118
84
# define JMP_BUF
119
85
# define USE_POSIX_TIME
86
+ # define HAVE_TZSET
87
+ # define NEED_CBRT
120
88
# define NEED_RINT
121
89
# define NEED_UNION_SEMUN
122
90
# define HAS_TEST_AND_SET
123
91
typedef struct { int sem [4 ]; } slock_t ;
124
92
#endif
125
93
126
94
#if defined(i386_solaris )
95
+ # define USE_LIMITS_H
127
96
# define USE_POSIX_TIME
128
97
# define USE_POSIX_SIGNALS
98
+ # define NEED_ISINF
129
99
# define NEED_RUSAGE
130
100
# define NO_EMPTY_STMTS
101
+ # define HAVE_TZSET
131
102
# define NEED_UNION_SEMUN
132
103
# define SYSV_DIRENT
133
104
# define HAS_TEST_AND_SET
137
108
#if defined(irix5 )
138
109
# define USE_POSIX_TIME
139
110
# define USE_POSIX_SIGNALS
111
+ # define NEED_ISINF
140
112
# define NO_EMPTY_STMTS
141
113
# define NO_VFORK
114
+ # define HAVE_TZSET
142
115
# define SYSV_DIRENT
143
116
# define HAS_TEST_AND_SET
144
117
# include <abi_mutex.h>
154
127
*/
155
128
# define JMP_BUF
156
129
# define USE_POSIX_TIME
130
+ # define HAVE_TZSET
131
+ # define NEED_CBRT
157
132
# define NEED_I386_TAS_ASM
158
133
# define HAS_TEST_AND_SET
159
134
typedef unsigned char slock_t ;
177
152
# define NEED_SIG_JMP
178
153
# endif
179
154
155
+ # define USE_LIMITS_H
180
156
# define JMP_BUF
181
157
# define NO_WAITPID
182
158
typedef struct mutex slock_t ;
187
163
#endif
188
164
189
165
#if defined(sparc_solaris )
166
+ # define USE_LIMITS_H
190
167
# define USE_POSIX_TIME
191
168
# define USE_POSIX_SIGNALS
169
+ # define NEED_ISINF
192
170
# define NEED_RUSAGE
193
171
# define NO_EMPTY_STMTS
194
172
# define USE_POSIX_TIME
173
+ # define HAVE_TZSET
195
174
# define NEED_UNION_SEMUN
196
175
# define SYSV_DIRENT
197
176
# define HAS_TEST_AND_SET
@@ -200,14 +179,16 @@ typedef unsigned char slock_t;
200
179
201
180
#if defined(sunos4 )
202
181
# define USE_POSIX_TIME
203
- /* # undef HAVE_MEMMOVE */
182
+ # undef HAVE_MEMMOVE
204
183
#endif
205
184
206
185
#if defined(svr4 )
207
186
# define USE_POSIX_TIME
208
187
# define USE_POSIX_SIGNALS
188
+ # define NEED_ISINF
209
189
# define NEED_RUSAGE
210
190
# define NO_EMPTY_STMTS
191
+ # define HAVE_TZSET
211
192
# define NEED_UNION_SEMUN
212
193
# define SYSV_DIRENT
213
194
#endif
@@ -219,12 +200,16 @@ typedef unsigned char slock_t;
219
200
# define USES_WINSOCK
220
201
# define NOFILE 100
221
202
# define NEED_UNION_SEMUN
203
+ # define HAVE_TZSET
204
+ # define NEED_CBRT
205
+ # define NEED_ISINF
222
206
# ifndef MAXPATHLEN
223
207
# define MAXPATHLEN 250
224
208
# endif
225
209
#endif /* WIN32 */
226
210
227
211
#if defined(ultrix4 )
212
+ # define NEED_ISINF
228
213
# define USE_POSIX_TIME
229
214
# define NEED_UNION_SEMUN
230
215
# define NEED_STRDUP
0 commit comments