aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2011-06-19 14:33:17 -0400
committerGlenn Morris2011-06-19 14:33:17 -0400
commit34119902fd5b32acbd324e233119fad007b0fea1 (patch)
treedcdbff4e5974277e5ad64e9b38bb0cf34cea7d14
parentadd3f049962534b7d8412517b69d53a3f411c5de (diff)
downloademacs-34119902fd5b32acbd324e233119fad007b0fea1.tar.gz
emacs-34119902fd5b32acbd324e233119fad007b0fea1.zip
Auto-commit of generated files.
-rwxr-xr-xautogen/configure192
1 files changed, 96 insertions, 96 deletions
diff --git a/autogen/configure b/autogen/configure
index 439e4f4ffa7..dbc48737643 100755
--- a/autogen/configure
+++ b/autogen/configure
@@ -16707,14 +16707,14 @@ ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg"
16707if test "x$ac_cv_func_getloadavg" = x""yes; then : 16707if test "x$ac_cv_func_getloadavg" = x""yes; then :
16708 16708
16709else 16709else
16710 gl_have_func=no 16710 gl_func_getloadavg_done=no
16711 16711
16712 # Some systems with -lutil have (and need) -lkvm as well, some do not. 16712 # Some systems with -lutil have (and need) -lkvm as well, some do not.
16713 # On Solaris, -lkvm requires nlist from -lelf, so check that first 16713 # On Solaris, -lkvm requires nlist from -lelf, so check that first
16714 # to get the right answer into the cache. 16714 # to get the right answer into the cache.
16715 # For kstat on solaris, we need to test for libelf and libkvm to force the 16715 # For kstat on solaris, we need to test for libelf and libkvm to force the
16716 # definition of SVR4 below. 16716 # definition of SVR4 below.
16717 if test $gl_have_func = no; then 16717 if test $gl_func_getloadavg_done = no; then
16718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for elf_begin in -lelf" >&5 16718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for elf_begin in -lelf" >&5
16719$as_echo_n "checking for elf_begin in -lelf... " >&6; } 16719$as_echo_n "checking for elf_begin in -lelf... " >&6; }
16720if test "${ac_cv_lib_elf_elf_begin+set}" = set; then : 16720if test "${ac_cv_lib_elf_elf_begin+set}" = set; then :
@@ -16833,12 +16833,12 @@ fi
16833{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_getloadavg" >&5 16833{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_getloadavg" >&5
16834$as_echo "$ac_cv_lib_util_getloadavg" >&6; } 16834$as_echo "$ac_cv_lib_util_getloadavg" >&6; }
16835if test "x$ac_cv_lib_util_getloadavg" = x""yes; then : 16835if test "x$ac_cv_lib_util_getloadavg" = x""yes; then :
16836 LIBS="-lutil $LIBS" gl_have_func=yes 16836 LIBS="-lutil $LIBS" gl_func_getloadavg_done=yes
16837fi 16837fi
16838 16838
16839 fi 16839 fi
16840 16840
16841 if test $gl_have_func = no; then 16841 if test $gl_func_getloadavg_done = no; then
16842 # There is a commonly available library for RS/6000 AIX. 16842 # There is a commonly available library for RS/6000 AIX.
16843 # Since it is not a standard part of AIX, it might be installed locally. 16843 # Since it is not a standard part of AIX, it might be installed locally.
16844 gl_getloadavg_LIBS=$LIBS 16844 gl_getloadavg_LIBS=$LIBS
@@ -16880,7 +16880,7 @@ fi
16880{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_getloadavg_getloadavg" >&5 16880{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_getloadavg_getloadavg" >&5
16881$as_echo "$ac_cv_lib_getloadavg_getloadavg" >&6; } 16881$as_echo "$ac_cv_lib_getloadavg_getloadavg" >&6; }
16882if test "x$ac_cv_lib_getloadavg_getloadavg" = x""yes; then : 16882if test "x$ac_cv_lib_getloadavg_getloadavg" = x""yes; then :
16883 LIBS="-lgetloadavg $LIBS" gl_have_func=yes 16883 LIBS="-lgetloadavg $LIBS" gl_func_getloadavg_done=yes
16884else 16884else
16885 LIBS=$gl_getloadavg_LIBS 16885 LIBS=$gl_getloadavg_LIBS
16886fi 16886fi
@@ -16888,67 +16888,11 @@ fi
16888 fi 16888 fi
16889 16889
16890 # Set up the replacement function if necessary. 16890 # Set up the replacement function if necessary.
16891 if test $gl_have_func = no; then 16891 if test $gl_func_getloadavg_done = no; then
16892 HAVE_GETLOADAVG=0 16892 HAVE_GETLOADAVG=0
16893 fi
16894fi
16895
16896
16897if test "x$gl_save_LIBS" = x; then
16898 GETLOADAVG_LIBS=$LIBS
16899else
16900 GETLOADAVG_LIBS=`echo "$LIBS" | sed "s!$gl_save_LIBS!!"`
16901fi
16902LIBS=$gl_save_LIBS
16903
16904
16905# Test whether the system declares getloadavg. Solaris has the function
16906# but declares it in <sys/loadavg.h>, not <stdlib.h>.
16907for ac_header in sys/loadavg.h
16908do :
16909 ac_fn_c_check_header_mongrel "$LINENO" "sys/loadavg.h" "ac_cv_header_sys_loadavg_h" "$ac_includes_default"
16910if test "x$ac_cv_header_sys_loadavg_h" = x""yes; then :
16911 cat >>confdefs.h <<_ACEOF
16912#define HAVE_SYS_LOADAVG_H 1
16913_ACEOF
16914
16915fi
16916
16917done
16918
16919if test $ac_cv_header_sys_loadavg_h = yes; then
16920 HAVE_SYS_LOADAVG_H=1
16921else
16922 HAVE_SYS_LOADAVG_H=0
16923fi
16924ac_fn_c_check_decl "$LINENO" "getloadavg" "ac_cv_have_decl_getloadavg" "#if HAVE_SYS_LOADAVG_H
16925 # include <sys/loadavg.h>
16926 #endif
16927 #include <stdlib.h>
16928"
16929if test "x$ac_cv_have_decl_getloadavg" = x""yes; then :
16930
16931else
16932 HAVE_DECL_GETLOADAVG=0
16933fi
16934
16935
16936if test $HAVE_GETLOADAVG = 0; then
16937
16938
16939
16940
16941
16942
16943
16944
16945 gl_LIBOBJS="$gl_LIBOBJS getloadavg.$ac_objext"
16946 16893
16947 16894 # Solaris has libkstat which does not require root.
16948# Figure out what our getloadavg.c needs. 16895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16949
16950# Solaris has libkstat which does not require root.
16951{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16952$as_echo_n "checking for kstat_open in -lkstat... " >&6; } 16896$as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16953if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then : 16897if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then :
16954 $as_echo_n "(cached) " >&6 16898 $as_echo_n "(cached) " >&6
@@ -16993,26 +16937,11 @@ _ACEOF
16993 16937
16994fi 16938fi
16995 16939
16996test $ac_cv_lib_kstat_kstat_open = yes && gl_have_func=yes 16940 test $ac_cv_lib_kstat_kstat_open = yes && gl_func_getloadavg_done=yes
16997 16941
16998# On HPUX9, an unprivileged user can get load averages this way. 16942 # AIX has libperfstat which does not require root
16999if test $gl_have_func = no; then 16943 if test $gl_func_getloadavg_done = no; then
17000 for ac_func in pstat_getdynamic 16944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perfstat_cpu_total in -lperfstat" >&5
17001do :
17002 ac_fn_c_check_func "$LINENO" "pstat_getdynamic" "ac_cv_func_pstat_getdynamic"
17003if test "x$ac_cv_func_pstat_getdynamic" = x""yes; then :
17004 cat >>confdefs.h <<_ACEOF
17005#define HAVE_PSTAT_GETDYNAMIC 1
17006_ACEOF
17007 gl_have_func=yes
17008fi
17009done
17010
17011fi
17012
17013# AIX has libperfstat which does not require root
17014if test $gl_have_func = no; then
17015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perfstat_cpu_total in -lperfstat" >&5
17016$as_echo_n "checking for perfstat_cpu_total in -lperfstat... " >&6; } 16945$as_echo_n "checking for perfstat_cpu_total in -lperfstat... " >&6; }
17017if test "${ac_cv_lib_perfstat_perfstat_cpu_total+set}" = set; then : 16946if test "${ac_cv_lib_perfstat_perfstat_cpu_total+set}" = set; then :
17018 $as_echo_n "(cached) " >&6 16947 $as_echo_n "(cached) " >&6
@@ -17057,17 +16986,17 @@ _ACEOF
17057 16986
17058fi 16987fi
17059 16988
17060 test $ac_cv_lib_perfstat_perfstat_cpu_total = yes && gl_have_func=yes 16989 test $ac_cv_lib_perfstat_perfstat_cpu_total = yes && gl_func_getloadavg_done=yes
17061fi 16990 fi
17062 16991
17063if test $gl_have_func = no; then 16992 if test $gl_func_getloadavg_done = no; then
17064 ac_fn_c_check_header_mongrel "$LINENO" "sys/dg_sys_info.h" "ac_cv_header_sys_dg_sys_info_h" "$ac_includes_default" 16993 ac_fn_c_check_header_mongrel "$LINENO" "sys/dg_sys_info.h" "ac_cv_header_sys_dg_sys_info_h" "$ac_includes_default"
17065if test "x$ac_cv_header_sys_dg_sys_info_h" = x""yes; then : 16994if test "x$ac_cv_header_sys_dg_sys_info_h" = x""yes; then :
17066 gl_have_func=yes 16995 gl_func_getloadavg_done=yes
17067 16996
17068$as_echo "#define DGUX 1" >>confdefs.h 16997$as_echo "#define DGUX 1" >>confdefs.h
17069 16998
17070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dg_sys_info in -ldgc" >&5 16999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dg_sys_info in -ldgc" >&5
17071$as_echo_n "checking for dg_sys_info in -ldgc... " >&6; } 17000$as_echo_n "checking for dg_sys_info in -ldgc... " >&6; }
17072if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then : 17001if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then :
17073 $as_echo_n "(cached) " >&6 17002 $as_echo_n "(cached) " >&6
@@ -17115,23 +17044,94 @@ fi
17115fi 17044fi
17116 17045
17117 17046
17047 fi
17048 fi
17049fi
17050
17051
17052if test "x$gl_save_LIBS" = x; then
17053 GETLOADAVG_LIBS=$LIBS
17054else
17055 GETLOADAVG_LIBS=`echo "$LIBS" | sed "s!$gl_save_LIBS!!"`
17056fi
17057LIBS=$gl_save_LIBS
17058
17059
17060# Test whether the system declares getloadavg. Solaris has the function
17061# but declares it in <sys/loadavg.h>, not <stdlib.h>.
17062for ac_header in sys/loadavg.h
17063do :
17064 ac_fn_c_check_header_mongrel "$LINENO" "sys/loadavg.h" "ac_cv_header_sys_loadavg_h" "$ac_includes_default"
17065if test "x$ac_cv_header_sys_loadavg_h" = x""yes; then :
17066 cat >>confdefs.h <<_ACEOF
17067#define HAVE_SYS_LOADAVG_H 1
17068_ACEOF
17069
17070fi
17071
17072done
17073
17074if test $ac_cv_header_sys_loadavg_h = yes; then
17075 HAVE_SYS_LOADAVG_H=1
17076else
17077 HAVE_SYS_LOADAVG_H=0
17078fi
17079ac_fn_c_check_decl "$LINENO" "getloadavg" "ac_cv_have_decl_getloadavg" "#if HAVE_SYS_LOADAVG_H
17080 # include <sys/loadavg.h>
17081 #endif
17082 #include <stdlib.h>
17083"
17084if test "x$ac_cv_have_decl_getloadavg" = x""yes; then :
17085
17086else
17087 HAVE_DECL_GETLOADAVG=0
17088fi
17089
17090
17091if test $HAVE_GETLOADAVG = 0; then
17092
17093
17094
17095
17096
17097
17098
17099
17100 gl_LIBOBJS="$gl_LIBOBJS getloadavg.$ac_objext"
17101
17102
17103# Figure out what our getloadavg.c needs.
17104
17105# On HPUX9, an unprivileged user can get load averages this way.
17106if test $gl_func_getloadavg_done = no; then
17107 for ac_func in pstat_getdynamic
17108do :
17109 ac_fn_c_check_func "$LINENO" "pstat_getdynamic" "ac_cv_func_pstat_getdynamic"
17110if test "x$ac_cv_func_pstat_getdynamic" = x""yes; then :
17111 cat >>confdefs.h <<_ACEOF
17112#define HAVE_PSTAT_GETDYNAMIC 1
17113_ACEOF
17114 gl_func_getloadavg_done=yes
17115fi
17116done
17117
17118fi 17118fi
17119 17119
17120# We cannot check for <dwarf.h>, because Solaris 2 does not use dwarf (it 17120# We cannot check for <dwarf.h>, because Solaris 2 does not use dwarf (it
17121# uses stabs), but it is still SVR4. We cannot check for <elf.h> because 17121# uses stabs), but it is still SVR4. We cannot check for <elf.h> because
17122# Irix 4.0.5F has the header but not the library. 17122# Irix 4.0.5F has the header but not the library.
17123if test $gl_have_func = no && test "$ac_cv_lib_elf_elf_begin" = yes \ 17123if test $gl_func_getloadavg_done = no && test "$ac_cv_lib_elf_elf_begin" = yes \
17124 && test "$ac_cv_lib_kvm_kvm_open" = yes; then 17124 && test "$ac_cv_lib_kvm_kvm_open" = yes; then
17125 gl_have_func=yes 17125 gl_func_getloadavg_done=yes
17126 17126
17127$as_echo "#define SVR4 1" >>confdefs.h 17127$as_echo "#define SVR4 1" >>confdefs.h
17128 17128
17129fi 17129fi
17130 17130
17131if test $gl_have_func = no; then 17131if test $gl_func_getloadavg_done = no; then
17132 ac_fn_c_check_header_mongrel "$LINENO" "inq_stats/cpustats.h" "ac_cv_header_inq_stats_cpustats_h" "$ac_includes_default" 17132 ac_fn_c_check_header_mongrel "$LINENO" "inq_stats/cpustats.h" "ac_cv_header_inq_stats_cpustats_h" "$ac_includes_default"
17133if test "x$ac_cv_header_inq_stats_cpustats_h" = x""yes; then : 17133if test "x$ac_cv_header_inq_stats_cpustats_h" = x""yes; then :
17134 gl_have_func=yes 17134 gl_func_getloadavg_done=yes
17135 17135
17136$as_echo "#define UMAX 1" >>confdefs.h 17136$as_echo "#define UMAX 1" >>confdefs.h
17137 17137
@@ -17143,17 +17143,17 @@ fi
17143 17143
17144fi 17144fi
17145 17145
17146if test $gl_have_func = no; then 17146if test $gl_func_getloadavg_done = no; then
17147 ac_fn_c_check_header_mongrel "$LINENO" "sys/cpustats.h" "ac_cv_header_sys_cpustats_h" "$ac_includes_default" 17147 ac_fn_c_check_header_mongrel "$LINENO" "sys/cpustats.h" "ac_cv_header_sys_cpustats_h" "$ac_includes_default"
17148if test "x$ac_cv_header_sys_cpustats_h" = x""yes; then : 17148if test "x$ac_cv_header_sys_cpustats_h" = x""yes; then :
17149 gl_have_func=yes; $as_echo "#define UMAX 1" >>confdefs.h 17149 gl_func_getloadavg_done=yes; $as_echo "#define UMAX 1" >>confdefs.h
17150 17150
17151fi 17151fi
17152 17152
17153 17153
17154fi 17154fi
17155 17155
17156if test $gl_have_func = no; then 17156if test $gl_func_getloadavg_done = no; then
17157 for ac_header in mach/mach.h 17157 for ac_header in mach/mach.h
17158do : 17158do :
17159 ac_fn_c_check_header_mongrel "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default" 17159 ac_fn_c_check_header_mongrel "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"