@@ -14138,197 +14138,6 @@ _ACEOF
14138
14138
14139
14139
fi
14140
14140
14141
- { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
14142
- echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
14143
- if test "${ac_cv_header_stdc+set}" = set; then
14144
- echo $ECHO_N "(cached) $ECHO_C" >&6
14145
- else
14146
- cat >conftest.$ac_ext <<_ACEOF
14147
- /* confdefs.h. */
14148
- _ACEOF
14149
- cat confdefs.h >>conftest.$ac_ext
14150
- cat >>conftest.$ac_ext <<_ACEOF
14151
- /* end confdefs.h. */
14152
- #include <stdlib.h>
14153
- #include <stdarg.h>
14154
- #include <string.h>
14155
- #include <float.h>
14156
-
14157
- int
14158
- main ()
14159
- {
14160
-
14161
- ;
14162
- return 0;
14163
- }
14164
- _ACEOF
14165
- rm -f conftest.$ac_objext
14166
- if { (ac_try="$ac_compile"
14167
- case "(($ac_try" in
14168
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14169
- *) ac_try_echo=$ac_try;;
14170
- esac
14171
- eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14172
- (eval "$ac_compile") 2>conftest.er1
14173
- ac_status=$?
14174
- grep -v '^ *+' conftest.er1 >conftest.err
14175
- rm -f conftest.er1
14176
- cat conftest.err >&5
14177
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
14178
- (exit $ac_status); } &&
14179
- { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14180
- { (case "(($ac_try" in
14181
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14182
- *) ac_try_echo=$ac_try;;
14183
- esac
14184
- eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14185
- (eval "$ac_try") 2>&5
14186
- ac_status=$?
14187
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
14188
- (exit $ac_status); }; } &&
14189
- { ac_try='test -s conftest.$ac_objext'
14190
- { (case "(($ac_try" in
14191
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14192
- *) ac_try_echo=$ac_try;;
14193
- esac
14194
- eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14195
- (eval "$ac_try") 2>&5
14196
- ac_status=$?
14197
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
14198
- (exit $ac_status); }; }; then
14199
- ac_cv_header_stdc=yes
14200
- else
14201
- echo "$as_me: failed program was:" >&5
14202
- sed 's/^/| /' conftest.$ac_ext >&5
14203
-
14204
- ac_cv_header_stdc=no
14205
- fi
14206
-
14207
- rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14208
-
14209
- if test $ac_cv_header_stdc = yes; then
14210
- # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14211
- cat >conftest.$ac_ext <<_ACEOF
14212
- /* confdefs.h. */
14213
- _ACEOF
14214
- cat confdefs.h >>conftest.$ac_ext
14215
- cat >>conftest.$ac_ext <<_ACEOF
14216
- /* end confdefs.h. */
14217
- #include <string.h>
14218
-
14219
- _ACEOF
14220
- if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14221
- $EGREP "memchr" >/dev/null 2>&1; then
14222
- :
14223
- else
14224
- ac_cv_header_stdc=no
14225
- fi
14226
- rm -f conftest*
14227
-
14228
- fi
14229
-
14230
- if test $ac_cv_header_stdc = yes; then
14231
- # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14232
- cat >conftest.$ac_ext <<_ACEOF
14233
- /* confdefs.h. */
14234
- _ACEOF
14235
- cat confdefs.h >>conftest.$ac_ext
14236
- cat >>conftest.$ac_ext <<_ACEOF
14237
- /* end confdefs.h. */
14238
- #include <stdlib.h>
14239
-
14240
- _ACEOF
14241
- if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14242
- $EGREP "free" >/dev/null 2>&1; then
14243
- :
14244
- else
14245
- ac_cv_header_stdc=no
14246
- fi
14247
- rm -f conftest*
14248
-
14249
- fi
14250
-
14251
- if test $ac_cv_header_stdc = yes; then
14252
- # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14253
- if test "$cross_compiling" = yes; then
14254
- :
14255
- else
14256
- cat >conftest.$ac_ext <<_ACEOF
14257
- /* confdefs.h. */
14258
- _ACEOF
14259
- cat confdefs.h >>conftest.$ac_ext
14260
- cat >>conftest.$ac_ext <<_ACEOF
14261
- /* end confdefs.h. */
14262
- #include <ctype.h>
14263
- #include <stdlib.h>
14264
- #if ((' ' & 0x0FF) == 0x020)
14265
- # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14266
- # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14267
- #else
14268
- # define ISLOWER(c) \
14269
- (('a' <= (c) && (c) <= 'i') \
14270
- || ('j' <= (c) && (c) <= 'r') \
14271
- || ('s' <= (c) && (c) <= 'z'))
14272
- # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14273
- #endif
14274
-
14275
- #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14276
- int
14277
- main ()
14278
- {
14279
- int i;
14280
- for (i = 0; i < 256; i++)
14281
- if (XOR (islower (i), ISLOWER (i))
14282
- || toupper (i) != TOUPPER (i))
14283
- return 2;
14284
- return 0;
14285
- }
14286
- _ACEOF
14287
- rm -f conftest$ac_exeext
14288
- if { (ac_try="$ac_link"
14289
- case "(($ac_try" in
14290
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14291
- *) ac_try_echo=$ac_try;;
14292
- esac
14293
- eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14294
- (eval "$ac_link") 2>&5
14295
- ac_status=$?
14296
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
14297
- (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14298
- { (case "(($ac_try" in
14299
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14300
- *) ac_try_echo=$ac_try;;
14301
- esac
14302
- eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14303
- (eval "$ac_try") 2>&5
14304
- ac_status=$?
14305
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
14306
- (exit $ac_status); }; }; then
14307
- :
14308
- else
14309
- echo "$as_me: program exited with status $ac_status" >&5
14310
- echo "$as_me: failed program was:" >&5
14311
- sed 's/^/| /' conftest.$ac_ext >&5
14312
-
14313
- ( exit $ac_status )
14314
- ac_cv_header_stdc=no
14315
- fi
14316
- rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14317
- fi
14318
-
14319
-
14320
- fi
14321
- fi
14322
- { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
14323
- echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
14324
- if test $ac_cv_header_stdc = yes; then
14325
-
14326
- cat >>confdefs.h <<\_ACEOF
14327
- #define STDC_HEADERS 1
14328
- _ACEOF
14329
-
14330
- fi
14331
-
14332
14141
{ echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
14333
14142
echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
14334
14143
if test "${ac_cv_header_sys_wait_h+set}" = set; then
0 commit comments