aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Love2000-04-19 11:32:47 +0000
committerDave Love2000-04-19 11:32:47 +0000
commit7825fef99c79db28401f2551ca2e9f5a23907916 (patch)
treed1fe20a1ef50829ef0a48e9dbcda8575a5b7a4ac
parent396c44015293bad04cab165f8eb832043583712e (diff)
downloademacs-7825fef99c79db28401f2551ca2e9f5a23907916.tar.gz
emacs-7825fef99c79db28401f2551ca2e9f5a23907916.zip
*** empty log message ***
-rw-r--r--ChangeLog2
-rwxr-xr-xconfigure755
2 files changed, 84 insertions, 673 deletions
diff --git a/ChangeLog b/ChangeLog
index 4b463d93a72..37f9b14b451 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
12000-04-19 Dave Love <fx@gnu.org> 12000-04-19 Dave Love <fx@gnu.org>
2 2
3 * configure.in: Don't use AC_FUNC_GETLOADAVG.
4
3 * aclocal.m4 (AC_FUNC_MKTIME): Use AC_SUBST. 5 * aclocal.m4 (AC_FUNC_MKTIME): Use AC_SUBST.
4 6
52000-04-16 Dave Love <fx@gnu.org> 72000-04-16 Dave Love <fx@gnu.org>
diff --git a/configure b/configure
index 20890ac1c52..5bfbb83804f 100755
--- a/configure
+++ b/configure
@@ -5389,7 +5389,7 @@ rename closedir mkdir rmdir sysinfo \
5389random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime res_init setsid \ 5389random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime res_init setsid \
5390strerror fpathconf select mktime euidaccess getpagesize tzset setlocale \ 5390strerror fpathconf select mktime euidaccess getpagesize tzset setlocale \
5391utimes setrlimit setpgid getcwd shutdown strftime getaddrinfo \ 5391utimes setrlimit setpgid getcwd shutdown strftime getaddrinfo \
5392__fpending ftello mblen mbrlen strsignal setitimer ualarm 5392__fpending ftello getloadavg mblen mbrlen strsignal setitimer ualarm
5393do 5393do
5394echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5394echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5395echo "configure:5396: checking for $ac_func" >&5 5395echo "configure:5396: checking for $ac_func" >&5
@@ -5724,601 +5724,12 @@ EOF
5724 5724
5725fi 5725fi
5726 5726
5727ac_have_func=no # yes means we've found a way to get the load average.
5728
5729# Some systems with -lutil have (and need) -lkvm as well, some do not.
5730# On Solaris, -lkvm requires nlist from -lelf, so check that first
5731# to get the right answer into the cache.
5732echo $ac_n "checking for elf_begin in -lelf""... $ac_c" 1>&6
5733echo "configure:5734: checking for elf_begin in -lelf" >&5
5734ac_lib_var=`echo elf'_'elf_begin | sed 'y%./+-%__p_%'`
5735if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5736 echo $ac_n "(cached) $ac_c" 1>&6
5737else
5738 ac_save_LIBS="$LIBS"
5739LIBS="-lelf $LIBS"
5740cat > conftest.$ac_ext <<EOF
5741#line 5742 "configure"
5742#include "confdefs.h"
5743/* Override any gcc2 internal prototype to avoid an error. */
5744/* We use char because int might match the return type of a gcc2
5745 builtin and then its argument prototype would still apply. */
5746char elf_begin();
5747
5748int main() {
5749elf_begin()
5750; return 0; }
5751EOF
5752if { (eval echo configure:5753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5753 rm -rf conftest*
5754 eval "ac_cv_lib_$ac_lib_var=yes"
5755else
5756 echo "configure: failed program was:" >&5
5757 cat conftest.$ac_ext >&5
5758 rm -rf conftest*
5759 eval "ac_cv_lib_$ac_lib_var=no"
5760fi
5761rm -f conftest*
5762LIBS="$ac_save_LIBS"
5763
5764fi
5765if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5766 echo "$ac_t""yes" 1>&6
5767 LIBS="-lelf $LIBS"
5768else
5769 echo "$ac_t""no" 1>&6
5770fi
5771
5772echo $ac_n "checking for kvm_open in -lkvm""... $ac_c" 1>&6
5773echo "configure:5774: checking for kvm_open in -lkvm" >&5
5774ac_lib_var=`echo kvm'_'kvm_open | sed 'y%./+-%__p_%'`
5775if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5776 echo $ac_n "(cached) $ac_c" 1>&6
5777else
5778 ac_save_LIBS="$LIBS"
5779LIBS="-lkvm $LIBS"
5780cat > conftest.$ac_ext <<EOF
5781#line 5782 "configure"
5782#include "confdefs.h"
5783/* Override any gcc2 internal prototype to avoid an error. */
5784/* We use char because int might match the return type of a gcc2
5785 builtin and then its argument prototype would still apply. */
5786char kvm_open();
5787
5788int main() {
5789kvm_open()
5790; return 0; }
5791EOF
5792if { (eval echo configure:5793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5793 rm -rf conftest*
5794 eval "ac_cv_lib_$ac_lib_var=yes"
5795else
5796 echo "configure: failed program was:" >&5
5797 cat conftest.$ac_ext >&5
5798 rm -rf conftest*
5799 eval "ac_cv_lib_$ac_lib_var=no"
5800fi
5801rm -f conftest*
5802LIBS="$ac_save_LIBS"
5803
5804fi
5805if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5806 echo "$ac_t""yes" 1>&6
5807 LIBS="-lkvm $LIBS"
5808else
5809 echo "$ac_t""no" 1>&6
5810fi
5811
5812# Check for the 4.4BSD definition of getloadavg.
5813echo $ac_n "checking for getloadavg in -lutil""... $ac_c" 1>&6
5814echo "configure:5815: checking for getloadavg in -lutil" >&5
5815ac_lib_var=`echo util'_'getloadavg | sed 'y%./+-%__p_%'`
5816if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5817 echo $ac_n "(cached) $ac_c" 1>&6
5818else
5819 ac_save_LIBS="$LIBS"
5820LIBS="-lutil $LIBS"
5821cat > conftest.$ac_ext <<EOF
5822#line 5823 "configure"
5823#include "confdefs.h"
5824/* Override any gcc2 internal prototype to avoid an error. */
5825/* We use char because int might match the return type of a gcc2
5826 builtin and then its argument prototype would still apply. */
5827char getloadavg();
5828
5829int main() {
5830getloadavg()
5831; return 0; }
5832EOF
5833if { (eval echo configure:5834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5834 rm -rf conftest*
5835 eval "ac_cv_lib_$ac_lib_var=yes"
5836else
5837 echo "configure: failed program was:" >&5
5838 cat conftest.$ac_ext >&5
5839 rm -rf conftest*
5840 eval "ac_cv_lib_$ac_lib_var=no"
5841fi
5842rm -f conftest*
5843LIBS="$ac_save_LIBS"
5844
5845fi
5846if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5847 echo "$ac_t""yes" 1>&6
5848 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes
5849else
5850 echo "$ac_t""no" 1>&6
5851fi
5852
5853
5854if test $ac_have_func = no; then
5855 # There is a commonly available library for RS/6000 AIX.
5856 # Since it is not a standard part of AIX, it might be installed locally.
5857 ac_getloadavg_LIBS="$LIBS"; LIBS="-L/usr/local/lib $LIBS"
5858 echo $ac_n "checking for getloadavg in -lgetloadavg""... $ac_c" 1>&6
5859echo "configure:5860: checking for getloadavg in -lgetloadavg" >&5
5860ac_lib_var=`echo getloadavg'_'getloadavg | sed 'y%./+-%__p_%'`
5861if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5862 echo $ac_n "(cached) $ac_c" 1>&6
5863else
5864 ac_save_LIBS="$LIBS"
5865LIBS="-lgetloadavg $LIBS"
5866cat > conftest.$ac_ext <<EOF
5867#line 5868 "configure"
5868#include "confdefs.h"
5869/* Override any gcc2 internal prototype to avoid an error. */
5870/* We use char because int might match the return type of a gcc2
5871 builtin and then its argument prototype would still apply. */
5872char getloadavg();
5873
5874int main() {
5875getloadavg()
5876; return 0; }
5877EOF
5878if { (eval echo configure:5879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5879 rm -rf conftest*
5880 eval "ac_cv_lib_$ac_lib_var=yes"
5881else
5882 echo "configure: failed program was:" >&5
5883 cat conftest.$ac_ext >&5
5884 rm -rf conftest*
5885 eval "ac_cv_lib_$ac_lib_var=no"
5886fi
5887rm -f conftest*
5888LIBS="$ac_save_LIBS"
5889
5890fi
5891if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5892 echo "$ac_t""yes" 1>&6
5893 LIBS="-lgetloadavg $LIBS"
5894else
5895 echo "$ac_t""no" 1>&6
5896LIBS="$ac_getloadavg_LIBS"
5897fi
5898
5899fi
5900
5901# Make sure it is really in the library, if we think we found it.
5902for ac_func in getloadavg
5903do
5904echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5905echo "configure:5906: checking for $ac_func" >&5
5906if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5907 echo $ac_n "(cached) $ac_c" 1>&6
5908else
5909 cat > conftest.$ac_ext <<EOF
5910#line 5911 "configure"
5911#include "confdefs.h"
5912/* System header to define __stub macros and hopefully few prototypes,
5913 which can conflict with char $ac_func(); below. */
5914#include <assert.h>
5915/* Override any gcc2 internal prototype to avoid an error. */
5916/* We use char because int might match the return type of a gcc2
5917 builtin and then its argument prototype would still apply. */
5918char $ac_func();
5919
5920int main() {
5921
5922/* The GNU C library defines this for functions which it implements
5923 to always fail with ENOSYS. Some functions are actually named
5924 something starting with __ and the normal name is an alias. */
5925#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5926choke me
5927#else
5928$ac_func();
5929#endif
5930
5931; return 0; }
5932EOF
5933if { (eval echo configure:5934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5934 rm -rf conftest*
5935 eval "ac_cv_func_$ac_func=yes"
5936else
5937 echo "configure: failed program was:" >&5
5938 cat conftest.$ac_ext >&5
5939 rm -rf conftest*
5940 eval "ac_cv_func_$ac_func=no"
5941fi
5942rm -f conftest*
5943fi
5944
5945if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5946 echo "$ac_t""yes" 1>&6
5947 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5948 cat >> confdefs.h <<EOF
5949#define $ac_tr_func 1
5950EOF
5951
5952else
5953 echo "$ac_t""no" 1>&6
5954LIBOBJS="$LIBOBJS ${ac_func}.${ac_objext}"
5955fi
5956done
5957
5958
5959
5960if test $ac_cv_func_getloadavg = yes; then
5961 cat >> confdefs.h <<\EOF
5962#define HAVE_GETLOADAVG 1
5963EOF
5964
5965 ac_have_func=yes
5966else
5967 # Figure out what our getloadavg.c needs.
5968 ac_have_func=no
5969 ac_safe=`echo "sys/dg_sys_info.h" | sed 'y%./+-%__p_%'`
5970echo $ac_n "checking for sys/dg_sys_info.h""... $ac_c" 1>&6
5971echo "configure:5972: checking for sys/dg_sys_info.h" >&5
5972if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5973 echo $ac_n "(cached) $ac_c" 1>&6
5974else
5975 cat > conftest.$ac_ext <<EOF
5976#line 5977 "configure"
5977#include "confdefs.h"
5978#include <sys/dg_sys_info.h>
5979EOF
5980ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5981{ (eval echo configure:5982: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5982ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5983if test -z "$ac_err"; then
5984 rm -rf conftest*
5985 eval "ac_cv_header_$ac_safe=yes"
5986else
5987 echo "$ac_err" >&5
5988 echo "configure: failed program was:" >&5
5989 cat conftest.$ac_ext >&5
5990 rm -rf conftest*
5991 eval "ac_cv_header_$ac_safe=no"
5992fi
5993rm -f conftest*
5994fi
5995if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5996 echo "$ac_t""yes" 1>&6
5997 ac_have_func=yes; cat >> confdefs.h <<\EOF
5998#define DGUX 1
5999EOF
6000
6001 echo $ac_n "checking for dg_sys_info in -ldgc""... $ac_c" 1>&6
6002echo "configure:6003: checking for dg_sys_info in -ldgc" >&5
6003ac_lib_var=`echo dgc'_'dg_sys_info | sed 'y%./+-%__p_%'`
6004if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6005 echo $ac_n "(cached) $ac_c" 1>&6
6006else
6007 ac_save_LIBS="$LIBS"
6008LIBS="-ldgc $LIBS"
6009cat > conftest.$ac_ext <<EOF
6010#line 6011 "configure"
6011#include "confdefs.h"
6012/* Override any gcc2 internal prototype to avoid an error. */
6013/* We use char because int might match the return type of a gcc2
6014 builtin and then its argument prototype would still apply. */
6015char dg_sys_info();
6016
6017int main() {
6018dg_sys_info()
6019; return 0; }
6020EOF
6021if { (eval echo configure:6022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6022 rm -rf conftest*
6023 eval "ac_cv_lib_$ac_lib_var=yes"
6024else
6025 echo "configure: failed program was:" >&5
6026 cat conftest.$ac_ext >&5
6027 rm -rf conftest*
6028 eval "ac_cv_lib_$ac_lib_var=no"
6029fi
6030rm -f conftest*
6031LIBS="$ac_save_LIBS"
6032
6033fi
6034if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6035 echo "$ac_t""yes" 1>&6
6036 ac_tr_lib=HAVE_LIB`echo dgc | sed -e 's/[^a-zA-Z0-9_]/_/g' \
6037 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
6038 cat >> confdefs.h <<EOF
6039#define $ac_tr_lib 1
6040EOF
6041
6042 LIBS="-ldgc $LIBS"
6043
6044else
6045 echo "$ac_t""no" 1>&6
6046fi
6047
6048else
6049 echo "$ac_t""no" 1>&6
6050fi
6051
6052
6053 # We cannot check for <dwarf.h>, because Solaris 2 does not use dwarf (it
6054 # uses stabs), but it is still SVR4. We cannot check for <elf.h> because
6055 # Irix 4.0.5F has the header but not the library.
6056 if test $ac_have_func = no && test $ac_cv_lib_elf_elf_begin = yes; then
6057 ac_have_func=yes; cat >> confdefs.h <<\EOF
6058#define SVR4 1
6059EOF
6060
6061 fi
6062
6063 if test $ac_have_func = no; then
6064 ac_safe=`echo "inq_stats/cpustats.h" | sed 'y%./+-%__p_%'`
6065echo $ac_n "checking for inq_stats/cpustats.h""... $ac_c" 1>&6
6066echo "configure:6067: checking for inq_stats/cpustats.h" >&5
6067if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6068 echo $ac_n "(cached) $ac_c" 1>&6
6069else
6070 cat > conftest.$ac_ext <<EOF
6071#line 6072 "configure"
6072#include "confdefs.h"
6073#include <inq_stats/cpustats.h>
6074EOF
6075ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6076{ (eval echo configure:6077: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6077ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6078if test -z "$ac_err"; then
6079 rm -rf conftest*
6080 eval "ac_cv_header_$ac_safe=yes"
6081else
6082 echo "$ac_err" >&5
6083 echo "configure: failed program was:" >&5
6084 cat conftest.$ac_ext >&5
6085 rm -rf conftest*
6086 eval "ac_cv_header_$ac_safe=no"
6087fi
6088rm -f conftest*
6089fi
6090if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6091 echo "$ac_t""yes" 1>&6
6092 ac_have_func=yes; cat >> confdefs.h <<\EOF
6093#define UMAX 1
6094EOF
6095
6096 cat >> confdefs.h <<\EOF
6097#define UMAX4_3 1
6098EOF
6099
6100else
6101 echo "$ac_t""no" 1>&6
6102fi
6103
6104 fi
6105
6106 if test $ac_have_func = no; then
6107 ac_safe=`echo "sys/cpustats.h" | sed 'y%./+-%__p_%'`
6108echo $ac_n "checking for sys/cpustats.h""... $ac_c" 1>&6
6109echo "configure:6110: checking for sys/cpustats.h" >&5
6110if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6111 echo $ac_n "(cached) $ac_c" 1>&6
6112else
6113 cat > conftest.$ac_ext <<EOF
6114#line 6115 "configure"
6115#include "confdefs.h"
6116#include <sys/cpustats.h>
6117EOF
6118ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6119{ (eval echo configure:6120: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6120ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6121if test -z "$ac_err"; then
6122 rm -rf conftest*
6123 eval "ac_cv_header_$ac_safe=yes"
6124else
6125 echo "$ac_err" >&5
6126 echo "configure: failed program was:" >&5
6127 cat conftest.$ac_ext >&5
6128 rm -rf conftest*
6129 eval "ac_cv_header_$ac_safe=no"
6130fi
6131rm -f conftest*
6132fi
6133if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6134 echo "$ac_t""yes" 1>&6
6135 ac_have_func=yes; cat >> confdefs.h <<\EOF
6136#define UMAX 1
6137EOF
6138
6139else
6140 echo "$ac_t""no" 1>&6
6141fi
6142
6143 fi
6144
6145 if test $ac_have_func = no; then
6146 for ac_hdr in mach/mach.h
6147do
6148ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6149echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6150echo "configure:6151: checking for $ac_hdr" >&5
6151if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6152 echo $ac_n "(cached) $ac_c" 1>&6
6153else
6154 cat > conftest.$ac_ext <<EOF
6155#line 6156 "configure"
6156#include "confdefs.h"
6157#include <$ac_hdr>
6158EOF
6159ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6160{ (eval echo configure:6161: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6161ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6162if test -z "$ac_err"; then
6163 rm -rf conftest*
6164 eval "ac_cv_header_$ac_safe=yes"
6165else
6166 echo "$ac_err" >&5
6167 echo "configure: failed program was:" >&5
6168 cat conftest.$ac_ext >&5
6169 rm -rf conftest*
6170 eval "ac_cv_header_$ac_safe=no"
6171fi
6172rm -f conftest*
6173fi
6174if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6175 echo "$ac_t""yes" 1>&6
6176 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6177 cat >> confdefs.h <<EOF
6178#define $ac_tr_hdr 1
6179EOF
6180
6181else
6182 echo "$ac_t""no" 1>&6
6183fi
6184done
6185
6186 fi
6187
6188 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'`
6189echo $ac_n "checking for nlist.h""... $ac_c" 1>&6
6190echo "configure:6191: checking for nlist.h" >&5
6191if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6192 echo $ac_n "(cached) $ac_c" 1>&6
6193else
6194 cat > conftest.$ac_ext <<EOF
6195#line 6196 "configure"
6196#include "confdefs.h"
6197#include <nlist.h>
6198EOF
6199ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6200{ (eval echo configure:6201: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6201ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6202if test -z "$ac_err"; then
6203 rm -rf conftest*
6204 eval "ac_cv_header_$ac_safe=yes"
6205else
6206 echo "$ac_err" >&5
6207 echo "configure: failed program was:" >&5
6208 cat conftest.$ac_ext >&5
6209 rm -rf conftest*
6210 eval "ac_cv_header_$ac_safe=no"
6211fi
6212rm -f conftest*
6213fi
6214if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6215 echo "$ac_t""yes" 1>&6
6216 cat >> confdefs.h <<\EOF
6217#define NLIST_STRUCT 1
6218EOF
6219
6220 echo $ac_n "checking for n_un in struct nlist""... $ac_c" 1>&6
6221echo "configure:6222: checking for n_un in struct nlist" >&5
6222if eval "test \"`echo '$''{'ac_cv_struct_nlist_n_un'+set}'`\" = set"; then
6223 echo $ac_n "(cached) $ac_c" 1>&6
6224else
6225 cat > conftest.$ac_ext <<EOF
6226#line 6227 "configure"
6227#include "confdefs.h"
6228#include <nlist.h>
6229int main() {
6230struct nlist n; n.n_un.n_name = 0;
6231; return 0; }
6232EOF
6233if { (eval echo configure:6234: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6234 rm -rf conftest*
6235 ac_cv_struct_nlist_n_un=yes
6236else
6237 echo "configure: failed program was:" >&5
6238 cat conftest.$ac_ext >&5
6239 rm -rf conftest*
6240 ac_cv_struct_nlist_n_un=no
6241fi
6242rm -f conftest*
6243fi
6244
6245echo "$ac_t""$ac_cv_struct_nlist_n_un" 1>&6
6246 if test $ac_cv_struct_nlist_n_un = yes; then
6247 cat >> confdefs.h <<\EOF
6248#define NLIST_NAME_UNION 1
6249EOF
6250
6251 fi
6252
6253else
6254 echo "$ac_t""no" 1>&6
6255fi
6256fi # Do not have getloadavg in system libraries.
6257
6258# Some definitions of getloadavg require that the program be installed setgid.
6259echo $ac_n "checking whether getloadavg requires setgid""... $ac_c" 1>&6
6260echo "configure:6261: checking whether getloadavg requires setgid" >&5
6261if eval "test \"`echo '$''{'ac_cv_func_getloadavg_setgid'+set}'`\" = set"; then
6262 echo $ac_n "(cached) $ac_c" 1>&6
6263else
6264 cat > conftest.$ac_ext <<EOF
6265#line 6266 "configure"
6266#include "confdefs.h"
6267#include "$srcdir/getloadavg.c"
6268#ifdef LDAV_PRIVILEGED
6269Yowza Am I SETGID yet
6270#endif
6271EOF
6272if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6273 egrep "Yowza Am I SETGID yet" >/dev/null 2>&1; then
6274 rm -rf conftest*
6275 ac_cv_func_getloadavg_setgid=yes
6276else
6277 rm -rf conftest*
6278 ac_cv_func_getloadavg_setgid=no
6279fi
6280rm -f conftest*
6281
6282fi
6283
6284echo "$ac_t""$ac_cv_func_getloadavg_setgid" 1>&6
6285if test $ac_cv_func_getloadavg_setgid = yes; then
6286 NEED_SETGID=true; cat >> confdefs.h <<\EOF
6287#define GETLOADAVG_PRIVILEGED 1
6288EOF
6289
6290else
6291 NEED_SETGID=false
6292fi
6293
6294if test $ac_cv_func_getloadavg_setgid = yes; then
6295 echo $ac_n "checking group of /dev/kmem""... $ac_c" 1>&6
6296echo "configure:6297: checking group of /dev/kmem" >&5
6297if eval "test \"`echo '$''{'ac_cv_group_kmem'+set}'`\" = set"; then
6298 echo $ac_n "(cached) $ac_c" 1>&6
6299else
6300 # On Solaris, /dev/kmem is a symlink. Get info on the real file.
6301 ac_ls_output=`ls -lgL /dev/kmem 2>/dev/null`
6302 # If we got an error (system does not support symlinks), try without -L.
6303 test -z "$ac_ls_output" && ac_ls_output=`ls -lg /dev/kmem`
6304 ac_cv_group_kmem=`echo $ac_ls_output \
6305 | sed -ne 's/[ ][ ]*/ /g;
6306 s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\) *.*/\1/;
6307 / /s/.* //;p;'`
6308
6309fi
6310
6311echo "$ac_t""$ac_cv_group_kmem" 1>&6
6312 KMEM_GROUP=$ac_cv_group_kmem
6313fi
6314
6315
6316# Check this now, so that we will NOT find the above functions in ncurses. 5727# Check this now, so that we will NOT find the above functions in ncurses.
6317# That is because we have not set up to link ncurses in lib-src. 5728# That is because we have not set up to link ncurses in lib-src.
6318# It's better to believe a function is not available 5729# It's better to believe a function is not available
6319# than to expect to find it in ncurses. 5730# than to expect to find it in ncurses.
6320echo $ac_n "checking for tparm in -lncurses""... $ac_c" 1>&6 5731echo $ac_n "checking for tparm in -lncurses""... $ac_c" 1>&6
6321echo "configure:6322: checking for tparm in -lncurses" >&5 5732echo "configure:5733: checking for tparm in -lncurses" >&5
6322ac_lib_var=`echo ncurses'_'tparm | sed 'y%./+-%__p_%'` 5733ac_lib_var=`echo ncurses'_'tparm | sed 'y%./+-%__p_%'`
6323if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5734if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6324 echo $ac_n "(cached) $ac_c" 1>&6 5735 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6326,7 +5737,7 @@ else
6326 ac_save_LIBS="$LIBS" 5737 ac_save_LIBS="$LIBS"
6327LIBS="-lncurses $LIBS" 5738LIBS="-lncurses $LIBS"
6328cat > conftest.$ac_ext <<EOF 5739cat > conftest.$ac_ext <<EOF
6329#line 6330 "configure" 5740#line 5741 "configure"
6330#include "confdefs.h" 5741#include "confdefs.h"
6331/* Override any gcc2 internal prototype to avoid an error. */ 5742/* Override any gcc2 internal prototype to avoid an error. */
6332/* We use char because int might match the return type of a gcc2 5743/* We use char because int might match the return type of a gcc2
@@ -6337,7 +5748,7 @@ int main() {
6337tparm() 5748tparm()
6338; return 0; } 5749; return 0; }
6339EOF 5750EOF
6340if { (eval echo configure:6341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5751if { (eval echo configure:5752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6341 rm -rf conftest* 5752 rm -rf conftest*
6342 eval "ac_cv_lib_$ac_lib_var=yes" 5753 eval "ac_cv_lib_$ac_lib_var=yes"
6343else 5754else
@@ -6368,7 +5779,7 @@ fi
6368# These tell us which Kerberos-related libraries to use. 5779# These tell us which Kerberos-related libraries to use.
6369if test "${with_kerberos+set}" = set; then 5780if test "${with_kerberos+set}" = set; then
6370 echo $ac_n "checking for com_err in -lcom_err""... $ac_c" 1>&6 5781 echo $ac_n "checking for com_err in -lcom_err""... $ac_c" 1>&6
6371echo "configure:6372: checking for com_err in -lcom_err" >&5 5782echo "configure:5783: checking for com_err in -lcom_err" >&5
6372ac_lib_var=`echo com_err'_'com_err | sed 'y%./+-%__p_%'` 5783ac_lib_var=`echo com_err'_'com_err | sed 'y%./+-%__p_%'`
6373if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5784if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6374 echo $ac_n "(cached) $ac_c" 1>&6 5785 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6376,7 +5787,7 @@ else
6376 ac_save_LIBS="$LIBS" 5787 ac_save_LIBS="$LIBS"
6377LIBS="-lcom_err $LIBS" 5788LIBS="-lcom_err $LIBS"
6378cat > conftest.$ac_ext <<EOF 5789cat > conftest.$ac_ext <<EOF
6379#line 6380 "configure" 5790#line 5791 "configure"
6380#include "confdefs.h" 5791#include "confdefs.h"
6381/* Override any gcc2 internal prototype to avoid an error. */ 5792/* Override any gcc2 internal prototype to avoid an error. */
6382/* We use char because int might match the return type of a gcc2 5793/* We use char because int might match the return type of a gcc2
@@ -6387,7 +5798,7 @@ int main() {
6387com_err() 5798com_err()
6388; return 0; } 5799; return 0; }
6389EOF 5800EOF
6390if { (eval echo configure:6391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5801if { (eval echo configure:5802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6391 rm -rf conftest* 5802 rm -rf conftest*
6392 eval "ac_cv_lib_$ac_lib_var=yes" 5803 eval "ac_cv_lib_$ac_lib_var=yes"
6393else 5804else
@@ -6415,7 +5826,7 @@ else
6415fi 5826fi
6416 5827
6417 echo $ac_n "checking for mit_des_cbc_encrypt in -lk5crypto""... $ac_c" 1>&6 5828 echo $ac_n "checking for mit_des_cbc_encrypt in -lk5crypto""... $ac_c" 1>&6
6418echo "configure:6419: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 5829echo "configure:5830: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
6419ac_lib_var=`echo k5crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` 5830ac_lib_var=`echo k5crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'`
6420if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5831if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6421 echo $ac_n "(cached) $ac_c" 1>&6 5832 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6423,7 +5834,7 @@ else
6423 ac_save_LIBS="$LIBS" 5834 ac_save_LIBS="$LIBS"
6424LIBS="-lk5crypto $LIBS" 5835LIBS="-lk5crypto $LIBS"
6425cat > conftest.$ac_ext <<EOF 5836cat > conftest.$ac_ext <<EOF
6426#line 6427 "configure" 5837#line 5838 "configure"
6427#include "confdefs.h" 5838#include "confdefs.h"
6428/* Override any gcc2 internal prototype to avoid an error. */ 5839/* Override any gcc2 internal prototype to avoid an error. */
6429/* We use char because int might match the return type of a gcc2 5840/* We use char because int might match the return type of a gcc2
@@ -6434,7 +5845,7 @@ int main() {
6434mit_des_cbc_encrypt() 5845mit_des_cbc_encrypt()
6435; return 0; } 5846; return 0; }
6436EOF 5847EOF
6437if { (eval echo configure:6438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5848if { (eval echo configure:5849: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6438 rm -rf conftest* 5849 rm -rf conftest*
6439 eval "ac_cv_lib_$ac_lib_var=yes" 5850 eval "ac_cv_lib_$ac_lib_var=yes"
6440else 5851else
@@ -6462,7 +5873,7 @@ else
6462fi 5873fi
6463 5874
6464 echo $ac_n "checking for mit_des_cbc_encrypt in -lcrypto""... $ac_c" 1>&6 5875 echo $ac_n "checking for mit_des_cbc_encrypt in -lcrypto""... $ac_c" 1>&6
6465echo "configure:6466: checking for mit_des_cbc_encrypt in -lcrypto" >&5 5876echo "configure:5877: checking for mit_des_cbc_encrypt in -lcrypto" >&5
6466ac_lib_var=`echo crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` 5877ac_lib_var=`echo crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'`
6467if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5878if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6468 echo $ac_n "(cached) $ac_c" 1>&6 5879 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6470,7 +5881,7 @@ else
6470 ac_save_LIBS="$LIBS" 5881 ac_save_LIBS="$LIBS"
6471LIBS="-lcrypto $LIBS" 5882LIBS="-lcrypto $LIBS"
6472cat > conftest.$ac_ext <<EOF 5883cat > conftest.$ac_ext <<EOF
6473#line 6474 "configure" 5884#line 5885 "configure"
6474#include "confdefs.h" 5885#include "confdefs.h"
6475/* Override any gcc2 internal prototype to avoid an error. */ 5886/* Override any gcc2 internal prototype to avoid an error. */
6476/* We use char because int might match the return type of a gcc2 5887/* We use char because int might match the return type of a gcc2
@@ -6481,7 +5892,7 @@ int main() {
6481mit_des_cbc_encrypt() 5892mit_des_cbc_encrypt()
6482; return 0; } 5893; return 0; }
6483EOF 5894EOF
6484if { (eval echo configure:6485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5895if { (eval echo configure:5896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6485 rm -rf conftest* 5896 rm -rf conftest*
6486 eval "ac_cv_lib_$ac_lib_var=yes" 5897 eval "ac_cv_lib_$ac_lib_var=yes"
6487else 5898else
@@ -6509,7 +5920,7 @@ else
6509fi 5920fi
6510 5921
6511 echo $ac_n "checking for krb5_init_context in -lkrb5""... $ac_c" 1>&6 5922 echo $ac_n "checking for krb5_init_context in -lkrb5""... $ac_c" 1>&6
6512echo "configure:6513: checking for krb5_init_context in -lkrb5" >&5 5923echo "configure:5924: checking for krb5_init_context in -lkrb5" >&5
6513ac_lib_var=`echo krb5'_'krb5_init_context | sed 'y%./+-%__p_%'` 5924ac_lib_var=`echo krb5'_'krb5_init_context | sed 'y%./+-%__p_%'`
6514if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5925if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6515 echo $ac_n "(cached) $ac_c" 1>&6 5926 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6517,7 +5928,7 @@ else
6517 ac_save_LIBS="$LIBS" 5928 ac_save_LIBS="$LIBS"
6518LIBS="-lkrb5 $LIBS" 5929LIBS="-lkrb5 $LIBS"
6519cat > conftest.$ac_ext <<EOF 5930cat > conftest.$ac_ext <<EOF
6520#line 6521 "configure" 5931#line 5932 "configure"
6521#include "confdefs.h" 5932#include "confdefs.h"
6522/* Override any gcc2 internal prototype to avoid an error. */ 5933/* Override any gcc2 internal prototype to avoid an error. */
6523/* We use char because int might match the return type of a gcc2 5934/* We use char because int might match the return type of a gcc2
@@ -6528,7 +5939,7 @@ int main() {
6528krb5_init_context() 5939krb5_init_context()
6529; return 0; } 5940; return 0; }
6530EOF 5941EOF
6531if { (eval echo configure:6532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5942if { (eval echo configure:5943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6532 rm -rf conftest* 5943 rm -rf conftest*
6533 eval "ac_cv_lib_$ac_lib_var=yes" 5944 eval "ac_cv_lib_$ac_lib_var=yes"
6534else 5945else
@@ -6557,7 +5968,7 @@ fi
6557 5968
6558 if test "${with_kerberos5+set}" != set; then 5969 if test "${with_kerberos5+set}" != set; then
6559 echo $ac_n "checking for des_cbc_encrypt in -ldes425""... $ac_c" 1>&6 5970 echo $ac_n "checking for des_cbc_encrypt in -ldes425""... $ac_c" 1>&6
6560echo "configure:6561: checking for des_cbc_encrypt in -ldes425" >&5 5971echo "configure:5972: checking for des_cbc_encrypt in -ldes425" >&5
6561ac_lib_var=`echo des425'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` 5972ac_lib_var=`echo des425'_'des_cbc_encrypt | sed 'y%./+-%__p_%'`
6562if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5973if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6563 echo $ac_n "(cached) $ac_c" 1>&6 5974 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6565,7 +5976,7 @@ else
6565 ac_save_LIBS="$LIBS" 5976 ac_save_LIBS="$LIBS"
6566LIBS="-ldes425 $LIBS" 5977LIBS="-ldes425 $LIBS"
6567cat > conftest.$ac_ext <<EOF 5978cat > conftest.$ac_ext <<EOF
6568#line 6569 "configure" 5979#line 5980 "configure"
6569#include "confdefs.h" 5980#include "confdefs.h"
6570/* Override any gcc2 internal prototype to avoid an error. */ 5981/* Override any gcc2 internal prototype to avoid an error. */
6571/* We use char because int might match the return type of a gcc2 5982/* We use char because int might match the return type of a gcc2
@@ -6576,7 +5987,7 @@ int main() {
6576des_cbc_encrypt() 5987des_cbc_encrypt()
6577; return 0; } 5988; return 0; }
6578EOF 5989EOF
6579if { (eval echo configure:6580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5990if { (eval echo configure:5991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6580 rm -rf conftest* 5991 rm -rf conftest*
6581 eval "ac_cv_lib_$ac_lib_var=yes" 5992 eval "ac_cv_lib_$ac_lib_var=yes"
6582else 5993else
@@ -6602,7 +6013,7 @@ EOF
6602else 6013else
6603 echo "$ac_t""no" 1>&6 6014 echo "$ac_t""no" 1>&6
6604echo $ac_n "checking for des_cbc_encrypt in -ldes""... $ac_c" 1>&6 6015echo $ac_n "checking for des_cbc_encrypt in -ldes""... $ac_c" 1>&6
6605echo "configure:6606: checking for des_cbc_encrypt in -ldes" >&5 6016echo "configure:6017: checking for des_cbc_encrypt in -ldes" >&5
6606ac_lib_var=`echo des'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` 6017ac_lib_var=`echo des'_'des_cbc_encrypt | sed 'y%./+-%__p_%'`
6607if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6018if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6608 echo $ac_n "(cached) $ac_c" 1>&6 6019 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6610,7 +6021,7 @@ else
6610 ac_save_LIBS="$LIBS" 6021 ac_save_LIBS="$LIBS"
6611LIBS="-ldes $LIBS" 6022LIBS="-ldes $LIBS"
6612cat > conftest.$ac_ext <<EOF 6023cat > conftest.$ac_ext <<EOF
6613#line 6614 "configure" 6024#line 6025 "configure"
6614#include "confdefs.h" 6025#include "confdefs.h"
6615/* Override any gcc2 internal prototype to avoid an error. */ 6026/* Override any gcc2 internal prototype to avoid an error. */
6616/* We use char because int might match the return type of a gcc2 6027/* We use char because int might match the return type of a gcc2
@@ -6621,7 +6032,7 @@ int main() {
6621des_cbc_encrypt() 6032des_cbc_encrypt()
6622; return 0; } 6033; return 0; }
6623EOF 6034EOF
6624if { (eval echo configure:6625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6035if { (eval echo configure:6036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6625 rm -rf conftest* 6036 rm -rf conftest*
6626 eval "ac_cv_lib_$ac_lib_var=yes" 6037 eval "ac_cv_lib_$ac_lib_var=yes"
6627else 6038else
@@ -6651,7 +6062,7 @@ fi
6651fi 6062fi
6652 6063
6653 echo $ac_n "checking for krb_get_cred in -lkrb4""... $ac_c" 1>&6 6064 echo $ac_n "checking for krb_get_cred in -lkrb4""... $ac_c" 1>&6
6654echo "configure:6655: checking for krb_get_cred in -lkrb4" >&5 6065echo "configure:6066: checking for krb_get_cred in -lkrb4" >&5
6655ac_lib_var=`echo krb4'_'krb_get_cred | sed 'y%./+-%__p_%'` 6066ac_lib_var=`echo krb4'_'krb_get_cred | sed 'y%./+-%__p_%'`
6656if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6067if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6657 echo $ac_n "(cached) $ac_c" 1>&6 6068 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6659,7 +6070,7 @@ else
6659 ac_save_LIBS="$LIBS" 6070 ac_save_LIBS="$LIBS"
6660LIBS="-lkrb4 $LIBS" 6071LIBS="-lkrb4 $LIBS"
6661cat > conftest.$ac_ext <<EOF 6072cat > conftest.$ac_ext <<EOF
6662#line 6663 "configure" 6073#line 6074 "configure"
6663#include "confdefs.h" 6074#include "confdefs.h"
6664/* Override any gcc2 internal prototype to avoid an error. */ 6075/* Override any gcc2 internal prototype to avoid an error. */
6665/* We use char because int might match the return type of a gcc2 6076/* We use char because int might match the return type of a gcc2
@@ -6670,7 +6081,7 @@ int main() {
6670krb_get_cred() 6081krb_get_cred()
6671; return 0; } 6082; return 0; }
6672EOF 6083EOF
6673if { (eval echo configure:6674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6084if { (eval echo configure:6085: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6674 rm -rf conftest* 6085 rm -rf conftest*
6675 eval "ac_cv_lib_$ac_lib_var=yes" 6086 eval "ac_cv_lib_$ac_lib_var=yes"
6676else 6087else
@@ -6696,7 +6107,7 @@ EOF
6696else 6107else
6697 echo "$ac_t""no" 1>&6 6108 echo "$ac_t""no" 1>&6
6698echo $ac_n "checking for krb_get_cred in -lkrb""... $ac_c" 1>&6 6109echo $ac_n "checking for krb_get_cred in -lkrb""... $ac_c" 1>&6
6699echo "configure:6700: checking for krb_get_cred in -lkrb" >&5 6110echo "configure:6111: checking for krb_get_cred in -lkrb" >&5
6700ac_lib_var=`echo krb'_'krb_get_cred | sed 'y%./+-%__p_%'` 6111ac_lib_var=`echo krb'_'krb_get_cred | sed 'y%./+-%__p_%'`
6701if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6112if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6702 echo $ac_n "(cached) $ac_c" 1>&6 6113 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6704,7 +6115,7 @@ else
6704 ac_save_LIBS="$LIBS" 6115 ac_save_LIBS="$LIBS"
6705LIBS="-lkrb $LIBS" 6116LIBS="-lkrb $LIBS"
6706cat > conftest.$ac_ext <<EOF 6117cat > conftest.$ac_ext <<EOF
6707#line 6708 "configure" 6118#line 6119 "configure"
6708#include "confdefs.h" 6119#include "confdefs.h"
6709/* Override any gcc2 internal prototype to avoid an error. */ 6120/* Override any gcc2 internal prototype to avoid an error. */
6710/* We use char because int might match the return type of a gcc2 6121/* We use char because int might match the return type of a gcc2
@@ -6715,7 +6126,7 @@ int main() {
6715krb_get_cred() 6126krb_get_cred()
6716; return 0; } 6127; return 0; }
6717EOF 6128EOF
6718if { (eval echo configure:6719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6129if { (eval echo configure:6130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6719 rm -rf conftest* 6130 rm -rf conftest*
6720 eval "ac_cv_lib_$ac_lib_var=yes" 6131 eval "ac_cv_lib_$ac_lib_var=yes"
6721else 6132else
@@ -6751,17 +6162,17 @@ fi
6751do 6162do
6752ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6163ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6753echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6164echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6754echo "configure:6755: checking for $ac_hdr" >&5 6165echo "configure:6166: checking for $ac_hdr" >&5
6755if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6166if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6756 echo $ac_n "(cached) $ac_c" 1>&6 6167 echo $ac_n "(cached) $ac_c" 1>&6
6757else 6168else
6758 cat > conftest.$ac_ext <<EOF 6169 cat > conftest.$ac_ext <<EOF
6759#line 6760 "configure" 6170#line 6171 "configure"
6760#include "confdefs.h" 6171#include "confdefs.h"
6761#include <$ac_hdr> 6172#include <$ac_hdr>
6762EOF 6173EOF
6763ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6174ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6764{ (eval echo configure:6765: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6175{ (eval echo configure:6176: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6765ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6176ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6766if test -z "$ac_err"; then 6177if test -z "$ac_err"; then
6767 rm -rf conftest* 6178 rm -rf conftest*
@@ -6792,17 +6203,17 @@ done
6792do 6203do
6793ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6204ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6794echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6205echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6795echo "configure:6796: checking for $ac_hdr" >&5 6206echo "configure:6207: checking for $ac_hdr" >&5
6796if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6207if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6797 echo $ac_n "(cached) $ac_c" 1>&6 6208 echo $ac_n "(cached) $ac_c" 1>&6
6798else 6209else
6799 cat > conftest.$ac_ext <<EOF 6210 cat > conftest.$ac_ext <<EOF
6800#line 6801 "configure" 6211#line 6212 "configure"
6801#include "confdefs.h" 6212#include "confdefs.h"
6802#include <$ac_hdr> 6213#include <$ac_hdr>
6803EOF 6214EOF
6804ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6215ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6805{ (eval echo configure:6806: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6216{ (eval echo configure:6217: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6806ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6217ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6807if test -z "$ac_err"; then 6218if test -z "$ac_err"; then
6808 rm -rf conftest* 6219 rm -rf conftest*
@@ -6829,17 +6240,17 @@ for ac_hdr in kerberosIV/des.h
6829do 6240do
6830ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6241ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6831echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6242echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6832echo "configure:6833: checking for $ac_hdr" >&5 6243echo "configure:6244: checking for $ac_hdr" >&5
6833if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6244if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6834 echo $ac_n "(cached) $ac_c" 1>&6 6245 echo $ac_n "(cached) $ac_c" 1>&6
6835else 6246else
6836 cat > conftest.$ac_ext <<EOF 6247 cat > conftest.$ac_ext <<EOF
6837#line 6838 "configure" 6248#line 6249 "configure"
6838#include "confdefs.h" 6249#include "confdefs.h"
6839#include <$ac_hdr> 6250#include <$ac_hdr>
6840EOF 6251EOF
6841ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6252ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6842{ (eval echo configure:6843: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6253{ (eval echo configure:6254: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6843ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6254ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6844if test -z "$ac_err"; then 6255if test -z "$ac_err"; then
6845 rm -rf conftest* 6256 rm -rf conftest*
@@ -6866,17 +6277,17 @@ for ac_hdr in kerberos/des.h
6866do 6277do
6867ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6278ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6868echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6279echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6869echo "configure:6870: checking for $ac_hdr" >&5 6280echo "configure:6281: checking for $ac_hdr" >&5
6870if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6281if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6871 echo $ac_n "(cached) $ac_c" 1>&6 6282 echo $ac_n "(cached) $ac_c" 1>&6
6872else 6283else
6873 cat > conftest.$ac_ext <<EOF 6284 cat > conftest.$ac_ext <<EOF
6874#line 6875 "configure" 6285#line 6286 "configure"
6875#include "confdefs.h" 6286#include "confdefs.h"
6876#include <$ac_hdr> 6287#include <$ac_hdr>
6877EOF 6288EOF
6878ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6289ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6879{ (eval echo configure:6880: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6290{ (eval echo configure:6291: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6880ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6291ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6881if test -z "$ac_err"; then 6292if test -z "$ac_err"; then
6882 rm -rf conftest* 6293 rm -rf conftest*
@@ -6912,17 +6323,17 @@ done
6912do 6323do
6913ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6324ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6914echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6325echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6915echo "configure:6916: checking for $ac_hdr" >&5 6326echo "configure:6327: checking for $ac_hdr" >&5
6916if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6327if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6917 echo $ac_n "(cached) $ac_c" 1>&6 6328 echo $ac_n "(cached) $ac_c" 1>&6
6918else 6329else
6919 cat > conftest.$ac_ext <<EOF 6330 cat > conftest.$ac_ext <<EOF
6920#line 6921 "configure" 6331#line 6332 "configure"
6921#include "confdefs.h" 6332#include "confdefs.h"
6922#include <$ac_hdr> 6333#include <$ac_hdr>
6923EOF 6334EOF
6924ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6335ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6925{ (eval echo configure:6926: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6336{ (eval echo configure:6337: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6926ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6337ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6927if test -z "$ac_err"; then 6338if test -z "$ac_err"; then
6928 rm -rf conftest* 6339 rm -rf conftest*
@@ -6949,17 +6360,17 @@ for ac_hdr in kerberosIV/krb.h
6949do 6360do
6950ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6361ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6951echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6362echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6952echo "configure:6953: checking for $ac_hdr" >&5 6363echo "configure:6364: checking for $ac_hdr" >&5
6953if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6364if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6954 echo $ac_n "(cached) $ac_c" 1>&6 6365 echo $ac_n "(cached) $ac_c" 1>&6
6955else 6366else
6956 cat > conftest.$ac_ext <<EOF 6367 cat > conftest.$ac_ext <<EOF
6957#line 6958 "configure" 6368#line 6369 "configure"
6958#include "confdefs.h" 6369#include "confdefs.h"
6959#include <$ac_hdr> 6370#include <$ac_hdr>
6960EOF 6371EOF
6961ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6372ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6962{ (eval echo configure:6963: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6373{ (eval echo configure:6374: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6963ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6374ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6964if test -z "$ac_err"; then 6375if test -z "$ac_err"; then
6965 rm -rf conftest* 6376 rm -rf conftest*
@@ -6986,17 +6397,17 @@ for ac_hdr in kerberos/krb.h
6986do 6397do
6987ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6398ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6988echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6399echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6989echo "configure:6990: checking for $ac_hdr" >&5 6400echo "configure:6401: checking for $ac_hdr" >&5
6990if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6401if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6991 echo $ac_n "(cached) $ac_c" 1>&6 6402 echo $ac_n "(cached) $ac_c" 1>&6
6992else 6403else
6993 cat > conftest.$ac_ext <<EOF 6404 cat > conftest.$ac_ext <<EOF
6994#line 6995 "configure" 6405#line 6406 "configure"
6995#include "confdefs.h" 6406#include "confdefs.h"
6996#include <$ac_hdr> 6407#include <$ac_hdr>
6997EOF 6408EOF
6998ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6409ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6999{ (eval echo configure:7000: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6410{ (eval echo configure:6411: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7000ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6411ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7001if test -z "$ac_err"; then 6412if test -z "$ac_err"; then
7002 rm -rf conftest* 6413 rm -rf conftest*
@@ -7033,17 +6444,17 @@ done
7033do 6444do
7034ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6445ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7035echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6446echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7036echo "configure:7037: checking for $ac_hdr" >&5 6447echo "configure:6448: checking for $ac_hdr" >&5
7037if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6448if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7038 echo $ac_n "(cached) $ac_c" 1>&6 6449 echo $ac_n "(cached) $ac_c" 1>&6
7039else 6450else
7040 cat > conftest.$ac_ext <<EOF 6451 cat > conftest.$ac_ext <<EOF
7041#line 7042 "configure" 6452#line 6453 "configure"
7042#include "confdefs.h" 6453#include "confdefs.h"
7043#include <$ac_hdr> 6454#include <$ac_hdr>
7044EOF 6455EOF
7045ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6456ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7046{ (eval echo configure:7047: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6457{ (eval echo configure:6458: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7047ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6458ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7048if test -z "$ac_err"; then 6459if test -z "$ac_err"; then
7049 rm -rf conftest* 6460 rm -rf conftest*
@@ -7074,7 +6485,7 @@ fi
7074# Solaris requires -lintl if you want strerror (which calls dgettext) 6485# Solaris requires -lintl if you want strerror (which calls dgettext)
7075# to return localized messages. 6486# to return localized messages.
7076echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6 6487echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6
7077echo "configure:7078: checking for dgettext in -lintl" >&5 6488echo "configure:6489: checking for dgettext in -lintl" >&5
7078ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'` 6489ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'`
7079if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6490if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7080 echo $ac_n "(cached) $ac_c" 1>&6 6491 echo $ac_n "(cached) $ac_c" 1>&6
@@ -7082,7 +6493,7 @@ else
7082 ac_save_LIBS="$LIBS" 6493 ac_save_LIBS="$LIBS"
7083LIBS="-lintl $LIBS" 6494LIBS="-lintl $LIBS"
7084cat > conftest.$ac_ext <<EOF 6495cat > conftest.$ac_ext <<EOF
7085#line 7086 "configure" 6496#line 6497 "configure"
7086#include "confdefs.h" 6497#include "confdefs.h"
7087/* Override any gcc2 internal prototype to avoid an error. */ 6498/* Override any gcc2 internal prototype to avoid an error. */
7088/* We use char because int might match the return type of a gcc2 6499/* We use char because int might match the return type of a gcc2
@@ -7093,7 +6504,7 @@ int main() {
7093dgettext() 6504dgettext()
7094; return 0; } 6505; return 0; }
7095EOF 6506EOF
7096if { (eval echo configure:7097: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6507if { (eval echo configure:6508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7097 rm -rf conftest* 6508 rm -rf conftest*
7098 eval "ac_cv_lib_$ac_lib_var=yes" 6509 eval "ac_cv_lib_$ac_lib_var=yes"
7099else 6510else
@@ -7122,7 +6533,7 @@ fi
7122 6533
7123 6534
7124echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 6535echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6
7125echo "configure:7126: checking whether localtime caches TZ" >&5 6536echo "configure:6537: checking whether localtime caches TZ" >&5
7126if eval "test \"`echo '$''{'emacs_cv_localtime_cache'+set}'`\" = set"; then 6537if eval "test \"`echo '$''{'emacs_cv_localtime_cache'+set}'`\" = set"; then
7127 echo $ac_n "(cached) $ac_c" 1>&6 6538 echo $ac_n "(cached) $ac_c" 1>&6
7128else 6539else
@@ -7132,7 +6543,7 @@ if test "$cross_compiling" = yes; then
7132emacs_cv_localtime_cache=yes 6543emacs_cv_localtime_cache=yes
7133else 6544else
7134 cat > conftest.$ac_ext <<EOF 6545 cat > conftest.$ac_ext <<EOF
7135#line 7136 "configure" 6546#line 6547 "configure"
7136#include "confdefs.h" 6547#include "confdefs.h"
7137#include <time.h> 6548#include <time.h>
7138extern char **environ; 6549extern char **environ;
@@ -7164,7 +6575,7 @@ main()
7164 exit (0); 6575 exit (0);
7165} 6576}
7166EOF 6577EOF
7167if { (eval echo configure:7168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 6578if { (eval echo configure:6579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7168then 6579then
7169 emacs_cv_localtime_cache=no 6580 emacs_cv_localtime_cache=no
7170else 6581else
@@ -7192,12 +6603,12 @@ fi
7192 6603
7193if test "x$HAVE_TIMEVAL" = xyes; then 6604if test "x$HAVE_TIMEVAL" = xyes; then
7194echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6 6605echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6
7195echo "configure:7196: checking whether gettimeofday can accept two arguments" >&5 6606echo "configure:6607: checking whether gettimeofday can accept two arguments" >&5
7196if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then 6607if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then
7197 echo $ac_n "(cached) $ac_c" 1>&6 6608 echo $ac_n "(cached) $ac_c" 1>&6
7198else 6609else
7199 cat > conftest.$ac_ext <<EOF 6610 cat > conftest.$ac_ext <<EOF
7200#line 7201 "configure" 6611#line 6612 "configure"
7201#include "confdefs.h" 6612#include "confdefs.h"
7202 6613
7203#ifdef TIME_WITH_SYS_TIME 6614#ifdef TIME_WITH_SYS_TIME
@@ -7219,7 +6630,7 @@ int main() {
7219 6630
7220; return 0; } 6631; return 0; }
7221EOF 6632EOF
7222if { (eval echo configure:7223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6633if { (eval echo configure:6634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7223 rm -rf conftest* 6634 rm -rf conftest*
7224 emacs_cv_gettimeofday_two_arguments=yes 6635 emacs_cv_gettimeofday_two_arguments=yes
7225else 6636else
@@ -7242,12 +6653,12 @@ fi
7242 6653
7243ok_so_far=yes 6654ok_so_far=yes
7244echo $ac_n "checking for socket""... $ac_c" 1>&6 6655echo $ac_n "checking for socket""... $ac_c" 1>&6
7245echo "configure:7246: checking for socket" >&5 6656echo "configure:6657: checking for socket" >&5
7246if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then 6657if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
7247 echo $ac_n "(cached) $ac_c" 1>&6 6658 echo $ac_n "(cached) $ac_c" 1>&6
7248else 6659else
7249 cat > conftest.$ac_ext <<EOF 6660 cat > conftest.$ac_ext <<EOF
7250#line 7251 "configure" 6661#line 6662 "configure"
7251#include "confdefs.h" 6662#include "confdefs.h"
7252/* System header to define __stub macros and hopefully few prototypes, 6663/* System header to define __stub macros and hopefully few prototypes,
7253 which can conflict with char socket(); below. */ 6664 which can conflict with char socket(); below. */
@@ -7270,7 +6681,7 @@ socket();
7270 6681
7271; return 0; } 6682; return 0; }
7272EOF 6683EOF
7273if { (eval echo configure:7274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6684if { (eval echo configure:6685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7274 rm -rf conftest* 6685 rm -rf conftest*
7275 eval "ac_cv_func_socket=yes" 6686 eval "ac_cv_func_socket=yes"
7276else 6687else
@@ -7293,17 +6704,17 @@ fi
7293if test $ok_so_far = yes; then 6704if test $ok_so_far = yes; then
7294 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` 6705 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'`
7295echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 6706echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6
7296echo "configure:7297: checking for netinet/in.h" >&5 6707echo "configure:6708: checking for netinet/in.h" >&5
7297if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6708if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7298 echo $ac_n "(cached) $ac_c" 1>&6 6709 echo $ac_n "(cached) $ac_c" 1>&6
7299else 6710else
7300 cat > conftest.$ac_ext <<EOF 6711 cat > conftest.$ac_ext <<EOF
7301#line 7302 "configure" 6712#line 6713 "configure"
7302#include "confdefs.h" 6713#include "confdefs.h"
7303#include <netinet/in.h> 6714#include <netinet/in.h>
7304EOF 6715EOF
7305ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6716ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7306{ (eval echo configure:7307: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6717{ (eval echo configure:6718: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7307ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6718ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7308if test -z "$ac_err"; then 6719if test -z "$ac_err"; then
7309 rm -rf conftest* 6720 rm -rf conftest*
@@ -7329,17 +6740,17 @@ fi
7329if test $ok_so_far = yes; then 6740if test $ok_so_far = yes; then
7330 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` 6741 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'`
7331echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 6742echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6
7332echo "configure:7333: checking for arpa/inet.h" >&5 6743echo "configure:6744: checking for arpa/inet.h" >&5
7333if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6744if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7334 echo $ac_n "(cached) $ac_c" 1>&6 6745 echo $ac_n "(cached) $ac_c" 1>&6
7335else 6746else
7336 cat > conftest.$ac_ext <<EOF 6747 cat > conftest.$ac_ext <<EOF
7337#line 7338 "configure" 6748#line 6749 "configure"
7338#include "confdefs.h" 6749#include "confdefs.h"
7339#include <arpa/inet.h> 6750#include <arpa/inet.h>
7340EOF 6751EOF
7341ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6752ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7342{ (eval echo configure:7343: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6753{ (eval echo configure:6754: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7343ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6754ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7344if test -z "$ac_err"; then 6755if test -z "$ac_err"; then
7345 rm -rf conftest* 6756 rm -rf conftest*
@@ -7377,7 +6788,7 @@ EOF
7377fi 6788fi
7378 6789
7379echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6 6790echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6
7380echo "configure:7381: checking whether system supports dynamic ptys" >&5 6791echo "configure:6792: checking whether system supports dynamic ptys" >&5
7381if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then 6792if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then
7382 echo "$ac_t""yes" 1>&6 6793 echo "$ac_t""yes" 1>&6
7383 cat >> confdefs.h <<\EOF 6794 cat >> confdefs.h <<\EOF
@@ -7389,12 +6800,12 @@ else
7389fi 6800fi
7390 6801
7391echo $ac_n "checking for pid_t""... $ac_c" 1>&6 6802echo $ac_n "checking for pid_t""... $ac_c" 1>&6
7392echo "configure:7393: checking for pid_t" >&5 6803echo "configure:6804: checking for pid_t" >&5
7393if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then 6804if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
7394 echo $ac_n "(cached) $ac_c" 1>&6 6805 echo $ac_n "(cached) $ac_c" 1>&6
7395else 6806else
7396 cat > conftest.$ac_ext <<EOF 6807 cat > conftest.$ac_ext <<EOF
7397#line 7398 "configure" 6808#line 6809 "configure"
7398#include "confdefs.h" 6809#include "confdefs.h"
7399#include <sys/types.h> 6810#include <sys/types.h>
7400#if STDC_HEADERS 6811#if STDC_HEADERS
@@ -7423,17 +6834,17 @@ fi
7423 6834
7424ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` 6835ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'`
7425echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 6836echo $ac_n "checking for vfork.h""... $ac_c" 1>&6
7426echo "configure:7427: checking for vfork.h" >&5 6837echo "configure:6838: checking for vfork.h" >&5
7427if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6838if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7428 echo $ac_n "(cached) $ac_c" 1>&6 6839 echo $ac_n "(cached) $ac_c" 1>&6
7429else 6840else
7430 cat > conftest.$ac_ext <<EOF 6841 cat > conftest.$ac_ext <<EOF
7431#line 7432 "configure" 6842#line 6843 "configure"
7432#include "confdefs.h" 6843#include "confdefs.h"
7433#include <vfork.h> 6844#include <vfork.h>
7434EOF 6845EOF
7435ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6846ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7436{ (eval echo configure:7437: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6847{ (eval echo configure:6848: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7437ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6848ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7438if test -z "$ac_err"; then 6849if test -z "$ac_err"; then
7439 rm -rf conftest* 6850 rm -rf conftest*
@@ -7458,18 +6869,18 @@ else
7458fi 6869fi
7459 6870
7460echo $ac_n "checking for working vfork""... $ac_c" 1>&6 6871echo $ac_n "checking for working vfork""... $ac_c" 1>&6
7461echo "configure:7462: checking for working vfork" >&5 6872echo "configure:6873: checking for working vfork" >&5
7462if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then 6873if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then
7463 echo $ac_n "(cached) $ac_c" 1>&6 6874 echo $ac_n "(cached) $ac_c" 1>&6
7464else 6875else
7465 if test "$cross_compiling" = yes; then 6876 if test "$cross_compiling" = yes; then
7466 echo $ac_n "checking for vfork""... $ac_c" 1>&6 6877 echo $ac_n "checking for vfork""... $ac_c" 1>&6
7467echo "configure:7468: checking for vfork" >&5 6878echo "configure:6879: checking for vfork" >&5
7468if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then 6879if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then
7469 echo $ac_n "(cached) $ac_c" 1>&6 6880 echo $ac_n "(cached) $ac_c" 1>&6
7470else 6881else
7471 cat > conftest.$ac_ext <<EOF 6882 cat > conftest.$ac_ext <<EOF
7472#line 7473 "configure" 6883#line 6884 "configure"
7473#include "confdefs.h" 6884#include "confdefs.h"
7474/* System header to define __stub macros and hopefully few prototypes, 6885/* System header to define __stub macros and hopefully few prototypes,
7475 which can conflict with char vfork(); below. */ 6886 which can conflict with char vfork(); below. */
@@ -7492,7 +6903,7 @@ vfork();
7492 6903
7493; return 0; } 6904; return 0; }
7494EOF 6905EOF
7495if { (eval echo configure:7496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6906if { (eval echo configure:6907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7496 rm -rf conftest* 6907 rm -rf conftest*
7497 eval "ac_cv_func_vfork=yes" 6908 eval "ac_cv_func_vfork=yes"
7498else 6909else
@@ -7514,7 +6925,7 @@ fi
7514ac_cv_func_vfork_works=$ac_cv_func_vfork 6925ac_cv_func_vfork_works=$ac_cv_func_vfork
7515else 6926else
7516 cat > conftest.$ac_ext <<EOF 6927 cat > conftest.$ac_ext <<EOF
7517#line 7518 "configure" 6928#line 6929 "configure"
7518#include "confdefs.h" 6929#include "confdefs.h"
7519/* Thanks to Paul Eggert for this test. */ 6930/* Thanks to Paul Eggert for this test. */
7520#include <stdio.h> 6931#include <stdio.h>
@@ -7609,7 +7020,7 @@ main() {
7609 } 7020 }
7610} 7021}
7611EOF 7022EOF
7612if { (eval echo configure:7613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 7023if { (eval echo configure:7024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7613then 7024then
7614 ac_cv_func_vfork_works=yes 7025 ac_cv_func_vfork_works=yes
7615else 7026else
@@ -7941,8 +7352,6 @@ s%@SET_MAKE@%$SET_MAKE%g
7941s%@ALLOCA@%$ALLOCA%g 7352s%@ALLOCA@%$ALLOCA%g
7942s%@liblockfile@%$liblockfile%g 7353s%@liblockfile@%$liblockfile%g
7943s%@LIBOBJS@%$LIBOBJS%g 7354s%@LIBOBJS@%$LIBOBJS%g
7944s%@NEED_SETGID@%$NEED_SETGID%g
7945s%@KMEM_GROUP@%$KMEM_GROUP%g
7946s%@version@%$version%g 7355s%@version@%$version%g
7947s%@configuration@%$configuration%g 7356s%@configuration@%$configuration%g
7948s%@canonical@%$canonical%g 7357s%@canonical@%$canonical%g