Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1ac3ea9

Browse files
committed
This should clean everything up back to pre-configure status
1 parent03f0136 commit1ac3ea9

File tree

1 file changed

+32
-47
lines changed

1 file changed

+32
-47
lines changed

‎src/include/config.h‎

Lines changed: 32 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* include/config.h. Generated automatically by configure. */
21
/* the purpose of this file is to reduce the use of #ifdef's through
32
* the code base by those porting the software, and to facilitate the
43
* eventual use of autoconf to build the server
@@ -9,63 +8,25 @@
98

109
#defineBLCKSZ8192
1110

12-
/*
13-
* The following is set using configure.
14-
*/
15-
16-
/* Set to 1 if you have <termios.h> */
17-
#defineHAVE_TERMIOS_H 1
18-
19-
/* Set to 1 if you have <limits.h> */
20-
#defineHAVE_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-
#defineHAVE_ISINF 1
27-
28-
/* Set to 1 if you have tzset() */
29-
#defineHAVE_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-
# defineTERMIOS_H_LOCATION <termios.h>
11+
#if defined(aix)
12+
#defineTERMIOS_H_LOCATION <termios.h>
4013
#else
41-
#defineTERMIOS_H_LOCATION <sys/termios.h>
14+
#defineTERMIOS_H_LOCATION <sys/termios.h>
4215
#endif
4316

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)
4618
#defineUSE_VALUES_H
4719
#endif
4820

49-
/* Temporary: Need to change source files from USE_LIMITS_H to HAVE_LIMITS_H */
50-
#if defined(HAVE_LIMITS_H)
51-
# defineUSE_LIMITS_H
52-
#endif
53-
54-
#if !defined(HAVE_ISINF)
55-
# defineNEED_ISINF
56-
#endif
57-
58-
#if !defined(HAVE_CBRT)
59-
# defineNEED_CBRT
60-
#endif
61-
6221
#defineHAVE_MEMMOVE
6322

6423
#if defined(aix)
6524
# defineCLASS_CONFLICT
6625
# define DISABLE_XOPEN_NLS
26+
# defineNEED_ISINF
6727
# defineNEED_UNION_SEMUN
6828
# define NEED_SYS_SELECT_H
29+
# defineHAVE_TZSET
6930
# defineHAVE_ANSI_CPP
7031
# defineHAS_TEST_AND_SET
7132
typedefunsignedintslock_t;
@@ -75,6 +36,7 @@
7536
# defineUSE_POSIX_TIME
7637
# define USE_POSIX_SIGNALS
7738
# defineDISABLE_XOPEN_NLS
39+
# define NEED_ISINF
7840
# defineHAS_LONG_LONG
7941
# defineNEED_UNION_SEMUN
8042
# define HAS_TEST_AND_SET
@@ -83,11 +45,13 @@
8345
#endif
8446

8547
#if defined(BSD44_derived)
48+
# defineUSE_LIMITS_H
8649
# defineUSE_POSIX_TIME
50+
# defineNEED_CBRT
8751
# defineNEED_I386_TAS_ASM
8852
# defineHAS_TEST_AND_SET
8953
# if defined(__mips__)
90-
/*# undef HAS_TEST_AND_SET */
54+
# undef HAS_TEST_AND_SET
9155
# endif
9256
typedefunsignedcharslock_t;
9357
#endif
@@ -102,7 +66,9 @@
10266
# if defined(PRE_BSDI_2_1)
10367
# defineNEED_UNION_SEMUN
10468
# endif
69+
# defineUSE_LIMITS_H
10570
# defineUSE_POSIX_TIME
71+
# defineNEED_CBRT
10672
# defineHAS_TEST_AND_SET
10773
typedefunsignedcharslock_t;
10874
#endif
@@ -117,17 +83,22 @@
11783
#if defined(hpux)
11884
# defineJMP_BUF
11985
# defineUSE_POSIX_TIME
86+
# defineHAVE_TZSET
87+
# defineNEED_CBRT
12088
# defineNEED_RINT
12189
# defineNEED_UNION_SEMUN
12290
# define HAS_TEST_AND_SET
12391
typedefstruct {intsem[4]; }slock_t;
12492
#endif
12593

12694
#if defined(i386_solaris)
95+
# defineUSE_LIMITS_H
12796
# defineUSE_POSIX_TIME
12897
# define USE_POSIX_SIGNALS
98+
# defineNEED_ISINF
12999
# define NEED_RUSAGE
130100
# defineNO_EMPTY_STMTS
101+
# defineHAVE_TZSET
131102
# defineNEED_UNION_SEMUN
132103
# define SYSV_DIRENT
133104
# defineHAS_TEST_AND_SET
@@ -137,8 +108,10 @@
137108
#if defined(irix5)
138109
# defineUSE_POSIX_TIME
139110
# define USE_POSIX_SIGNALS
111+
# defineNEED_ISINF
140112
# define NO_EMPTY_STMTS
141113
# defineNO_VFORK
114+
# defineHAVE_TZSET
142115
# defineSYSV_DIRENT
143116
# defineHAS_TEST_AND_SET
144117
# include<abi_mutex.h>
@@ -154,6 +127,8 @@
154127
*/
155128
# defineJMP_BUF
156129
# defineUSE_POSIX_TIME
130+
# defineHAVE_TZSET
131+
# defineNEED_CBRT
157132
# defineNEED_I386_TAS_ASM
158133
# defineHAS_TEST_AND_SET
159134
typedefunsignedcharslock_t;
@@ -177,6 +152,7 @@
177152
# defineNEED_SIG_JMP
178153
# endif
179154

155+
# defineUSE_LIMITS_H
180156
# defineJMP_BUF
181157
# defineNO_WAITPID
182158
typedefstructmutexslock_t;
@@ -187,11 +163,14 @@
187163
#endif
188164

189165
#if defined(sparc_solaris)
166+
# defineUSE_LIMITS_H
190167
# defineUSE_POSIX_TIME
191168
# define USE_POSIX_SIGNALS
169+
# defineNEED_ISINF
192170
# define NEED_RUSAGE
193171
# defineNO_EMPTY_STMTS
194172
# defineUSE_POSIX_TIME
173+
# defineHAVE_TZSET
195174
# defineNEED_UNION_SEMUN
196175
# define SYSV_DIRENT
197176
# defineHAS_TEST_AND_SET
@@ -200,14 +179,16 @@ typedef unsigned char slock_t;
200179

201180
#if defined(sunos4)
202181
# defineUSE_POSIX_TIME
203-
/*# undef HAVE_MEMMOVE */
182+
# undef HAVE_MEMMOVE
204183
#endif
205184

206185
#if defined(svr4)
207186
# defineUSE_POSIX_TIME
208187
# define USE_POSIX_SIGNALS
188+
# defineNEED_ISINF
209189
# define NEED_RUSAGE
210190
# defineNO_EMPTY_STMTS
191+
# defineHAVE_TZSET
211192
# defineNEED_UNION_SEMUN
212193
# define SYSV_DIRENT
213194
#endif
@@ -219,12 +200,16 @@ typedef unsigned char slock_t;
219200
# defineUSES_WINSOCK
220201
# define NOFILE100
221202
# defineNEED_UNION_SEMUN
203+
# defineHAVE_TZSET
204+
# defineNEED_CBRT
205+
# defineNEED_ISINF
222206
# ifndefMAXPATHLEN
223207
# defineMAXPATHLEN 250
224208
# endif
225209
#endif/* WIN32 */
226210

227211
#if defined(ultrix4)
212+
# defineNEED_ISINF
228213
# define USE_POSIX_TIME
229214
# defineNEED_UNION_SEMUN
230215
# define NEED_STRDUP

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp