| version 1.7 | | version 1.8 |
|---|
| | |
| CFLAGS="$ac_save_CFLAGS" | | CFLAGS="$ac_save_CFLAGS" |
| elif test $ac_cv_prog_cc_g = yes; then | | elif test $ac_cv_prog_cc_g = yes; then |
| if test "$GCC" = yes; then | | if test "$GCC" = yes; then |
| CFLAGS="-g " | | CFLAGS="-g -O2" |
| else | | else |
| CFLAGS="-g" | | CFLAGS="-g" |
| fi | | fi |
| | |
| 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 "configure:3142: checking for main in -ldes" >&5 |
| | | ac_lib_var=`echo des'_'main | sed 'y%./+-%__p_%'` |
| | | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| | | echo $ac_n "(cached) $ac_c" 1>&6 |
| | | else |
| | | ac_save_LIBS="$LIBS" |
| | | LIBS="-ldes $LIBS" |
| | | cat > conftest.$ac_ext <<EOF |
| | | #line 3150 "configure" |
| | | #include "confdefs.h" |
| | | |
| | | int main() { |
| | | main() |
| | | ; return 0; } |
| | | EOF |
| | | if { (eval echo configure:3157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| | | rm -rf conftest* |
| | | eval "ac_cv_lib_$ac_lib_var=yes" |
| | | else |
| | | echo "configure: failed program was:" >&5 |
| | | cat conftest.$ac_ext >&5 |
| | | rm -rf conftest* |
| | | eval "ac_cv_lib_$ac_lib_var=no" |
| | | fi |
| | | rm -f conftest* |
| | | LIBS="$ac_save_LIBS" |
| | | |
| | | fi |
| | | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
| | | echo "$ac_t""yes" 1>&6 |
| | | ac_tr_lib=HAVE_LIB`echo des | sed -e 's/[^a-zA-Z0-9_]/_/g' \ |
| | | -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` |
| | | cat >> confdefs.h <<EOF |
| | | #define $ac_tr_lib 1 |
| | | EOF |
| | | |
| | | LIBS="-ldes $LIBS" |
| | | |
| | | else |
| | | echo "$ac_t""no" 1>&6 |
| | | fi |
| | | |
| | | |
| 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:3143: checking for main in -ldmalloc" >&5 | | echo "configure:3186: 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 3151 "configure" | | #line 3194 "configure" |
| #include "confdefs.h" | | #include "confdefs.h" |
| | | |
| int main() { | | int main() { |
| main() | | main() |
| ; return 0; } | | ; return 0; } |
| EOF | | EOF |
| if { (eval echo configure:3158: \"$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 -lm""... $ac_c" 1>&6 | | echo $ac_n "checking for main in -lm""... $ac_c" 1>&6 |
| echo "configure:3187: checking for main in -lm" >&5 | | echo "configure:3230: 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 3195 "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:3202: \"$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 |
| | |
| 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:3235: checking for $ac_hdr that defines DIR" >&5 | | echo "configure:3278: 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 3240 "configure" | | #line 3283 "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:3248: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | | if { (eval echo configure:3291: \"$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:3273: checking for opendir in -ldir" >&5 | | echo "configure:3316: 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 3281 "configure" | | #line 3324 "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:3292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | | if { (eval echo configure:3335: \"$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:3314: checking for opendir in -lx" >&5 | | echo "configure:3357: 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 3322 "configure" | | #line 3365 "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:3333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | | if { (eval echo configure:3376: \"$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:3356: checking for ANSI C header files" >&5 | | echo "configure:3399: 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 3361 "configure" | | #line 3404 "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:3369: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | | { (eval echo configure:3412: \"$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 3386 "configure" | | #line 3429 "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 3404 "configure" | | #line 3447 "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 3425 "configure" | | #line 3468 "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:3436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | | if { (eval echo configure:3479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
| then | | then |
| : | | : |
| else | | else |
| | |
| | | |
| fi | | fi |
| | | |
| for ac_hdr in fcntl.h limits.h malloc.h strings.h sys/file.h sys/ioctl.h sys/time.h unistd.h stddef.h stdlib.h sys/ttycom.h sys/termios.h crypt.h arpa/inet.h | | for ac_hdr in fcntl.h limits.h malloc.h strings.h sys/file.h sys/ioctl.h sys/time.h unistd.h stddef.h stdlib.h sys/ttycom.h sys/termios.h crypt.h arpa/inet.h des.h |
| 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:3463: checking for $ac_hdr" >&5 | | echo "configure:3506: 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 3468 "configure" | | #line 3511 "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:3473: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | | { (eval echo configure:3516: \"$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:3501: checking for working const" >&5 | | echo "configure:3544: 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 3506 "configure" | | #line 3549 "configure" |
| #include "confdefs.h" | | #include "confdefs.h" |
| | | |
| int main() { | | int main() { |
| | |
| | | |
| ; return 0; } | | ; return 0; } |
| EOF | | EOF |
| if { (eval echo configure:3555: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | | if { (eval echo configure:3598: \"$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:3576: checking for inline" >&5 | | echo "configure:3619: 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 3583 "configure" | | #line 3626 "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:3590: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | | if { (eval echo configure:3633: \"$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:3616: checking for pid_t" >&5 | | echo "configure:3659: 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 3621 "configure" | | #line 3664 "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:3649: checking for size_t" >&5 | | echo "configure:3692: 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 3654 "configure" | | #line 3697 "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:3682: checking whether time.h and sys/time.h may both be included" >&5 | | echo "configure:3725: 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 3687 "configure" | | #line 3730 "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:3696: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | | if { (eval echo configure:3739: \"$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:3717: checking whether struct tm is in sys/time.h or time.h" >&5 | | echo "configure:3760: 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 3722 "configure" | | #line 3765 "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:3730: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | | if { (eval echo configure:3773: \"$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:3751: checking for uid_t in sys/types.h" >&5 | | echo "configure:3794: 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 3756 "configure" | | #line 3799 "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:3787: checking whether ${CC-cc} needs -traditional" >&5 | | echo "configure:3830: 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 3793 "configure" | | #line 3836 "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 3811 "configure" | | #line 3854 "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:3833: checking for 8-bit clean memcmp" >&5 | | echo "configure:3876: 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 3841 "configure" | | #line 3884 "configure" |
| #include "confdefs.h" | | #include "confdefs.h" |
| | | |
| main() | | main() |
| | |
| } | | } |
| | | |
| EOF | | EOF |
| if { (eval echo configure:3851: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | | if { (eval echo configure:3894: \"$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:3869: checking whether setpgrp takes no argument" >&5 | | echo "configure:3912: 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 3877 "configure" | | #line 3920 "configure" |
| #include "confdefs.h" | | #include "confdefs.h" |
| | | |
| #ifdef HAVE_UNISTD_H | | #ifdef HAVE_UNISTD_H |
| | |
| } | | } |
| | | |
| EOF | | EOF |
| if { (eval echo configure:3897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | | if { (eval echo configure:3940: \"$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:3921: checking return type of signal handlers" >&5 | | echo "configure:3964: 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 3926 "configure" | | #line 3969 "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:3943: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | | if { (eval echo configure:3986: \"$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:3962: checking for strftime" >&5 | | echo "configure:4005: 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 3967 "configure" | | #line 4010 "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:3990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | | if { (eval echo configure:4033: \"$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:4012: checking for strftime in -lintl" >&5 | | echo "configure:4055: 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 4020 "configure" | | #line 4063 "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:4031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | | if { (eval echo configure:4074: \"$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:4058: checking for vprintf" >&5 | | echo "configure:4101: 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 4063 "configure" | | #line 4106 "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:4086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | | if { (eval echo configure:4129: \"$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:4110: checking for _doprnt" >&5 | | echo "configure:4153: 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 4115 "configure" | | #line 4158 "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:4138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | | if { (eval echo configure:4181: \"$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:4165: checking for $ac_func" >&5 | | echo "configure:4208: 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 4170 "configure" | | #line 4213 "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:4193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | | if { (eval echo configure:4236: \"$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:4219: checking how many args gettimeofday uses" >&5 | | echo "configure:4262: 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 4224 "configure" | | #line 4267 "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:4233: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | | if { (eval echo configure:4276: \"$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 4241 "configure" | | #line 4284 "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:4249: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | | if { (eval echo configure:4292: \"$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 |