| version 1.8 | | version 1.9 |
|---|
| | |
| fi | | fi |
| | | |
| | | |
| | | echo $ac_n "checking for main in -lpng""... $ac_c" 1>&6 |
| | | echo "configure:3096: checking for main in -lpng" >&5 |
| | | ac_lib_var=`echo png'_'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="-lpng -lX11 $LIBS" |
| | | cat > conftest.$ac_ext <<EOF |
| | | #line 3104 "configure" |
| | | #include "confdefs.h" |
| | | |
| | | int main() { |
| | | main() |
| | | ; return 0; } |
| | | EOF |
| | | if { (eval echo configure:3111: \"$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 |
| | | cat >> confdefs.h <<\EOF |
| | | #define HAVE_LIBPNG 1 |
| | | EOF |
| | | X11LIBS="$X11LIBS -lpng" |
| | | else |
| | | echo "$ac_t""no" 1>&6 |
| | | fi |
| | | |
| | | |
| LDFLAGS="$OLD_LD_FLAGS" | | LDFLAGS="$OLD_LD_FLAGS" |
| X11LIBS="$X_LIBS $X11LIBS" | | X11LIBS="$X_LIBS $X11LIBS" |
| | | |
| echo $ac_n "checking for main in -lcrypt""... $ac_c" 1>&6 | | echo $ac_n "checking for main in -lcrypt""... $ac_c" 1>&6 |
| echo "configure:3099: checking for main in -lcrypt" >&5 | | echo "configure:3139: checking for main in -lcrypt" >&5 |
| ac_lib_var=`echo crypt'_'main | sed 'y%./+-%__p_%'` | | ac_lib_var=`echo crypt'_'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="-lcrypt $LIBS" | | LIBS="-lcrypt $LIBS" |
| cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
| #line 3107 "configure" | | #line 3147 "configure" |
| #include "confdefs.h" | | #include "confdefs.h" |
| | | |
| int main() { | | int main() { |
| main() | | main() |
| ; return 0; } | | ; return 0; } |
| EOF | | EOF |
| if { (eval echo configure:3114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | | if { (eval echo configure:3154: \"$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 main in -ldes""... $ac_c" 1>&6 | | echo $ac_n "checking for main in -ldes""... $ac_c" 1>&6 |
| echo "configure:3142: checking for main in -ldes" >&5 | | echo "configure:3182: checking for main in -ldes" >&5 |
| ac_lib_var=`echo des'_'main | sed 'y%./+-%__p_%'` | | ac_lib_var=`echo des'_'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="-ldes $LIBS" | | LIBS="-ldes $LIBS" |
| cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
| #line 3150 "configure" | | #line 3190 "configure" |
| #include "confdefs.h" | | #include "confdefs.h" |
| | | |
| int main() { | | int main() { |
| main() | | main() |
| ; return 0; } | | ; return 0; } |
| EOF | | EOF |
| if { (eval echo configure:3157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | | if { (eval echo configure:3197: \"$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:3186: checking for main in -ldmalloc" >&5 | | echo "configure:3226: 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 3194 "configure" | | #line 3234 "configure" |
| #include "confdefs.h" | | #include "confdefs.h" |
| | | |
| int main() { | | int main() { |
| main() | | main() |
| ; return 0; } | | ; return 0; } |
| EOF | | EOF |
| if { (eval echo configure:3201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | | if { (eval echo configure:3241: \"$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:3230: checking for main in -lm" >&5 | | echo "configure:3270: 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 3238 "configure" | | #line 3278 "configure" |
| #include "confdefs.h" | | #include "confdefs.h" |
| | | |
| int main() { | | int main() { |
| main() | | main() |
| ; return 0; } | | ; return 0; } |
| EOF | | EOF |
| if { (eval echo configure:3245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | | if { (eval echo configure:3285: \"$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:3278: checking for $ac_hdr that defines DIR" >&5 | | echo "configure:3318: 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 3283 "configure" | | #line 3323 "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:3291: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | | if { (eval echo configure:3331: \"$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:3316: checking for opendir in -ldir" >&5 | | echo "configure:3356: 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 3324 "configure" | | #line 3364 "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:3335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | | if { (eval echo configure:3375: \"$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:3357: checking for opendir in -lx" >&5 | | echo "configure:3397: 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 3365 "configure" | | #line 3405 "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:3376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | | if { (eval echo configure:3416: \"$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:3399: checking for ANSI C header files" >&5 | | echo "configure:3439: 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 3404 "configure" | | #line 3444 "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:3412: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | | { (eval echo configure:3452: \"$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 3429 "configure" | | #line 3469 "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 3447 "configure" | | #line 3487 "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 3468 "configure" | | #line 3508 "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:3479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | | if { (eval echo configure:3519: \"$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:3506: checking for $ac_hdr" >&5 | | echo "configure:3546: 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 3511 "configure" | | #line 3551 "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:3516: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | | { (eval echo configure:3556: \"$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:3544: checking for working const" >&5 | | echo "configure:3584: 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 3549 "configure" | | #line 3589 "configure" |
| #include "confdefs.h" | | #include "confdefs.h" |
| | | |
| int main() { | | int main() { |
| | |
| | | |
| ; return 0; } | | ; return 0; } |
| EOF | | EOF |
| if { (eval echo configure:3598: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | | if { (eval echo configure:3638: \"$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:3619: checking for inline" >&5 | | echo "configure:3659: 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 3626 "configure" | | #line 3666 "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:3633: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | | if { (eval echo configure:3673: \"$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:3659: checking for pid_t" >&5 | | echo "configure:3699: 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 3664 "configure" | | #line 3704 "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:3692: checking for size_t" >&5 | | echo "configure:3732: 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 3697 "configure" | | #line 3737 "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:3725: checking whether time.h and sys/time.h may both be included" >&5 | | echo "configure:3765: 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 3730 "configure" | | #line 3770 "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:3739: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | | if { (eval echo configure:3779: \"$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:3760: checking whether struct tm is in sys/time.h or time.h" >&5 | | echo "configure:3800: 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 3765 "configure" | | #line 3805 "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:3773: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | | if { (eval echo configure:3813: \"$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:3794: checking for uid_t in sys/types.h" >&5 | | echo "configure:3834: 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 3799 "configure" | | #line 3839 "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:3830: checking whether ${CC-cc} needs -traditional" >&5 | | echo "configure:3870: 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 3836 "configure" | | #line 3876 "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 3854 "configure" | | #line 3894 "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:3876: checking for 8-bit clean memcmp" >&5 | | echo "configure:3916: 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 3884 "configure" | | #line 3924 "configure" |
| #include "confdefs.h" | | #include "confdefs.h" |
| | | |
| main() | | main() |
| | |
| } | | } |
| | | |
| EOF | | EOF |
| if { (eval echo configure:3894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | | if { (eval echo configure:3934: \"$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:3912: checking whether setpgrp takes no argument" >&5 | | echo "configure:3952: 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 3920 "configure" | | #line 3960 "configure" |
| #include "confdefs.h" | | #include "confdefs.h" |
| | | |
| #ifdef HAVE_UNISTD_H | | #ifdef HAVE_UNISTD_H |
| | |
| } | | } |
| | | |
| EOF | | EOF |
| if { (eval echo configure:3940: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | | if { (eval echo configure:3980: \"$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:3964: checking return type of signal handlers" >&5 | | echo "configure:4004: 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 3969 "configure" | | #line 4009 "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:3986: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | | if { (eval echo configure:4026: \"$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:4005: checking for strftime" >&5 | | echo "configure:4045: 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 4010 "configure" | | #line 4050 "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:4033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | | if { (eval echo configure:4073: \"$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:4055: checking for strftime in -lintl" >&5 | | echo "configure:4095: 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 4063 "configure" | | #line 4103 "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:4074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | | if { (eval echo configure:4114: \"$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:4101: checking for vprintf" >&5 | | echo "configure:4141: 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 4106 "configure" | | #line 4146 "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:4129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | | if { (eval echo configure:4169: \"$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:4153: checking for _doprnt" >&5 | | echo "configure:4193: 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 4158 "configure" | | #line 4198 "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:4181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | | if { (eval echo configure:4221: \"$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:4208: checking for $ac_func" >&5 | | echo "configure:4248: 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 4213 "configure" | | #line 4253 "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:4236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | | if { (eval echo configure:4276: \"$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:4262: checking how many args gettimeofday uses" >&5 | | echo "configure:4302: 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 4267 "configure" | | #line 4307 "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:4276: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | | if { (eval echo configure:4316: \"$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 4284 "configure" | | #line 4324 "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:4292: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | | if { (eval echo configure:4332: \"$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 |