comparison configure @ 85363:104186d7ba4b

Regenerate.
author Chong Yidong <cyd@stupidchicken.com>
date Wed, 17 Oct 2007 15:58:05 +0000
parents d5d7671ba1ea
children c0d6a9b6d0e5 1251cabc40b7
comparison
equal deleted inserted replaced
85362:b949ffc47cba 85363:104186d7ba4b
15920 15920
15921 15921
15922 15922
15923 15923
15924 15924
15925
15926 for ac_func in gethostname getdomainname dup2 \ 15925 for ac_func in gethostname getdomainname dup2 \
15927 rename closedir mkdir rmdir sysinfo getrusage get_current_dir_name \ 15926 rename closedir mkdir rmdir sysinfo getrusage get_current_dir_name \
15928 random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime res_init setsid \ 15927 random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime setsid \
15929 strerror fpathconf select mktime euidaccess getpagesize tzset setlocale \ 15928 strerror fpathconf select mktime euidaccess getpagesize tzset setlocale \
15930 utimes setrlimit setpgid getcwd getwd shutdown getaddrinfo \ 15929 utimes setrlimit setpgid getcwd getwd shutdown getaddrinfo \
15931 __fpending mblen mbrlen mbsinit strsignal setitimer ualarm index rindex \ 15930 __fpending mblen mbrlen mbsinit strsignal setitimer ualarm index rindex \
15932 sendto recvfrom getsockopt setsockopt getsockname getpeername \ 15931 sendto recvfrom getsockopt setsockopt getsockname getpeername \
15933 gai_strerror mkstemp getline getdelim mremap memmove fsync sync bzero \ 15932 gai_strerror mkstemp getline getdelim mremap memmove fsync sync bzero \
18530 /* confdefs.h. */ 18529 /* confdefs.h. */
18531 _ACEOF 18530 _ACEOF
18532 cat confdefs.h >>conftest.$ac_ext 18531 cat confdefs.h >>conftest.$ac_ext
18533 cat >>conftest.$ac_ext <<_ACEOF 18532 cat >>conftest.$ac_ext <<_ACEOF
18534 /* end confdefs.h. */ 18533 /* end confdefs.h. */
18535 #include <sys/types.h> /* for off_t */ 18534 #include <stdio.h>
18536 #include <stdio.h>
18537 int 18535 int
18538 main () 18536 main ()
18539 { 18537 {
18540 int (*fp) (FILE *, off_t, int) = fseeko; 18538 return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0);
18541 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
18542 ; 18539 ;
18543 return 0; 18540 return 0;
18544 } 18541 }
18545 _ACEOF 18542 _ACEOF
18546 rm -f conftest.$ac_objext conftest$ac_exeext 18543 rm -f conftest.$ac_objext conftest$ac_exeext
18576 _ACEOF 18573 _ACEOF
18577 cat confdefs.h >>conftest.$ac_ext 18574 cat confdefs.h >>conftest.$ac_ext
18578 cat >>conftest.$ac_ext <<_ACEOF 18575 cat >>conftest.$ac_ext <<_ACEOF
18579 /* end confdefs.h. */ 18576 /* end confdefs.h. */
18580 #define _LARGEFILE_SOURCE 1 18577 #define _LARGEFILE_SOURCE 1
18581 #include <sys/types.h> /* for off_t */ 18578 #include <stdio.h>
18582 #include <stdio.h>
18583 int 18579 int
18584 main () 18580 main ()
18585 { 18581 {
18586 int (*fp) (FILE *, off_t, int) = fseeko; 18582 return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0);
18587 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
18588 ; 18583 ;
18589 return 0; 18584 return 0;
18590 } 18585 }
18591 _ACEOF 18586 _ACEOF
18592 rm -f conftest.$ac_objext conftest$ac_exeext 18587 rm -f conftest.$ac_objext conftest$ac_exeext
19611 LIBS="-lncurses $LIBS" 19606 LIBS="-lncurses $LIBS"
19612 19607
19613 fi 19608 fi
19614 19609
19615 19610
19611 # Do we have res_init, for detecting changes in /etc/resolv.conf?
19612
19613 resolv=no
19614 { echo "$as_me:$LINENO: checking for res_init" >&5
19615 echo $ECHO_N "checking for res_init... $ECHO_C" >&6; }
19616 if test "${ac_cv_func_res_init+set}" = set; then
19617 echo $ECHO_N "(cached) $ECHO_C" >&6
19618 else
19619 cat >conftest.$ac_ext <<_ACEOF
19620 /* confdefs.h. */
19621 _ACEOF
19622 cat confdefs.h >>conftest.$ac_ext
19623 cat >>conftest.$ac_ext <<_ACEOF
19624 /* end confdefs.h. */
19625 /* Define res_init to an innocuous variant, in case <limits.h> declares res_init.
19626 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19627 #define res_init innocuous_res_init
19628
19629 /* System header to define __stub macros and hopefully few prototypes,
19630 which can conflict with char res_init (); below.
19631 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19632 <limits.h> exists even on freestanding compilers. */
19633
19634 #ifdef __STDC__
19635 # include <limits.h>
19636 #else
19637 # include <assert.h>
19638 #endif
19639
19640 #undef res_init
19641
19642 /* Override any GCC internal prototype to avoid an error.
19643 Use char because int might match the return type of a GCC
19644 builtin and then its argument prototype would still apply. */
19645 #ifdef __cplusplus
19646 extern "C"
19647 #endif
19648 char res_init ();
19649 /* The GNU C library defines this for functions which it implements
19650 to always fail with ENOSYS. Some functions are actually named
19651 something starting with __ and the normal name is an alias. */
19652 #if defined __stub_res_init || defined __stub___res_init
19653 choke me
19654 #endif
19655
19656 int
19657 main ()
19658 {
19659 return res_init ();
19660 ;
19661 return 0;
19662 }
19663 _ACEOF
19664 rm -f conftest.$ac_objext conftest$ac_exeext
19665 if { (ac_try="$ac_link"
19666 case "(($ac_try" in
19667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19668 *) ac_try_echo=$ac_try;;
19669 esac
19670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19671 (eval "$ac_link") 2>conftest.er1
19672 ac_status=$?
19673 grep -v '^ *+' conftest.er1 >conftest.err
19674 rm -f conftest.er1
19675 cat conftest.err >&5
19676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19677 (exit $ac_status); } && {
19678 test -z "$ac_c_werror_flag" ||
19679 test ! -s conftest.err
19680 } && test -s conftest$ac_exeext &&
19681 $as_test_x conftest$ac_exeext; then
19682 ac_cv_func_res_init=yes
19683 else
19684 echo "$as_me: failed program was:" >&5
19685 sed 's/^/| /' conftest.$ac_ext >&5
19686
19687 ac_cv_func_res_init=no
19688 fi
19689
19690 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19691 conftest$ac_exeext conftest.$ac_ext
19692 fi
19693 { echo "$as_me:$LINENO: result: $ac_cv_func_res_init" >&5
19694 echo "${ECHO_T}$ac_cv_func_res_init" >&6; }
19695 if test $ac_cv_func_res_init = yes; then
19696 have_res_init=yes
19697 else
19698 have_res_init=no
19699 fi
19700
19701 if test "$have_res_init" = no; then
19702 OLIBS="$LIBS"
19703 LIBS="$LIBS -lresolv"
19704 { echo "$as_me:$LINENO: checking for res_init with -lresolv" >&5
19705 echo $ECHO_N "checking for res_init with -lresolv... $ECHO_C" >&6; }
19706 cat >conftest.$ac_ext <<_ACEOF
19707 /* confdefs.h. */
19708 _ACEOF
19709 cat confdefs.h >>conftest.$ac_ext
19710 cat >>conftest.$ac_ext <<_ACEOF
19711 /* end confdefs.h. */
19712 #include <netinet/in.h>
19713 #include <arpa/nameser.h>
19714 #include <resolv.h>
19715 int
19716 main ()
19717 {
19718 res_init();
19719 ;
19720 return 0;
19721 }
19722 _ACEOF
19723 rm -f conftest.$ac_objext conftest$ac_exeext
19724 if { (ac_try="$ac_link"
19725 case "(($ac_try" in
19726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19727 *) ac_try_echo=$ac_try;;
19728 esac
19729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19730 (eval "$ac_link") 2>conftest.er1
19731 ac_status=$?
19732 grep -v '^ *+' conftest.er1 >conftest.err
19733 rm -f conftest.er1
19734 cat conftest.err >&5
19735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19736 (exit $ac_status); } && {
19737 test -z "$ac_c_werror_flag" ||
19738 test ! -s conftest.err
19739 } && test -s conftest$ac_exeext &&
19740 $as_test_x conftest$ac_exeext; then
19741 have_res_init=yes
19742 else
19743 echo "$as_me: failed program was:" >&5
19744 sed 's/^/| /' conftest.$ac_ext >&5
19745
19746 have_res_init=no
19747 fi
19748
19749 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19750 conftest$ac_exeext conftest.$ac_ext
19751 { echo "$as_me:$LINENO: result: $have_res_init" >&5
19752 echo "${ECHO_T}$have_res_init" >&6; }
19753 if test "$have_res_init" = yes ; then
19754 resolv=yes
19755 fi
19756 LIBS="$OLIBS"
19757 fi
19758
19759 if test "$have_res_init" = yes; then
19760
19761 cat >>confdefs.h <<\_ACEOF
19762 #define HAVE_RES_INIT 1
19763 _ACEOF
19764
19765 fi
19766
19616 # Do we need the Hesiod library to provide the support routines? 19767 # Do we need the Hesiod library to provide the support routines?
19617 if test "$with_hesiod" = yes ; then 19768 if test "$with_hesiod" = yes ; then
19618 # Don't set $LIBS here -- see comments above. 19769 # Don't set $LIBS here -- see comments above.
19619 resolv=no
19620 { echo "$as_me:$LINENO: checking for res_send" >&5 19770 { echo "$as_me:$LINENO: checking for res_send" >&5
19621 echo $ECHO_N "checking for res_send... $ECHO_C" >&6; } 19771 echo $ECHO_N "checking for res_send... $ECHO_C" >&6; }
19622 if test "${ac_cv_func_res_send+set}" = set; then 19772 if test "${ac_cv_func_res_send+set}" = set; then
19623 echo $ECHO_N "(cached) $ECHO_C" >&6 19773 echo $ECHO_N "(cached) $ECHO_C" >&6
19624 else 19774 else
19920 20070
19921 fi 20071 fi
19922 20072
19923 if test "$resolv" = yes ; then 20073 if test "$resolv" = yes ; then
19924 RESOLVLIB=-lresolv 20074 RESOLVLIB=-lresolv
19925
19926 cat >>confdefs.h <<\_ACEOF
19927 #define HAVE_LIBRESOLV 1
19928 _ACEOF
19929
19930 else 20075 else
19931 RESOLVLIB= 20076 RESOLVLIB=
19932 fi 20077 fi
19933 { echo "$as_me:$LINENO: checking for hes_getmailhost" >&5 20078 { echo "$as_me:$LINENO: checking for hes_getmailhost" >&5
19934 echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6; } 20079 echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6; }
20084 else 20229 else
20085 : 20230 :
20086 fi 20231 fi
20087 20232
20088 fi 20233 fi
20234
20235 fi
20236
20237 # Do we need libresolv (due to res_init or Hesiod)?
20238 if test "$resolv" = yes ; then
20239
20240 cat >>confdefs.h <<\_ACEOF
20241 #define HAVE_LIBRESOLV 1
20242 _ACEOF
20089 20243
20090 fi 20244 fi
20091 20245
20092 # These tell us which Kerberos-related libraries to use. 20246 # These tell us which Kerberos-related libraries to use.
20093 if test "${with_kerberos+set}" = set; then 20247 if test "${with_kerberos+set}" = set; then