| 23827 |
|
|
| 23828 |
|
|
| 23829 |
# Checks for header files. |
# Checks for header files. |
| 23830 |
# libsl4 : unistd.h, direct.h, sys/stat.h, sys/param.h, pthread.h, windows.h |
# libsl4 : direct.h pthread.h pwd.h stdlib.h string.h sys/param.h sys/stat.h |
| 23831 |
|
# sys/time.h sys/types.h unistd.h |
| 23832 |
|
|
| 23833 |
|
|
| 23834 |
|
|
| 24159 |
|
|
| 24160 |
fi |
fi |
| 24161 |
|
|
| 24162 |
|
echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5 |
| 24163 |
|
echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6 |
| 24164 |
|
if test "${ac_cv_header_stdbool_h+set}" = set; then |
| 24165 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 24166 |
|
else |
| 24167 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 24168 |
|
/* confdefs.h. */ |
| 24169 |
|
_ACEOF |
| 24170 |
|
cat confdefs.h >>conftest.$ac_ext |
| 24171 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 24172 |
|
/* end confdefs.h. */ |
| 24173 |
|
|
| 24174 |
|
#include <stdbool.h> |
| 24175 |
|
#ifndef bool |
| 24176 |
|
# error bool is not defined |
| 24177 |
|
#endif |
| 24178 |
|
#ifndef false |
| 24179 |
|
# error false is not defined |
| 24180 |
|
#endif |
| 24181 |
|
#if false |
| 24182 |
|
# error false is not 0 |
| 24183 |
|
#endif |
| 24184 |
|
#ifndef true |
| 24185 |
|
# error true is not defined |
| 24186 |
|
#endif |
| 24187 |
|
#if true != 1 |
| 24188 |
|
# error true is not 1 |
| 24189 |
|
#endif |
| 24190 |
|
#ifndef __bool_true_false_are_defined |
| 24191 |
|
# error __bool_true_false_are_defined is not defined |
| 24192 |
|
#endif |
| 24193 |
|
|
| 24194 |
|
struct s { _Bool s: 1; _Bool t; } s; |
| 24195 |
|
|
| 24196 |
|
char a[true == 1 ? 1 : -1]; |
| 24197 |
|
char b[false == 0 ? 1 : -1]; |
| 24198 |
|
char c[__bool_true_false_are_defined == 1 ? 1 : -1]; |
| 24199 |
|
char d[(bool) -0.5 == true ? 1 : -1]; |
| 24200 |
|
bool e = &s; |
| 24201 |
|
char f[(_Bool) -0.0 == false ? 1 : -1]; |
| 24202 |
|
char g[true]; |
| 24203 |
|
char h[sizeof (_Bool)]; |
| 24204 |
|
char i[sizeof s.t]; |
| 24205 |
|
|
| 24206 |
|
int |
| 24207 |
|
main () |
| 24208 |
|
{ |
| 24209 |
|
return !a + !b + !c + !d + !e + !f + !g + !h + !i; |
| 24210 |
|
; |
| 24211 |
|
return 0; |
| 24212 |
|
} |
| 24213 |
|
_ACEOF |
| 24214 |
|
rm -f conftest.$ac_objext |
| 24215 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 24216 |
|
(eval $ac_compile) 2>conftest.er1 |
| 24217 |
|
ac_status=$? |
| 24218 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 24219 |
|
rm -f conftest.er1 |
| 24220 |
|
cat conftest.err >&5 |
| 24221 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 24222 |
|
(exit $ac_status); } && |
| 24223 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
| 24224 |
|
|| test ! -s conftest.err' |
| 24225 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 24226 |
|
(eval $ac_try) 2>&5 |
| 24227 |
|
ac_status=$? |
| 24228 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 24229 |
|
(exit $ac_status); }; } && |
| 24230 |
|
{ ac_try='test -s conftest.$ac_objext' |
| 24231 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 24232 |
|
(eval $ac_try) 2>&5 |
| 24233 |
|
ac_status=$? |
| 24234 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 24235 |
|
(exit $ac_status); }; }; then |
| 24236 |
|
ac_cv_header_stdbool_h=yes |
| 24237 |
|
else |
| 24238 |
|
echo "$as_me: failed program was:" >&5 |
| 24239 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 24240 |
|
|
| 24241 |
|
ac_cv_header_stdbool_h=no |
| 24242 |
|
fi |
| 24243 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 24244 |
|
fi |
| 24245 |
|
echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5 |
| 24246 |
|
echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6 |
| 24247 |
|
echo "$as_me:$LINENO: checking for _Bool" >&5 |
| 24248 |
|
echo $ECHO_N "checking for _Bool... $ECHO_C" >&6 |
| 24249 |
|
if test "${ac_cv_type__Bool+set}" = set; then |
| 24250 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 24251 |
|
else |
| 24252 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 24253 |
|
/* confdefs.h. */ |
| 24254 |
|
_ACEOF |
| 24255 |
|
cat confdefs.h >>conftest.$ac_ext |
| 24256 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 24257 |
|
/* end confdefs.h. */ |
| 24258 |
|
$ac_includes_default |
| 24259 |
|
int |
| 24260 |
|
main () |
| 24261 |
|
{ |
| 24262 |
|
if ((_Bool *) 0) |
| 24263 |
|
return 0; |
| 24264 |
|
if (sizeof (_Bool)) |
| 24265 |
|
return 0; |
| 24266 |
|
; |
| 24267 |
|
return 0; |
| 24268 |
|
} |
| 24269 |
|
_ACEOF |
| 24270 |
|
rm -f conftest.$ac_objext |
| 24271 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 24272 |
|
(eval $ac_compile) 2>conftest.er1 |
| 24273 |
|
ac_status=$? |
| 24274 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 24275 |
|
rm -f conftest.er1 |
| 24276 |
|
cat conftest.err >&5 |
| 24277 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 24278 |
|
(exit $ac_status); } && |
| 24279 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
| 24280 |
|
|| test ! -s conftest.err' |
| 24281 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 24282 |
|
(eval $ac_try) 2>&5 |
| 24283 |
|
ac_status=$? |
| 24284 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 24285 |
|
(exit $ac_status); }; } && |
| 24286 |
|
{ ac_try='test -s conftest.$ac_objext' |
| 24287 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 24288 |
|
(eval $ac_try) 2>&5 |
| 24289 |
|
ac_status=$? |
| 24290 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 24291 |
|
(exit $ac_status); }; }; then |
| 24292 |
|
ac_cv_type__Bool=yes |
| 24293 |
|
else |
| 24294 |
|
echo "$as_me: failed program was:" >&5 |
| 24295 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 24296 |
|
|
| 24297 |
|
ac_cv_type__Bool=no |
| 24298 |
|
fi |
| 24299 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 24300 |
|
fi |
| 24301 |
|
echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5 |
| 24302 |
|
echo "${ECHO_T}$ac_cv_type__Bool" >&6 |
| 24303 |
|
if test $ac_cv_type__Bool = yes; then |
| 24304 |
|
|
| 24305 |
|
cat >>confdefs.h <<_ACEOF |
| 24306 |
|
#define HAVE__BOOL 1 |
| 24307 |
|
_ACEOF |
| 24308 |
|
|
| 24309 |
|
|
| 24310 |
|
fi |
| 24311 |
|
|
| 24312 |
|
if test $ac_cv_header_stdbool_h = yes; then |
| 24313 |
|
|
| 24314 |
|
cat >>confdefs.h <<\_ACEOF |
| 24315 |
|
#define HAVE_STDBOOL_H 1 |
| 24316 |
|
_ACEOF |
| 24317 |
|
|
| 24318 |
|
fi |
| 24319 |
|
|
| 24320 |
echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
| 24321 |
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
| 24322 |
if test "${ac_cv_header_stdc+set}" = set; then |
if test "${ac_cv_header_stdc+set}" = set; then |
| 24554 |
|
|
| 24555 |
fi |
fi |
| 24556 |
|
|
| 24557 |
|
echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 |
| 24558 |
|
echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 |
| 24559 |
|
if test "${ac_cv_header_time+set}" = set; then |
| 24560 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 24561 |
|
else |
| 24562 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 24563 |
|
/* confdefs.h. */ |
| 24564 |
|
_ACEOF |
| 24565 |
|
cat confdefs.h >>conftest.$ac_ext |
| 24566 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 24567 |
|
/* end confdefs.h. */ |
| 24568 |
|
#include <sys/types.h> |
| 24569 |
|
#include <sys/time.h> |
| 24570 |
|
#include <time.h> |
| 24571 |
|
|
| 24572 |
|
int |
| 24573 |
|
main () |
| 24574 |
|
{ |
| 24575 |
|
if ((struct tm *) 0) |
| 24576 |
|
return 0; |
| 24577 |
|
; |
| 24578 |
|
return 0; |
| 24579 |
|
} |
| 24580 |
|
_ACEOF |
| 24581 |
|
rm -f conftest.$ac_objext |
| 24582 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 24583 |
|
(eval $ac_compile) 2>conftest.er1 |
| 24584 |
|
ac_status=$? |
| 24585 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 24586 |
|
rm -f conftest.er1 |
| 24587 |
|
cat conftest.err >&5 |
| 24588 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 24589 |
|
(exit $ac_status); } && |
| 24590 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
| 24591 |
|
|| test ! -s conftest.err' |
| 24592 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 24593 |
|
(eval $ac_try) 2>&5 |
| 24594 |
|
ac_status=$? |
| 24595 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 24596 |
|
(exit $ac_status); }; } && |
| 24597 |
|
{ ac_try='test -s conftest.$ac_objext' |
| 24598 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 24599 |
|
(eval $ac_try) 2>&5 |
| 24600 |
|
ac_status=$? |
| 24601 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 24602 |
|
(exit $ac_status); }; }; then |
| 24603 |
|
ac_cv_header_time=yes |
| 24604 |
|
else |
| 24605 |
|
echo "$as_me: failed program was:" >&5 |
| 24606 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 24607 |
|
|
| 24608 |
|
ac_cv_header_time=no |
| 24609 |
|
fi |
| 24610 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 24611 |
|
fi |
| 24612 |
|
echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 |
| 24613 |
|
echo "${ECHO_T}$ac_cv_header_time" >&6 |
| 24614 |
|
if test $ac_cv_header_time = yes; then |
| 24615 |
|
|
| 24616 |
|
cat >>confdefs.h <<\_ACEOF |
| 24617 |
|
#define TIME_WITH_SYS_TIME 1 |
| 24618 |
|
_ACEOF |
| 24619 |
|
|
| 24620 |
|
fi |
| 24621 |
|
|
| 24622 |
|
|
| 24623 |
|
|
| 24624 |
|
|
| 24625 |
|
|
| 24626 |
|
|
| 24627 |
|
|
| 24628 |
|
|
| 24650 |
|
|
| 24651 |
|
|
| 24652 |
|
|
| 24653 |
for ac_header in unistd.h direct.h sys/stat.h sys/param.h pthread.h \ |
|
| 24654 |
|
for ac_header in direct.h pthread.h pwd.h stdlib.h string.h sys/param.h sys/stat.h sys/time.h sys/types.h unistd.h \ |
| 24655 |
fcntl.h float.h locale.h malloc.h stddef.h stdlib.h string.h strings.h sys/file.h sys/ioctl.h sys/time.h sys/timeb.h \ |
fcntl.h float.h locale.h malloc.h stddef.h stdlib.h string.h strings.h sys/file.h sys/ioctl.h sys/time.h sys/timeb.h \ |
| 24656 |
termios.h vfork.h errno.h limits.h memory.h getopt.h pwd.h \ |
termios.h vfork.h errno.h limits.h memory.h getopt.h pwd.h \ |
| 24657 |
windows.h io.h process.h |
windows.h io.h process.h |
| 24805 |
|
|
| 24806 |
|
|
| 24807 |
# Checks for typedefs, structures, and compiler characteristics. |
# Checks for typedefs, structures, and compiler characteristics. |
|
echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5 |
|
|
echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6 |
|
|
if test "${ac_cv_header_stdbool_h+set}" = set; then |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
else |
|
|
cat >conftest.$ac_ext <<_ACEOF |
|
|
/* confdefs.h. */ |
|
|
_ACEOF |
|
|
cat confdefs.h >>conftest.$ac_ext |
|
|
cat >>conftest.$ac_ext <<_ACEOF |
|
|
/* end confdefs.h. */ |
|
|
|
|
|
#include <stdbool.h> |
|
|
#ifndef bool |
|
|
# error bool is not defined |
|
|
#endif |
|
|
#ifndef false |
|
|
# error false is not defined |
|
|
#endif |
|
|
#if false |
|
|
# error false is not 0 |
|
|
#endif |
|
|
#ifndef true |
|
|
# error true is not defined |
|
|
#endif |
|
|
#if true != 1 |
|
|
# error true is not 1 |
|
|
#endif |
|
|
#ifndef __bool_true_false_are_defined |
|
|
# error __bool_true_false_are_defined is not defined |
|
|
#endif |
|
|
|
|
|
struct s { _Bool s: 1; _Bool t; } s; |
|
|
|
|
|
char a[true == 1 ? 1 : -1]; |
|
|
char b[false == 0 ? 1 : -1]; |
|
|
char c[__bool_true_false_are_defined == 1 ? 1 : -1]; |
|
|
char d[(bool) -0.5 == true ? 1 : -1]; |
|
|
bool e = &s; |
|
|
char f[(_Bool) -0.0 == false ? 1 : -1]; |
|
|
char g[true]; |
|
|
char h[sizeof (_Bool)]; |
|
|
char i[sizeof s.t]; |
|
|
|
|
|
int |
|
|
main () |
|
|
{ |
|
|
return !a + !b + !c + !d + !e + !f + !g + !h + !i; |
|
|
; |
|
|
return 0; |
|
|
} |
|
|
_ACEOF |
|
|
rm -f conftest.$ac_objext |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
(eval $ac_compile) 2>conftest.er1 |
|
|
ac_status=$? |
|
|
grep -v '^ *+' conftest.er1 >conftest.err |
|
|
rm -f conftest.er1 |
|
|
cat conftest.err >&5 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); } && |
|
|
{ ac_try='test -z "$ac_c_werror_flag" |
|
|
|| test ! -s conftest.err' |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
(eval $ac_try) 2>&5 |
|
|
ac_status=$? |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); }; } && |
|
|
{ ac_try='test -s conftest.$ac_objext' |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
(eval $ac_try) 2>&5 |
|
|
ac_status=$? |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); }; }; then |
|
|
ac_cv_header_stdbool_h=yes |
|
|
else |
|
|
echo "$as_me: failed program was:" >&5 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
|
|
ac_cv_header_stdbool_h=no |
|
|
fi |
|
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
fi |
|
|
echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5 |
|
|
echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6 |
|
|
echo "$as_me:$LINENO: checking for _Bool" >&5 |
|
|
echo $ECHO_N "checking for _Bool... $ECHO_C" >&6 |
|
|
if test "${ac_cv_type__Bool+set}" = set; then |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
else |
|
|
cat >conftest.$ac_ext <<_ACEOF |
|
|
/* confdefs.h. */ |
|
|
_ACEOF |
|
|
cat confdefs.h >>conftest.$ac_ext |
|
|
cat >>conftest.$ac_ext <<_ACEOF |
|
|
/* end confdefs.h. */ |
|
|
$ac_includes_default |
|
|
int |
|
|
main () |
|
|
{ |
|
|
if ((_Bool *) 0) |
|
|
return 0; |
|
|
if (sizeof (_Bool)) |
|
|
return 0; |
|
|
; |
|
|
return 0; |
|
|
} |
|
|
_ACEOF |
|
|
rm -f conftest.$ac_objext |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
(eval $ac_compile) 2>conftest.er1 |
|
|
ac_status=$? |
|
|
grep -v '^ *+' conftest.er1 >conftest.err |
|
|
rm -f conftest.er1 |
|
|
cat conftest.err >&5 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); } && |
|
|
{ ac_try='test -z "$ac_c_werror_flag" |
|
|
|| test ! -s conftest.err' |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
(eval $ac_try) 2>&5 |
|
|
ac_status=$? |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); }; } && |
|
|
{ ac_try='test -s conftest.$ac_objext' |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
(eval $ac_try) 2>&5 |
|
|
ac_status=$? |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); }; }; then |
|
|
ac_cv_type__Bool=yes |
|
|
else |
|
|
echo "$as_me: failed program was:" >&5 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
|
|
ac_cv_type__Bool=no |
|
|
fi |
|
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
fi |
|
|
echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5 |
|
|
echo "${ECHO_T}$ac_cv_type__Bool" >&6 |
|
|
if test $ac_cv_type__Bool = yes; then |
|
|
|
|
|
cat >>confdefs.h <<_ACEOF |
|
|
#define HAVE__BOOL 1 |
|
|
_ACEOF |
|
|
|
|
|
|
|
|
fi |
|
|
|
|
|
if test $ac_cv_header_stdbool_h = yes; then |
|
|
|
|
|
cat >>confdefs.h <<\_ACEOF |
|
|
#define HAVE_STDBOOL_H 1 |
|
|
_ACEOF |
|
|
|
|
|
fi |
|
|
|
|
| 24808 |
echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 |
echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 |
| 24809 |
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 |
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 |
| 24810 |
if test "${ac_cv_c_const+set}" = set; then |
if test "${ac_cv_c_const+set}" = set; then |
| 25354 |
|
|
| 25355 |
fi |
fi |
| 25356 |
|
|
|
echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 |
|
|
echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 |
|
|
if test "${ac_cv_header_time+set}" = set; then |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
else |
|
|
cat >conftest.$ac_ext <<_ACEOF |
|
|
/* confdefs.h. */ |
|
|
_ACEOF |
|
|
cat confdefs.h >>conftest.$ac_ext |
|
|
cat >>conftest.$ac_ext <<_ACEOF |
|
|
/* end confdefs.h. */ |
|
|
#include <sys/types.h> |
|
|
#include <sys/time.h> |
|
|
#include <time.h> |
|
|
|
|
|
int |
|
|
main () |
|
|
{ |
|
|
if ((struct tm *) 0) |
|
|
return 0; |
|
|
; |
|
|
return 0; |
|
|
} |
|
|
_ACEOF |
|
|
rm -f conftest.$ac_objext |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
(eval $ac_compile) 2>conftest.er1 |
|
|
ac_status=$? |
|
|
grep -v '^ *+' conftest.er1 >conftest.err |
|
|
rm -f conftest.er1 |
|
|
cat conftest.err >&5 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); } && |
|
|
{ ac_try='test -z "$ac_c_werror_flag" |
|
|
|| test ! -s conftest.err' |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
(eval $ac_try) 2>&5 |
|
|
ac_status=$? |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); }; } && |
|
|
{ ac_try='test -s conftest.$ac_objext' |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
(eval $ac_try) 2>&5 |
|
|
ac_status=$? |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); }; }; then |
|
|
ac_cv_header_time=yes |
|
|
else |
|
|
echo "$as_me: failed program was:" >&5 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
|
|
ac_cv_header_time=no |
|
|
fi |
|
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
fi |
|
|
echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 |
|
|
echo "${ECHO_T}$ac_cv_header_time" >&6 |
|
|
if test $ac_cv_header_time = yes; then |
|
|
|
|
|
cat >>confdefs.h <<\_ACEOF |
|
|
#define TIME_WITH_SYS_TIME 1 |
|
|
_ACEOF |
|
|
|
|
|
fi |
|
|
|
|
| 25357 |
echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 |
echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 |
| 25358 |
echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 |
echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 |
| 25359 |
if test "${ac_cv_struct_tm+set}" = set; then |
if test "${ac_cv_struct_tm+set}" = set; then |
| 25620 |
|
|
| 25621 |
|
|
| 25622 |
# Checks for library functions. |
# Checks for library functions. |
| 25623 |
|
# libsl4 : endpwent getcwd memmove memset mkdir putenv rmdir setenv strstr |
| 25624 |
|
# vasprintf vsnprintf wvsprintf _vscprintf |
| 25625 |
echo "$as_me:$LINENO: checking whether closedir returns void" >&5 |
echo "$as_me:$LINENO: checking whether closedir returns void" >&5 |
| 25626 |
echo $ECHO_N "checking whether closedir returns void... $ECHO_C" >&6 |
echo $ECHO_N "checking whether closedir returns void... $ECHO_C" >&6 |
| 25627 |
if test "${ac_cv_func_closedir_void+set}" = set; then |
if test "${ac_cv_func_closedir_void+set}" = set; then |
| 27844 |
done |
done |
| 27845 |
|
|
| 27846 |
|
|
|
# libsl4 : endpwent getcwd getenv mkdir rmdir setenv vasprintf vsnprintf |
|
|
# wvsprintf _vscprintf |
|
| 27847 |
|
|
| 27848 |
|
|
| 27849 |
|
|
| 27878 |
|
|
| 27879 |
|
|
| 27880 |
|
|
| 27881 |
for ac_func in endpwent getcwd getenv mkdir rmdir setenv vasprintf vsnprintf wvsprintf _vscprintf \ |
|
| 27882 |
|
|
| 27883 |
|
|
| 27884 |
|
for ac_func in endpwent getcwd memmove memset mkdir putenv rmdir setenv strstr vasprintf vsnprintf wvsprintf _vscprintf \ |
| 27885 |
floor ftime gethostname gettimeofday memmove memset munmap pow putenv setlocale sqrt strchr strdup strpbrk strrchr strstr strtol lrand48 \ |
floor ftime gethostname gettimeofday memmove memset munmap pow putenv setlocale sqrt strchr strdup strpbrk strrchr strstr strtol lrand48 \ |
| 27886 |
bzero strerror strncpy snprintf lockf flockf |
bzero strerror strncpy snprintf lockf flockf |
| 27887 |
do |
do |