aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2007-10-17 15:58:05 +0000
committerChong Yidong2007-10-17 15:58:05 +0000
commitbc3512d03f4d7baa2118b0f4361297249463bb5a (patch)
tree7442eef2774916656414744268df4b334251884e
parent08116b48fed9f1abb1503bfbdccad19f67bc7b68 (diff)
downloademacs-bc3512d03f4d7baa2118b0f4361297249463bb5a.tar.gz
emacs-bc3512d03f4d7baa2118b0f4361297249463bb5a.zip
Regenerate.
-rwxr-xr-xconfigure186
1 files changed, 170 insertions, 16 deletions
diff --git a/configure b/configure
index 0a1a0cc97ed..d53db5f1816 100755
--- a/configure
+++ b/configure
@@ -15922,10 +15922,9 @@ done
15922 15922
15923 15923
15924 15924
15925
15926for ac_func in gethostname getdomainname dup2 \ 15925for ac_func in gethostname getdomainname dup2 \
15927rename closedir mkdir rmdir sysinfo getrusage get_current_dir_name \ 15926rename closedir mkdir rmdir sysinfo getrusage get_current_dir_name \
15928random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime res_init setsid \ 15927random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime setsid \
15929strerror fpathconf select mktime euidaccess getpagesize tzset setlocale \ 15928strerror fpathconf select mktime euidaccess getpagesize tzset setlocale \
15930utimes setrlimit setpgid getcwd getwd shutdown getaddrinfo \ 15929utimes 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 \
@@ -18532,13 +18531,11 @@ _ACEOF
18532cat confdefs.h >>conftest.$ac_ext 18531cat confdefs.h >>conftest.$ac_ext
18533cat >>conftest.$ac_ext <<_ACEOF 18532cat >>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>
18537int 18535int
18538main () 18536main ()
18539{ 18537{
18540int (*fp) (FILE *, off_t, int) = fseeko; 18538return 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}
@@ -18578,13 +18575,11 @@ cat confdefs.h >>conftest.$ac_ext
18578cat >>conftest.$ac_ext <<_ACEOF 18575cat >>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>
18583int 18579int
18584main () 18580main ()
18585{ 18581{
18586int (*fp) (FILE *, off_t, int) = fseeko; 18582return 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}
@@ -19613,10 +19608,165 @@ _ACEOF
19613fi 19608fi
19614 19609
19615 19610
19611# Do we have res_init, for detecting changes in /etc/resolv.conf?
19612
19613resolv=no
19614{ echo "$as_me:$LINENO: checking for res_init" >&5
19615echo $ECHO_N "checking for res_init... $ECHO_C" >&6; }
19616if test "${ac_cv_func_res_init+set}" = set; then
19617 echo $ECHO_N "(cached) $ECHO_C" >&6
19618else
19619 cat >conftest.$ac_ext <<_ACEOF
19620/* confdefs.h. */
19621_ACEOF
19622cat confdefs.h >>conftest.$ac_ext
19623cat >>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
19646extern "C"
19647#endif
19648char 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
19653choke me
19654#endif
19655
19656int
19657main ()
19658{
19659return res_init ();
19660 ;
19661 return 0;
19662}
19663_ACEOF
19664rm -f conftest.$ac_objext conftest$ac_exeext
19665if { (ac_try="$ac_link"
19666case "(($ac_try" in
19667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19668 *) ac_try_echo=$ac_try;;
19669esac
19670eval "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
19683else
19684 echo "$as_me: failed program was:" >&5
19685sed 's/^/| /' conftest.$ac_ext >&5
19686
19687 ac_cv_func_res_init=no
19688fi
19689
19690rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19691 conftest$ac_exeext conftest.$ac_ext
19692fi
19693{ echo "$as_me:$LINENO: result: $ac_cv_func_res_init" >&5
19694echo "${ECHO_T}$ac_cv_func_res_init" >&6; }
19695if test $ac_cv_func_res_init = yes; then
19696 have_res_init=yes
19697else
19698 have_res_init=no
19699fi
19700
19701if 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
19705echo $ECHO_N "checking for res_init with -lresolv... $ECHO_C" >&6; }
19706 cat >conftest.$ac_ext <<_ACEOF
19707/* confdefs.h. */
19708_ACEOF
19709cat confdefs.h >>conftest.$ac_ext
19710cat >>conftest.$ac_ext <<_ACEOF
19711/* end confdefs.h. */
19712#include <netinet/in.h>
19713#include <arpa/nameser.h>
19714#include <resolv.h>
19715int
19716main ()
19717{
19718res_init();
19719 ;
19720 return 0;
19721}
19722_ACEOF
19723rm -f conftest.$ac_objext conftest$ac_exeext
19724if { (ac_try="$ac_link"
19725case "(($ac_try" in
19726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19727 *) ac_try_echo=$ac_try;;
19728esac
19729eval "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
19742else
19743 echo "$as_me: failed program was:" >&5
19744sed 's/^/| /' conftest.$ac_ext >&5
19745
19746 have_res_init=no
19747fi
19748
19749rm -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
19752echo "${ECHO_T}$have_res_init" >&6; }
19753 if test "$have_res_init" = yes ; then
19754 resolv=yes
19755 fi
19756 LIBS="$OLIBS"
19757fi
19758
19759if test "$have_res_init" = yes; then
19760
19761cat >>confdefs.h <<\_ACEOF
19762#define HAVE_RES_INIT 1
19763_ACEOF
19764
19765fi
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?
19617if test "$with_hesiod" = yes ; then 19768if 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
19621echo $ECHO_N "checking for res_send... $ECHO_C" >&6; } 19771echo $ECHO_N "checking for res_send... $ECHO_C" >&6; }
19622if test "${ac_cv_func_res_send+set}" = set; then 19772if test "${ac_cv_func_res_send+set}" = set; then
@@ -19922,11 +20072,6 @@ fi
19922 20072
19923 if test "$resolv" = yes ; then 20073 if test "$resolv" = yes ; then
19924 RESOLVLIB=-lresolv 20074 RESOLVLIB=-lresolv
19925
19926cat >>confdefs.h <<\_ACEOF
19927#define HAVE_LIBRESOLV 1
19928_ACEOF
19929
19930 else 20075 else
19931 RESOLVLIB= 20076 RESOLVLIB=
19932 fi 20077 fi
@@ -20089,6 +20234,15 @@ fi
20089 20234
20090fi 20235fi
20091 20236
20237# Do we need libresolv (due to res_init or Hesiod)?
20238if test "$resolv" = yes ; then
20239
20240cat >>confdefs.h <<\_ACEOF
20241#define HAVE_LIBRESOLV 1
20242_ACEOF
20243
20244fi
20245
20092# These tell us which Kerberos-related libraries to use. 20246# These tell us which Kerberos-related libraries to use.
20093if test "${with_kerberos+set}" = set; then 20247if test "${with_kerberos+set}" = set; then
20094 20248