/[emacs]/emacs/configure
ViewVC logotype

Diff of /emacs/configure

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.62.4.12 by pot, Tue Mar 18 15:19:41 2003 UTC revision 1.62.4.13 by schwab, Mon Apr 7 09:35:02 2003 UTC
# Line 1212  case "${canonical}" in Line 1212  case "${canonical}" in
1212    rs6000-ibm-aix4.2* | powerpc-ibm-aix4.2*  )    rs6000-ibm-aix4.2* | powerpc-ibm-aix4.2*  )
1213      machine=ibmrs6000 opsys=aix4-2      machine=ibmrs6000 opsys=aix4-2
1214    ;;    ;;
1215    rs6000-ibm-aix5.1* | powerpc-ibm-aix5.1*  )    rs6000-ibm-aix5* | powerpc-ibm-aix5*  )
1216      machine=ibmrs6000 opsys=aix4-2      machine=ibmrs6000 opsys=aix4-2
1217    ;;    ;;
1218    rs6000-ibm-aix4.0* | powerpc-ibm-aix4.0*  )    rs6000-ibm-aix4.0* | powerpc-ibm-aix4.0*  )
# Line 5353  EOF Line 5353  EOF
5353      cat > conftest.$ac_ext <<EOF      cat > conftest.$ac_ext <<EOF
5354  #line 5355 "configure"  #line 5355 "configure"
5355  #include "confdefs.h"  #include "confdefs.h"
5356          #include <jpeglib.h>  #include <jpeglib.h>
5357           version=JPEG_LIB_VERSION           version=JPEG_LIB_VERSION
5358    
5359  EOF  EOF
# Line 6535  fi Line 6535  fi
6535    
6536  ac_have_func=no # yes means we've found a way to get the load average.  ac_have_func=no # yes means we've found a way to get the load average.
6537    
6538  # Some systems have getloadavg without any extra libraries.  # Some systems with -lutil have (and need) -lkvm as well, some do not.
6539  echo $ac_n "checking for getloadavg""... $ac_c" 1>&6  # On Solaris, -lkvm requires nlist from -lelf, so check that first
6540  echo "configure:6541: checking for getloadavg" >&5  # to get the right answer into the cache.
6541  if eval "test \"`echo '$''{'ac_cv_func_getloadavg'+set}'`\" = set"; then  echo $ac_n "checking for elf_begin in -lelf""... $ac_c" 1>&6
6542    echo $ac_n "(cached) $ac_c" 1>&6  echo "configure:6543: checking for elf_begin in -lelf" >&5
 else  
   cat > conftest.$ac_ext <<EOF  
 #line 6546 "configure"  
 #include "confdefs.h"  
 /* System header to define __stub macros and hopefully few prototypes,  
     which can conflict with char getloadavg(); below.  */  
 #include <assert.h>  
 /* Override any gcc2 internal prototype to avoid an error.  */  
 /* We use char because int might match the return type of a gcc2  
     builtin and then its argument prototype would still apply.  */  
 char getloadavg();  
   
 int main() {  
   
 /* The GNU C library defines this for functions which it implements  
     to always fail with ENOSYS.  Some functions are actually named  
     something starting with __ and the normal name is an alias.  */  
 #if defined (__stub_getloadavg) || defined (__stub___getloadavg)  
 choke me  
 #else  
 getloadavg();  
 #endif  
   
 ; return 0; }  
 EOF  
 if { (eval echo configure:6569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  
   rm -rf conftest*  
   eval "ac_cv_func_getloadavg=yes"  
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   eval "ac_cv_func_getloadavg=no"  
 fi  
 rm -f conftest*  
 fi  
   
 if eval "test \"`echo '$ac_cv_func_'getloadavg`\" = yes"; then  
   echo "$ac_t""yes" 1>&6  
   ac_have_func=yes  
 else  
   echo "$ac_t""no" 1>&6  
 fi  
   
   
 if test $ac_have_func = no; then  
   # Some systems with -lutil have (and need) -lkvm as well, some do not.  
   # On Solaris, -lkvm requires nlist from -lelf, so check that first  
   # to get the right answer into the cache.  
   echo $ac_n "checking for elf_begin in -lelf""... $ac_c" 1>&6  
 echo "configure:6594: checking for elf_begin in -lelf" >&5  
6543  ac_lib_var=`echo elf'_'elf_begin | sed 'y%./+-%__p_%'`  ac_lib_var=`echo elf'_'elf_begin | sed 'y%./+-%__p_%'`
6544  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6545    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 6598  else Line 6547  else
6547    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
6548  LIBS="-lelf  $LIBS"  LIBS="-lelf  $LIBS"
6549  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
6550  #line 6602 "configure"  #line 6551 "configure"
6551  #include "confdefs.h"  #include "confdefs.h"
6552  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
6553  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 6609  int main() { Line 6558  int main() {
6558  elf_begin()  elf_begin()
6559  ; return 0; }  ; return 0; }
6560  EOF  EOF
6561  if { (eval echo configure:6613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:6562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6562    rm -rf conftest*    rm -rf conftest*
6563    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
6564  else  else
# Line 6629  else Line 6578  else
6578    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
6579  fi  fi
6580    
6581    echo $ac_n "checking for kvm_open in -lkvm""... $ac_c" 1>&6  echo $ac_n "checking for kvm_open in -lkvm""... $ac_c" 1>&6
6582  echo "configure:6634: checking for kvm_open in -lkvm" >&5  echo "configure:6583: checking for kvm_open in -lkvm" >&5
6583  ac_lib_var=`echo kvm'_'kvm_open | sed 'y%./+-%__p_%'`  ac_lib_var=`echo kvm'_'kvm_open | sed 'y%./+-%__p_%'`
6584  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6585    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 6638  else Line 6587  else
6587    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
6588  LIBS="-lkvm  $LIBS"  LIBS="-lkvm  $LIBS"
6589  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
6590  #line 6642 "configure"  #line 6591 "configure"
6591  #include "confdefs.h"  #include "confdefs.h"
6592  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
6593  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 6649  int main() { Line 6598  int main() {
6598  kvm_open()  kvm_open()
6599  ; return 0; }  ; return 0; }
6600  EOF  EOF
6601  if { (eval echo configure:6653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:6602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6602    rm -rf conftest*    rm -rf conftest*
6603    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
6604  else  else
# Line 6669  else Line 6618  else
6618    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
6619  fi  fi
6620    
6621    # Check for the 4.4BSD definition of getloadavg.  # Check for the 4.4BSD definition of getloadavg.
6622    echo $ac_n "checking for getloadavg in -lutil""... $ac_c" 1>&6  echo $ac_n "checking for getloadavg in -lutil""... $ac_c" 1>&6
6623  echo "configure:6675: checking for getloadavg in -lutil" >&5  echo "configure:6624: checking for getloadavg in -lutil" >&5
6624  ac_lib_var=`echo util'_'getloadavg | sed 'y%./+-%__p_%'`  ac_lib_var=`echo util'_'getloadavg | sed 'y%./+-%__p_%'`
6625  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6626    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 6679  else Line 6628  else
6628    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
6629  LIBS="-lutil  $LIBS"  LIBS="-lutil  $LIBS"
6630  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
6631  #line 6683 "configure"  #line 6632 "configure"
6632  #include "confdefs.h"  #include "confdefs.h"
6633  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
6634  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 6690  int main() { Line 6639  int main() {
6639  getloadavg()  getloadavg()
6640  ; return 0; }  ; return 0; }
6641  EOF  EOF
6642  if { (eval echo configure:6694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:6643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6643    rm -rf conftest*    rm -rf conftest*
6644    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
6645  else  else
# Line 6710  else Line 6659  else
6659    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
6660  fi  fi
6661    
 fi  
6662    
6663  if test $ac_have_func = no; then  if test $ac_have_func = no; then
6664    # There is a commonly available library for RS/6000 AIX.    # There is a commonly available library for RS/6000 AIX.
6665    # Since it is not a standard part of AIX, it might be installed locally.    # Since it is not a standard part of AIX, it might be installed locally.
6666    ac_getloadavg_LIBS="$LIBS"; LIBS="-L/usr/local/lib $LIBS"    ac_getloadavg_LIBS="$LIBS"; LIBS="-L/usr/local/lib $LIBS"
6667    echo $ac_n "checking for getloadavg in -lgetloadavg""... $ac_c" 1>&6    echo $ac_n "checking for getloadavg in -lgetloadavg""... $ac_c" 1>&6
6668  echo "configure:6721: checking for getloadavg in -lgetloadavg" >&5  echo "configure:6669: checking for getloadavg in -lgetloadavg" >&5
6669  ac_lib_var=`echo getloadavg'_'getloadavg | sed 'y%./+-%__p_%'`  ac_lib_var=`echo getloadavg'_'getloadavg | sed 'y%./+-%__p_%'`
6670  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6671    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 6725  else Line 6673  else
6673    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
6674  LIBS="-lgetloadavg  $LIBS"  LIBS="-lgetloadavg  $LIBS"
6675  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
6676  #line 6729 "configure"  #line 6677 "configure"
6677  #include "confdefs.h"  #include "confdefs.h"
6678  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
6679  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 6736  int main() { Line 6684  int main() {
6684  getloadavg()  getloadavg()
6685  ; return 0; }  ; return 0; }
6686  EOF  EOF
6687  if { (eval echo configure:6740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:6688: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6688    rm -rf conftest*    rm -rf conftest*
6689    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
6690  else  else
# Line 6763  fi Line 6711  fi
6711  for ac_func in getloadavg  for ac_func in getloadavg
6712  do  do
6713  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6714  echo "configure:6767: checking for $ac_func" >&5  echo "configure:6715: checking for $ac_func" >&5
6715  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6716    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6717  else  else
6718    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6719  #line 6772 "configure"  #line 6720 "configure"
6720  #include "confdefs.h"  #include "confdefs.h"
6721  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
6722      which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
# Line 6791  $ac_func(); Line 6739  $ac_func();
6739    
6740  ; return 0; }  ; return 0; }
6741  EOF  EOF
6742  if { (eval echo configure:6795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:6743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6743    rm -rf conftest*    rm -rf conftest*
6744    eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
6745  else  else
# Line 6829  else Line 6777  else
6777    ac_have_func=no    ac_have_func=no
6778    ac_safe=`echo "sys/dg_sys_info.h" | sed 'y%./+-%__p_%'`    ac_safe=`echo "sys/dg_sys_info.h" | sed 'y%./+-%__p_%'`
6779  echo $ac_n "checking for sys/dg_sys_info.h""... $ac_c" 1>&6  echo $ac_n "checking for sys/dg_sys_info.h""... $ac_c" 1>&6
6780  echo "configure:6833: checking for sys/dg_sys_info.h" >&5  echo "configure:6781: checking for sys/dg_sys_info.h" >&5
6781  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6782    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6783  else  else
6784    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6785  #line 6838 "configure"  #line 6786 "configure"
6786  #include "confdefs.h"  #include "confdefs.h"
6787  #include <sys/dg_sys_info.h>  #include <sys/dg_sys_info.h>
6788  EOF  EOF
6789  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6790  { (eval echo configure:6843: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:6791: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6791  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6792  if test -z "$ac_err"; then  if test -z "$ac_err"; then
6793    rm -rf conftest*    rm -rf conftest*
# Line 6860  if eval "test \"`echo '$ac_cv_header_'$a Line 6808  if eval "test \"`echo '$ac_cv_header_'$a
6808  EOF  EOF
6809    
6810    echo $ac_n "checking for dg_sys_info in -ldgc""... $ac_c" 1>&6    echo $ac_n "checking for dg_sys_info in -ldgc""... $ac_c" 1>&6
6811  echo "configure:6864: checking for dg_sys_info in -ldgc" >&5  echo "configure:6812: checking for dg_sys_info in -ldgc" >&5
6812  ac_lib_var=`echo dgc'_'dg_sys_info | sed 'y%./+-%__p_%'`  ac_lib_var=`echo dgc'_'dg_sys_info | sed 'y%./+-%__p_%'`
6813  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6814    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 6868  else Line 6816  else
6816    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
6817  LIBS="-ldgc  $LIBS"  LIBS="-ldgc  $LIBS"
6818  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
6819  #line 6872 "configure"  #line 6820 "configure"
6820  #include "confdefs.h"  #include "confdefs.h"
6821  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
6822  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 6879  int main() { Line 6827  int main() {
6827  dg_sys_info()  dg_sys_info()
6828  ; return 0; }  ; return 0; }
6829  EOF  EOF
6830  if { (eval echo configure:6883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:6831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6831    rm -rf conftest*    rm -rf conftest*
6832    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
6833  else  else
# Line 6924  EOF Line 6872  EOF
6872    if test $ac_have_func = no; then    if test $ac_have_func = no; then
6873      ac_safe=`echo "inq_stats/cpustats.h" | sed 'y%./+-%__p_%'`      ac_safe=`echo "inq_stats/cpustats.h" | sed 'y%./+-%__p_%'`
6874  echo $ac_n "checking for inq_stats/cpustats.h""... $ac_c" 1>&6  echo $ac_n "checking for inq_stats/cpustats.h""... $ac_c" 1>&6
6875  echo "configure:6928: checking for inq_stats/cpustats.h" >&5  echo "configure:6876: checking for inq_stats/cpustats.h" >&5
6876  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6877    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6878  else  else
6879    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6880  #line 6933 "configure"  #line 6881 "configure"
6881  #include "confdefs.h"  #include "confdefs.h"
6882  #include <inq_stats/cpustats.h>  #include <inq_stats/cpustats.h>
6883  EOF  EOF
6884  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6885  { (eval echo configure:6938: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:6886: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6886  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6887  if test -z "$ac_err"; then  if test -z "$ac_err"; then
6888    rm -rf conftest*    rm -rf conftest*
# Line 6967  fi Line 6915  fi
6915    if test $ac_have_func = no; then    if test $ac_have_func = no; then
6916      ac_safe=`echo "sys/cpustats.h" | sed 'y%./+-%__p_%'`      ac_safe=`echo "sys/cpustats.h" | sed 'y%./+-%__p_%'`
6917  echo $ac_n "checking for sys/cpustats.h""... $ac_c" 1>&6  echo $ac_n "checking for sys/cpustats.h""... $ac_c" 1>&6
6918  echo "configure:6971: checking for sys/cpustats.h" >&5  echo "configure:6919: checking for sys/cpustats.h" >&5
6919  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6920    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6921  else  else
6922    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6923  #line 6976 "configure"  #line 6924 "configure"
6924  #include "confdefs.h"  #include "confdefs.h"
6925  #include <sys/cpustats.h>  #include <sys/cpustats.h>
6926  EOF  EOF
6927  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6928  { (eval echo configure:6981: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:6929: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6929  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6930  if test -z "$ac_err"; then  if test -z "$ac_err"; then
6931    rm -rf conftest*    rm -rf conftest*
# Line 7008  fi Line 6956  fi
6956  do  do
6957  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6958  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6959  echo "configure:7012: checking for $ac_hdr" >&5  echo "configure:6960: checking for $ac_hdr" >&5
6960  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6961    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6962  else  else
6963    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6964  #line 7017 "configure"  #line 6965 "configure"
6965  #include "confdefs.h"  #include "confdefs.h"
6966  #include <$ac_hdr>  #include <$ac_hdr>
6967  EOF  EOF
6968  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6969  { (eval echo configure:7022: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:6970: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6970  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6971  if test -z "$ac_err"; then  if test -z "$ac_err"; then
6972    rm -rf conftest*    rm -rf conftest*
# Line 7048  done Line 6996  done
6996    
6997    ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'`    ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'`
6998  echo $ac_n "checking for nlist.h""... $ac_c" 1>&6  echo $ac_n "checking for nlist.h""... $ac_c" 1>&6
6999  echo "configure:7052: checking for nlist.h" >&5  echo "configure:7000: checking for nlist.h" >&5
7000  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7001    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
7002  else  else
7003    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
7004  #line 7057 "configure"  #line 7005 "configure"
7005  #include "confdefs.h"  #include "confdefs.h"
7006  #include <nlist.h>  #include <nlist.h>
7007  EOF  EOF
7008  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7009  { (eval echo configure:7062: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:7010: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7010  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7011  if test -z "$ac_err"; then  if test -z "$ac_err"; then
7012    rm -rf conftest*    rm -rf conftest*
# Line 7079  if eval "test \"`echo '$ac_cv_header_'$a Line 7027  if eval "test \"`echo '$ac_cv_header_'$a
7027  EOF  EOF
7028    
7029    echo $ac_n "checking for n_un in struct nlist""... $ac_c" 1>&6    echo $ac_n "checking for n_un in struct nlist""... $ac_c" 1>&6
7030  echo "configure:7083: checking for n_un in struct nlist" >&5  echo "configure:7031: checking for n_un in struct nlist" >&5
7031  if eval "test \"`echo '$''{'ac_cv_struct_nlist_n_un'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_struct_nlist_n_un'+set}'`\" = set"; then
7032    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
7033  else  else
7034    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
7035  #line 7088 "configure"  #line 7036 "configure"
7036  #include "confdefs.h"  #include "confdefs.h"
7037  #include <nlist.h>  #include <nlist.h>
7038  int main() {  int main() {
7039  struct nlist n; n.n_un.n_name = 0;  struct nlist n; n.n_un.n_name = 0;
7040  ; return 0; }  ; return 0; }
7041  EOF  EOF
7042  if { (eval echo configure:7095: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:7043: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7043    rm -rf conftest*    rm -rf conftest*
7044    ac_cv_struct_nlist_n_un=yes    ac_cv_struct_nlist_n_un=yes
7045  else  else
# Line 7118  fi # Do not have getloadavg in system li Line 7066  fi # Do not have getloadavg in system li
7066    
7067  # Some definitions of getloadavg require that the program be installed setgid.  # Some definitions of getloadavg require that the program be installed setgid.
7068  echo $ac_n "checking whether getloadavg requires setgid""... $ac_c" 1>&6  echo $ac_n "checking whether getloadavg requires setgid""... $ac_c" 1>&6
7069  echo "configure:7122: checking whether getloadavg requires setgid" >&5  echo "configure:7070: checking whether getloadavg requires setgid" >&5
7070  if eval "test \"`echo '$''{'ac_cv_func_getloadavg_setgid'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_getloadavg_setgid'+set}'`\" = set"; then
7071    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
7072  else  else
7073    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
7074  #line 7127 "configure"  #line 7075 "configure"
7075  #include "confdefs.h"  #include "confdefs.h"
7076  #include "$srcdir/getloadavg.c"  #include "$srcdir/getloadavg.c"
7077  #ifdef LDAV_PRIVILEGED  #ifdef LDAV_PRIVILEGED
# Line 7154  fi Line 7102  fi
7102    
7103  if test $ac_cv_func_getloadavg_setgid = yes; then  if test $ac_cv_func_getloadavg_setgid = yes; then
7104    echo $ac_n "checking group of /dev/kmem""... $ac_c" 1>&6    echo $ac_n "checking group of /dev/kmem""... $ac_c" 1>&6
7105  echo "configure:7158: checking group of /dev/kmem" >&5  echo "configure:7106: checking group of /dev/kmem" >&5
7106  if eval "test \"`echo '$''{'ac_cv_group_kmem'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_group_kmem'+set}'`\" = set"; then
7107    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
7108  else  else
# Line 7175  fi Line 7123  fi
7123    
7124    
7125  echo $ac_n "checking for _LARGEFILE_SOURCE value needed for large files""... $ac_c" 1>&6  echo $ac_n "checking for _LARGEFILE_SOURCE value needed for large files""... $ac_c" 1>&6
7126  echo "configure:7179: checking for _LARGEFILE_SOURCE value needed for large files" >&5  echo "configure:7127: checking for _LARGEFILE_SOURCE value needed for large files" >&5
7127  if eval "test \"`echo '$''{'ac_cv_sys_largefile_source'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_sys_largefile_source'+set}'`\" = set"; then
7128    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
7129  else  else
7130    ac_cv_sys_largefile_source=no    ac_cv_sys_largefile_source=no
7131        cat > conftest.$ac_ext <<EOF        cat > conftest.$ac_ext <<EOF
7132  #line 7185 "configure"  #line 7133 "configure"
7133  #include "confdefs.h"  #include "confdefs.h"
7134  #include <stdio.h>  #include <stdio.h>
7135  int main() {  int main() {
7136  return !fseeko;  return !fseeko;
7137  ; return 0; }  ; return 0; }
7138  EOF  EOF
7139  if { (eval echo configure:7192: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:7140: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7140    :    :
7141  else  else
7142    echo "configure: failed program was:" >&5    echo "configure: failed program was:" >&5
7143    cat conftest.$ac_ext >&5    cat conftest.$ac_ext >&5
7144    rm -rf conftest*    rm -rf conftest*
7145    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
7146  #line 7199 "configure"  #line 7147 "configure"
7147  #include "confdefs.h"  #include "confdefs.h"
7148  #define _LARGEFILE_SOURCE 1  #define _LARGEFILE_SOURCE 1
7149  #include <stdio.h>  #include <stdio.h>
# Line 7204  int main() { Line 7152  int main() {
7152  return !fseeko;  return !fseeko;
7153  ; return 0; }  ; return 0; }
7154  EOF  EOF
7155  if { (eval echo configure:7208: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:7156: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7156    rm -rf conftest*    rm -rf conftest*
7157    ac_cv_sys_largefile_source=1    ac_cv_sys_largefile_source=1
7158  else  else
# Line 7228  EOF Line 7176  EOF
7176     # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.     # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
7177    
7178     echo $ac_n "checking for fseeko""... $ac_c" 1>&6     echo $ac_n "checking for fseeko""... $ac_c" 1>&6
7179  echo "configure:7232: checking for fseeko" >&5  echo "configure:7180: checking for fseeko" >&5
7180  if eval "test \"`echo '$''{'ac_cv_func_fseeko'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_fseeko'+set}'`\" = set"; then
7181    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
7182  else  else
7183    ac_cv_func_fseeko=no    ac_cv_func_fseeko=no
7184        cat > conftest.$ac_ext <<EOF        cat > conftest.$ac_ext <<EOF
7185  #line 7238 "configure"  #line 7186 "configure"
7186  #include "confdefs.h"  #include "confdefs.h"
7187  #include <stdio.h>  #include <stdio.h>
7188  int main() {  int main() {
7189  return fseeko && fseeko (stdin, 0, 0);  return fseeko && fseeko (stdin, 0, 0);
7190  ; return 0; }  ; return 0; }
7191  EOF  EOF
7192  if { (eval echo configure:7245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:7193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7193    rm -rf conftest*    rm -rf conftest*
7194    ac_cv_func_fseeko=yes    ac_cv_func_fseeko=yes
7195  else  else
# Line 7263  EOF Line 7211  EOF
7211  for ac_func in grantpt  for ac_func in grantpt
7212  do  do
7213  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7214  echo "configure:7267: checking for $ac_func" >&5  echo "configure:7215: checking for $ac_func" >&5
7215  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7216    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
7217  else  else
7218    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
7219  #line 7272 "configure"  #line 7220 "configure"
7220  #include "confdefs.h"  #include "confdefs.h"
7221  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
7222      which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
# Line 7291  $ac_func(); Line 7239  $ac_func();
7239    
7240  ; return 0; }  ; return 0; }
7241  EOF  EOF
7242  if { (eval echo configure:7295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:7243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7243    rm -rf conftest*    rm -rf conftest*
7244    eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
7245  else  else
# Line 7320  done Line 7268  done
7268  for ac_func in getpt  for ac_func in getpt
7269  do  do
7270  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7271  echo "configure:7324: checking for $ac_func" >&5  echo "configure:7272: checking for $ac_func" >&5
7272  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7273    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
7274  else  else
7275    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
7276  #line 7329 "configure"  #line 7277 "configure"
7277  #include "confdefs.h"  #include "confdefs.h"
7278  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
7279      which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
# Line 7348  $ac_func(); Line 7296  $ac_func();
7296    
7297  ; return 0; }  ; return 0; }
7298  EOF  EOF
7299  if { (eval echo configure:7352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:7300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7300    rm -rf conftest*    rm -rf conftest*
7301    eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
7302  else  else
# Line 7378  done Line 7326  done
7326  # It's better to believe a function is not available  # It's better to believe a function is not available
7327  # than to expect to find it in ncurses.  # than to expect to find it in ncurses.
7328  echo $ac_n "checking for tparm in -lncurses""... $ac_c" 1>&6  echo $ac_n "checking for tparm in -lncurses""... $ac_c" 1>&6
7329  echo "configure:7382: checking for tparm in -lncurses" >&5  echo "configure:7330: checking for tparm in -lncurses" >&5
7330  ac_lib_var=`echo ncurses'_'tparm | sed 'y%./+-%__p_%'`  ac_lib_var=`echo ncurses'_'tparm | sed 'y%./+-%__p_%'`
7331  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7332    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 7386  else Line 7334  else
7334    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
7335  LIBS="-lncurses  $LIBS"  LIBS="-lncurses  $LIBS"
7336  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
7337  #line 7390 "configure"  #line 7338 "configure"
7338  #include "confdefs.h"  #include "confdefs.h"
7339  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
7340  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 7397  int main() { Line 7345  int main() {
7345  tparm()  tparm()
7346  ; return 0; }  ; return 0; }
7347  EOF  EOF
7348  if { (eval echo configure:7401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:7349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7349    rm -rf conftest*    rm -rf conftest*
7350    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
7351  else  else
# Line 7430  if test "$with_hesiod" = yes ; then Line 7378  if test "$with_hesiod" = yes ; then
7378    # Don't set $LIBS here -- see comments above.    # Don't set $LIBS here -- see comments above.
7379    resolv=no    resolv=no
7380    echo $ac_n "checking for res_send""... $ac_c" 1>&6    echo $ac_n "checking for res_send""... $ac_c" 1>&6
7381  echo "configure:7434: checking for res_send" >&5  echo "configure:7382: checking for res_send" >&5
7382  if eval "test \"`echo '$''{'ac_cv_func_res_send'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_res_send'+set}'`\" = set"; then
7383    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
7384  else  else
7385    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
7386  #line 7439 "configure"  #line 7387 "configure"
7387  #include "confdefs.h"  #include "confdefs.h"
7388  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
7389      which can conflict with char res_send(); below.  */      which can conflict with char res_send(); below.  */
# Line 7458  res_send(); Line 7406  res_send();
7406    
7407  ; return 0; }  ; return 0; }
7408  EOF  EOF
7409  if { (eval echo configure:7462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:7410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7410    rm -rf conftest*    rm -rf conftest*
7411    eval "ac_cv_func_res_send=yes"    eval "ac_cv_func_res_send=yes"
7412  else  else
# Line 7476  if eval "test \"`echo '$ac_cv_func_'res_ Line 7424  if eval "test \"`echo '$ac_cv_func_'res_
7424  else  else
7425    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
7426  echo $ac_n "checking for __res_send""... $ac_c" 1>&6  echo $ac_n "checking for __res_send""... $ac_c" 1>&6
7427  echo "configure:7480: checking for __res_send" >&5  echo "configure:7428: checking for __res_send" >&5
7428  if eval "test \"`echo '$''{'ac_cv_func___res_send'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func___res_send'+set}'`\" = set"; then
7429    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
7430  else  else
7431    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
7432  #line 7485 "configure"  #line 7433 "configure"
7433  #include "confdefs.h"  #include "confdefs.h"
7434  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
7435      which can conflict with char __res_send(); below.  */      which can conflict with char __res_send(); below.  */
# Line 7504  __res_send(); Line 7452  __res_send();
7452    
7453  ; return 0; }  ; return 0; }
7454  EOF  EOF
7455  if { (eval echo configure:7508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:7456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7456    rm -rf conftest*    rm -rf conftest*
7457    eval "ac_cv_func___res_send=yes"    eval "ac_cv_func___res_send=yes"
7458  else  else
# Line 7522  if eval "test \"`echo '$ac_cv_func_'__re Line 7470  if eval "test \"`echo '$ac_cv_func_'__re
7470  else  else
7471    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
7472  echo $ac_n "checking for res_send in -lresolv""... $ac_c" 1>&6  echo $ac_n "checking for res_send in -lresolv""... $ac_c" 1>&6
7473  echo "configure:7526: checking for res_send in -lresolv" >&5  echo "configure:7474: checking for res_send in -lresolv" >&5
7474  ac_lib_var=`echo resolv'_'res_send | sed 'y%./+-%__p_%'`  ac_lib_var=`echo resolv'_'res_send | sed 'y%./+-%__p_%'`
7475  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7476    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 7530  else Line 7478  else
7478    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
7479  LIBS="-lresolv  $LIBS"  LIBS="-lresolv  $LIBS"
7480  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
7481  #line 7534 "configure"  #line 7482 "configure"
7482  #include "confdefs.h"  #include "confdefs.h"
7483  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
7484  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 7541  int main() { Line 7489  int main() {
7489  res_send()  res_send()
7490  ; return 0; }  ; return 0; }
7491  EOF  EOF
7492  if { (eval echo configure:7545: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:7493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7493    rm -rf conftest*    rm -rf conftest*
7494    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
7495  else  else
# Line 7560  if eval "test \"`echo '$ac_cv_lib_'$ac_l Line 7508  if eval "test \"`echo '$ac_cv_lib_'$ac_l
7508  else  else
7509    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
7510  echo $ac_n "checking for __res_send in -lresolv""... $ac_c" 1>&6  echo $ac_n "checking for __res_send in -lresolv""... $ac_c" 1>&6
7511  echo "configure:7564: checking for __res_send in -lresolv" >&5  echo "configure:7512: checking for __res_send in -lresolv" >&5
7512  ac_lib_var=`echo resolv'_'__res_send | sed 'y%./+-%__p_%'`  ac_lib_var=`echo resolv'_'__res_send | sed 'y%./+-%__p_%'`
7513  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7514    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 7568  else Line 7516  else
7516    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
7517  LIBS="-lresolv  $LIBS"  LIBS="-lresolv  $LIBS"
7518  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
7519  #line 7572 "configure"  #line 7520 "configure"
7520  #include "confdefs.h"  #include "confdefs.h"
7521  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
7522  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 7579  int main() { Line 7527  int main() {
7527  __res_send()  __res_send()
7528  ; return 0; }  ; return 0; }
7529  EOF  EOF
7530  if { (eval echo configure:7583: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:7531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7531    rm -rf conftest*    rm -rf conftest*
7532    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
7533  else  else
# Line 7615  EOF Line 7563  EOF
7563      RESOLVLIB=      RESOLVLIB=
7564    fi    fi
7565    echo $ac_n "checking for hes_getmailhost""... $ac_c" 1>&6    echo $ac_n "checking for hes_getmailhost""... $ac_c" 1>&6
7566  echo "configure:7619: checking for hes_getmailhost" >&5  echo "configure:7567: checking for hes_getmailhost" >&5
7567  if eval "test \"`echo '$''{'ac_cv_func_hes_getmailhost'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_hes_getmailhost'+set}'`\" = set"; then
7568    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
7569  else  else
7570    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
7571  #line 7624 "configure"  #line 7572 "configure"
7572  #include "confdefs.h"  #include "confdefs.h"
7573  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
7574      which can conflict with char hes_getmailhost(); below.  */      which can conflict with char hes_getmailhost(); below.  */
# Line 7643  hes_getmailhost(); Line 7591  hes_getmailhost();
7591    
7592  ; return 0; }  ; return 0; }
7593  EOF  EOF
7594  if { (eval echo configure:7647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:7595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7595    rm -rf conftest*    rm -rf conftest*
7596    eval "ac_cv_func_hes_getmailhost=yes"    eval "ac_cv_func_hes_getmailhost=yes"
7597  else  else
# Line 7661  if eval "test \"`echo '$ac_cv_func_'hes_ Line 7609  if eval "test \"`echo '$ac_cv_func_'hes_
7609  else  else
7610    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
7611  echo $ac_n "checking for hes_getmailhost in -lhesiod""... $ac_c" 1>&6  echo $ac_n "checking for hes_getmailhost in -lhesiod""... $ac_c" 1>&6
7612  echo "configure:7665: checking for hes_getmailhost in -lhesiod" >&5  echo "configure:7613: checking for hes_getmailhost in -lhesiod" >&5
7613  ac_lib_var=`echo hesiod'_'hes_getmailhost | sed 'y%./+-%__p_%'`  ac_lib_var=`echo hesiod'_'hes_getmailhost | sed 'y%./+-%__p_%'`
7614  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7615    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 7669  else Line 7617  else
7617    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
7618  LIBS="-lhesiod $RESOLVLIB $LIBS"  LIBS="-lhesiod $RESOLVLIB $LIBS"
7619  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
7620  #line 7673 "configure"  #line 7621 "configure"
7621  #include "confdefs.h"  #include "confdefs.h"
7622  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
7623  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 7680  int main() { Line 7628  int main() {
7628  hes_getmailhost()  hes_getmailhost()
7629  ; return 0; }  ; return 0; }
7630  EOF  EOF
7631  if { (eval echo configure:7684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:7632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7632    rm -rf conftest*    rm -rf conftest*
7633    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
7634  else  else
# Line 7711  fi Line 7659  fi
7659  # These tell us which Kerberos-related libraries to use.  # These tell us which Kerberos-related libraries to use.
7660  if test "${with_kerberos+set}" = set; then  if test "${with_kerberos+set}" = set; then
7661    echo $ac_n "checking for com_err in -lcom_err""... $ac_c" 1>&6    echo $ac_n "checking for com_err in -lcom_err""... $ac_c" 1>&6
7662  echo "configure:7715: checking for com_err in -lcom_err" >&5  echo "configure:7663: checking for com_err in -lcom_err" >&5
7663  ac_lib_var=`echo com_err'_'com_err | sed 'y%./+-%__p_%'`  ac_lib_var=`echo com_err'_'com_err | sed 'y%./+-%__p_%'`
7664  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7665    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 7719  else Line 7667  else
7667    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
7668  LIBS="-lcom_err  $LIBS"  LIBS="-lcom_err  $LIBS"
7669  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
7670  #line 7723 "configure"  #line 7671 "configure"
7671  #include "confdefs.h"  #include "confdefs.h"
7672  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
7673  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 7730  int main() { Line 7678  int main() {
7678  com_err()  com_err()
7679  ; return 0; }  ; return 0; }
7680  EOF  EOF
7681  if { (eval echo configure:7734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:7682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7682    rm -rf conftest*    rm -rf conftest*
7683    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
7684  else  else
# Line 7758  else Line 7706  else
7706  fi  fi
7707    
7708    echo $ac_n "checking for mit_des_cbc_encrypt in -lk5crypto""... $ac_c" 1>&6    echo $ac_n "checking for mit_des_cbc_encrypt in -lk5crypto""... $ac_c" 1>&6
7709  echo "configure:7762: checking for mit_des_cbc_encrypt in -lk5crypto" >&5  echo "configure:7710: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
7710  ac_lib_var=`echo k5crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'`  ac_lib_var=`echo k5crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'`
7711  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7712    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 7766  else Line 7714  else
7714    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
7715  LIBS="-lk5crypto  $LIBS"  LIBS="-lk5crypto  $LIBS"
7716  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
7717  #line 7770 "configure"  #line 7718 "configure"
7718  #include "confdefs.h"  #include "confdefs.h"
7719  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
7720  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 7777  int main() { Line 7725  int main() {
7725  mit_des_cbc_encrypt()  mit_des_cbc_encrypt()
7726  ; return 0; }  ; return 0; }
7727  EOF  EOF
7728  if { (eval echo configure:7781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:7729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7729    rm -rf conftest*    rm -rf conftest*
7730    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
7731  else  else
# Line 7805  else Line 7753  else
7753  fi  fi
7754    
7755    echo $ac_n "checking for mit_des_cbc_encrypt in -lcrypto""... $ac_c" 1>&6    echo $ac_n "checking for mit_des_cbc_encrypt in -lcrypto""... $ac_c" 1>&6
7756  echo "configure:7809: checking for mit_des_cbc_encrypt in -lcrypto" >&5  echo "configure:7757: checking for mit_des_cbc_encrypt in -lcrypto" >&5
7757  ac_lib_var=`echo crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'`  ac_lib_var=`echo crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'`
7758  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7759    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 7813  else Line 7761  else
7761    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
7762  LIBS="-lcrypto  $LIBS"  LIBS="-lcrypto  $LIBS"
7763  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
7764  #line 7817 "configure"  #line 7765 "configure"
7765  #include "confdefs.h"  #include "confdefs.h"
7766  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
7767  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 7824  int main() { Line 7772  int main() {
7772  mit_des_cbc_encrypt()  mit_des_cbc_encrypt()
7773  ; return 0; }  ; return 0; }
7774  EOF  EOF
7775  if { (eval echo configure:7828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:7776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7776    rm -rf conftest*    rm -rf conftest*
7777    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
7778  else  else
# Line 7852  else Line 7800  else
7800  fi  fi
7801    
7802    echo $ac_n "checking for krb5_init_context in -lkrb5""... $ac_c" 1>&6    echo $ac_n "checking for krb5_init_context in -lkrb5""... $ac_c" 1>&6
7803  echo "configure:7856: checking for krb5_init_context in -lkrb5" >&5  echo "configure:7804: checking for krb5_init_context in -lkrb5" >&5
7804  ac_lib_var=`echo krb5'_'krb5_init_context | sed 'y%./+-%__p_%'`  ac_lib_var=`echo krb5'_'krb5_init_context | sed 'y%./+-%__p_%'`
7805  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7806    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 7860  else Line 7808  else
7808    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
7809  LIBS="-lkrb5  $LIBS"  LIBS="-lkrb5  $LIBS"
7810  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
7811  #line 7864 "configure"  #line 7812 "configure"
7812  #include "confdefs.h"  #include "confdefs.h"
7813  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
7814  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 7871  int main() { Line 7819  int main() {
7819  krb5_init_context()  krb5_init_context()
7820  ; return 0; }  ; return 0; }
7821  EOF  EOF
7822  if { (eval echo configure:7875: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:7823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7823    rm -rf conftest*    rm -rf conftest*
7824    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
7825  else  else
# Line 7900  fi Line 7848  fi
7848    
7849    if test "${with_kerberos5+set}" != set; then    if test "${with_kerberos5+set}" != set; then
7850      echo $ac_n "checking for des_cbc_encrypt in -ldes425""... $ac_c" 1>&6      echo $ac_n "checking for des_cbc_encrypt in -ldes425""... $ac_c" 1>&6
7851  echo "configure:7904: checking for des_cbc_encrypt in -ldes425" >&5  echo "configure:7852: checking for des_cbc_encrypt in -ldes425" >&5
7852  ac_lib_var=`echo des425'_'des_cbc_encrypt | sed 'y%./+-%__p_%'`  ac_lib_var=`echo des425'_'des_cbc_encrypt | sed 'y%./+-%__p_%'`
7853  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7854    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 7908  else Line 7856  else
7856    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
7857  LIBS="-ldes425  $LIBS"  LIBS="-ldes425  $LIBS"
7858  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
7859  #line 7912 "configure"  #line 7860 "configure"
7860  #include "confdefs.h"  #include "confdefs.h"
7861  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
7862  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 7919  int main() { Line 7867  int main() {
7867  des_cbc_encrypt()  des_cbc_encrypt()
7868  ; return 0; }  ; return 0; }
7869  EOF  EOF
7870  if { (eval echo configure:7923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:7871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7871    rm -rf conftest*    rm -rf conftest*
7872    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
7873  else  else
# Line 7945  EOF Line 7893  EOF
7893  else  else
7894    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
7895  echo $ac_n "checking for des_cbc_encrypt in -ldes""... $ac_c" 1>&6  echo $ac_n "checking for des_cbc_encrypt in -ldes""... $ac_c" 1>&6
7896  echo "configure:7949: checking for des_cbc_encrypt in -ldes" >&5  echo "configure:7897: checking for des_cbc_encrypt in -ldes" >&5
7897  ac_lib_var=`echo des'_'des_cbc_encrypt | sed 'y%./+-%__p_%'`  ac_lib_var=`echo des'_'des_cbc_encrypt | sed 'y%./+-%__p_%'`
7898  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7899    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 7953  else Line 7901  else
7901    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
7902  LIBS="-ldes  $LIBS"  LIBS="-ldes  $LIBS"
7903  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
7904  #line 7957 "configure"  #line 7905 "configure"
7905  #include "confdefs.h"  #include "confdefs.h"
7906  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
7907  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 7964  int main() { Line 7912  int main() {
7912  des_cbc_encrypt()  des_cbc_encrypt()
7913  ; return 0; }  ; return 0; }
7914  EOF  EOF
7915  if { (eval echo configure:7968: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:7916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7916    rm -rf conftest*    rm -rf conftest*
7917    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
7918  else  else
# Line 7994  fi Line 7942  fi
7942  fi  fi
7943    
7944      echo $ac_n "checking for krb_get_cred in -lkrb4""... $ac_c" 1>&6      echo $ac_n "checking for krb_get_cred in -lkrb4""... $ac_c" 1>&6
7945  echo "configure:7998: checking for krb_get_cred in -lkrb4" >&5  echo "configure:7946: checking for krb_get_cred in -lkrb4" >&5
7946  ac_lib_var=`echo krb4'_'krb_get_cred | sed 'y%./+-%__p_%'`  ac_lib_var=`echo krb4'_'krb_get_cred | sed 'y%./+-%__p_%'`
7947  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7948    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 8002  else Line 7950  else
7950    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
7951  LIBS="-lkrb4  $LIBS"  LIBS="-lkrb4  $LIBS"
7952  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
7953  #line 8006 "configure"  #line 7954 "configure"
7954  #include "confdefs.h"  #include "confdefs.h"
7955  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
7956  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 8013  int main() { Line 7961  int main() {
7961  krb_get_cred()  krb_get_cred()
7962  ; return 0; }  ; return 0; }
7963  EOF  EOF
7964  if { (eval echo configure:8017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:7965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7965    rm -rf conftest*    rm -rf conftest*
7966    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
7967  else  else
# Line 8039  EOF Line 7987  EOF
7987  else  else
7988    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
7989  echo $ac_n "checking for krb_get_cred in -lkrb""... $ac_c" 1>&6  echo $ac_n "checking for krb_get_cred in -lkrb""... $ac_c" 1>&6
7990  echo "configure:8043: checking for krb_get_cred in -lkrb" >&5  echo "configure:7991: checking for krb_get_cred in -lkrb" >&5
7991  ac_lib_var=`echo krb'_'krb_get_cred | sed 'y%./+-%__p_%'`  ac_lib_var=`echo krb'_'krb_get_cred | sed 'y%./+-%__p_%'`
7992  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7993    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 8047  else Line 7995  else
7995    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
7996  LIBS="-lkrb  $LIBS"  LIBS="-lkrb  $LIBS"
7997  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
7998  #line 8051 "configure"  #line 7999 "configure"
7999  #include "confdefs.h"  #include "confdefs.h"
8000  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
8001  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 8058  int main() { Line 8006  int main() {
8006  krb_get_cred()  krb_get_cred()
8007  ; return 0; }  ; return 0; }
8008  EOF  EOF
8009  if { (eval echo configure:8062: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:8010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8010    rm -rf conftest*    rm -rf conftest*
8011    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
8012  else  else
# Line 8094  fi Line 8042  fi
8042  do  do
8043  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8044  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8045  echo "configure:8098: checking for $ac_hdr" >&5  echo "configure:8046: checking for $ac_hdr" >&5
8046  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8047    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
8048  else  else
8049    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
8050  #line 8103 "configure"  #line 8051 "configure"
8051  #include "confdefs.h"  #include "confdefs.h"
8052  #include <$ac_hdr>  #include <$ac_hdr>
8053  EOF  EOF
8054  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8055  { (eval echo configure:8108: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:8056: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8056  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8057  if test -z "$ac_err"; then  if test -z "$ac_err"; then
8058    rm -rf conftest*    rm -rf conftest*
# Line 8135  done Line 8083  done
8083  do  do
8084  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8085  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8086  echo "configure:8139: checking for $ac_hdr" >&5  echo "configure:8087: checking for $ac_hdr" >&5
8087  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8088    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
8089  else  else
8090    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
8091  #line 8144 "configure"  #line 8092 "configure"
8092  #include "confdefs.h"  #include "confdefs.h"
8093  #include <$ac_hdr>  #include <$ac_hdr>
8094  EOF  EOF
8095  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8096  { (eval echo configure:8149: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:8097: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8097  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8098  if test -z "$ac_err"; then  if test -z "$ac_err"; then
8099    rm -rf conftest*    rm -rf conftest*
# Line 8172  for ac_hdr in kerberosIV/des.h Line 8120  for ac_hdr in kerberosIV/des.h
8120  do  do
8121  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8122  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8123  echo "configure:8176: checking for $ac_hdr" >&5  echo "configure:8124: checking for $ac_hdr" >&5
8124  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8125    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
8126  else  else
8127    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
8128  #line 8181 "configure"  #line 8129 "configure"
8129  #include "confdefs.h"  #include "confdefs.h"
8130  #include <$ac_hdr>  #include <$ac_hdr>
8131  EOF  EOF
8132  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8133  { (eval echo configure:8186: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:8134: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8134  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8135  if test -z "$ac_err"; then  if test -z "$ac_err"; then
8136    rm -rf conftest*    rm -rf conftest*
# Line 8209  for ac_hdr in kerberos/des.h Line 8157  for ac_hdr in kerberos/des.h
8157  do  do
8158  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8159  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8160  echo "configure:8213: checking for $ac_hdr" >&5  echo "configure:8161: checking for $ac_hdr" >&5
8161  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8162    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
8163  else  else
8164    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
8165  #line 8218 "configure"  #line 8166 "configure"
8166  #include "confdefs.h"  #include "confdefs.h"
8167  #include <$ac_hdr>  #include <$ac_hdr>
8168  EOF  EOF
8169  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8170  { (eval echo configure:8223: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:8171: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8171  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8172  if test -z "$ac_err"; then  if test -z "$ac_err"; then
8173    rm -rf conftest*    rm -rf conftest*
# Line 8255  done Line 8203  done
8203  do  do
8204  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8205  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8206  echo "configure:8259: checking for $ac_hdr" >&5  echo "configure:8207: checking for $ac_hdr" >&5
8207  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8208    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
8209  else  else
8210    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
8211  #line 8264 "configure"  #line 8212 "configure"
8212  #include "confdefs.h"  #include "confdefs.h"
8213  #include <$ac_hdr>  #include <$ac_hdr>
8214  EOF  EOF
8215  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8216  { (eval echo configure:8269: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:8217: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8217  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8218  if test -z "$ac_err"; then  if test -z "$ac_err"; then
8219    rm -rf conftest*    rm -rf conftest*
# Line 8292  for ac_hdr in kerberosIV/krb.h Line 8240  for ac_hdr in kerberosIV/krb.h
8240  do  do
8241  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8242  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8243  echo "configure:8296: checking for $ac_hdr" >&5  echo "configure:8244: checking for $ac_hdr" >&5
8244  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8245    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
8246  else  else
8247    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
8248  #line 8301 "configure"  #line 8249 "configure"
8249  #include "confdefs.h"  #include "confdefs.h"
8250  #include <$ac_hdr>  #include <$ac_hdr>
8251  EOF  EOF
8252  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8253  { (eval echo configure:8306: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:8254: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8254  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8255  if test -z "$ac_err"; then  if test -z "$ac_err"; then
8256    rm -rf conftest*    rm -rf conftest*
# Line 8329  for ac_hdr in kerberos/krb.h Line 8277  for ac_hdr in kerberos/krb.h
8277  do  do
8278  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8279  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8280  echo "configure:8333: checking for $ac_hdr" >&5  echo "configure:8281: checking for $ac_hdr" >&5
8281  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8282    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
8283  else  else
8284    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
8285  #line 8338 "configure"  #line 8286 "configure"
8286  #include "confdefs.h"  #include "confdefs.h"
8287  #include <$ac_hdr>  #include <$ac_hdr>
8288  EOF  EOF
8289  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8290  { (eval echo configure:8343: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:8291: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8291  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8292  if test -z "$ac_err"; then  if test -z "$ac_err"; then
8293    rm -rf conftest*    rm -rf conftest*
# Line 8376  done Line 8324  done
8324  do  do
8325  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8326  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8327  echo "configure:8380: checking for $ac_hdr" >&5  echo "configure:8328: checking for $ac_hdr" >&5
8328  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8329    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
8330  else  else
8331    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
8332  #line 8385 "configure"  #line 8333 "configure"
8333  #include "confdefs.h"  #include "confdefs.h"
8334  #include <$ac_hdr>  #include <$ac_hdr>
8335  EOF  EOF
8336  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8337  { (eval echo configure:8390: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:8338: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8338  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8339  if test -z "$ac_err"; then  if test -z "$ac_err"; then
8340    rm -rf conftest*    rm -rf conftest*
# Line 8417  fi Line 8365  fi
8365  # Solaris requires -lintl if you want strerror (which calls dgettext)  # Solaris requires -lintl if you want strerror (which calls dgettext)
8366  # to return localized messages.  # to return localized messages.
8367  echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6  echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6
8368  echo "configure:8421: checking for dgettext in -lintl" >&5  echo "configure:8369: checking for dgettext in -lintl" >&5
8369  ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'`  ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'`
8370  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8371    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 8425  else Line 8373  else
8373    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
8374  LIBS="-lintl  $LIBS"  LIBS="-lintl  $LIBS"
8375  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
8376  #line 8429 "configure"  #line 8377 "configure"
8377  #include "confdefs.h"  #include "confdefs.h"
8378  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
8379  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 8436  int main() { Line 8384  int main() {
8384  dgettext()  dgettext()
8385  ; return 0; }  ; return 0; }
8386  EOF  EOF
8387  if { (eval echo configure:8440: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:8388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8388    rm -rf conftest*    rm -rf conftest*
8389    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
8390  else  else
# Line 8465  fi Line 8413  fi
8413    
8414    
8415  echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6  echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6
8416  echo "configure:8469: checking whether localtime caches TZ" >&5  echo "configure:8417: checking whether localtime caches TZ" >&5
8417  if eval "test \"`echo '$''{'emacs_cv_localtime_cache'+set}'`\" = set"; then  if eval "test \"`echo '$''{'emacs_cv_localtime_cache'+set}'`\" = set"; then
8418    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
8419  else  else
# Line 8475  if test "$cross_compiling" = yes; then Line 8423  if test "$cross_compiling" = yes; then
8423  emacs_cv_localtime_cache=yes  emacs_cv_localtime_cache=yes
8424  else  else
8425    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
8426  #line 8479 "configure"  #line 8427 "configure"
8427  #include "confdefs.h"  #include "confdefs.h"
8428  #include <time.h>  #include <time.h>
8429  extern char **environ;  extern char **environ;
# Line 8507  main() Line 8455  main()
8455    exit (0);    exit (0);
8456  }  }
8457  EOF  EOF
8458  if { (eval echo configure:8511: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:8459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
8459  then  then
8460    emacs_cv_localtime_cache=no    emacs_cv_localtime_cache=no
8461  else  else
# Line 8537  if test "x$HAVE_TIMEVAL" = xyes; then Line 8485  if test "x$HAVE_TIMEVAL" = xyes; then
8485    for ac_func in gettimeofday    for ac_func in gettimeofday
8486  do  do
8487  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8488  echo "configure:8541: checking for $ac_func" >&5  echo "configure:8489: checking for $ac_func" >&5
8489  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8490    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
8491  else  else
8492    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
8493  #line 8546 "configure"  #line 8494 "configure"
8494  #include "confdefs.h"  #include "confdefs.h"
8495  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
8496      which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
# Line 8565  $ac_func(); Line 8513  $ac_func();
8513    
8514  ; return 0; }  ; return 0; }
8515  EOF  EOF
8516  if { (eval echo configure:8569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:8517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8517    rm -rf conftest*    rm -rf conftest*
8518    eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
8519  else  else
# Line 8590  fi Line 8538  fi
8538  done  done
8539    
8540    echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6    echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6
8541  echo "configure:8594: checking whether gettimeofday can accept two arguments" >&5  echo "configure:8542: checking whether gettimeofday can accept two arguments" >&5
8542  if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then  if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then
8543    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
8544  else  else
8545    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
8546  #line 8599 "configure"  #line 8547 "configure"
8547  #include "confdefs.h"  #include "confdefs.h"
8548    
8549  #ifdef TIME_WITH_SYS_TIME  #ifdef TIME_WITH_SYS_TIME
# Line 8613  struct timeval time; Line 8561  struct timeval time;
8561       gettimeofday (&time, 0);       gettimeofday (&time, 0);
8562  ; return 0; }  ; return 0; }
8563  EOF  EOF
8564  if { (eval echo configure:8617: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:8565: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8565    rm -rf conftest*    rm -rf conftest*
8566    emacs_cv_gettimeofday_two_arguments=yes    emacs_cv_gettimeofday_two_arguments=yes
8567  else  else
# Line 8636  fi Line 8584  fi
8584    
8585  if test "$ac_cv_func_gettimeofday" = yes; then  if test "$ac_cv_func_gettimeofday" = yes; then
8586    echo $ac_n "checking for struct timezone""... $ac_c" 1>&6    echo $ac_n "checking for struct timezone""... $ac_c" 1>&6
8587  echo "configure:8640: checking for struct timezone" >&5  echo "configure:8588: checking for struct timezone" >&5
8588  if eval "test \"`echo '$''{'emacs_cv_struct_timezone'+set}'`\" = set"; then  if eval "test \"`echo '$''{'emacs_cv_struct_timezone'+set}'`\" = set"; then
8589    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
8590  else  else
8591    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
8592  #line 8645 "configure"  #line 8593 "configure"
8593  #include "confdefs.h"  #include "confdefs.h"
8594  #include <sys/time.h>  #include <sys/time.h>
8595  int main() {  int main() {
8596  struct timezone tz;  struct timezone tz;
8597  ; return 0; }  ; return 0; }
8598  EOF  EOF
8599  if { (eval echo configure:8652: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:8600: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8600    rm -rf conftest*    rm -rf conftest*
8601                if test "$cross_compiling" = yes; then                if test "$cross_compiling" = yes; then
8602    emacs_cv_struct_timezone=yes    emacs_cv_struct_timezone=yes
8603  else  else
8604    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
8605  #line 8658 "configure"  #line 8606 "configure"
8606  #include "confdefs.h"  #include "confdefs.h"
8607    
8608  #ifdef TIME_WITH_SYS_TIME  #ifdef TIME_WITH_SYS_TIME
# Line 8673  main () { Line 8621  main () {
8621    exit (gettimeofday (&time, &dummy));    exit (gettimeofday (&time, &dummy));
8622  }  }
8623  EOF  EOF
8624  if { (eval echo configure:8677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:8625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
8625  then  then
8626    emacs_cv_struct_timezone=yes    emacs_cv_struct_timezone=yes
8627  else  else
# Line 8699  fi Line 8647  fi
8647    
8648  ok_so_far=yes  ok_so_far=yes
8649  echo $ac_n "checking for socket""... $ac_c" 1>&6  echo $ac_n "checking for socket""... $ac_c" 1>&6
8650  echo "configure:8703: checking for socket" >&5  echo "configure:8651: checking for socket" >&5
8651  if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
8652    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
8653  else  else
8654    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
8655  #line 8708 "configure"  #line 8656 "configure"
8656  #include "confdefs.h"  #include "confdefs.h"
8657  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
8658      which can conflict with char socket(); below.  */      which can conflict with char socket(); below.  */
# Line 8727  socket(); Line 8675  socket();
8675    
8676  ; return 0; }  ; return 0; }
8677  EOF  EOF
8678  if { (eval echo configure:8731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:8679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8679    rm -rf conftest*    rm -rf conftest*
8680    eval "ac_cv_func_socket=yes"    eval "ac_cv_func_socket=yes"
8681  else  else
# Line 8750  fi Line 8698  fi
8698  if test $ok_so_far = yes; then  if test $ok_so_far = yes; then
8699    ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'`    ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'`
8700  echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6  echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6
8701  echo "configure:8754: checking for netinet/in.h" >&5  echo "configure:8702: checking for netinet/in.h" >&5
8702  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8703    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
8704  else  else
8705    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
8706  #line 8759 "configure"  #line 8707 "configure"
8707  #include "confdefs.h"  #include "confdefs.h"
8708  #include <netinet/in.h>  #include <netinet/in.h>
8709  EOF  EOF
8710  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8711  { (eval echo configure:8764: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:8712: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8712  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8713  if test -z "$ac_err"; then  if test -z "$ac_err"; then
8714    rm -rf conftest*    rm -rf conftest*
# Line 8786  fi Line 8734  fi
8734  if test $ok_so_far = yes; then  if test $ok_so_far = yes; then
8735    ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'`    ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'`
8736  echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6  echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6
8737  echo "configure:8790: checking for arpa/inet.h" >&5  echo "configure:8738: checking for arpa/inet.h" >&5
8738  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8739    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
8740  else  else
8741    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
8742  #line 8795 "configure"  #line 8743 "configure"
8743  #include "confdefs.h"  #include "confdefs.h"
8744  #include <arpa/inet.h>  #include <arpa/inet.h>
8745  EOF  EOF
8746  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8747  { (eval echo configure:8800: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:8748: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8748  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8749  if test -z "$ac_err"; then  if test -z "$ac_err"; then
8750    rm -rf conftest*    rm -rf conftest*
# Line 8834  EOF Line 8782  EOF
8782  fi  fi
8783    
8784  echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6  echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6
8785  echo "configure:8838: checking whether system supports dynamic ptys" >&5  echo "configure:8786: checking whether system supports dynamic ptys" >&5
8786  if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then  if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then
8787    echo "$ac_t""yes" 1>&6    echo "$ac_t""yes" 1>&6
8788    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
# Line 8846  else Line 8794  else
8794  fi  fi
8795    
8796  echo $ac_n "checking for pid_t""... $ac_c" 1>&6  echo $ac_n "checking for pid_t""... $ac_c" 1>&6
8797  echo "configure:8850: checking for pid_t" >&5  echo "configure:8798: checking for pid_t" >&5
8798  if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
8799    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
8800  else  else
8801    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
8802  #line 8855 "configure"  #line 8803 "configure"
8803  #include "confdefs.h"  #include "confdefs.h"
8804  #include <sys/types.h>  #include <sys/types.h>
8805  #if STDC_HEADERS  #if STDC_HEADERS
# Line 8880  fi Line 8828  fi
8828    
8829  ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'`  ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'`
8830  echo $ac_n "checking for vfork.h""... $ac_c" 1>&6  echo $ac_n "checking for vfork.h""... $ac_c" 1>&6
8831  echo "configure:8884: checking for vfork.h" >&5  echo "configure:8832: checking for vfork.h" >&5
8832  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8833    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
8834  else  else
8835    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
8836  #line 8889 "configure"  #line 8837 "configure"
8837  #include "confdefs.h"  #include "confdefs.h"
8838  #include <vfork.h>  #include <vfork.h>
8839  EOF  EOF
8840  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8841  { (eval echo configure:8894: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:8842: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8842  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8843  if test -z "$ac_err"; then  if test -z "$ac_err"; then
8844    rm -rf conftest*    rm -rf conftest*
# Line 8915  else Line 8863  else
8863  fi  fi
8864    
8865  echo $ac_n "checking for working vfork""... $ac_c" 1>&6  echo $ac_n "checking for working vfork""... $ac_c" 1>&6
8866  echo "configure:8919: checking for working vfork" >&5  echo "configure:8867: checking for working vfork" >&5
8867  if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then
8868    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
8869  else  else
8870    if test "$cross_compiling" = yes; then    if test "$cross_compiling" = yes; then
8871    echo $ac_n "checking for vfork""... $ac_c" 1>&6    echo $ac_n "checking for vfork""... $ac_c" 1>&6
8872  echo "configure:8925: checking for vfork" >&5  echo "configure:8873: checking for vfork" >&5
8873  if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then
8874    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
8875  else  else
8876    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
8877  #line 8930 "configure"  #line 8878 "configure"
8878  #include "confdefs.h"  #include "confdefs.h"
8879  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
8880      which can conflict with char vfork(); below.  */      which can conflict with char vfork(); below.  */
# Line 8949  vfork(); Line 8897  vfork();
8897    
8898  ; return 0; }  ; return 0; }
8899  EOF  EOF
8900  if { (eval echo configure:8953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:8901: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8901    rm -rf conftest*    rm -rf conftest*
8902    eval "ac_cv_func_vfork=yes"    eval "ac_cv_func_vfork=yes"
8903  else  else
# Line 8971  fi Line 8919  fi
8919  ac_cv_func_vfork_works=$ac_cv_func_vfork  ac_cv_func_vfork_works=$ac_cv_func_vfork
8920  else  else
8921    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
8922  #line 8975 "configure"  #line 8923 "configure"
8923  #include "confdefs.h"  #include "confdefs.h"
8924  /* Thanks to Paul Eggert for this test.  */  /* Thanks to Paul Eggert for this test.  */
8925  #include <stdio.h>  #include <stdio.h>
# Line 9066  main() { Line 9014  main() {
9014    }    }
9015  }  }
9016  EOF  EOF
9017  if { (eval echo configure:9070: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:9018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
9018  then  then
9019    ac_cv_func_vfork_works=yes    ac_cv_func_vfork_works=yes
9020  else  else
# Line 9091  fi Line 9039  fi
9039    
9040  # Fixme: This should be replaced when we have autoconf 2.14.  # Fixme: This should be replaced when we have autoconf 2.14.
9041  echo $ac_n "checking for size_t""... $ac_c" 1>&6  echo $ac_n "checking for size_t""... $ac_c" 1>&6
9042  echo "configure:9095: checking for size_t" >&5  echo "configure:9043: checking for size_t" >&5
9043  if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
9044    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
9045  else  else
9046    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
9047  #line 9100 "configure"  #line 9048 "configure"
9048  #include "confdefs.h"  #include "confdefs.h"
9049  #include <sys/types.h>  #include <sys/types.h>
9050  #if STDC_HEADERS  #if STDC_HEADERS
# Line 9290  test "${exec_prefix}" != NONE && Line 9238  test "${exec_prefix}" != NONE &&
9238  ## C preprocessor.  ## C preprocessor.
9239    
9240  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
9241  #line 9294 "configure"  #line 9242 "configure"
9242  #include "confdefs.h"  #include "confdefs.h"
9243  yes..yes  yes..yes
9244  EOF  EOF

Legend:
Removed from v.1.62.4.12  
changed lines
  Added in v.1.62.4.13

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26