version 1.9 | | version 1.10 |
---|
| | |
echo "$ac_t""no" 1>&6 | | echo "$ac_t""no" 1>&6 |
fi | | fi |
| | |
echo $ac_n "checking for main in -ldes""... $ac_c" 1>&6 | | echo $ac_n "checking for des_crypt in -ldes""... $ac_c" 1>&6 |
echo "configure:3182: checking for main in -ldes" >&5 | | echo "configure:3182: checking for des_crypt in -ldes" >&5 |
ac_lib_var=`echo des'_'main | sed 'y%./+-%__p_%'` | | ac_lib_var=`echo des'_'des_crypt | sed 'y%./+-%__p_%'` |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
else | | else |
| | |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 3190 "configure" | | #line 3190 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
| | /* Override any gcc2 internal prototype to avoid an error. */ |
| | /* We use char because int might match the return type of a gcc2 |
| | builtin and then its argument prototype would still apply. */ |
| | char des_crypt(); |
| | |
int main() { | | int main() { |
main() | | des_crypt() |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:3197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | | if { (eval echo configure:3201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
rm -rf conftest* | | rm -rf conftest* |
eval "ac_cv_lib_$ac_lib_var=yes" | | eval "ac_cv_lib_$ac_lib_var=yes" |
else | | else |
| | |
| | |
| | |
echo $ac_n "checking for main in -ldmalloc""... $ac_c" 1>&6 | | echo $ac_n "checking for main in -ldmalloc""... $ac_c" 1>&6 |
echo "configure:3226: checking for main in -ldmalloc" >&5 | | echo "configure:3230: checking for main in -ldmalloc" >&5 |
ac_lib_var=`echo dmalloc'_'main | sed 'y%./+-%__p_%'` | | ac_lib_var=`echo dmalloc'_'main | sed 'y%./+-%__p_%'` |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
| | |
ac_save_LIBS="$LIBS" | | ac_save_LIBS="$LIBS" |
LIBS="-ldmalloc $LIBS" | | LIBS="-ldmalloc $LIBS" |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 3234 "configure" | | #line 3238 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
| | |
int main() { | | int main() { |
main() | | main() |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:3241: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | | if { (eval echo configure:3245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
rm -rf conftest* | | rm -rf conftest* |
eval "ac_cv_lib_$ac_lib_var=yes" | | eval "ac_cv_lib_$ac_lib_var=yes" |
else | | else |
| | |
| | |
| | |
echo $ac_n "checking for main in -lm""... $ac_c" 1>&6 | | echo $ac_n "checking for main in -lm""... $ac_c" 1>&6 |
echo "configure:3270: checking for main in -lm" >&5 | | echo "configure:3274: checking for main in -lm" >&5 |
ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'` | | ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'` |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
| | |
ac_save_LIBS="$LIBS" | | ac_save_LIBS="$LIBS" |
LIBS="-lm $LIBS" | | LIBS="-lm $LIBS" |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 3278 "configure" | | #line 3282 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
| | |
int main() { | | int main() { |
main() | | main() |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:3285: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | | if { (eval echo configure:3289: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
rm -rf conftest* | | rm -rf conftest* |
eval "ac_cv_lib_$ac_lib_var=yes" | | eval "ac_cv_lib_$ac_lib_var=yes" |
else | | else |
| | |
do | | do |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6 | | echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6 |
echo "configure:3318: checking for $ac_hdr that defines DIR" >&5 | | echo "configure:3322: checking for $ac_hdr that defines DIR" >&5 |
if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
else | | else |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 3323 "configure" | | #line 3327 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
#include <sys/types.h> | | #include <sys/types.h> |
#include <$ac_hdr> | | #include <$ac_hdr> |
| | |
DIR *dirp = 0; | | DIR *dirp = 0; |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:3331: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | | if { (eval echo configure:3335: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
rm -rf conftest* | | rm -rf conftest* |
eval "ac_cv_header_dirent_$ac_safe=yes" | | eval "ac_cv_header_dirent_$ac_safe=yes" |
else | | else |
| | |
# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. | | # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. |
if test $ac_header_dirent = dirent.h; then | | if test $ac_header_dirent = dirent.h; then |
echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6 | | echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6 |
echo "configure:3356: checking for opendir in -ldir" >&5 | | echo "configure:3360: checking for opendir in -ldir" >&5 |
ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'` | | ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'` |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
| | |
ac_save_LIBS="$LIBS" | | ac_save_LIBS="$LIBS" |
LIBS="-ldir $LIBS" | | LIBS="-ldir $LIBS" |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 3364 "configure" | | #line 3368 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
/* Override any gcc2 internal prototype to avoid an error. */ | | /* Override any gcc2 internal prototype to avoid an error. */ |
/* We use char because int might match the return type of a gcc2 | | /* We use char because int might match the return type of a gcc2 |
| | |
opendir() | | opendir() |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:3375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | | if { (eval echo configure:3379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
rm -rf conftest* | | rm -rf conftest* |
eval "ac_cv_lib_$ac_lib_var=yes" | | eval "ac_cv_lib_$ac_lib_var=yes" |
else | | else |
| | |
| | |
else | | else |
echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 | | echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 |
echo "configure:3397: checking for opendir in -lx" >&5 | | echo "configure:3401: checking for opendir in -lx" >&5 |
ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'` | | ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'` |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
| | |
ac_save_LIBS="$LIBS" | | ac_save_LIBS="$LIBS" |
LIBS="-lx $LIBS" | | LIBS="-lx $LIBS" |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 3405 "configure" | | #line 3409 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
/* Override any gcc2 internal prototype to avoid an error. */ | | /* Override any gcc2 internal prototype to avoid an error. */ |
/* We use char because int might match the return type of a gcc2 | | /* We use char because int might match the return type of a gcc2 |
| | |
opendir() | | opendir() |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:3416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | | if { (eval echo configure:3420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
rm -rf conftest* | | rm -rf conftest* |
eval "ac_cv_lib_$ac_lib_var=yes" | | eval "ac_cv_lib_$ac_lib_var=yes" |
else | | else |
| | |
fi | | fi |
| | |
echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | | echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
echo "configure:3439: checking for ANSI C header files" >&5 | | echo "configure:3443: checking for ANSI C header files" >&5 |
if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
else | | else |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 3444 "configure" | | #line 3448 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
#include <stdlib.h> | | #include <stdlib.h> |
#include <stdarg.h> | | #include <stdarg.h> |
| | |
#include <float.h> | | #include <float.h> |
EOF | | EOF |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
{ (eval echo configure:3452: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | | { (eval echo configure:3456: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
if test -z "$ac_err"; then | | if test -z "$ac_err"; then |
rm -rf conftest* | | rm -rf conftest* |
| | |
if test $ac_cv_header_stdc = yes; then | | if test $ac_cv_header_stdc = yes; then |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. | | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 3469 "configure" | | #line 3473 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
#include <string.h> | | #include <string.h> |
EOF | | EOF |
| | |
if test $ac_cv_header_stdc = yes; then | | if test $ac_cv_header_stdc = yes; then |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 3487 "configure" | | #line 3491 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
#include <stdlib.h> | | #include <stdlib.h> |
EOF | | EOF |
| | |
: | | : |
else | | else |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 3508 "configure" | | #line 3512 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
#include <ctype.h> | | #include <ctype.h> |
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | | #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
| | |
exit (0); } | | exit (0); } |
| | |
EOF | | EOF |
if { (eval echo configure:3519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | | if { (eval echo configure:3523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
then | | then |
: | | : |
else | | else |
| | |
do | | do |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo "configure:3546: checking for $ac_hdr" >&5 | | echo "configure:3550: checking for $ac_hdr" >&5 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
else | | else |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 3551 "configure" | | #line 3555 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
#include <$ac_hdr> | | #include <$ac_hdr> |
EOF | | EOF |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
{ (eval echo configure:3556: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | | { (eval echo configure:3560: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
if test -z "$ac_err"; then | | if test -z "$ac_err"; then |
rm -rf conftest* | | rm -rf conftest* |
| | |
| | |
| | |
echo $ac_n "checking for working const""... $ac_c" 1>&6 | | echo $ac_n "checking for working const""... $ac_c" 1>&6 |
echo "configure:3584: checking for working const" >&5 | | echo "configure:3588: checking for working const" >&5 |
if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
else | | else |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 3589 "configure" | | #line 3593 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
| | |
int main() { | | int main() { |
| | |
| | |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:3638: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | | if { (eval echo configure:3642: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
rm -rf conftest* | | rm -rf conftest* |
ac_cv_c_const=yes | | ac_cv_c_const=yes |
else | | else |
| | |
fi | | fi |
| | |
echo $ac_n "checking for inline""... $ac_c" 1>&6 | | echo $ac_n "checking for inline""... $ac_c" 1>&6 |
echo "configure:3659: checking for inline" >&5 | | echo "configure:3663: checking for inline" >&5 |
if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
else | | else |
ac_cv_c_inline=no | | ac_cv_c_inline=no |
for ac_kw in inline __inline__ __inline; do | | for ac_kw in inline __inline__ __inline; do |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 3666 "configure" | | #line 3670 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
| | |
int main() { | | int main() { |
} $ac_kw foo() { | | } $ac_kw foo() { |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:3673: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | | if { (eval echo configure:3677: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
rm -rf conftest* | | rm -rf conftest* |
ac_cv_c_inline=$ac_kw; break | | ac_cv_c_inline=$ac_kw; break |
else | | else |
| | |
esac | | esac |
| | |
echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | | echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
echo "configure:3699: checking for pid_t" >&5 | | echo "configure:3703: checking for pid_t" >&5 |
if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
else | | else |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 3704 "configure" | | #line 3708 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
#include <sys/types.h> | | #include <sys/types.h> |
#if STDC_HEADERS | | #if STDC_HEADERS |
| | |
fi | | fi |
| | |
echo $ac_n "checking for size_t""... $ac_c" 1>&6 | | echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
echo "configure:3732: checking for size_t" >&5 | | echo "configure:3736: checking for size_t" >&5 |
if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
else | | else |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 3737 "configure" | | #line 3741 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
#include <sys/types.h> | | #include <sys/types.h> |
#if STDC_HEADERS | | #if STDC_HEADERS |
| | |
fi | | fi |
| | |
echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | | echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
echo "configure:3765: checking whether time.h and sys/time.h may both be included" >&5 | | echo "configure:3769: checking whether time.h and sys/time.h may both be included" >&5 |
if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
else | | else |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 3770 "configure" | | #line 3774 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
#include <sys/types.h> | | #include <sys/types.h> |
#include <sys/time.h> | | #include <sys/time.h> |
| | |
struct tm *tp; | | struct tm *tp; |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:3779: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | | if { (eval echo configure:3783: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
rm -rf conftest* | | rm -rf conftest* |
ac_cv_header_time=yes | | ac_cv_header_time=yes |
else | | else |
| | |
fi | | fi |
| | |
echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | | echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
echo "configure:3800: checking whether struct tm is in sys/time.h or time.h" >&5 | | echo "configure:3804: checking whether struct tm is in sys/time.h or time.h" >&5 |
if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
else | | else |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 3805 "configure" | | #line 3809 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
#include <sys/types.h> | | #include <sys/types.h> |
#include <time.h> | | #include <time.h> |
| | |
struct tm *tp; tp->tm_sec; | | struct tm *tp; tp->tm_sec; |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:3813: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | | if { (eval echo configure:3817: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
rm -rf conftest* | | rm -rf conftest* |
ac_cv_struct_tm=time.h | | ac_cv_struct_tm=time.h |
else | | else |
| | |
fi | | fi |
| | |
echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | | echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
echo "configure:3834: checking for uid_t in sys/types.h" >&5 | | echo "configure:3838: checking for uid_t in sys/types.h" >&5 |
if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
else | | else |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 3839 "configure" | | #line 3843 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
#include <sys/types.h> | | #include <sys/types.h> |
EOF | | EOF |
| | |
| | |
if test $ac_cv_prog_gcc = yes; then | | if test $ac_cv_prog_gcc = yes; then |
echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 | | echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 |
echo "configure:3870: checking whether ${CC-cc} needs -traditional" >&5 | | echo "configure:3874: checking whether ${CC-cc} needs -traditional" >&5 |
if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
else | | else |
ac_pattern="Autoconf.*'x'" | | ac_pattern="Autoconf.*'x'" |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 3876 "configure" | | #line 3880 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
#include <sgtty.h> | | #include <sgtty.h> |
Autoconf TIOCGETP | | Autoconf TIOCGETP |
| | |
| | |
if test $ac_cv_prog_gcc_traditional = no; then | | if test $ac_cv_prog_gcc_traditional = no; then |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 3894 "configure" | | #line 3898 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
#include <termio.h> | | #include <termio.h> |
Autoconf TCGETA | | Autoconf TCGETA |
| | |
fi | | fi |
| | |
echo $ac_n "checking for 8-bit clean memcmp""... $ac_c" 1>&6 | | echo $ac_n "checking for 8-bit clean memcmp""... $ac_c" 1>&6 |
echo "configure:3916: checking for 8-bit clean memcmp" >&5 | | echo "configure:3920: checking for 8-bit clean memcmp" >&5 |
if eval "test \"`echo '$''{'ac_cv_func_memcmp_clean'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_func_memcmp_clean'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
else | | else |
| | |
ac_cv_func_memcmp_clean=no | | ac_cv_func_memcmp_clean=no |
else | | else |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 3924 "configure" | | #line 3928 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
| | |
main() | | main() |
| | |
} | | } |
| | |
EOF | | EOF |
if { (eval echo configure:3934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | | if { (eval echo configure:3938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
then | | then |
ac_cv_func_memcmp_clean=yes | | ac_cv_func_memcmp_clean=yes |
else | | else |
| | |
test $ac_cv_func_memcmp_clean = no && LIBOBJS="$LIBOBJS memcmp.${ac_objext}" | | test $ac_cv_func_memcmp_clean = no && LIBOBJS="$LIBOBJS memcmp.${ac_objext}" |
| | |
echo $ac_n "checking whether setpgrp takes no argument""... $ac_c" 1>&6 | | echo $ac_n "checking whether setpgrp takes no argument""... $ac_c" 1>&6 |
echo "configure:3952: checking whether setpgrp takes no argument" >&5 | | echo "configure:3956: checking whether setpgrp takes no argument" >&5 |
if eval "test \"`echo '$''{'ac_cv_func_setpgrp_void'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_func_setpgrp_void'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
else | | else |
| | |
{ echo "configure: error: cannot check setpgrp if cross compiling" 1>&2; exit 1; } | | { echo "configure: error: cannot check setpgrp if cross compiling" 1>&2; exit 1; } |
else | | else |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 3960 "configure" | | #line 3964 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
| | |
#ifdef HAVE_UNISTD_H | | #ifdef HAVE_UNISTD_H |
| | |
} | | } |
| | |
EOF | | EOF |
if { (eval echo configure:3980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | | if { (eval echo configure:3984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
then | | then |
ac_cv_func_setpgrp_void=no | | ac_cv_func_setpgrp_void=no |
else | | else |
| | |
fi | | fi |
| | |
echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | | echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
echo "configure:4004: checking return type of signal handlers" >&5 | | echo "configure:4008: checking return type of signal handlers" >&5 |
if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
else | | else |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 4009 "configure" | | #line 4013 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
#include <sys/types.h> | | #include <sys/types.h> |
#include <signal.h> | | #include <signal.h> |
| | |
int i; | | int i; |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:4026: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | | if { (eval echo configure:4030: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
rm -rf conftest* | | rm -rf conftest* |
ac_cv_type_signal=void | | ac_cv_type_signal=void |
else | | else |
| | |
| | |
| | |
echo $ac_n "checking for strftime""... $ac_c" 1>&6 | | echo $ac_n "checking for strftime""... $ac_c" 1>&6 |
echo "configure:4045: checking for strftime" >&5 | | echo "configure:4049: checking for strftime" >&5 |
if eval "test \"`echo '$''{'ac_cv_func_strftime'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_func_strftime'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
else | | else |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 4050 "configure" | | #line 4054 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
/* System header to define __stub macros and hopefully few prototypes, | | /* System header to define __stub macros and hopefully few prototypes, |
which can conflict with char strftime(); below. */ | | which can conflict with char strftime(); below. */ |
| | |
| | |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:4073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | | if { (eval echo configure:4077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
rm -rf conftest* | | rm -rf conftest* |
eval "ac_cv_func_strftime=yes" | | eval "ac_cv_func_strftime=yes" |
else | | else |
| | |
echo "$ac_t""no" 1>&6 | | echo "$ac_t""no" 1>&6 |
# strftime is in -lintl on SCO UNIX. | | # strftime is in -lintl on SCO UNIX. |
echo $ac_n "checking for strftime in -lintl""... $ac_c" 1>&6 | | echo $ac_n "checking for strftime in -lintl""... $ac_c" 1>&6 |
echo "configure:4095: checking for strftime in -lintl" >&5 | | echo "configure:4099: checking for strftime in -lintl" >&5 |
ac_lib_var=`echo intl'_'strftime | sed 'y%./+-%__p_%'` | | ac_lib_var=`echo intl'_'strftime | sed 'y%./+-%__p_%'` |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
| | |
ac_save_LIBS="$LIBS" | | ac_save_LIBS="$LIBS" |
LIBS="-lintl $LIBS" | | LIBS="-lintl $LIBS" |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 4103 "configure" | | #line 4107 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
/* Override any gcc2 internal prototype to avoid an error. */ | | /* Override any gcc2 internal prototype to avoid an error. */ |
/* We use char because int might match the return type of a gcc2 | | /* We use char because int might match the return type of a gcc2 |
| | |
strftime() | | strftime() |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:4114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | | if { (eval echo configure:4118: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
rm -rf conftest* | | rm -rf conftest* |
eval "ac_cv_lib_$ac_lib_var=yes" | | eval "ac_cv_lib_$ac_lib_var=yes" |
else | | else |
| | |
fi | | fi |
| | |
echo $ac_n "checking for vprintf""... $ac_c" 1>&6 | | echo $ac_n "checking for vprintf""... $ac_c" 1>&6 |
echo "configure:4141: checking for vprintf" >&5 | | echo "configure:4145: checking for vprintf" >&5 |
if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
else | | else |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 4146 "configure" | | #line 4150 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
/* System header to define __stub macros and hopefully few prototypes, | | /* System header to define __stub macros and hopefully few prototypes, |
which can conflict with char vprintf(); below. */ | | which can conflict with char vprintf(); below. */ |
| | |
| | |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:4169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | | if { (eval echo configure:4173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
rm -rf conftest* | | rm -rf conftest* |
eval "ac_cv_func_vprintf=yes" | | eval "ac_cv_func_vprintf=yes" |
else | | else |
| | |
| | |
if test "$ac_cv_func_vprintf" != yes; then | | if test "$ac_cv_func_vprintf" != yes; then |
echo $ac_n "checking for _doprnt""... $ac_c" 1>&6 | | echo $ac_n "checking for _doprnt""... $ac_c" 1>&6 |
echo "configure:4193: checking for _doprnt" >&5 | | echo "configure:4197: checking for _doprnt" >&5 |
if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
else | | else |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 4198 "configure" | | #line 4202 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
/* System header to define __stub macros and hopefully few prototypes, | | /* System header to define __stub macros and hopefully few prototypes, |
which can conflict with char _doprnt(); below. */ | | which can conflict with char _doprnt(); below. */ |
| | |
| | |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:4221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | | if { (eval echo configure:4225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
rm -rf conftest* | | rm -rf conftest* |
eval "ac_cv_func__doprnt=yes" | | eval "ac_cv_func__doprnt=yes" |
else | | else |
| | |
for ac_func in gettimeofday mkdir mktime rmdir select socket strcspn strerror strspn strstr strtol strcasecmp strncasecmp snprintf setsid srandom getdtablesize srand48 srand sysconf scandir | | for ac_func in gettimeofday mkdir mktime rmdir select socket strcspn strerror strspn strstr strtol strcasecmp strncasecmp snprintf setsid srandom getdtablesize srand48 srand sysconf scandir |
do | | do |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
echo "configure:4248: checking for $ac_func" >&5 | | echo "configure:4252: checking for $ac_func" >&5 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
else | | else |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 4253 "configure" | | #line 4257 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
/* System header to define __stub macros and hopefully few prototypes, | | /* System header to define __stub macros and hopefully few prototypes, |
which can conflict with char $ac_func(); below. */ | | which can conflict with char $ac_func(); below. */ |
| | |
| | |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:4276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | | if { (eval echo configure:4280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
rm -rf conftest* | | rm -rf conftest* |
eval "ac_cv_func_$ac_func=yes" | | eval "ac_cv_func_$ac_func=yes" |
else | | else |
| | |
| | |
| | |
echo $ac_n "checking how many args gettimeofday uses""... $ac_c" 1>&6 | | echo $ac_n "checking how many args gettimeofday uses""... $ac_c" 1>&6 |
echo "configure:4302: checking how many args gettimeofday uses" >&5 | | echo "configure:4306: checking how many args gettimeofday uses" >&5 |
if eval "test \"`echo '$''{'ac_cv_gettimeofday_args'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_gettimeofday_args'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
else | | else |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 4307 "configure" | | #line 4311 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
#include <sys/time.h> | | #include <sys/time.h> |
#include <unistd.h> | | #include <unistd.h> |
| | |
gettimeofday(&tv, &tzp); | | gettimeofday(&tv, &tzp); |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:4316: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | | if { (eval echo configure:4320: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
rm -rf conftest* | | rm -rf conftest* |
ac_gettimeofday_args=2 | | ac_gettimeofday_args=2 |
else | | else |
| | |
cat conftest.$ac_ext >&5 | | cat conftest.$ac_ext >&5 |
rm -rf conftest* | | rm -rf conftest* |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 4324 "configure" | | #line 4328 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
#include <sys/time.h> | | #include <sys/time.h> |
#include <unistd.h> | | #include <unistd.h> |
| | |
struct timeval tv; gettimeofday(&tv); | | struct timeval tv; gettimeofday(&tv); |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:4332: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | | if { (eval echo configure:4336: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
rm -rf conftest* | | rm -rf conftest* |
ac_gettimeofday_args=1 | | ac_gettimeofday_args=1 |
else | | else |