|
|
| version 1.51, 2002/11/20 14:20:52 | version 1.52, 2002/11/25 15:36:41 |
|---|---|
| Line 2557 sys/locking.h \ | Line 2557 sys/locking.h \ |
| sys/types.h \ | sys/types.h \ |
| sys/select.h \ | sys/select.h \ |
| sys/resource.h \ | sys/resource.h \ |
| winsock.h | winsock.h \ |
| sys/socket.h \ | |
| netinet/in.h \ | |
| arpa/inet.h \ | |
| netdb.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:2566: checking for $ac_hdr" >&5 | echo "configure:2570: 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 2571 "configure" | #line 2575 "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:2576: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | { (eval echo configure:2580: \"$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* |
| Line 2603 done | Line 2607 done |
| case "$host" in | case "$host" in |
| *-sunos5.6* | *-solaris2.6*) | *-sunos5.6* | *-solaris2.6*) |
| echo $ac_n "checking for main in -lxnet""... $ac_c" 1>&6 | echo $ac_n "checking for main in -lxnet""... $ac_c" 1>&6 |
| echo "configure:2607: checking for main in -lxnet" >&5 | echo "configure:2611: checking for main in -lxnet" >&5 |
| ac_lib_var=`echo xnet'_'main | sed 'y%./+-%__p_%'` | ac_lib_var=`echo xnet'_'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 |
| Line 2611 else | Line 2615 else |
| ac_save_LIBS="$LIBS" | ac_save_LIBS="$LIBS" |
| LIBS="-lxnet $LIBS" | LIBS="-lxnet $LIBS" |
| cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
| #line 2615 "configure" | #line 2619 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| int main() { | int main() { |
| main() | main() |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:2622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:2626: \"$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 |
| Line 2648 fi | Line 2652 fi |
| ;; | ;; |
| *-sunos5* | *-solaris2*) | *-sunos5* | *-solaris2*) |
| echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6 | echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6 |
| echo "configure:2652: checking for main in -lsocket" >&5 | echo "configure:2656: checking for main in -lsocket" >&5 |
| ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'` | ac_lib_var=`echo socket'_'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 |
| Line 2656 else | Line 2660 else |
| ac_save_LIBS="$LIBS" | ac_save_LIBS="$LIBS" |
| LIBS="-lsocket $LIBS" | LIBS="-lsocket $LIBS" |
| cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
| #line 2660 "configure" | #line 2664 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| int main() { | int main() { |
| main() | main() |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:2667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:2671: \"$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 |
| Line 2691 else | Line 2695 else |
| fi | fi |
| echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6 | echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6 |
| echo "configure:2695: checking for main in -lnsl" >&5 | echo "configure:2699: checking for main in -lnsl" >&5 |
| ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'` | ac_lib_var=`echo nsl'_'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 |
| Line 2699 else | Line 2703 else |
| ac_save_LIBS="$LIBS" | ac_save_LIBS="$LIBS" |
| LIBS="-lnsl $LIBS" | LIBS="-lnsl $LIBS" |
| cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
| #line 2703 "configure" | #line 2707 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| int main() { | int main() { |
| main() | main() |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:2710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:2714: \"$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 |
| Line 2736 fi | Line 2740 fi |
| ;; | ;; |
| *-nec-sysv4*) | *-nec-sysv4*) |
| echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
| echo "configure:2740: checking for gethostbyname in -lnsl" >&5 | echo "configure:2744: checking for gethostbyname in -lnsl" >&5 |
| ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | ac_lib_var=`echo nsl'_'gethostbyname | 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 |
| Line 2744 else | Line 2748 else |
| ac_save_LIBS="$LIBS" | ac_save_LIBS="$LIBS" |
| LIBS="-lnsl $LIBS" | LIBS="-lnsl $LIBS" |
| cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
| #line 2748 "configure" | #line 2752 "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. */ |
| #ifdef __cplusplus | #ifdef __cplusplus |
| Line 2758 int main() { | Line 2762 int main() { |
| gethostbyname() | gethostbyname() |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:2762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:2766: \"$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 |
| Line 2786 else | Line 2790 else |
| fi | fi |
| echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6 | echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6 |
| echo "configure:2790: checking for socket in -lsocket" >&5 | echo "configure:2794: checking for socket in -lsocket" >&5 |
| ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'` | ac_lib_var=`echo socket'_'socket | 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 |
| Line 2794 else | Line 2798 else |
| ac_save_LIBS="$LIBS" | ac_save_LIBS="$LIBS" |
| LIBS="-lsocket $LIBS" | LIBS="-lsocket $LIBS" |
| cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
| #line 2798 "configure" | #line 2802 "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. */ |
| #ifdef __cplusplus | #ifdef __cplusplus |
| Line 2808 int main() { | Line 2812 int main() { |
| socket() | socket() |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:2812: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:2816: \"$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 |
| Line 2842 fi | Line 2846 fi |
| EOF | EOF |
| echo $ac_n "checking for socket in -lwsock32""... $ac_c" 1>&6 | echo $ac_n "checking for socket in -lwsock32""... $ac_c" 1>&6 |
| echo "configure:2846: checking for socket in -lwsock32" >&5 | echo "configure:2850: checking for socket in -lwsock32" >&5 |
| ac_lib_var=`echo wsock32'_'socket | sed 'y%./+-%__p_%'` | ac_lib_var=`echo wsock32'_'socket | 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 |
| Line 2850 else | Line 2854 else |
| ac_save_LIBS="$LIBS" | ac_save_LIBS="$LIBS" |
| LIBS="-lwsock32 $LIBS" | LIBS="-lwsock32 $LIBS" |
| cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
| #line 2854 "configure" | #line 2858 "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. */ |
| #ifdef __cplusplus | #ifdef __cplusplus |
| Line 2864 int main() { | Line 2868 int main() { |
| socket() | socket() |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:2868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:2872: \"$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 |
| Line 2895 fi | Line 2899 fi |
| # never tested this, only theoretically by letter from demos about parser2 build | # never tested this, only theoretically by letter from demos about parser2 build |
| *-hpux*) | *-hpux*) |
| echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6 | echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6 |
| echo "configure:2899: checking for main in -lnsl" >&5 | echo "configure:2903: checking for main in -lnsl" >&5 |
| ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'` | ac_lib_var=`echo nsl'_'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 |
| Line 2903 else | Line 2907 else |
| ac_save_LIBS="$LIBS" | ac_save_LIBS="$LIBS" |
| LIBS="-lnsl $LIBS" | LIBS="-lnsl $LIBS" |
| cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
| #line 2907 "configure" | #line 2911 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| int main() { | int main() { |
| main() | main() |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:2914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:2918: \"$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 |
| Line 2941 fi | Line 2945 fi |
| esac | esac |
| echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
| echo "configure:2945: checking for sin in -lm" >&5 | echo "configure:2949: checking for sin in -lm" >&5 |
| ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | ac_lib_var=`echo m'_'sin | 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 |
| Line 2949 else | Line 2953 else |
| 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 2953 "configure" | #line 2957 "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. */ |
| #ifdef __cplusplus | #ifdef __cplusplus |
| Line 2963 int main() { | Line 2967 int main() { |
| sin() | sin() |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:2967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:2971: \"$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 |
| Line 2992 fi | Line 2996 fi |
| echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
| echo "configure:2996: checking for crypt in -lcrypt" >&5 | echo "configure:3000: checking for crypt in -lcrypt" >&5 |
| ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | ac_lib_var=`echo crypt'_'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 |
| Line 3000 else | Line 3004 else |
| 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 3004 "configure" | #line 3008 "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. */ |
| #ifdef __cplusplus | #ifdef __cplusplus |
| Line 3014 int main() { | Line 3018 int main() { |
| crypt() | crypt() |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:3018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:3022: \"$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 |
| Line 3052 fcntl \ | Line 3056 fcntl \ |
| lockf \ | lockf \ |
| getrusage \ | getrusage \ |
| gettimeofday \ | gettimeofday \ |
| crypt | crypt \ |
| sigsetjmp siglongjmp | |
| 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:3060: checking for $ac_func" >&5 | echo "configure:3065: 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 3065 "configure" | #line 3070 "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. */ |
| Line 3087 $ac_func(); | Line 3092 $ac_func(); |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:3091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:3096: \"$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 |
| Line 3116 done | Line 3121 done |
| for ac_func in qsort | for ac_func in qsort |
| 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:3120: checking for $ac_func" >&5 | echo "configure:3125: 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 3125 "configure" | #line 3130 "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. */ |
| Line 3147 $ac_func(); | Line 3152 $ac_func(); |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:3151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:3156: \"$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 |
| Line 3175 done | Line 3180 done |
| for ac_func in select | for ac_func in select |
| 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:3179: checking for $ac_func" >&5 | echo "configure:3184: 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 3184 "configure" | #line 3189 "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. */ |
| Line 3206 $ac_func(); | Line 3211 $ac_func(); |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:3210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:3215: \"$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 |
| Line 3234 done | Line 3239 done |
| echo $ac_n "checking for timezone variable""... $ac_c" 1>&6 | echo $ac_n "checking for timezone variable""... $ac_c" 1>&6 |
| echo "configure:3238: checking for timezone variable" >&5 | echo "configure:3243: checking for timezone variable" >&5 |
| cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
| #line 3240 "configure" | #line 3245 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| #include <time.h> | #include <time.h> |
| int main() { | int main() { |
| Line 3245 time_t test=timezone; | Line 3250 time_t test=timezone; |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:3249: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | if { (eval echo configure:3254: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| rm -rf conftest* | rm -rf conftest* |
| cat >> confdefs.h <<\EOF | cat >> confdefs.h <<\EOF |
| #define HAVE_TIMEZONE 1 | #define HAVE_TIMEZONE 1 |
| Line 3261 fi | Line 3266 fi |
| rm -f conftest* | rm -f conftest* |
| echo $ac_n "checking for daylight variable""... $ac_c" 1>&6 | echo $ac_n "checking for daylight variable""... $ac_c" 1>&6 |
| echo "configure:3265: checking for daylight variable" >&5 | echo "configure:3270: checking for daylight variable" >&5 |
| cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
| #line 3267 "configure" | #line 3272 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| #include <time.h> | #include <time.h> |
| int main() { | int main() { |
| Line 3272 int test=daylight; | Line 3277 int test=daylight; |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:3276: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | if { (eval echo configure:3281: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| rm -rf conftest* | rm -rf conftest* |
| cat >> confdefs.h <<\EOF | cat >> confdefs.h <<\EOF |
| #define HAVE_DAYLIGHT 1 | #define HAVE_DAYLIGHT 1 |
| Line 3288 fi | Line 3293 fi |
| rm -f conftest* | rm -f conftest* |
| echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6 | echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6 |
| echo "configure:3292: checking for tm_gmtoff in struct tm" >&5 | echo "configure:3297: checking for tm_gmtoff in struct tm" >&5 |
| cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
| #line 3294 "configure" | #line 3299 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| #include <time.h> | #include <time.h> |
| int main() { | int main() { |
| Line 3299 tm.tm_gmtoff=0; | Line 3304 tm.tm_gmtoff=0; |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:3303: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | if { (eval echo configure:3308: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| rm -rf conftest* | rm -rf conftest* |
| cat >> confdefs.h <<\EOF | cat >> confdefs.h <<\EOF |
| #define HAVE_TM_GMTOFF 1 | #define HAVE_TM_GMTOFF 1 |
| Line 3315 fi | Line 3320 fi |
| rm -f conftest* | rm -f conftest* |
| echo $ac_n "checking for tm_tzadj in struct tm""... $ac_c" 1>&6 | echo $ac_n "checking for tm_tzadj in struct tm""... $ac_c" 1>&6 |
| echo "configure:3319: checking for tm_tzadj in struct tm" >&5 | echo "configure:3324: checking for tm_tzadj in struct tm" >&5 |
| cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
| #line 3321 "configure" | #line 3326 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| #include <time.h> | #include <time.h> |
| int main() { | int main() { |
| Line 3326 tm.tm_tzadj=0; | Line 3331 tm.tm_tzadj=0; |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:3330: \"$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* |
| cat >> confdefs.h <<\EOF | cat >> confdefs.h <<\EOF |
| #define HAVE_TM_TZADJ 1 | #define HAVE_TM_TZADJ 1 |
| Line 3343 rm -f conftest* | Line 3348 rm -f conftest* |
| echo $ac_n "checking whether compiler supports pragma pack""... $ac_c" 1>&6 | echo $ac_n "checking whether compiler supports pragma pack""... $ac_c" 1>&6 |
| echo "configure:3347: checking whether compiler supports pragma pack" >&5 | echo "configure:3352: checking whether compiler supports pragma pack" >&5 |
| cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
| #line 3349 "configure" | #line 3354 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| #pragma pack(1) | #pragma pack(1) |
| struct _1_byte { | struct _1_byte { |
| Line 3357 int main() { | Line 3362 int main() { |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:3361: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | if { (eval echo configure:3366: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| rm -rf conftest* | rm -rf conftest* |
| echo "$ac_t""yes" 1>&6 | echo "$ac_t""yes" 1>&6 |
| Line 3376 fi | Line 3381 fi |
| rm -f conftest* | rm -f conftest* |
| echo $ac_n "checking for set_new_handler""... $ac_c" 1>&6 | echo $ac_n "checking for set_new_handler""... $ac_c" 1>&6 |
| echo "configure:3380: checking for set_new_handler" >&5 | echo "configure:3385: checking for set_new_handler" >&5 |
| cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
| #line 3382 "configure" | #line 3387 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| #ifdef HAVE_NEW | #ifdef HAVE_NEW |
| #include <new> | #include <new> |
| Line 3390 std::set_new_handler(failed_new); | Line 3395 std::set_new_handler(failed_new); |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:3394: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | if { (eval echo configure:3399: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| rm -rf conftest* | rm -rf conftest* |
| echo "$ac_t""yes" 1>&6 | echo "$ac_t""yes" 1>&6 |