/[emacs]/emacs/configure
ViewVC logotype

Diff of /emacs/configure

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

revision 1.93 by pj, Fri Jun 21 20:59:11 2002 UTC revision 1.94 by rms, Sun Jul 21 20:22:11 2002 UTC
# Line 681  Optional Features: Line 681  Optional Features:
681  Optional Packages:  Optional Packages:
682    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
683    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   --with-game-dir         use a shared game directory if possible  
684    --with-game-user        use specified user for game directory    --with-game-user        use specified user for game directory
685    --without-gcc           don't use GCC to compile Emacs if GCC is found    --without-gcc           don't use GCC to compile Emacs if GCC is found
686    --without-pop           don't support POP mail retrieval with movemail    --without-pop           don't support POP mail retrieval with movemail
# Line 893  if test -z "$CONFIG_SITE"; then Line 892  if test -z "$CONFIG_SITE"; then
892  fi  fi
893  for ac_site_file in $CONFIG_SITE; do  for ac_site_file in $CONFIG_SITE; do
894    if test -r "$ac_site_file"; then    if test -r "$ac_site_file"; then
895      { echo "$as_me:896: loading site script $ac_site_file" >&5      { echo "$as_me:895: loading site script $ac_site_file" >&5
896  echo "$as_me: loading site script $ac_site_file" >&6;}  echo "$as_me: loading site script $ac_site_file" >&6;}
897      cat "$ac_site_file" >&5      cat "$ac_site_file" >&5
898      . "$ac_site_file"      . "$ac_site_file"
# Line 904  if test -r "$cache_file"; then Line 903  if test -r "$cache_file"; then
903    # Some versions of bash will fail to source /dev/null (special    # Some versions of bash will fail to source /dev/null (special
904    # files actually), so we avoid doing that.    # files actually), so we avoid doing that.
905    if test -f "$cache_file"; then    if test -f "$cache_file"; then
906      { echo "$as_me:907: loading cache $cache_file" >&5      { echo "$as_me:906: loading cache $cache_file" >&5
907  echo "$as_me: loading cache $cache_file" >&6;}  echo "$as_me: loading cache $cache_file" >&6;}
908      case $cache_file in      case $cache_file in
909        [\\/]* | ?:[\\/]* ) . $cache_file;;        [\\/]* | ?:[\\/]* ) . $cache_file;;
# Line 912  echo "$as_me: loading cache $cache_file" Line 911  echo "$as_me: loading cache $cache_file"
911      esac      esac
912    fi    fi
913  else  else
914    { echo "$as_me:915: creating cache $cache_file" >&5    { echo "$as_me:914: creating cache $cache_file" >&5
915  echo "$as_me: creating cache $cache_file" >&6;}  echo "$as_me: creating cache $cache_file" >&6;}
916    >$cache_file    >$cache_file
917  fi  fi
# Line 928  for ac_var in `(set) 2>&1 | Line 927  for ac_var in `(set) 2>&1 |
927    eval ac_new_val="\$ac_env_${ac_var}_value"    eval ac_new_val="\$ac_env_${ac_var}_value"
928    case $ac_old_set,$ac_new_set in    case $ac_old_set,$ac_new_set in
929      set,)      set,)
930        { echo "$as_me:931: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5        { echo "$as_me:930: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
931  echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}  echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
932        ac_cache_corrupted=: ;;        ac_cache_corrupted=: ;;
933      ,set)      ,set)
934        { echo "$as_me:935: error: \`$ac_var' was not set in the previous run" >&5        { echo "$as_me:934: error: \`$ac_var' was not set in the previous run" >&5
935  echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}  echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
936        ac_cache_corrupted=: ;;        ac_cache_corrupted=: ;;
937      ,);;      ,);;
938      *)      *)
939        if test "x$ac_old_val" != "x$ac_new_val"; then        if test "x$ac_old_val" != "x$ac_new_val"; then
940          { echo "$as_me:941: error: \`$ac_var' has changed since the previous run:" >&5          { echo "$as_me:940: error: \`$ac_var' has changed since the previous run:" >&5
941  echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}  echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
942          { echo "$as_me:943:   former value:  $ac_old_val" >&5          { echo "$as_me:942:   former value:  $ac_old_val" >&5
943  echo "$as_me:   former value:  $ac_old_val" >&2;}  echo "$as_me:   former value:  $ac_old_val" >&2;}
944          { echo "$as_me:945:   current value: $ac_new_val" >&5          { echo "$as_me:944:   current value: $ac_new_val" >&5
945  echo "$as_me:   current value: $ac_new_val" >&2;}  echo "$as_me:   current value: $ac_new_val" >&2;}
946          ac_cache_corrupted=:          ac_cache_corrupted=:
947        fi;;        fi;;
# Line 961  echo "$as_me:   current value: $ac_new_v Line 960  echo "$as_me:   current value: $ac_new_v
960    fi    fi
961  done  done
962  if $ac_cache_corrupted; then  if $ac_cache_corrupted; then
963    { echo "$as_me:964: error: changes in the environment can compromise the build" >&5    { echo "$as_me:963: error: changes in the environment can compromise the build" >&5
964  echo "$as_me: error: changes in the environment can compromise the build" >&2;}  echo "$as_me: error: changes in the environment can compromise the build" >&2;}
965    { { echo "$as_me:966: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5    { { echo "$as_me:965: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
966  echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}  echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
967     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
968  fi  fi
# Line 983  esac Line 982  esac
982  echo "#! $SHELL" >conftest.sh  echo "#! $SHELL" >conftest.sh
983  echo  "exit 0"   >>conftest.sh  echo  "exit 0"   >>conftest.sh
984  chmod +x conftest.sh  chmod +x conftest.sh
985  if { (echo "$as_me:986: PATH=\".;.\"; conftest.sh") >&5  if { (echo "$as_me:985: PATH=\".;.\"; conftest.sh") >&5
986    (PATH=".;."; conftest.sh) 2>&5    (PATH=".;."; conftest.sh) 2>&5
987    ac_status=$?    ac_status=$?
988    echo "$as_me:989: \$? = $ac_status" >&5    echo "$as_me:988: \$? = $ac_status" >&5
989    (exit $ac_status); }; then    (exit $ac_status); }; then
990    ac_path_separator=';'    ac_path_separator=';'
991  else  else
# Line 1017  lisppath='${locallisppath}:${lispdir}' Line 1016  lisppath='${locallisppath}:${lispdir}'
1016  etcdir='${datadir}/emacs/${version}/etc'  etcdir='${datadir}/emacs/${version}/etc'
1017  archlibdir='${libexecdir}/emacs/${version}/${configuration}'  archlibdir='${libexecdir}/emacs/${version}/${configuration}'
1018  docdir='${datadir}/emacs/${version}/etc'  docdir='${datadir}/emacs/${version}/etc'
1019  gamedir=yes  gamedir='${localstatedir}/games/emacs'
   
 # Check whether --with-game-dir or --without-game-dir was given.  
 if test "${with_game_dir+set}" = set; then  
   withval="$with_game_dir"  
   
    gamedir="$withval"  
   
 fi;  
 if test "$gamedir" = yes; then  
   gamedir="${localstatedir}/games/emacs"  
 fi  
 eval tgamedir=\"$gamedir\"  
 if test "$gamedir" != no; then  
   
 cat >>confdefs.h <<EOF  
 #define HAVE_SHARED_GAME_DIR "$tgamedir"  
 EOF  
   
 fi  
1020    
1021  gameuser=games  gameuser=games
1022    
# Line 1123  if test "${with_x_toolkit+set}" = set; t Line 1103  if test "${with_x_toolkit+set}" = set; t
1103              a | at | ath | athe | athen | athena )      val=athena ;;              a | at | ath | athe | athen | athena )      val=athena ;;
1104              m | mo | mot | moti | motif )       val=motif ;;              m | mo | mot | moti | motif )       val=motif ;;
1105              * )              * )
1106  { { echo "$as_me:1126: error: \`--with-x-toolkit=$withval' is invalid\;  { { echo "$as_me:1106: error: \`--with-x-toolkit=$withval' is invalid\;
1107  this option's value should be \`yes', \`no', \`lucid', \`athena', or \`motif'.  this option's value should be \`yes', \`no', \`lucid', \`athena', or \`motif'.
1108  Currently, \`yes', \`athena' and \`lucid' are synonyms." >&5  Currently, \`yes', \`athena' and \`lucid' are synonyms." >&5
1109  echo "$as_me: error: \`--with-x-toolkit=$withval' is invalid\;  echo "$as_me: error: \`--with-x-toolkit=$withval' is invalid\;
# Line 1211  esac Line 1191  esac
1191  #### Check if the source directory already has a configured system in it.  #### Check if the source directory already has a configured system in it.
1192  if test `pwd` != `(cd ${srcdir} && pwd)` \  if test `pwd` != `(cd ${srcdir} && pwd)` \
1193     && test -f "${srcdir}/src/config.h" ; then     && test -f "${srcdir}/src/config.h" ; then
1194    { echo "$as_me:1214: WARNING: The directory tree \`${srcdir}' is being used    { echo "$as_me:1194: WARNING: The directory tree \`${srcdir}' is being used
1195     as a build directory right now; it has been configured in its own     as a build directory right now; it has been configured in its own
1196     right.  To configure in another directory as well, you MUST     right.  To configure in another directory as well, you MUST
1197     use GNU make.  If you do not have GNU make, then you must     use GNU make.  If you do not have GNU make, then you must
# Line 1256  for ac_dir in $srcdir $srcdir/.. $srcdir Line 1236  for ac_dir in $srcdir $srcdir/.. $srcdir
1236    fi    fi
1237  done  done
1238  if test -z "$ac_aux_dir"; then  if test -z "$ac_aux_dir"; then
1239    { { echo "$as_me:1259: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5    { { echo "$as_me:1239: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1240  echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}  echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1241     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1242  fi  fi
# Line 1266  ac_configure="$SHELL $ac_aux_dir/configu Line 1246  ac_configure="$SHELL $ac_aux_dir/configu
1246    
1247  # Make sure we can run config.sub.  # Make sure we can run config.sub.
1248  $ac_config_sub sun4 >/dev/null 2>&1 ||  $ac_config_sub sun4 >/dev/null 2>&1 ||
1249    { { echo "$as_me:1269: error: cannot run $ac_config_sub" >&5    { { echo "$as_me:1249: error: cannot run $ac_config_sub" >&5
1250  echo "$as_me: error: cannot run $ac_config_sub" >&2;}  echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1251     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1252    
1253  echo "$as_me:1273: checking build system type" >&5  echo "$as_me:1253: checking build system type" >&5
1254  echo $ECHO_N "checking build system type... $ECHO_C" >&6  echo $ECHO_N "checking build system type... $ECHO_C" >&6
1255  if test "${ac_cv_build+set}" = set; then  if test "${ac_cv_build+set}" = set; then
1256    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1279  else Line 1259  else
1259  test -z "$ac_cv_build_alias" &&  test -z "$ac_cv_build_alias" &&
1260    ac_cv_build_alias=`$ac_config_guess`    ac_cv_build_alias=`$ac_config_guess`
1261  test -z "$ac_cv_build_alias" &&  test -z "$ac_cv_build_alias" &&
1262    { { echo "$as_me:1282: error: cannot guess build type; you must specify one" >&5    { { echo "$as_me:1262: error: cannot guess build type; you must specify one" >&5
1263  echo "$as_me: error: cannot guess build type; you must specify one" >&2;}  echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1264     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1265  ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||  ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1266    { { echo "$as_me:1286: error: $ac_config_sub $ac_cv_build_alias failed." >&5    { { echo "$as_me:1266: error: $ac_config_sub $ac_cv_build_alias failed." >&5
1267  echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}  echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}
1268     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1269    
1270  fi  fi
1271  echo "$as_me:1291: result: $ac_cv_build" >&5  echo "$as_me:1271: result: $ac_cv_build" >&5
1272  echo "${ECHO_T}$ac_cv_build" >&6  echo "${ECHO_T}$ac_cv_build" >&6
1273  build=$ac_cv_build  build=$ac_cv_build
1274  build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`  build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1275  build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`  build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1276  build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`  build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1277    
1278  echo "$as_me:1298: checking host system type" >&5  echo "$as_me:1278: checking host system type" >&5
1279  echo $ECHO_N "checking host system type... $ECHO_C" >&6  echo $ECHO_N "checking host system type... $ECHO_C" >&6
1280  if test "${ac_cv_host+set}" = set; then  if test "${ac_cv_host+set}" = set; then
1281    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1304  else Line 1284  else
1284  test -z "$ac_cv_host_alias" &&  test -z "$ac_cv_host_alias" &&
1285    ac_cv_host_alias=$ac_cv_build_alias    ac_cv_host_alias=$ac_cv_build_alias
1286  ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||  ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1287    { { echo "$as_me:1307: error: $ac_config_sub $ac_cv_host_alias failed" >&5    { { echo "$as_me:1287: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1288  echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}  echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1289     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1290    
1291  fi  fi
1292  echo "$as_me:1312: result: $ac_cv_host" >&5  echo "$as_me:1292: result: $ac_cv_host" >&5
1293  echo "${ECHO_T}$ac_cv_host" >&6  echo "${ECHO_T}$ac_cv_host" >&6
1294  host=$ac_cv_host  host=$ac_cv_host
1295  host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`  host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
# Line 2247  case "${canonical}" in Line 2227  case "${canonical}" in
2227    
2228    ## AMD x86-64 Linux-based GNU system    ## AMD x86-64 Linux-based GNU system
2229    x86_64-*-linux-gnu* )    x86_64-*-linux-gnu* )
2230      machine=amdx86-64 opsys=gnu-linux      machine=amdx86-64 opsys=gnu-linux
2231    ;;    ;;
2232    
2233    * )    * )
# Line 2292  if test x"${opsys}" = x; then Line 2272  if test x"${opsys}" = x; then
2272  fi  fi
2273    
2274  if test $unported = yes; then  if test $unported = yes; then
2275    { { echo "$as_me:2294: error: Emacs hasn't been ported to \`${canonical}' systems.    { { echo "$as_me:2275: error: Emacs hasn't been ported to \`${canonical}' systems.
2276  Check \`etc/MACHINES' for recognized configuration names." >&5  Check \`etc/MACHINES' for recognized configuration names." >&5
2277  echo "$as_me: error: Emacs hasn't been ported to \`${canonical}' systems.  echo "$as_me: error: Emacs hasn't been ported to \`${canonical}' systems.
2278  Check \`etc/MACHINES' for recognized configuration names." >&2;}  Check \`etc/MACHINES' for recognized configuration names." >&2;}
# Line 2321  ac_compiler_gnu=$ac_cv_c_compiler_gnu Line 2301  ac_compiler_gnu=$ac_cv_c_compiler_gnu
2301  if test -n "$ac_tool_prefix"; then  if test -n "$ac_tool_prefix"; then
2302    # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.    # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2303  set dummy ${ac_tool_prefix}gcc; ac_word=$2  set dummy ${ac_tool_prefix}gcc; ac_word=$2
2304  echo "$as_me:2323: checking for $ac_word" >&5  echo "$as_me:2304: checking for $ac_word" >&5
2305  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2306  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then
2307    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2336  for ac_dir in $ac_dummy; do Line 2316  for ac_dir in $ac_dummy; do
2316    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
2317    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
2318  ac_cv_prog_CC="${ac_tool_prefix}gcc"  ac_cv_prog_CC="${ac_tool_prefix}gcc"
2319  echo "$as_me:2338: found $ac_dir/$ac_word" >&5  echo "$as_me:2319: found $ac_dir/$ac_word" >&5
2320  break  break
2321  done  done
2322    
# Line 2344  fi Line 2324  fi
2324  fi  fi
2325  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
2326  if test -n "$CC"; then  if test -n "$CC"; then
2327    echo "$as_me:2346: result: $CC" >&5    echo "$as_me:2327: result: $CC" >&5
2328  echo "${ECHO_T}$CC" >&6  echo "${ECHO_T}$CC" >&6
2329  else  else
2330    echo "$as_me:2349: result: no" >&5    echo "$as_me:2330: result: no" >&5
2331  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
2332  fi  fi
2333    
# Line 2356  if test -z "$ac_cv_prog_CC"; then Line 2336  if test -z "$ac_cv_prog_CC"; then
2336    ac_ct_CC=$CC    ac_ct_CC=$CC
2337    # Extract the first word of "gcc", so it can be a program name with args.    # Extract the first word of "gcc", so it can be a program name with args.
2338  set dummy gcc; ac_word=$2  set dummy gcc; ac_word=$2
2339  echo "$as_me:2358: checking for $ac_word" >&5  echo "$as_me:2339: checking for $ac_word" >&5
2340  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2341  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2342    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2371  for ac_dir in $ac_dummy; do Line 2351  for ac_dir in $ac_dummy; do
2351    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
2352    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
2353  ac_cv_prog_ac_ct_CC="gcc"  ac_cv_prog_ac_ct_CC="gcc"
2354  echo "$as_me:2373: found $ac_dir/$ac_word" >&5  echo "$as_me:2354: found $ac_dir/$ac_word" >&5
2355  break  break
2356  done  done
2357    
# Line 2379  fi Line 2359  fi
2359  fi  fi
2360  ac_ct_CC=$ac_cv_prog_ac_ct_CC  ac_ct_CC=$ac_cv_prog_ac_ct_CC
2361  if test -n "$ac_ct_CC"; then  if test -n "$ac_ct_CC"; then
2362    echo "$as_me:2381: result: $ac_ct_CC" >&5    echo "$as_me:2362: result: $ac_ct_CC" >&5
2363  echo "${ECHO_T}$ac_ct_CC" >&6  echo "${ECHO_T}$ac_ct_CC" >&6
2364  else  else
2365    echo "$as_me:2384: result: no" >&5    echo "$as_me:2365: result: no" >&5
2366  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
2367  fi  fi
2368    
# Line 2395  if test -z "$CC"; then Line 2375  if test -z "$CC"; then
2375    if test -n "$ac_tool_prefix"; then    if test -n "$ac_tool_prefix"; then
2376    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2377  set dummy ${ac_tool_prefix}cc; ac_word=$2  set dummy ${ac_tool_prefix}cc; ac_word=$2
2378  echo "$as_me:2397: checking for $ac_word" >&5  echo "$as_me:2378: checking for $ac_word" >&5
2379  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2380  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then
2381    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2410  for ac_dir in $ac_dummy; do Line 2390  for ac_dir in $ac_dummy; do
2390    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
2391    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
2392  ac_cv_prog_CC="${ac_tool_prefix}cc"  ac_cv_prog_CC="${ac_tool_prefix}cc"
2393  echo "$as_me:2412: found $ac_dir/$ac_word" >&5  echo "$as_me:2393: found $ac_dir/$ac_word" >&5
2394  break  break
2395  done  done
2396    
# Line 2418  fi Line 2398  fi
2398  fi  fi
2399  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
2400  if test -n "$CC"; then  if test -n "$CC"; then
2401    echo "$as_me:2420: result: $CC" >&5    echo "$as_me:2401: result: $CC" >&5
2402  echo "${ECHO_T}$CC" >&6  echo "${ECHO_T}$CC" >&6
2403  else  else
2404    echo "$as_me:2423: result: no" >&5    echo "$as_me:2404: result: no" >&5
2405  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
2406  fi  fi
2407    
# Line 2430  if test -z "$ac_cv_prog_CC"; then Line 2410  if test -z "$ac_cv_prog_CC"; then
2410    ac_ct_CC=$CC    ac_ct_CC=$CC
2411    # Extract the first word of "cc", so it can be a program name with args.    # Extract the first word of "cc", so it can be a program name with args.
2412  set dummy cc; ac_word=$2  set dummy cc; ac_word=$2
2413  echo "$as_me:2432: checking for $ac_word" >&5  echo "$as_me:2413: checking for $ac_word" >&5
2414  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2415  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2416    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2445  for ac_dir in $ac_dummy; do Line 2425  for ac_dir in $ac_dummy; do
2425    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
2426    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
2427  ac_cv_prog_ac_ct_CC="cc"  ac_cv_prog_ac_ct_CC="cc"
2428  echo "$as_me:2447: found $ac_dir/$ac_word" >&5  echo "$as_me:2428: found $ac_dir/$ac_word" >&5
2429  break  break
2430  done  done
2431    
# Line 2453  fi Line 2433  fi
2433  fi  fi
2434  ac_ct_CC=$ac_cv_prog_ac_ct_CC  ac_ct_CC=$ac_cv_prog_ac_ct_CC
2435  if test -n "$ac_ct_CC"; then  if test -n "$ac_ct_CC"; then
2436    echo "$as_me:2455: result: $ac_ct_CC" >&5    echo "$as_me:2436: result: $ac_ct_CC" >&5
2437  echo "${ECHO_T}$ac_ct_CC" >&6  echo "${ECHO_T}$ac_ct_CC" >&6
2438  else  else
2439    echo "$as_me:2458: result: no" >&5    echo "$as_me:2439: result: no" >&5
2440  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
2441  fi  fi
2442    
# Line 2469  fi Line 2449  fi
2449  if test -z "$CC"; then  if test -z "$CC"; then
2450    # Extract the first word of "cc", so it can be a program name with args.    # Extract the first word of "cc", so it can be a program name with args.
2451  set dummy cc; ac_word=$2  set dummy cc; ac_word=$2
2452  echo "$as_me:2471: checking for $ac_word" >&5  echo "$as_me:2452: checking for $ac_word" >&5
2453  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2454  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then
2455    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2489  if test "$ac_dir/$ac_word" = "/usr/ucb/c Line 2469  if test "$ac_dir/$ac_word" = "/usr/ucb/c
2469    continue    continue
2470  fi  fi
2471  ac_cv_prog_CC="cc"  ac_cv_prog_CC="cc"
2472  echo "$as_me:2491: found $ac_dir/$ac_word" >&5  echo "$as_me:2472: found $ac_dir/$ac_word" >&5
2473  break  break
2474  done  done
2475    
# Line 2511  fi Line 2491  fi
2491  fi  fi
2492  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
2493  if test -n "$CC"; then  if test -n "$CC"; then
2494    echo "$as_me:2513: result: $CC" >&5    echo "$as_me:2494: result: $CC" >&5
2495  echo "${ECHO_T}$CC" >&6  echo "${ECHO_T}$CC" >&6
2496  else  else
2497    echo "$as_me:2516: result: no" >&5    echo "$as_me:2497: result: no" >&5
2498  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
2499  fi  fi
2500    
# Line 2525  if test -z "$CC"; then Line 2505  if test -z "$CC"; then
2505    do    do
2506      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2507  set dummy $ac_tool_prefix$ac_prog; ac_word=$2  set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2508  echo "$as_me:2527: checking for $ac_word" >&5  echo "$as_me:2508: checking for $ac_word" >&5
2509  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2510  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then
2511    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2540  for ac_dir in $ac_dummy; do Line 2520  for ac_dir in $ac_dummy; do
2520    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
2521    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
2522  ac_cv_prog_CC="$ac_tool_prefix$ac_prog"  ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2523  echo "$as_me:2542: found $ac_dir/$ac_word" >&5  echo "$as_me:2523: found $ac_dir/$ac_word" >&5
2524  break  break
2525  done  done
2526    
# Line 2548  fi Line 2528  fi
2528  fi  fi
2529  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
2530  if test -n "$CC"; then  if test -n "$CC"; then
2531    echo "$as_me:2550: result: $CC" >&5    echo "$as_me:2531: result: $CC" >&5
2532  echo "${ECHO_T}$CC" >&6  echo "${ECHO_T}$CC" >&6
2533  else  else
2534    echo "$as_me:2553: result: no" >&5    echo "$as_me:2534: result: no" >&5
2535  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
2536  fi  fi
2537    
# Line 2564  if test -z "$CC"; then Line 2544  if test -z "$CC"; then
2544  do  do
2545    # Extract the first word of "$ac_prog", so it can be a program name with args.    # Extract the first word of "$ac_prog", so it can be a program name with args.
2546  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
2547  echo "$as_me:2566: checking for $ac_word" >&5  echo "$as_me:2547: checking for $ac_word" >&5
2548  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2549  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2550    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2579  for ac_dir in $ac_dummy; do Line 2559  for ac_dir in $ac_dummy; do
2559    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
2560    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
2561  ac_cv_prog_ac_ct_CC="$ac_prog"  ac_cv_prog_ac_ct_CC="$ac_prog"
2562  echo "$as_me:2581: found $ac_dir/$ac_word" >&5  echo "$as_me:2562: found $ac_dir/$ac_word" >&5
2563  break  break
2564  done  done
2565    
# Line 2587  fi Line 2567  fi
2567  fi  fi
2568  ac_ct_CC=$ac_cv_prog_ac_ct_CC  ac_ct_CC=$ac_cv_prog_ac_ct_CC
2569  if test -n "$ac_ct_CC"; then  if test -n "$ac_ct_CC"; then
2570    echo "$as_me:2589: result: $ac_ct_CC" >&5    echo "$as_me:2570: result: $ac_ct_CC" >&5
2571  echo "${ECHO_T}$ac_ct_CC" >&6  echo "${ECHO_T}$ac_ct_CC" >&6
2572  else  else
2573    echo "$as_me:2592: result: no" >&5    echo "$as_me:2573: result: no" >&5
2574  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
2575  fi  fi
2576    
# Line 2602  fi Line 2582  fi
2582    
2583  fi  fi
2584    
2585  test -z "$CC" && { { echo "$as_me:2604: error: no acceptable cc found in \$PATH" >&5  test -z "$CC" && { { echo "$as_me:2585: error: no acceptable cc found in \$PATH" >&5
2586  echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}  echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
2587     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
2588    
2589  # Provide some information about the compiler.  # Provide some information about the compiler.
2590  echo "$as_me:2609:" \  echo "$as_me:2590:" \
2591       "checking for C compiler version" >&5       "checking for C compiler version" >&5
2592  ac_compiler=`set X $ac_compile; echo $2`  ac_compiler=`set X $ac_compile; echo $2`
2593  { (eval echo "$as_me:2612: \"$ac_compiler --version </dev/null >&5\"") >&5  { (eval echo "$as_me:2593: \"$ac_compiler --version </dev/null >&5\"") >&5
2594    (eval $ac_compiler --version </dev/null >&5) 2>&5    (eval $ac_compiler --version </dev/null >&5) 2>&5
2595    ac_status=$?    ac_status=$?
2596    echo "$as_me:2615: \$? = $ac_status" >&5    echo "$as_me:2596: \$? = $ac_status" >&5
2597    (exit $ac_status); }    (exit $ac_status); }
2598  { (eval echo "$as_me:2617: \"$ac_compiler -v </dev/null >&5\"") >&5  { (eval echo "$as_me:2598: \"$ac_compiler -v </dev/null >&5\"") >&5
2599    (eval $ac_compiler -v </dev/null >&5) 2>&5    (eval $ac_compiler -v </dev/null >&5) 2>&5
2600    ac_status=$?    ac_status=$?
2601    echo "$as_me:2620: \$? = $ac_status" >&5    echo "$as_me:2601: \$? = $ac_status" >&5
2602    (exit $ac_status); }    (exit $ac_status); }
2603  { (eval echo "$as_me:2622: \"$ac_compiler -V </dev/null >&5\"") >&5  { (eval echo "$as_me:2603: \"$ac_compiler -V </dev/null >&5\"") >&5
2604    (eval $ac_compiler -V </dev/null >&5) 2>&5    (eval $ac_compiler -V </dev/null >&5) 2>&5
2605    ac_status=$?    ac_status=$?
2606    echo "$as_me:2625: \$? = $ac_status" >&5    echo "$as_me:2606: \$? = $ac_status" >&5
2607    (exit $ac_status); }    (exit $ac_status); }
2608    
2609  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
2610  #line 2624 "configure"  #line 2610 "configure"
2611  #include "confdefs.h"  #include "confdefs.h"
2612    
2613  int  int
# Line 2643  ac_clean_files="$ac_clean_files a.out a. Line 2623  ac_clean_files="$ac_clean_files a.out a.
2623  # Try to create an executable without -o first, disregard a.out.  # Try to create an executable without -o first, disregard a.out.
2624  # It will help us diagnose broken compilers, and finding out an intuition  # It will help us diagnose broken compilers, and finding out an intuition
2625  # of exeext.  # of exeext.
2626  echo "$as_me:2645: checking for C compiler default output" >&5  echo "$as_me:2626: checking for C compiler default output" >&5
2627  echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6  echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2628  ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`  ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2629  if { (eval echo "$as_me:2648: \"$ac_link_default\"") >&5  if { (eval echo "$as_me:2629: \"$ac_link_default\"") >&5
2630    (eval $ac_link_default) 2>&5    (eval $ac_link_default) 2>&5
2631    ac_status=$?    ac_status=$?
2632    echo "$as_me:2651: \$? = $ac_status" >&5    echo "$as_me:2632: \$? = $ac_status" >&5
2633    (exit $ac_status); }; then    (exit $ac_status); }; then
2634    # Find the output, starting from the most likely.  This scheme is    # Find the output, starting from the most likely.  This scheme is
2635  # not robust to junk in `.', hence go to wildcards (a.*) only as a last  # not robust to junk in `.', hence go to wildcards (a.*) only as a last
# Line 2672  done Line 2652  done
2652  else  else
2653    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
2654  cat conftest.$ac_ext >&5  cat conftest.$ac_ext >&5
2655  { { echo "$as_me:2674: error: C compiler cannot create executables" >&5  { { echo "$as_me:2655: error: C compiler cannot create executables" >&5
2656  echo "$as_me: error: C compiler cannot create executables" >&2;}  echo "$as_me: error: C compiler cannot create executables" >&2;}
2657     { (exit 77); exit 77; }; }     { (exit 77); exit 77; }; }
2658  fi  fi
2659    
2660  ac_exeext=$ac_cv_exeext  ac_exeext=$ac_cv_exeext
2661  echo "$as_me:2680: result: $ac_file" >&5  echo "$as_me:2661: result: $ac_file" >&5
2662  echo "${ECHO_T}$ac_file" >&6  echo "${ECHO_T}$ac_file" >&6
2663    
2664  # Check the compiler produces executables we can run.  If not, either  # Check the compiler produces executables we can run.  If not, either
2665  # the compiler is broken, or we cross compile.  # the compiler is broken, or we cross compile.
2666  echo "$as_me:2685: checking whether the C compiler works" >&5  echo "$as_me:2666: checking whether the C compiler works" >&5
2667  echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6  echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2668  # FIXME: These cross compiler hacks should be removed for Autoconf 3.0  # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2669  # If not cross compiling, check that we can run a simple program.  # If not cross compiling, check that we can run a simple program.
2670  if test "$cross_compiling" != yes; then  if test "$cross_compiling" != yes; then
2671    if { ac_try='./$ac_file'    if { ac_try='./$ac_file'
2672    { (eval echo "$as_me:2691: \"$ac_try\"") >&5    { (eval echo "$as_me:2672: \"$ac_try\"") >&5
2673    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2674    ac_status=$?    ac_status=$?
2675    echo "$as_me:2694: \$? = $ac_status" >&5    echo "$as_me:2675: \$? = $ac_status" >&5
2676    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2677      cross_compiling=no      cross_compiling=no
2678    else    else
2679      if test "$cross_compiling" = maybe; then      if test "$cross_compiling" = maybe; then
2680          cross_compiling=yes          cross_compiling=yes
2681      else      else
2682          { { echo "$as_me:2701: error: cannot run C compiled programs.          { { echo "$as_me:2682: error: cannot run C compiled programs.
2683  If you meant to cross compile, use \`--host'." >&5  If you meant to cross compile, use \`--host'." >&5
2684  echo "$as_me: error: cannot run C compiled programs.  echo "$as_me: error: cannot run C compiled programs.
2685  If you meant to cross compile, use \`--host'." >&2;}  If you meant to cross compile, use \`--host'." >&2;}
# Line 2707  If you meant to cross compile, use \`--h Line 2687  If you meant to cross compile, use \`--h
2687      fi      fi
2688    fi    fi
2689  fi  fi
2690  echo "$as_me:2709: result: yes" >&5  echo "$as_me:2690: result: yes" >&5
2691  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
2692    
2693  rm -f a.out a.exe conftest$ac_cv_exeext  rm -f a.out a.exe conftest$ac_cv_exeext
2694  ac_clean_files=$ac_clean_files_save  ac_clean_files=$ac_clean_files_save
2695  # Check the compiler produces executables we can run.  If not, either  # Check the compiler produces executables we can run.  If not, either
2696  # the compiler is broken, or we cross compile.  # the compiler is broken, or we cross compile.
2697  echo "$as_me:2716: checking whether we are cross compiling" >&5  echo "$as_me:2697: checking whether we are cross compiling" >&5
2698  echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6  echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2699  echo "$as_me:2718: result: $cross_compiling" >&5  echo "$as_me:2699: result: $cross_compiling" >&5
2700  echo "${ECHO_T}$cross_compiling" >&6  echo "${ECHO_T}$cross_compiling" >&6
2701    
2702  echo "$as_me:2721: checking for executable suffix" >&5  echo "$as_me:2702: checking for executable suffix" >&5
2703  echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6  echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
2704  if { (eval echo "$as_me:2723: \"$ac_link\"") >&5  if { (eval echo "$as_me:2704: \"$ac_link\"") >&5
2705    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
2706    ac_status=$?    ac_status=$?
2707    echo "$as_me:2726: \$? = $ac_status" >&5    echo "$as_me:2707: \$? = $ac_status" >&5
2708    (exit $ac_status); }; then    (exit $ac_status); }; then
2709    # If both `conftest.exe' and `conftest' are `present' (well, observable)    # If both `conftest.exe' and `conftest' are `present' (well, observable)
2710  # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will  # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
# Line 2740  for ac_file in `(ls conftest.exe; ls con Line 2720  for ac_file in `(ls conftest.exe; ls con
2720    esac    esac
2721  done  done
2722  else  else
2723    { { echo "$as_me:2742: error: cannot compute EXEEXT: cannot compile and link" >&5    { { echo "$as_me:2723: error: cannot compute EXEEXT: cannot compile and link" >&5
2724  echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}  echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
2725     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
2726  fi  fi
2727    
2728  rm -f conftest$ac_cv_exeext  rm -f conftest$ac_cv_exeext
2729  echo "$as_me:2748: result: $ac_cv_exeext" >&5  echo "$as_me:2729: result: $ac_cv_exeext" >&5
2730  echo "${ECHO_T}$ac_cv_exeext" >&6  echo "${ECHO_T}$ac_cv_exeext" >&6
2731    
2732  rm -f conftest.$ac_ext  rm -f conftest.$ac_ext
2733  EXEEXT=$ac_cv_exeext  EXEEXT=$ac_cv_exeext
2734  ac_exeext=$EXEEXT  ac_exeext=$EXEEXT
2735  echo "$as_me:2754: checking for object suffix" >&5  echo "$as_me:2735: checking for object suffix" >&5
2736  echo $ECHO_N "checking for object suffix... $ECHO_C" >&6  echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
2737  if test "${ac_cv_objext+set}" = set; then  if test "${ac_cv_objext+set}" = set; then
2738    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2739  else  else
2740    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2741  #line 2755 "configure"  #line 2741 "configure"
2742  #include "confdefs.h"  #include "confdefs.h"
2743    
2744  int  int
# Line 2770  main () Line 2750  main ()
2750  }  }
2751  _ACEOF  _ACEOF
2752  rm -f conftest.o conftest.obj  rm -f conftest.o conftest.obj
2753  if { (eval echo "$as_me:2772: \"$ac_compile\"") >&5  if { (eval echo "$as_me:2753: \"$ac_compile\"") >&5
2754    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
2755    ac_status=$?    ac_status=$?
2756    echo "$as_me:2775: \$? = $ac_status" >&5    echo "$as_me:2756: \$? = $ac_status" >&5
2757    (exit $ac_status); }; then    (exit $ac_status); }; then
2758    for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do    for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2759    case $ac_file in    case $ac_file in
# Line 2785  done Line 2765  done
2765  else  else
2766    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
2767  cat conftest.$ac_ext >&5  cat conftest.$ac_ext >&5
2768  { { echo "$as_me:2787: error: cannot compute OBJEXT: cannot compile" >&5  { { echo "$as_me:2768: error: cannot compute OBJEXT: cannot compile" >&5
2769  echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}  echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
2770     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
2771  fi  fi
2772    
2773  rm -f conftest.$ac_cv_objext conftest.$ac_ext  rm -f conftest.$ac_cv_objext conftest.$ac_ext
2774  fi  fi
2775  echo "$as_me:2794: result: $ac_cv_objext" >&5  echo "$as_me:2775: result: $ac_cv_objext" >&5
2776  echo "${ECHO_T}$ac_cv_objext" >&6  echo "${ECHO_T}$ac_cv_objext" >&6
2777  OBJEXT=$ac_cv_objext  OBJEXT=$ac_cv_objext
2778  ac_objext=$OBJEXT  ac_objext=$OBJEXT
2779  echo "$as_me:2798: checking whether we are using the GNU C compiler" >&5  echo "$as_me:2779: checking whether we are using the GNU C compiler" >&5
2780  echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6  echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2781  if test "${ac_cv_c_compiler_gnu+set}" = set; then  if test "${ac_cv_c_compiler_gnu+set}" = set; then
2782    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2783  else  else
2784    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2785  #line 2799 "configure"  #line 2785 "configure"
2786  #include "confdefs.h"  #include "confdefs.h"
2787    
2788  int  int
# Line 2817  main () Line 2797  main ()
2797  }  }
2798  _ACEOF  _ACEOF
2799  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2800  if { (eval echo "$as_me:2819: \"$ac_compile\"") >&5  if { (eval echo "$as_me:2800: \"$ac_compile\"") >&5
2801    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
2802    ac_status=$?    ac_status=$?
2803    echo "$as_me:2822: \$? = $ac_status" >&5    echo "$as_me:2803: \$? = $ac_status" >&5
2804    (exit $ac_status); } &&    (exit $ac_status); } &&
2805           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
2806    { (eval echo "$as_me:2825: \"$ac_try\"") >&5    { (eval echo "$as_me:2806: \"$ac_try\"") >&5
2807    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2808    ac_status=$?    ac_status=$?
2809    echo "$as_me:2828: \$? = $ac_status" >&5    echo "$as_me:2809: \$? = $ac_status" >&5
2810    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2811    ac_compiler_gnu=yes    ac_compiler_gnu=yes
2812  else  else
# Line 2838  rm -f conftest.$ac_objext conftest.$ac_e Line 2818  rm -f conftest.$ac_objext conftest.$ac_e
2818  ac_cv_c_compiler_gnu=$ac_compiler_gnu  ac_cv_c_compiler_gnu=$ac_compiler_gnu
2819    
2820  fi  fi
2821  echo "$as_me:2840: result: $ac_cv_c_compiler_gnu" >&5  echo "$as_me:2821: result: $ac_cv_c_compiler_gnu" >&5
2822  echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6  echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2823  GCC=`test $ac_compiler_gnu = yes && echo yes`  GCC=`test $ac_compiler_gnu = yes && echo yes`
2824  ac_test_CFLAGS=${CFLAGS+set}  ac_test_CFLAGS=${CFLAGS+set}
2825  ac_save_CFLAGS=$CFLAGS  ac_save_CFLAGS=$CFLAGS
2826  CFLAGS="-g"  CFLAGS="-g"
2827  echo "$as_me:2846: checking whether $CC accepts -g" >&5  echo "$as_me:2827: checking whether $CC accepts -g" >&5
2828  echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6  echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2829  if test "${ac_cv_prog_cc_g+set}" = set; then  if test "${ac_cv_prog_cc_g+set}" = set; then
2830    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2831  else  else
2832    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2833  #line 2847 "configure"  #line 2833 "configure"
2834  #include "confdefs.h"  #include "confdefs.h"
2835    
2836  int  int
# Line 2862  main () Line 2842  main ()
2842  }  }
2843  _ACEOF  _ACEOF
2844  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2845  if { (eval echo "$as_me:2864: \"$ac_compile\"") >&5  if { (eval echo "$as_me:2845: \"$ac_compile\"") >&5
2846    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
2847    ac_status=$?    ac_status=$?
2848    echo "$as_me:2867: \$? = $ac_status" >&5    echo "$as_me:2848: \$? = $ac_status" >&5
2849    (exit $ac_status); } &&    (exit $ac_status); } &&
2850           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
2851    { (eval echo "$as_me:2870: \"$ac_try\"") >&5    { (eval echo "$as_me:2851: \"$ac_try\"") >&5
2852    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2853    ac_status=$?    ac_status=$?
2854    echo "$as_me:2873: \$? = $ac_status" >&5    echo "$as_me:2854: \$? = $ac_status" >&5
2855    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2856    ac_cv_prog_cc_g=yes    ac_cv_prog_cc_g=yes
2857  else  else
# Line 2881  ac_cv_prog_cc_g=no Line 2861  ac_cv_prog_cc_g=no
2861  fi  fi
2862  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
2863  fi  fi
2864  echo "$as_me:2883: result: $ac_cv_prog_cc_g" >&5  echo "$as_me:2864: result: $ac_cv_prog_cc_g" >&5
2865  echo "${ECHO_T}$ac_cv_prog_cc_g" >&6  echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2866  if test "$ac_test_CFLAGS" = set; then  if test "$ac_test_CFLAGS" = set; then
2867    CFLAGS=$ac_save_CFLAGS    CFLAGS=$ac_save_CFLAGS
# Line 2908  cat >conftest.$ac_ext <<_ACEOF Line 2888  cat >conftest.$ac_ext <<_ACEOF
2888  #endif  #endif
2889  _ACEOF  _ACEOF
2890  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2891  if { (eval echo "$as_me:2910: \"$ac_compile\"") >&5  if { (eval echo "$as_me:2891: \"$ac_compile\"") >&5
2892    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
2893    ac_status=$?    ac_status=$?
2894    echo "$as_me:2913: \$? = $ac_status" >&5    echo "$as_me:2894: \$? = $ac_status" >&5
2895    (exit $ac_status); } &&    (exit $ac_status); } &&
2896           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
2897    { (eval echo "$as_me:2916: \"$ac_try\"") >&5    { (eval echo "$as_me:2897: \"$ac_try\"") >&5
2898    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2899    ac_status=$?    ac_status=$?
2900    echo "$as_me:2919: \$? = $ac_status" >&5    echo "$as_me:2900: \$? = $ac_status" >&5
2901    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2902    for ac_declaration in \    for ac_declaration in \
2903     ''\     ''\
# Line 2929  if { (eval echo "$as_me:2910: \"$ac_comp Line 2909  if { (eval echo "$as_me:2910: \"$ac_comp
2909     'void exit (int);'     'void exit (int);'
2910  do  do
2911    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2912  #line 2926 "configure"  #line 2912 "configure"
2913  #include "confdefs.h"  #include "confdefs.h"
2914  #include <stdlib.h>  #include <stdlib.h>
2915  $ac_declaration  $ac_declaration
# Line 2942  exit (42); Line 2922  exit (42);
2922  }  }
2923  _ACEOF  _ACEOF
2924  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2925  if { (eval echo "$as_me:2944: \"$ac_compile\"") >&5  if { (eval echo "$as_me:2925: \"$ac_compile\"") >&5
2926    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
2927    ac_status=$?    ac_status=$?
2928    echo "$as_me:2947: \$? = $ac_status" >&5    echo "$as_me:2928: \$? = $ac_status" >&5
2929    (exit $ac_status); } &&    (exit $ac_status); } &&
2930           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
2931    { (eval echo "$as_me:2950: \"$ac_try\"") >&5    { (eval echo "$as_me:2931: \"$ac_try\"") >&5
2932    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2933    ac_status=$?    ac_status=$?
2934    echo "$as_me:2953: \$? = $ac_status" >&5    echo "$as_me:2934: \$? = $ac_status" >&5
2935    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2936    :    :
2937  else  else
# Line 2961  continue Line 2941  continue
2941  fi  fi
2942  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
2943    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2944  #line 2958 "configure"  #line 2944 "configure"
2945  #include "confdefs.h"  #include "confdefs.h"
2946  $ac_declaration  $ac_declaration
2947  int  int
# Line 2973  exit (42); Line 2953  exit (42);
2953  }  }
2954  _ACEOF  _ACEOF
2955  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2956  if { (eval echo "$as_me:2975: \"$ac_compile\"") >&5  if { (eval echo "$as_me:2956: \"$ac_compile\"") >&5
2957    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
2958    ac_status=$?    ac_status=$?
2959    echo "$as_me:2978: \$? = $ac_status" >&5    echo "$as_me:2959: \$? = $ac_status" >&5
2960    (exit $ac_status); } &&    (exit $ac_status); } &&
2961           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
2962    { (eval echo "$as_me:2981: \"$ac_try\"") >&5    { (eval echo "$as_me:2962: \"$ac_try\"") >&5
2963    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2964    ac_status=$?    ac_status=$?
2965    echo "$as_me:2984: \$? = $ac_status" >&5    echo "$as_me:2965: \$? = $ac_status" >&5
2966    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2967    break    break
2968  else  else
# Line 3055  fi Line 3035  fi
3035  #### should make an entry in src/config.h, don't forget to add an  #### should make an entry in src/config.h, don't forget to add an
3036  #### #undef clause to src/config.h.in for autoconf to modify.  #### #undef clause to src/config.h.in for autoconf to modify.
3037    
3038  echo "$as_me:3057: checking whether ln -s works" >&5  echo "$as_me:3038: checking whether ln -s works" >&5
3039  echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6  echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3040  LN_S=$as_ln_s  LN_S=$as_ln_s
3041  if test "$LN_S" = "ln -s"; then  if test "$LN_S" = "ln -s"; then
3042    echo "$as_me:3061: result: yes" >&5    echo "$as_me:3042: result: yes" >&5
3043  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
3044  else  else
3045    echo "$as_me:3064: result: no, using $LN_S" >&5    echo "$as_me:3045: result: no, using $LN_S" >&5
3046  echo "${ECHO_T}no, using $LN_S" >&6  echo "${ECHO_T}no, using $LN_S" >&6
3047  fi  fi
3048    
# Line 3071  ac_cpp='$CPP $CPPFLAGS' Line 3051  ac_cpp='$CPP $CPPFLAGS'
3051  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3052  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3053  ac_compiler_gnu=$ac_cv_c_compiler_gnu  ac_compiler_gnu=$ac_cv_c_compiler_gnu
3054  echo "$as_me:3073: checking how to run the C preprocessor" >&5  echo "$as_me:3054: checking how to run the C preprocessor" >&5
3055  echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6  echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3056  # On Suns, sometimes $CPP names a directory.  # On Suns, sometimes $CPP names a directory.
3057  if test -n "$CPP" && test -d "$CPP"; then  if test -n "$CPP" && test -d "$CPP"; then
# Line 3092  do Line 3072  do
3072    # On the NeXT, cc -E runs the code through the compiler's parser,    # On the NeXT, cc -E runs the code through the compiler's parser,
3073    # not just through cpp. "Syntax error" is here to catch this case.    # not just through cpp. "Syntax error" is here to catch this case.
3074    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3075  #line 3089 "configure"  #line 3075 "configure"
3076  #include "confdefs.h"  #include "confdefs.h"
3077  #include <assert.h>  #include <assert.h>
3078                       Syntax error                       Syntax error
3079  _ACEOF  _ACEOF
3080  if { (eval echo "$as_me:3099: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:3080: \"$ac_cpp conftest.$ac_ext\"") >&5
3081    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3082    ac_status=$?    ac_status=$?
3083    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
3084    rm -f conftest.er1    rm -f conftest.er1
3085    cat conftest.err >&5    cat conftest.err >&5
3086    echo "$as_me:3105: \$? = $ac_status" >&5    echo "$as_me:3086: \$? = $ac_status" >&5
3087    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
3088    if test -s conftest.err; then    if test -s conftest.err; then
3089      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 3126  rm -f conftest.err conftest.$ac_ext Line 3106  rm -f conftest.err conftest.$ac_ext
3106    # OK, works on sane cases.  Now check whether non-existent headers    # OK, works on sane cases.  Now check whether non-existent headers
3107    # can be detected and how.    # can be detected and how.
3108    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3109  #line 3123 "configure"  #line 3109 "configure"
3110  #include "confdefs.h"  #include "confdefs.h"
3111  #include <ac_nonexistent.h>  #include <ac_nonexistent.h>
3112  _ACEOF  _ACEOF
3113  if { (eval echo "$as_me:3132: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:3113: \"$ac_cpp conftest.$ac_ext\"") >&5
3114    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3115    ac_status=$?    ac_status=$?
3116    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
3117    rm -f conftest.er1    rm -f conftest.er1
3118    cat conftest.err >&5    cat conftest.err >&5
3119    echo "$as_me:3138: \$? = $ac_status" >&5    echo "$as_me:3119: \$? = $ac_status" >&5
3120    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
3121    if test -s conftest.err; then    if test -s conftest.err; then
3122      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 3173  fi Line 3153  fi
3153  else  else
3154    ac_cv_prog_CPP=$CPP    ac_cv_prog_CPP=$CPP
3155  fi  fi
3156  echo "$as_me:3175: result: $CPP" >&5  echo "$as_me:3156: result: $CPP" >&5
3157  echo "${ECHO_T}$CPP" >&6  echo "${ECHO_T}$CPP" >&6
3158  ac_preproc_ok=false  ac_preproc_ok=false
3159  for ac_c_preproc_warn_flag in '' yes  for ac_c_preproc_warn_flag in '' yes
# Line 3183  do Line 3163  do
3163    # On the NeXT, cc -E runs the code through the compiler's parser,    # On the NeXT, cc -E runs the code through the compiler's parser,
3164    # not just through cpp. "Syntax error" is here to catch this case.    # not just through cpp. "Syntax error" is here to catch this case.
3165    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3166  #line 3180 "configure"  #line 3166 "configure"
3167  #include "confdefs.h"  #include "confdefs.h"
3168  #include <assert.h>  #include <assert.h>
3169                       Syntax error                       Syntax error
3170  _ACEOF  _ACEOF
3171  if { (eval echo "$as_me:3190: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:3171: \"$ac_cpp conftest.$ac_ext\"") >&5
3172    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3173    ac_status=$?    ac_status=$?
3174    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
3175    rm -f conftest.er1    rm -f conftest.er1
3176    cat conftest.err >&5    cat conftest.err >&5
3177    echo "$as_me:3196: \$? = $ac_status" >&5    echo "$as_me:3177: \$? = $ac_status" >&5
3178    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
3179    if test -s conftest.err; then    if test -s conftest.err; then
3180      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 3217  rm -f conftest.err conftest.$ac_ext Line 3197  rm -f conftest.err conftest.$ac_ext
3197    # OK, works on sane cases.  Now check whether non-existent headers    # OK, works on sane cases.  Now check whether non-existent headers
3198    # can be detected and how.    # can be detected and how.
3199    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3200  #line 3214 "configure"  #line 3200 "configure"
3201  #include "confdefs.h"  #include "confdefs.h"
3202  #include <ac_nonexistent.h>  #include <ac_nonexistent.h>
3203  _ACEOF  _ACEOF
3204  if { (eval echo "$as_me:3223: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:3204: \"$ac_cpp conftest.$ac_ext\"") >&5
3205    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3206    ac_status=$?    ac_status=$?
3207    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
3208    rm -f conftest.er1    rm -f conftest.er1
3209    cat conftest.err >&5    cat conftest.err >&5
3210    echo "$as_me:3229: \$? = $ac_status" >&5    echo "$as_me:3210: \$? = $ac_status" >&5
3211    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
3212    if test -s conftest.err; then    if test -s conftest.err; then
3213      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 3255  rm -f conftest.err conftest.$ac_ext Line 3235  rm -f conftest.err conftest.$ac_ext
3235  if $ac_preproc_ok; then  if $ac_preproc_ok; then
3236    :    :
3237  else  else
3238    { { echo "$as_me:3257: error: C preprocessor \"$CPP\" fails sanity check" >&5    { { echo "$as_me:3238: error: C preprocessor \"$CPP\" fails sanity check" >&5
3239  echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}  echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
3240     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
3241  fi  fi
# Line 3278  ac_compiler_gnu=$ac_cv_c_compiler_gnu Line 3258  ac_compiler_gnu=$ac_cv_c_compiler_gnu
3258  # AFS /usr/afsws/bin/install, which mishandles nonexistent args  # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3259  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3260  # ./install, which can be erroneously created by make from ./install.sh.  # ./install, which can be erroneously created by make from ./install.sh.
3261  echo "$as_me:3280: checking for a BSD compatible install" >&5  echo "$as_me:3261: checking for a BSD compatible install" >&5
3262  echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6  echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
3263  if test -z "$INSTALL"; then  if test -z "$INSTALL"; then
3264  if test "${ac_cv_path_install+set}" = set; then  if test "${ac_cv_path_install+set}" = set; then
# Line 3327  fi Line 3307  fi
3307      INSTALL=$ac_install_sh      INSTALL=$ac_install_sh
3308    fi    fi
3309  fi  fi
3310  echo "$as_me:3329: result: $INSTALL" >&5  echo "$as_me:3310: result: $INSTALL" >&5
3311  echo "${ECHO_T}$INSTALL" >&6  echo "${ECHO_T}$INSTALL" >&6
3312    
3313  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
# Line 3342  for ac_prog in 'bison -y' byacc Line 3322  for ac_prog in 'bison -y' byacc
3322  do  do
3323    # Extract the first word of "$ac_prog", so it can be a program name with args.    # Extract the first word of "$ac_prog", so it can be a program name with args.
3324  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
3325  echo "$as_me:3344: checking for $ac_word" >&5  echo "$as_me:3325: checking for $ac_word" >&5
3326  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3327  if test "${ac_cv_prog_YACC+set}" = set; then  if test "${ac_cv_prog_YACC+set}" = set; then
3328    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3357  for ac_dir in $ac_dummy; do Line 3337  for ac_dir in $ac_dummy; do
3337    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
3338    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
3339  ac_cv_prog_YACC="$ac_prog"  ac_cv_prog_YACC="$ac_prog"
3340  echo "$as_me:3359: found $ac_dir/$ac_word" >&5  echo "$as_me:3340: found $ac_dir/$ac_word" >&5
3341  break  break
3342  done  done
3343    
# Line 3365  fi Line 3345  fi
3345  fi  fi
3346  YACC=$ac_cv_prog_YACC  YACC=$ac_cv_prog_YACC
3347  if test -n "$YACC"; then  if test -n "$YACC"; then
3348    echo "$as_me:3367: result: $YACC" >&5    echo "$as_me:3348: result: $YACC" >&5
3349  echo "${ECHO_T}$YACC" >&6  echo "${ECHO_T}$YACC" >&6
3350  else  else
3351    echo "$as_me:3370: result: no" >&5    echo "$as_me:3351: result: no" >&5
3352  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
3353  fi  fi
3354    
# Line 3380  if test "x$RANLIB" = x; then Line 3360  if test "x$RANLIB" = x; then
3360    if test -n "$ac_tool_prefix"; then    if test -n "$ac_tool_prefix"; then
3361    # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.    # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3362  set dummy ${ac_tool_prefix}ranlib; ac_word=$2  set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3363  echo "$as_me:3382: checking for $ac_word" >&5  echo "$as_me:3363: checking for $ac_word" >&5
3364  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3365  if test "${ac_cv_prog_RANLIB+set}" = set; then  if test "${ac_cv_prog_RANLIB+set}" = set; then
3366    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3395  for ac_dir in $ac_dummy; do Line 3375  for ac_dir in $ac_dummy; do
3375    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
3376    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
3377  ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"  ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3378  echo "$as_me:3397: found $ac_dir/$ac_word" >&5  echo "$as_me:3378: found $ac_dir/$ac_word" >&5
3379  break  break
3380  done  done
3381    
# Line 3403  fi Line 3383  fi
3383  fi  fi
3384  RANLIB=$ac_cv_prog_RANLIB  RANLIB=$ac_cv_prog_RANLIB
3385  if test -n "$RANLIB"; then  if test -n "$RANLIB"; then
3386    echo "$as_me:3405: result: $RANLIB" >&5    echo "$as_me:3386: result: $RANLIB" >&5
3387  echo "${ECHO_T}$RANLIB" >&6  echo "${ECHO_T}$RANLIB" >&6
3388  else  else
3389    echo "$as_me:3408: result: no" >&5    echo "$as_me:3389: result: no" >&5
3390  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
3391  fi  fi
3392    
# Line 3415  if test -z "$ac_cv_prog_RANLIB"; then Line 3395  if test -z "$ac_cv_prog_RANLIB"; then
3395    ac_ct_RANLIB=$RANLIB    ac_ct_RANLIB=$RANLIB
3396    # Extract the first word of "ranlib", so it can be a program name with args.    # Extract the first word of "ranlib", so it can be a program name with args.
3397  set dummy ranlib; ac_word=$2  set dummy ranlib; ac_word=$2
3398  echo "$as_me:3417: checking for $ac_word" >&5  echo "$as_me:3398: checking for $ac_word" >&5
3399  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3400  if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then  if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3401    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3430  for ac_dir in $ac_dummy; do Line 3410  for ac_dir in $ac_dummy; do
3410    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
3411    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
3412  ac_cv_prog_ac_ct_RANLIB="ranlib"  ac_cv_prog_ac_ct_RANLIB="ranlib"
3413  echo "$as_me:3432: found $ac_dir/$ac_word" >&5  echo "$as_me:3413: found $ac_dir/$ac_word" >&5
3414  break  break
3415  done  done
3416    
# Line 3439  fi Line 3419  fi
3419  fi  fi
3420  ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB  ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3421  if test -n "$ac_ct_RANLIB"; then  if test -n "$ac_ct_RANLIB"; then
3422    echo "$as_me:3441: result: $ac_ct_RANLIB" >&5    echo "$as_me:3422: result: $ac_ct_RANLIB" >&5
3423  echo "${ECHO_T}$ac_ct_RANLIB" >&6  echo "${ECHO_T}$ac_ct_RANLIB" >&6
3424  else  else
3425    echo "$as_me:3444: result: no" >&5    echo "$as_me:3425: result: no" >&5
3426  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
3427  fi  fi
3428    
# Line 3453  fi Line 3433  fi
3433    
3434  fi  fi
3435    
3436  echo "$as_me:3455: checking for AIX" >&5  echo "$as_me:3436: checking for AIX" >&5
3437  echo $ECHO_N "checking for AIX... $ECHO_C" >&6  echo $ECHO_N "checking for AIX... $ECHO_C" >&6
3438  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
3439  #line 3453 "configure"  #line 3439 "configure"
3440  #include "confdefs.h"  #include "confdefs.h"
3441  #ifdef _AIX  #ifdef _AIX
3442    yes    yes
# Line 3465  cat >conftest.$ac_ext <<_ACEOF Line 3445  cat >conftest.$ac_ext <<_ACEOF
3445  _ACEOF  _ACEOF
3446  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3447    egrep "yes" >/dev/null 2>&1; then    egrep "yes" >/dev/null 2>&1; then
3448    echo "$as_me:3467: result: yes" >&5    echo "$as_me:3448: result: yes" >&5
3449  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
3450  cat >>confdefs.h <<\EOF  cat >>confdefs.h <<\EOF
3451  #define _ALL_SOURCE 1  #define _ALL_SOURCE 1
3452  EOF  EOF
3453    
3454  else  else
3455    echo "$as_me:3474: result: no" >&5    echo "$as_me:3455: result: no" >&5
3456  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
3457  fi  fi
3458  rm -f conftest*  rm -f conftest*
3459    
3460  #### Extract some information from the operating system and machine files.  #### Extract some information from the operating system and machine files.
3461    
3462  { echo "$as_me:3481: checking the machine- and system-dependent files to find out  { echo "$as_me:3462: checking the machine- and system-dependent files to find out
3463   - which libraries the lib-src programs will want, and   - which libraries the lib-src programs will want, and
3464   - whether the GNU malloc routines are usable..." >&5   - whether the GNU malloc routines are usable..." >&5
3465  echo "$as_me: checking the machine- and system-dependent files to find out  echo "$as_me: checking the machine- and system-dependent files to find out
# Line 3629  if test "${enable_largefile+set}" = set; Line 3609  if test "${enable_largefile+set}" = set;
3609  fi;  fi;
3610  if test "$enable_largefile" != no; then  if test "$enable_largefile" != no; then
3611    
3612    echo "$as_me:3631: checking for special C compiler options needed for large files" >&5    echo "$as_me:3612: checking for special C compiler options needed for large files" >&5
3613  echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6  echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
3614  if test "${ac_cv_sys_largefile_CC+set}" = set; then  if test "${ac_cv_sys_largefile_CC+set}" = set; then
3615    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3641  else Line 3621  else
3621           # IRIX 6.2 and later do not support large files by default,           # IRIX 6.2 and later do not support large files by default,
3622           # so use the C compiler's -n32 option if that helps.           # so use the C compiler's -n32 option if that helps.
3623           cat >conftest.$ac_ext <<_ACEOF           cat >conftest.$ac_ext <<_ACEOF
3624  #line 3638 "configure"  #line 3624 "configure"
3625  #include "confdefs.h"  #include "confdefs.h"
3626  #include <sys/types.h>  #include <sys/types.h>
3627   /* Check that off_t can represent 2**63 - 1 correctly.   /* Check that off_t can represent 2**63 - 1 correctly.
# Line 3661  main () Line 3641  main ()
3641  }  }
3642  _ACEOF  _ACEOF
3643           rm -f conftest.$ac_objext           rm -f conftest.$ac_objext
3644  if { (eval echo "$as_me:3663: \"$ac_compile\"") >&5  if { (eval echo "$as_me:3644: \"$ac_compile\"") >&5
3645    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
3646    ac_status=$?    ac_status=$?
3647    echo "$as_me:3666: \$? = $ac_status" >&5    echo "$as_me:3647: \$? = $ac_status" >&5
3648    (exit $ac_status); } &&    (exit $ac_status); } &&
3649           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
3650    { (eval echo "$as_me:3669: \"$ac_try\"") >&5    { (eval echo "$as_me:3650: \"$ac_try\"") >&5
3651    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3652    ac_status=$?    ac_status=$?
3653    echo "$as_me:3672: \$? = $ac_status" >&5    echo "$as_me:3653: \$? = $ac_status" >&5
3654    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3655    break    break
3656  else  else
# Line 3680  fi Line 3660  fi
3660  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
3661           CC="$CC -n32"           CC="$CC -n32"
3662           rm -f conftest.$ac_objext           rm -f conftest.$ac_objext
3663  if { (eval echo "$as_me:3682: \"$ac_compile\"") >&5  if { (eval echo "$as_me:3663: \"$ac_compile\"") >&5
3664    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
3665    ac_status=$?    ac_status=$?
3666    echo "$as_me:3685: \$? = $ac_status" >&5    echo "$as_me:3666: \$? = $ac_status" >&5
3667    (exit $ac_status); } &&    (exit $ac_status); } &&
3668           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
3669    { (eval echo "$as_me:3688: \"$ac_try\"") >&5    { (eval echo "$as_me:3669: \"$ac_try\"") >&5
3670    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3671    ac_status=$?    ac_status=$?
3672    echo "$as_me:3691: \$? = $ac_status" >&5    echo "$as_me:3672: \$? = $ac_status" >&5
3673    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3674    ac_cv_sys_largefile_CC=' -n32'; break    ac_cv_sys_largefile_CC=' -n32'; break
3675  else  else
# Line 3703  rm -f conftest.$ac_objext Line 3683  rm -f conftest.$ac_objext
3683         rm -f conftest.$ac_ext         rm -f conftest.$ac_ext
3684      fi      fi
3685  fi  fi
3686  echo "$as_me:3705: result: $ac_cv_sys_largefile_CC" >&5  echo "$as_me:3686: result: $ac_cv_sys_largefile_CC" >&5
3687  echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6  echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
3688    if test "$ac_cv_sys_largefile_CC" != no; then    if test "$ac_cv_sys_largefile_CC" != no; then
3689      CC=$CC$ac_cv_sys_largefile_CC      CC=$CC$ac_cv_sys_largefile_CC
3690    fi    fi
3691    
3692    echo "$as_me:3711: checking for _FILE_OFFSET_BITS value needed for large files" >&5    echo "$as_me:3692: checking for _FILE_OFFSET_BITS value needed for large files" >&5
3693  echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6  echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
3694  if test "${ac_cv_sys_file_offset_bits+set}" = set; then  if test "${ac_cv_sys_file_offset_bits+set}" = set; then
3695    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3717  else Line 3697  else
3697    while :; do    while :; do
3698    ac_cv_sys_file_offset_bits=no    ac_cv_sys_file_offset_bits=no
3699    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3700  #line 3714 "configure"  #line 3700 "configure"
3701  #include "confdefs.h"  #include "confdefs.h"
3702  #include <sys/types.h>  #include <sys/types.h>
3703   /* Check that off_t can represent 2**63 - 1 correctly.   /* Check that off_t can represent 2**63 - 1 correctly.
# Line 3737  main () Line 3717  main ()
3717  }  }
3718  _ACEOF  _ACEOF
3719  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
3720  if { (eval echo "$as_me:3739: \"$ac_compile\"") >&5  if { (eval echo "$as_me:3720: \"$ac_compile\"") >&5
3721    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
3722    ac_status=$?    ac_status=$?
3723    echo "$as_me:3742: \$? = $ac_status" >&5    echo "$as_me:3723: \$? = $ac_status" >&5
3724    (exit $ac_status); } &&    (exit $ac_status); } &&
3725           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
3726    { (eval echo "$as_me:3745: \"$ac_try\"") >&5    { (eval echo "$as_me:3726: \"$ac_try\"") >&5
3727    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3728    ac_status=$?    ac_status=$?
3729    echo "$as_me:3748: \$? = $ac_status" >&5    echo "$as_me:3729: \$? = $ac_status" >&5
3730    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3731    break    break
3732  else  else
# Line 3755  cat conftest.$ac_ext >&5 Line 3735  cat conftest.$ac_ext >&5
3735  fi  fi
3736  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
3737    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3738  #line 3752 "configure"  #line 3738 "configure"
3739  #include "confdefs.h"  #include "confdefs.h"
3740  #define _FILE_OFFSET_BITS 64  #define _FILE_OFFSET_BITS 64
3741  #include <sys/types.h>  #include <sys/types.h>
# Line 3776  main () Line 3756  main ()
3756  }  }
3757  _ACEOF  _ACEOF
3758  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
3759  if { (eval echo "$as_me:3778: \"$ac_compile\"") >&5  if { (eval echo "$as_me:3759: \"$ac_compile\"") >&5
3760    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
3761    ac_status=$?    ac_status=$?
3762    echo "$as_me:3781: \$? = $ac_status" >&5    echo "$as_me:3762: \$? = $ac_status" >&5
3763    (exit $ac_status); } &&    (exit $ac_status); } &&
3764           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
3765    { (eval echo "$as_me:3784: \"$ac_try\"") >&5    { (eval echo "$as_me:3765: \"$ac_try\"") >&5
3766    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3767    ac_status=$?    ac_status=$?
3768    echo "$as_me:3787: \$? = $ac_status" >&5    echo "$as_me:3768: \$? = $ac_status" >&5
3769    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3770    ac_cv_sys_file_offset_bits=64; break    ac_cv_sys_file_offset_bits=64; break
3771  else  else
# Line 3796  rm -f conftest.$ac_objext conftest.$ac_e Line 3776  rm -f conftest.$ac_objext conftest.$ac_e
3776    break    break
3777  done  done
3778  fi  fi
3779  echo "$as_me:3798: result: $ac_cv_sys_file_offset_bits" >&5  echo "$as_me:3779: result: $ac_cv_sys_file_offset_bits" >&5
3780  echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6  echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
3781  if test "$ac_cv_sys_file_offset_bits" != no; then  if test "$ac_cv_sys_file_offset_bits" != no; then
3782    
# Line 3806  EOF Line 3786  EOF
3786    
3787  fi  fi
3788  rm -f conftest*  rm -f conftest*
3789    echo "$as_me:3808: checking for _LARGE_FILES value needed for large files" >&5    echo "$as_me:3789: checking for _LARGE_FILES value needed for large files" >&5
3790  echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6  echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
3791  if test "${ac_cv_sys_large_files+set}" = set; then  if test "${ac_cv_sys_large_files+set}" = set; then
3792    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3814  else Line 3794  else
3794    while :; do    while :; do
3795    ac_cv_sys_large_files=no    ac_cv_sys_large_files=no
3796    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3797  #line 3811 "configure"  #line 3797 "configure"
3798  #include "confdefs.h"  #include "confdefs.h"
3799  #include <sys/types.h>  #include <sys/types.h>
3800   /* Check that off_t can represent 2**63 - 1 correctly.   /* Check that off_t can represent 2**63 - 1 correctly.
# Line 3834  main () Line 3814  main ()
3814  }  }
3815  _ACEOF  _ACEOF
3816  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
3817  if { (eval echo "$as_me:3836: \"$ac_compile\"") >&5  if { (eval echo "$as_me:3817: \"$ac_compile\"") >&5
3818    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
3819    ac_status=$?    ac_status=$?
3820    echo "$as_me:3839: \$? = $ac_status" >&5    echo "$as_me:3820: \$? = $ac_status" >&5
3821    (exit $ac_status); } &&    (exit $ac_status); } &&
3822           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
3823    { (eval echo "$as_me:3842: \"$ac_try\"") >&5    { (eval echo "$as_me:3823: \"$ac_try\"") >&5
3824    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3825    ac_status=$?    ac_status=$?
3826    echo "$as_me:3845: \$? = $ac_status" >&5    echo "$as_me:3826: \$? = $ac_status" >&5
3827    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3828    break    break
3829  else  else
# Line 3852  cat conftest.$ac_ext >&5 Line 3832  cat conftest.$ac_ext >&5
3832  fi  fi
3833  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
3834    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3835  #line 3849 "configure"  #line 3835 "configure"
3836  #include "confdefs.h"  #include "confdefs.h"
3837  #define _LARGE_FILES 1  #define _LARGE_FILES 1
3838  #include <sys/types.h>  #include <sys/types.h>
# Line 3873  main () Line 3853  main ()
3853  }  }
3854  _ACEOF  _ACEOF
3855  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
3856  if { (eval echo "$as_me:3875: \"$ac_compile\"") >&5  if { (eval echo "$as_me:3856: \"$ac_compile\"") >&5
3857    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
3858    ac_status=$?    ac_status=$?
3859    echo "$as_me:3878: \$? = $ac_status" >&5    echo "$as_me:3859: \$? = $ac_status" >&5
3860    (exit $ac_status); } &&    (exit $ac_status); } &&
3861           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
3862    { (eval echo "$as_me:3881: \"$ac_try\"") >&5    { (eval echo "$as_me:3862: \"$ac_try\"") >&5
3863    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3864    ac_status=$?    ac_status=$?
3865    echo "$as_me:3884: \$? = $ac_status" >&5    echo "$as_me:3865: \$? = $ac_status" >&5
3866    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3867    ac_cv_sys_large_files=1; break    ac_cv_sys_large_files=1; break
3868  else  else
# Line 3893  rm -f conftest.$ac_objext conftest.$ac_e Line 3873  rm -f conftest.$ac_objext conftest.$ac_e
3873    break    break
3874  done  done
3875  fi  fi
3876  echo "$as_me:3895: result: $ac_cv_sys_large_files" >&5  echo "$as_me:3876: result: $ac_cv_sys_large_files" >&5
3877  echo "${ECHO_T}$ac_cv_sys_large_files" >&6  echo "${ECHO_T}$ac_cv_sys_large_files" >&6
3878  if test "$ac_cv_sys_large_files" != no; then  if test "$ac_cv_sys_large_files" != no; then
3879    
# Line 3911  if test "${with_sound}" != "no"; then Line 3891  if test "${with_sound}" != "no"; then
3891  for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h  for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h
3892  do  do
3893  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3894  echo "$as_me:3913: checking for $ac_header" >&5  echo "$as_me:3894: checking for $ac_header" >&5
3895  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3896  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
3897    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3898  else  else
3899    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3900  #line 3914 "configure"  #line 3900 "configure"
3901  #include "confdefs.h"  #include "confdefs.h"
3902  #include <$ac_header>  #include <$ac_header>
3903  _ACEOF  _ACEOF
3904  if { (eval echo "$as_me:3923: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:3904: \"$ac_cpp conftest.$ac_ext\"") >&5
3905    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3906    ac_status=$?    ac_status=$?
3907    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
3908    rm -f conftest.er1    rm -f conftest.er1
3909    cat conftest.err >&5    cat conftest.err >&5
3910    echo "$as_me:3929: \$? = $ac_status" >&5    echo "$as_me:3910: \$? = $ac_status" >&5
3911    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
3912    if test -s conftest.err; then    if test -s conftest.err; then
3913      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 3946  else Line 3926  else
3926  fi  fi
3927  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
3928  fi  fi
3929  echo "$as_me:3948: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:3929: result: `eval echo '${'$as_ac_Header'}'`" >&5
3930  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3931  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
3932    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 3957  fi Line 3937  fi
3937  done  done
3938    
3939    # Emulation library used on NetBSD.    # Emulation library used on NetBSD.
3940    echo "$as_me:3959: checking for _oss_ioctl in -lossaudio" >&5    echo "$as_me:3940: checking for _oss_ioctl in -lossaudio" >&5
3941  echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6  echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
3942  if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then  if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
3943    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3965  else Line 3945  else
3945    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
3946  LIBS="-lossaudio  $LIBS"  LIBS="-lossaudio  $LIBS"
3947  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
3948  #line 3962 "configure"  #line 3948 "configure"
3949  #include "confdefs.h"  #include "confdefs.h"
3950    
3951  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 3984  _oss_ioctl (); Line 3964  _oss_ioctl ();
3964  }  }
3965  _ACEOF  _ACEOF
3966  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
3967  if { (eval echo "$as_me:3986: \"$ac_link\"") >&5  if { (eval echo "$as_me:3967: \"$ac_link\"") >&5
3968    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
3969    ac_status=$?    ac_status=$?
3970    echo "$as_me:3989: \$? = $ac_status" >&5    echo "$as_me:3970: \$? = $ac_status" >&5
3971    (exit $ac_status); } &&    (exit $ac_status); } &&
3972           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
3973    { (eval echo "$as_me:3992: \"$ac_try\"") >&5    { (eval echo "$as_me:3973: \"$ac_try\"") >&5
3974    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3975    ac_status=$?    ac_status=$?
3976    echo "$as_me:3995: \$? = $ac_status" >&5    echo "$as_me:3976: \$? = $ac_status" >&5
3977    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3978    ac_cv_lib_ossaudio__oss_ioctl=yes    ac_cv_lib_ossaudio__oss_ioctl=yes
3979  else  else
# Line 4004  fi Line 3984  fi
3984  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3985  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
3986  fi  fi
3987  echo "$as_me:4006: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5  echo "$as_me:3987: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
3988  echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6  echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
3989  if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then  if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
3990    LIBSOUND=-lossaudio    LIBSOUND=-lossaudio
# Line 4019  for ac_header in sys/select.h sys/timeb. Line 3999  for ac_header in sys/select.h sys/timeb.
3999    termcap.h stdio_ext.h fcntl.h term.h strings.h coff.h    termcap.h stdio_ext.h fcntl.h term.h strings.h coff.h
4000  do  do
4001  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4002  echo "$as_me:4021: checking for $ac_header" >&5  echo "$as_me:4002: checking for $ac_header" >&5
4003  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4004  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
4005    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4006  else  else
4007    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4008  #line 4022 "configure"  #line 4008 "configure"
4009  #include "confdefs.h"  #include "confdefs.h"
4010  #include <$ac_header>  #include <$ac_header>
4011  _ACEOF  _ACEOF
4012  if { (eval echo "$as_me:4031: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:4012: \"$ac_cpp conftest.$ac_ext\"") >&5
4013    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4014    ac_status=$?    ac_status=$?
4015    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
4016    rm -f conftest.er1    rm -f conftest.er1
4017    cat conftest.err >&5    cat conftest.err >&5
4018    echo "$as_me:4037: \$? = $ac_status" >&5    echo "$as_me:4018: \$? = $ac_status" >&5
4019    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
4020    if test -s conftest.err; then    if test -s conftest.err; then
4021      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 4054  else Line 4034  else
4034  fi  fi
4035  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
4036  fi  fi
4037  echo "$as_me:4056: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:4037: result: `eval echo '${'$as_ac_Header'}'`" >&5
4038  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4039  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
4040    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 4064  EOF Line 4044  EOF
4044  fi  fi
4045  done  done
4046    
4047  echo "$as_me:4066: checking for ANSI C header files" >&5  echo "$as_me:4047: checking for ANSI C header files" >&5
4048  echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6  echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4049  if test "${ac_cv_header_stdc+set}" = set; then  if test "${ac_cv_header_stdc+set}" = set; then
4050    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4051  else  else
4052    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4053  #line 4067 "configure"  #line 4053 "configure"
4054  #include "confdefs.h"  #include "confdefs.h"
4055  #include <stdlib.h>  #include <stdlib.h>
4056  #include <stdarg.h>  #include <stdarg.h>
# Line 4078  else Line 4058  else
4058  #include <float.h>  #include <float.h>
4059    
4060  _ACEOF  _ACEOF
4061  if { (eval echo "$as_me:4080: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:4061: \"$ac_cpp conftest.$ac_ext\"") >&5
4062    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4063    ac_status=$?    ac_status=$?
4064    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
4065    rm -f conftest.er1    rm -f conftest.er1
4066    cat conftest.err >&5    cat conftest.err >&5
4067    echo "$as_me:4086: \$? = $ac_status" >&5    echo "$as_me:4067: \$? = $ac_status" >&5
4068    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
4069    if test -s conftest.err; then    if test -s conftest.err; then
4070      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 4106  rm -f conftest.err conftest.$ac_ext Line 4086  rm -f conftest.err conftest.$ac_ext
4086  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
4087    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4088    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4089  #line 4103 "configure"  #line 4089 "configure"
4090  #include "confdefs.h"  #include "confdefs.h"
4091  #include <string.h>  #include <string.h>
4092    
# Line 4124  fi Line 4104  fi
4104  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
4105    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4106    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4107  #line 4121 "configure"  #line 4107 "configure"
4108  #include "confdefs.h"  #include "confdefs.h"
4109  #include <stdlib.h>  #include <stdlib.h>
4110    
# Line 4145  if test $ac_cv_header_stdc = yes; then Line 4125  if test $ac_cv_header_stdc = yes; then
4125    :    :
4126  else  else
4127    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4128  #line 4142 "configure"  #line 4128 "configure"
4129  #include "confdefs.h"  #include "confdefs.h"
4130  #include <ctype.h>  #include <ctype.h>
4131  #if ((' ' & 0x0FF) == 0x020)  #if ((' ' & 0x0FF) == 0x020)
# Line 4171  main () Line 4151  main ()
4151  }  }
4152  _ACEOF  _ACEOF
4153  rm -f conftest$ac_exeext  rm -f conftest$ac_exeext
4154  if { (eval echo "$as_me:4173: \"$ac_link\"") >&5  if { (eval echo "$as_me:4154: \"$ac_link\"") >&5
4155    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
4156    ac_status=$?    ac_status=$?
4157    echo "$as_me:4176: \$? = $ac_status" >&5    echo "$as_me:4157: \$? = $ac_status" >&5
4158    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4159    { (eval echo "$as_me:4178: \"$ac_try\"") >&5    { (eval echo "$as_me:4159: \"$ac_try\"") >&5
4160    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4161    ac_status=$?    ac_status=$?
4162    echo "$as_me:4181: \$? = $ac_status" >&5    echo "$as_me:4162: \$? = $ac_status" >&5
4163    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4164    :    :
4165  else  else
# Line 4192  rm -f core core.* *.core conftest$ac_exe Line 4172  rm -f core core.* *.core conftest$ac_exe
4172  fi  fi
4173  fi  fi
4174  fi  fi
4175  echo "$as_me:4194: result: $ac_cv_header_stdc" >&5  echo "$as_me:4175: result: $ac_cv_header_stdc" >&5
4176  echo "${ECHO_T}$ac_cv_header_stdc" >&6  echo "${ECHO_T}$ac_cv_header_stdc" >&6
4177  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
4178    
# Line 4202  EOF Line 4182  EOF
4182    
4183  fi  fi
4184    
4185  echo "$as_me:4204: checking whether time.h and sys/time.h may both be included" >&5  echo "$as_me:4185: checking whether time.h and sys/time.h may both be included" >&5
4186  echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6  echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
4187  if test "${ac_cv_header_time+set}" = set; then  if test "${ac_cv_header_time+set}" = set; then
4188    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4189  else  else
4190    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4191  #line 4205 "configure"  #line 4191 "configure"
4192  #include "confdefs.h"  #include "confdefs.h"
4193  #include <sys/types.h>  #include <sys/types.h>
4194  #include <sys/time.h>  #include <sys/time.h>
# Line 4224  return 0; Line 4204  return 0;
4204  }  }
4205  _ACEOF  _ACEOF
4206  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4207  if { (eval echo "$as_me:4226: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4207: \"$ac_compile\"") >&5
4208    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4209    ac_status=$?    ac_status=$?
4210    echo "$as_me:4229: \$? = $ac_status" >&5    echo "$as_me:4210: \$? = $ac_status" >&5
4211    (exit $ac_status); } &&    (exit $ac_status); } &&
4212           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4213    { (eval echo "$as_me:4232: \"$ac_try\"") >&5    { (eval echo "$as_me:4213: \"$ac_try\"") >&5
4214    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4215    ac_status=$?    ac_status=$?
4216    echo "$as_me:4235: \$? = $ac_status" >&5    echo "$as_me:4216: \$? = $ac_status" >&5
4217    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4218    ac_cv_header_time=yes    ac_cv_header_time=yes
4219  else  else
# Line 4243  ac_cv_header_time=no Line 4223  ac_cv_header_time=no
4223  fi  fi
4224  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4225  fi  fi
4226  echo "$as_me:4245: result: $ac_cv_header_time" >&5  echo "$as_me:4226: result: $ac_cv_header_time" >&5
4227  echo "${ECHO_T}$ac_cv_header_time" >&6  echo "${ECHO_T}$ac_cv_header_time" >&6
4228  if test $ac_cv_header_time = yes; then  if test $ac_cv_header_time = yes; then
4229    
# Line 4253  EOF Line 4233  EOF
4233    
4234  fi  fi
4235    
4236  echo "$as_me:4255: checking for sys_siglist declaration in signal.h or unistd.h" >&5  echo "$as_me:4236: checking for sys_siglist declaration in signal.h or unistd.h" >&5
4237  echo $ECHO_N "checking for sys_siglist declaration in signal.h or unistd.h... $ECHO_C" >&6  echo $ECHO_N "checking for sys_siglist declaration in signal.h or unistd.h... $ECHO_C" >&6
4238  if test "${ac_cv_decl_sys_siglist+set}" = set; then  if test "${ac_cv_decl_sys_siglist+set}" = set; then
4239    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4240  else  else
4241    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4242  #line 4256 "configure"  #line 4242 "configure"
4243  #include "confdefs.h"  #include "confdefs.h"
4244  #include <sys/types.h>  #include <sys/types.h>
4245  #include <signal.h>  #include <signal.h>
# Line 4277  char *msg = *(sys_siglist + 1); Line 4257  char *msg = *(sys_siglist + 1);
4257  }  }
4258  _ACEOF  _ACEOF
4259  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4260  if { (eval echo "$as_me:4279: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4260: \"$ac_compile\"") >&5
4261    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4262    ac_status=$?    ac_status=$?
4263    echo "$as_me:4282: \$? = $ac_status" >&5    echo "$as_me:4263: \$? = $ac_status" >&5
4264    (exit $ac_status); } &&    (exit $ac_status); } &&
4265           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4266    { (eval echo "$as_me:4285: \"$ac_try\"") >&5    { (eval echo "$as_me:4266: \"$ac_try\"") >&5
4267    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4268    ac_status=$?    ac_status=$?
4269    echo "$as_me:4288: \$? = $ac_status" >&5    echo "$as_me:4269: \$? = $ac_status" >&5
4270    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4271    ac_cv_decl_sys_siglist=yes    ac_cv_decl_sys_siglist=yes
4272  else  else
# Line 4296  ac_cv_decl_sys_siglist=no Line 4276  ac_cv_decl_sys_siglist=no
4276  fi  fi
4277  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4278  fi  fi
4279  echo "$as_me:4298: result: $ac_cv_decl_sys_siglist" >&5  echo "$as_me:4279: result: $ac_cv_decl_sys_siglist" >&5
4280  echo "${ECHO_T}$ac_cv_decl_sys_siglist" >&6  echo "${ECHO_T}$ac_cv_decl_sys_siglist" >&6
4281  if test $ac_cv_decl_sys_siglist = yes; then  if test $ac_cv_decl_sys_siglist = yes; then
4282    
# Line 4306  EOF Line 4286  EOF
4286    
4287  fi  fi
4288    
4289  echo "$as_me:4308: checking for sys/wait.h that is POSIX.1 compatible" >&5  echo "$as_me:4289: checking for sys/wait.h that is POSIX.1 compatible" >&5
4290  echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6  echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
4291  if test "${ac_cv_header_sys_wait_h+set}" = set; then  if test "${ac_cv_header_sys_wait_h+set}" = set; then
4292    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4293  else  else
4294    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4295  #line 4309 "configure"  #line 4295 "configure"
4296  #include "confdefs.h"  #include "confdefs.h"
4297  #include <sys/types.h>  #include <sys/types.h>
4298  #include <sys/wait.h>  #include <sys/wait.h>
# Line 4334  main () Line 4314  main ()
4314  }  }
4315  _ACEOF  _ACEOF
4316  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4317  if { (eval echo "$as_me:4336: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4317: \"$ac_compile\"") >&5
4318    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4319    ac_status=$?    ac_status=$?
4320    echo "$as_me:4339: \$? = $ac_status" >&5    echo "$as_me:4320: \$? = $ac_status" >&5
4321    (exit $ac_status); } &&    (exit $ac_status); } &&
4322           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4323    { (eval echo "$as_me:4342: \"$ac_try\"") >&5    { (eval echo "$as_me:4323: \"$ac_try\"") >&5
4324    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4325    ac_status=$?    ac_status=$?
4326    echo "$as_me:4345: \$? = $ac_status" >&5    echo "$as_me:4326: \$? = $ac_status" >&5
4327    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4328    ac_cv_header_sys_wait_h=yes    ac_cv_header_sys_wait_h=yes
4329  else  else
# Line 4353  ac_cv_header_sys_wait_h=no Line 4333  ac_cv_header_sys_wait_h=no
4333  fi  fi
4334  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4335  fi  fi
4336  echo "$as_me:4355: result: $ac_cv_header_sys_wait_h" >&5  echo "$as_me:4336: result: $ac_cv_header_sys_wait_h" >&5
4337  echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6  echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
4338  if test $ac_cv_header_sys_wait_h = yes; then  if test $ac_cv_header_sys_wait_h = yes; then
4339    
# Line 4363  EOF Line 4343  EOF
4343    
4344  fi  fi
4345    
4346  echo "$as_me:4365: checking for struct utimbuf" >&5  echo "$as_me:4346: checking for struct utimbuf" >&5
4347  echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6  echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6
4348  if test "${emacs_cv_struct_utimbuf+set}" = set; then  if test "${emacs_cv_struct_utimbuf+set}" = set; then
4349    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4350  else  else
4351    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4352  #line 4366 "configure"  #line 4352 "configure"
4353  #include "confdefs.h"  #include "confdefs.h"
4354  #ifdef TIME_WITH_SYS_TIME  #ifdef TIME_WITH_SYS_TIME
4355  #include <sys/time.h>  #include <sys/time.h>
# Line 4393  static struct utimbuf x; x.actime = x.mo Line 4373  static struct utimbuf x; x.actime = x.mo
4373  }  }
4374  _ACEOF  _ACEOF
4375  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4376  if { (eval echo "$as_me:4395: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4376: \"$ac_compile\"") >&5
4377    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4378    ac_status=$?    ac_status=$?
4379    echo "$as_me:4398: \$? = $ac_status" >&5    echo "$as_me:4379: \$? = $ac_status" >&5
4380    (exit $ac_status); } &&    (exit $ac_status); } &&
4381           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4382    { (eval echo "$as_me:4401: \"$ac_try\"") >&5    { (eval echo "$as_me:4382: \"$ac_try\"") >&5
4383    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4384    ac_status=$?    ac_status=$?
4385    echo "$as_me:4404: \$? = $ac_status" >&5    echo "$as_me:4385: \$? = $ac_status" >&5
4386    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4387    emacs_cv_struct_utimbuf=yes    emacs_cv_struct_utimbuf=yes
4388  else  else
# Line 4412  emacs_cv_struct_utimbuf=no Line 4392  emacs_cv_struct_utimbuf=no
4392  fi  fi
4393  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4394  fi  fi
4395  echo "$as_me:4414: result: $emacs_cv_struct_utimbuf" >&5  echo "$as_me:4395: result: $emacs_cv_struct_utimbuf" >&5
4396  echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6  echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6
4397  if test $emacs_cv_struct_utimbuf = yes; then  if test $emacs_cv_struct_utimbuf = yes; then
4398    
# Line 4422  EOF Line 4402  EOF
4402    
4403  fi  fi
4404    
4405  echo "$as_me:4424: checking return type of signal handlers" >&5  echo "$as_me:4405: checking return type of signal handlers" >&5
4406  echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6  echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
4407  if test "${ac_cv_type_signal+set}" = set; then  if test "${ac_cv_type_signal+set}" = set; then
4408    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4409  else  else
4410    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4411  #line 4425 "configure"  #line 4411 "configure"
4412  #include "confdefs.h"  #include "confdefs.h"
4413  #include <sys/types.h>  #include <sys/types.h>
4414  #include <signal.h>  #include <signal.h>
# Line 4450  int i; Line 4430  int i;
4430  }  }
4431  _ACEOF  _ACEOF
4432  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4433  if { (eval echo "$as_me:4452: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4433: \"$ac_compile\"") >&5
4434    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4435    ac_status=$?    ac_status=$?
4436    echo "$as_me:4455: \$? = $ac_status" >&5    echo "$as_me:4436: \$? = $ac_status" >&5
4437    (exit $ac_status); } &&    (exit $ac_status); } &&
4438           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4439    { (eval echo "$as_me:4458: \"$ac_try\"") >&5    { (eval echo "$as_me:4439: \"$ac_try\"") >&5
4440    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4441    ac_status=$?    ac_status=$?
4442    echo "$as_me:4461: \$? = $ac_status" >&5    echo "$as_me:4442: \$? = $ac_status" >&5
4443    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4444    ac_cv_type_signal=void    ac_cv_type_signal=void
4445  else  else
# Line 4469  ac_cv_type_signal=int Line 4449  ac_cv_type_signal=int
4449  fi  fi
4450  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4451  fi  fi
4452  echo "$as_me:4471: result: $ac_cv_type_signal" >&5  echo "$as_me:4452: result: $ac_cv_type_signal" >&5
4453  echo "${ECHO_T}$ac_cv_type_signal" >&6  echo "${ECHO_T}$ac_cv_type_signal" >&6
4454    
4455  cat >>confdefs.h <<EOF  cat >>confdefs.h <<EOF
4456  #define RETSIGTYPE $ac_cv_type_signal  #define RETSIGTYPE $ac_cv_type_signal
4457  EOF  EOF
4458    
4459  echo "$as_me:4478: checking for speed_t" >&5  echo "$as_me:4459: checking for speed_t" >&5
4460  echo $ECHO_N "checking for speed_t... $ECHO_C" >&6  echo $ECHO_N "checking for speed_t... $ECHO_C" >&6
4461  if test "${emacs_cv_speed_t+set}" = set; then  if test "${emacs_cv_speed_t+set}" = set; then
4462    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4463  else  else
4464    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4465  #line 4479 "configure"  #line 4465 "configure"
4466  #include "confdefs.h"  #include "confdefs.h"
4467  #include <termios.h>  #include <termios.h>
4468  int  int
# Line 4494  speed_t x = 1; Line 4474  speed_t x = 1;
4474  }  }
4475  _ACEOF  _ACEOF
4476  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4477  if { (eval echo "$as_me:4496: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4477: \"$ac_compile\"") >&5
4478    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4479    ac_status=$?    ac_status=$?
4480    echo "$as_me:4499: \$? = $ac_status" >&5    echo "$as_me:4480: \$? = $ac_status" >&5
4481    (exit $ac_status); } &&    (exit $ac_status); } &&
4482           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4483    { (eval echo "$as_me:4502: \"$ac_try\"") >&5    { (eval echo "$as_me:4483: \"$ac_try\"") >&5
4484    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4485    ac_status=$?    ac_status=$?
4486    echo "$as_me:4505: \$? = $ac_status" >&5    echo "$as_me:4486: \$? = $ac_status" >&5
4487    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4488    emacs_cv_speed_t=yes    emacs_cv_speed_t=yes
4489  else  else
# Line 4513  emacs_cv_speed_t=no Line 4493  emacs_cv_speed_t=no
4493  fi  fi
4494  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4495  fi  fi
4496  echo "$as_me:4515: result: $emacs_cv_speed_t" >&5  echo "$as_me:4496: result: $emacs_cv_speed_t" >&5
4497  echo "${ECHO_T}$emacs_cv_speed_t" >&6  echo "${ECHO_T}$emacs_cv_speed_t" >&6
4498  if test $emacs_cv_speed_t = yes; then  if test $emacs_cv_speed_t = yes; then
4499    
# Line 4523  EOF Line 4503  EOF
4503    
4504  fi  fi
4505    
4506  echo "$as_me:4525: checking for struct timeval" >&5  echo "$as_me:4506: checking for struct timeval" >&5
4507  echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6  echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6
4508  if test "${emacs_cv_struct_timeval+set}" = set; then  if test "${emacs_cv_struct_timeval+set}" = set; then
4509    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4510  else  else
4511    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4512  #line 4526 "configure"  #line 4512 "configure"
4513  #include "confdefs.h"  #include "confdefs.h"
4514  #ifdef TIME_WITH_SYS_TIME  #ifdef TIME_WITH_SYS_TIME
4515  #include <sys/time.h>  #include <sys/time.h>
# Line 4550  static struct timeval x; x.tv_sec = x.tv Line 4530  static struct timeval x; x.tv_sec = x.tv
4530  }  }
4531  _ACEOF  _ACEOF
4532  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4533  if { (eval echo "$as_me:4552: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4533: \"$ac_compile\"") >&5
4534    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4535    ac_status=$?    ac_status=$?
4536    echo "$as_me:4555: \$? = $ac_status" >&5    echo "$as_me:4536: \$? = $ac_status" >&5
4537    (exit $ac_status); } &&    (exit $ac_status); } &&
4538           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4539    { (eval echo "$as_me:4558: \"$ac_try\"") >&5    { (eval echo "$as_me:4539: \"$ac_try\"") >&5
4540    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4541    ac_status=$?    ac_status=$?
4542    echo "$as_me:4561: \$? = $ac_status" >&5    echo "$as_me:4542: \$? = $ac_status" >&5
4543    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4544    emacs_cv_struct_timeval=yes    emacs_cv_struct_timeval=yes
4545  else  else
# Line 4569  emacs_cv_struct_timeval=no Line 4549  emacs_cv_struct_timeval=no
4549  fi  fi
4550  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4551  fi  fi
4552  echo "$as_me:4571: result: $emacs_cv_struct_timeval" >&5  echo "$as_me:4552: result: $emacs_cv_struct_timeval" >&5
4553  echo "${ECHO_T}$emacs_cv_struct_timeval" >&6  echo "${ECHO_T}$emacs_cv_struct_timeval" >&6
4554  HAVE_TIMEVAL=$emacs_cv_struct_timeval  HAVE_TIMEVAL=$emacs_cv_struct_timeval
4555  if test $emacs_cv_struct_timeval = yes; then  if test $emacs_cv_struct_timeval = yes; then
# Line 4580  EOF Line 4560  EOF
4560    
4561  fi  fi
4562    
4563  echo "$as_me:4582: checking for struct exception" >&5  echo "$as_me:4563: checking for struct exception" >&5
4564  echo $ECHO_N "checking for struct exception... $ECHO_C" >&6  echo $ECHO_N "checking for struct exception... $ECHO_C" >&6
4565  if test "${emacs_cv_struct_exception+set}" = set; then  if test "${emacs_cv_struct_exception+set}" = set; then
4566    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4567  else  else
4568    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4569  #line 4583 "configure"  #line 4569 "configure"
4570  #include "confdefs.h"  #include "confdefs.h"
4571  #include <math.h>  #include <math.h>
4572  int  int
# Line 4598  static struct exception x; x.arg1 = x.ar Line 4578  static struct exception x; x.arg1 = x.ar
4578  }  }
4579  _ACEOF  _ACEOF
4580  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4581  if { (eval echo "$as_me:4600: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4581: \"$ac_compile\"") >&5
4582    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4583    ac_status=$?    ac_status=$?
4584    echo "$as_me:4603: \$? = $ac_status" >&5    echo "$as_me:4584: \$? = $ac_status" >&5
4585    (exit $ac_status); } &&    (exit $ac_status); } &&
4586           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4587    { (eval echo "$as_me:4606: \"$ac_try\"") >&5    { (eval echo "$as_me:4587: \"$ac_try\"") >&5
4588    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4589    ac_status=$?    ac_status=$?
4590    echo "$as_me:4609: \$? = $ac_status" >&5    echo "$as_me:4590: \$? = $ac_status" >&5
4591    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4592    emacs_cv_struct_exception=yes    emacs_cv_struct_exception=yes
4593  else  else
# Line 4617  emacs_cv_struct_exception=no Line 4597  emacs_cv_struct_exception=no
4597  fi  fi
4598  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4599  fi  fi
4600  echo "$as_me:4619: result: $emacs_cv_struct_exception" >&5  echo "$as_me:4600: result: $emacs_cv_struct_exception" >&5
4601  echo "${ECHO_T}$emacs_cv_struct_exception" >&6  echo "${ECHO_T}$emacs_cv_struct_exception" >&6
4602  HAVE_EXCEPTION=$emacs_cv_struct_exception  HAVE_EXCEPTION=$emacs_cv_struct_exception
4603  if test $emacs_cv_struct_exception != yes; then  if test $emacs_cv_struct_exception != yes; then
# Line 4628  EOF Line 4608  EOF
4608    
4609  fi  fi
4610    
4611  echo "$as_me:4630: checking whether struct tm is in sys/time.h or time.h" >&5  echo "$as_me:4611: checking whether struct tm is in sys/time.h or time.h" >&5
4612  echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6  echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
4613  if test "${ac_cv_struct_tm+set}" = set; then  if test "${ac_cv_struct_tm+set}" = set; then
4614    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4615  else  else
4616    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4617  #line 4631 "configure"  #line 4617 "configure"
4618  #include "confdefs.h"  #include "confdefs.h"
4619  #include <sys/types.h>  #include <sys/types.h>
4620  #include <time.h>  #include <time.h>
# Line 4648  struct tm *tp; tp->tm_sec; Line 4628  struct tm *tp; tp->tm_sec;
4628  }  }
4629  _ACEOF  _ACEOF
4630  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4631  if { (eval echo "$as_me:4650: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4631: \"$ac_compile\"") >&5
4632    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4633    ac_status=$?    ac_status=$?
4634    echo "$as_me:4653: \$? = $ac_status" >&5    echo "$as_me:4634: \$? = $ac_status" >&5
4635    (exit $ac_status); } &&    (exit $ac_status); } &&
4636           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4637    { (eval echo "$as_me:4656: \"$ac_try\"") >&5    { (eval echo "$as_me:4637: \"$ac_try\"") >&5
4638    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4639    ac_status=$?    ac_status=$?
4640    echo "$as_me:4659: \$? = $ac_status" >&5    echo "$as_me:4640: \$? = $ac_status" >&5
4641    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4642    ac_cv_struct_tm=time.h    ac_cv_struct_tm=time.h
4643  else  else
# Line 4667  ac_cv_struct_tm=sys/time.h Line 4647  ac_cv_struct_tm=sys/time.h
4647  fi  fi
4648  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4649  fi  fi
4650  echo "$as_me:4669: result: $ac_cv_struct_tm" >&5  echo "$as_me:4650: result: $ac_cv_struct_tm" >&5
4651  echo "${ECHO_T}$ac_cv_struct_tm" >&6  echo "${ECHO_T}$ac_cv_struct_tm" >&6
4652  if test $ac_cv_struct_tm = sys/time.h; then  if test $ac_cv_struct_tm = sys/time.h; then
4653    
# Line 4677  EOF Line 4657  EOF
4657    
4658  fi  fi
4659    
4660  echo "$as_me:4679: checking for struct tm.tm_zone" >&5  echo "$as_me:4660: checking for struct tm.tm_zone" >&5
4661  echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6  echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
4662  if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then  if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
4663    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4664  else  else
4665    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4666  #line 4680 "configure"  #line 4666 "configure"
4667  #include "confdefs.h"  #include "confdefs.h"
4668  #include <sys/types.h>  #include <sys/types.h>
4669  #include <$ac_cv_struct_tm>  #include <$ac_cv_struct_tm>
# Line 4699  return 0; Line 4679  return 0;
4679  }  }
4680  _ACEOF  _ACEOF
4681  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4682  if { (eval echo "$as_me:4701: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4682: \"$ac_compile\"") >&5
4683    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4684    ac_status=$?    ac_status=$?
4685    echo "$as_me:4704: \$? = $ac_status" >&5    echo "$as_me:4685: \$? = $ac_status" >&5
4686    (exit $ac_status); } &&    (exit $ac_status); } &&
4687           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4688    { (eval echo "$as_me:4707: \"$ac_try\"") >&5    { (eval echo "$as_me:4688: \"$ac_try\"") >&5
4689    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4690    ac_status=$?    ac_status=$?
4691    echo "$as_me:4710: \$? = $ac_status" >&5    echo "$as_me:4691: \$? = $ac_status" >&5
4692    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4693    ac_cv_member_struct_tm_tm_zone=yes    ac_cv_member_struct_tm_tm_zone=yes
4694  else  else
# Line 4718  ac_cv_member_struct_tm_tm_zone=no Line 4698  ac_cv_member_struct_tm_tm_zone=no
4698  fi  fi
4699  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4700  fi  fi
4701  echo "$as_me:4720: result: $ac_cv_member_struct_tm_tm_zone" >&5  echo "$as_me:4701: result: $ac_cv_member_struct_tm_tm_zone" >&5
4702  echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6  echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
4703  if test $ac_cv_member_struct_tm_tm_zone = yes; then  if test $ac_cv_member_struct_tm_tm_zone = yes; then
4704    
# Line 4735  cat >>confdefs.h <<\EOF Line 4715  cat >>confdefs.h <<\EOF
4715  EOF  EOF
4716    
4717  else  else
4718    echo "$as_me:4737: checking for tzname" >&5    echo "$as_me:4718: checking for tzname" >&5
4719  echo $ECHO_N "checking for tzname... $ECHO_C" >&6  echo $ECHO_N "checking for tzname... $ECHO_C" >&6
4720  if test "${ac_cv_var_tzname+set}" = set; then  if test "${ac_cv_var_tzname+set}" = set; then
4721    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4722  else  else
4723    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4724  #line 4738 "configure"  #line 4724 "configure"
4725  #include "confdefs.h"  #include "confdefs.h"
4726  #include <time.h>  #include <time.h>
4727  #ifndef tzname /* For SGI.  */  #ifndef tzname /* For SGI.  */
# Line 4757  atoi(*tzname); Line 4737  atoi(*tzname);
4737  }  }
4738  _ACEOF  _ACEOF
4739  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
4740  if { (eval echo "$as_me:4759: \"$ac_link\"") >&5  if { (eval echo "$as_me:4740: \"$ac_link\"") >&5
4741    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
4742    ac_status=$?    ac_status=$?
4743    echo "$as_me:4762: \$? = $ac_status" >&5    echo "$as_me:4743: \$? = $ac_status" >&5
4744    (exit $ac_status); } &&    (exit $ac_status); } &&
4745           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
4746    { (eval echo "$as_me:4765: \"$ac_try\"") >&5    { (eval echo "$as_me:4746: \"$ac_try\"") >&5
4747    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4748    ac_status=$?    ac_status=$?
4749    echo "$as_me:4768: \$? = $ac_status" >&5    echo "$as_me:4749: \$? = $ac_status" >&5
4750    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4751    ac_cv_var_tzname=yes    ac_cv_var_tzname=yes
4752  else  else
# Line 4776  ac_cv_var_tzname=no Line 4756  ac_cv_var_tzname=no
4756  fi  fi
4757  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4758  fi  fi
4759  echo "$as_me:4778: result: $ac_cv_var_tzname" >&5  echo "$as_me:4759: result: $ac_cv_var_tzname" >&5
4760  echo "${ECHO_T}$ac_cv_var_tzname" >&6  echo "${ECHO_T}$ac_cv_var_tzname" >&6
4761    if test $ac_cv_var_tzname = yes; then    if test $ac_cv_var_tzname = yes; then
4762    
# Line 4787  EOF Line 4767  EOF
4767    fi    fi
4768  fi  fi
4769    
4770  echo "$as_me:4789: checking for struct tm.tm_gmtoff" >&5  echo "$as_me:4770: checking for struct tm.tm_gmtoff" >&5
4771  echo $ECHO_N "checking for struct tm.tm_gmtoff... $ECHO_C" >&6  echo $ECHO_N "checking for struct tm.tm_gmtoff... $ECHO_C" >&6
4772  if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then  if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then
4773    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4774  else  else
4775    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4776  #line 4790 "configure"  #line 4776 "configure"
4777  #include "confdefs.h"  #include "confdefs.h"
4778  #include <time.h>  #include <time.h>
4779    
# Line 4808  return 0; Line 4788  return 0;
4788  }  }
4789  _ACEOF  _ACEOF
4790  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4791  if { (eval echo "$as_me:4810: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4791: \"$ac_compile\"") >&5
4792    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4793    ac_status=$?    ac_status=$?
4794    echo "$as_me:4813: \$? = $ac_status" >&5    echo "$as_me:4794: \$? = $ac_status" >&5
4795    (exit $ac_status); } &&    (exit $ac_status); } &&
4796           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4797    { (eval echo "$as_me:4816: \"$ac_try\"") >&5    { (eval echo "$as_me:4797: \"$ac_try\"") >&5
4798    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4799    ac_status=$?    ac_status=$?
4800    echo "$as_me:4819: \$? = $ac_status" >&5    echo "$as_me:4800: \$? = $ac_status" >&5
4801    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4802    ac_cv_member_struct_tm_tm_gmtoff=yes    ac_cv_member_struct_tm_tm_gmtoff=yes
4803  else  else
# Line 4827  ac_cv_member_struct_tm_tm_gmtoff=no Line 4807  ac_cv_member_struct_tm_tm_gmtoff=no
4807  fi  fi
4808  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4809  fi  fi
4810  echo "$as_me:4829: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5  echo "$as_me:4810: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5
4811  echo "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6  echo "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6
4812  if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then  if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then
4813    
# Line 4837  EOF Line 4817  EOF
4817    
4818  fi  fi
4819    
4820  echo "$as_me:4839: checking for $CC option to accept ANSI C" >&5  echo "$as_me:4820: checking for $CC option to accept ANSI C" >&5
4821  echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6  echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
4822  if test "${ac_cv_prog_cc_stdc+set}" = set; then  if test "${ac_cv_prog_cc_stdc+set}" = set; then
4823    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4845  else Line 4825  else
4825    ac_cv_prog_cc_stdc=no    ac_cv_prog_cc_stdc=no
4826  ac_save_CC=$CC  ac_save_CC=$CC
4827  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
4828  #line 4842 "configure"  #line 4828 "configure"
4829  #include "confdefs.h"  #include "confdefs.h"
4830  #include <stdarg.h>  #include <stdarg.h>
4831  #include <stdio.h>  #include <stdio.h>
# Line 4894  for ac_arg in "" -qlanglvl=ansi -std1 -A Line 4874  for ac_arg in "" -qlanglvl=ansi -std1 -A
4874  do  do
4875    CC="$ac_save_CC $ac_arg"    CC="$ac_save_CC $ac_arg"
4876    rm -f conftest.$ac_objext    rm -f conftest.$ac_objext
4877  if { (eval echo "$as_me:4896: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4877: \"$ac_compile\"") >&5
4878    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4879    ac_status=$?    ac_status=$?
4880    echo "$as_me:4899: \$? = $ac_status" >&5    echo "$as_me:4880: \$? = $ac_status" >&5
4881    (exit $ac_status); } &&    (exit $ac_status); } &&
4882           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4883    { (eval echo "$as_me:4902: \"$ac_try\"") >&5    { (eval echo "$as_me:4883: \"$ac_try\"") >&5
4884    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4885    ac_status=$?    ac_status=$?
4886    echo "$as_me:4905: \$? = $ac_status" >&5    echo "$as_me:4886: \$? = $ac_status" >&5
4887    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4888    ac_cv_prog_cc_stdc=$ac_arg    ac_cv_prog_cc_stdc=$ac_arg
4889  break  break
# Line 4920  fi Line 4900  fi
4900    
4901  case "x$ac_cv_prog_cc_stdc" in  case "x$ac_cv_prog_cc_stdc" in
4902    x|xno)    x|xno)
4903      echo "$as_me:4922: result: none needed" >&5      echo "$as_me:4903: result: none needed" >&5
4904  echo "${ECHO_T}none needed" >&6 ;;  echo "${ECHO_T}none needed" >&6 ;;
4905    *)    *)
4906      echo "$as_me:4925: result: $ac_cv_prog_cc_stdc" >&5      echo "$as_me:4906: result: $ac_cv_prog_cc_stdc" >&5
4907  echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6  echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
4908      CC="$CC $ac_cv_prog_cc_stdc" ;;      CC="$CC $ac_cv_prog_cc_stdc" ;;
4909  esac  esac
4910    
4911  echo "$as_me:4930: checking for function prototypes" >&5  echo "$as_me:4911: checking for function prototypes" >&5
4912  echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6  echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
4913  if test "$ac_cv_prog_cc_stdc" != no; then  if test "$ac_cv_prog_cc_stdc" != no; then
4914    echo "$as_me:4933: result: yes" >&5    echo "$as_me:4914: result: yes" >&5
4915  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
4916    
4917  cat >>confdefs.h <<\EOF  cat >>confdefs.h <<\EOF
# Line 4939  cat >>confdefs.h <<\EOF Line 4919  cat >>confdefs.h <<\EOF
4919  EOF  EOF
4920    
4921  else  else
4922    echo "$as_me:4941: result: no" >&5    echo "$as_me:4922: result: no" >&5
4923  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
4924  fi  fi
4925    
4926  echo "$as_me:4945: checking for working volatile" >&5  echo "$as_me:4926: checking for working volatile" >&5
4927  echo $ECHO_N "checking for working volatile... $ECHO_C" >&6  echo $ECHO_N "checking for working volatile... $ECHO_C" >&6
4928  if test "${ac_cv_c_volatile+set}" = set; then  if test "${ac_cv_c_volatile+set}" = set; then
4929    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4930  else  else
4931    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4932  #line 4946 "configure"  #line 4932 "configure"
4933  #include "confdefs.h"  #include "confdefs.h"
4934    
4935  int  int
# Line 4963  int * volatile y; Line 4943  int * volatile y;
4943  }  }
4944  _ACEOF  _ACEOF
4945  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4946  if { (eval echo "$as_me:4965: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4946: \"$ac_compile\"") >&5
4947    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4948    ac_status=$?    ac_status=$?
4949    echo "$as_me:4968: \$? = $ac_status" >&5    echo "$as_me:4949: \$? = $ac_status" >&5
4950    (exit $ac_status); } &&    (exit $ac_status); } &&
4951           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4952    { (eval echo "$as_me:4971: \"$ac_try\"") >&5    { (eval echo "$as_me:4952: \"$ac_try\"") >&5
4953    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4954    ac_status=$?    ac_status=$?
4955    echo "$as_me:4974: \$? = $ac_status" >&5    echo "$as_me:4955: \$? = $ac_status" >&5
4956    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4957    ac_cv_c_volatile=yes    ac_cv_c_volatile=yes
4958  else  else
# Line 4982  ac_cv_c_volatile=no Line 4962  ac_cv_c_volatile=no
4962  fi  fi
4963  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4964  fi  fi
4965  echo "$as_me:4984: result: $ac_cv_c_volatile" >&5  echo "$as_me:4965: result: $ac_cv_c_volatile" >&5
4966  echo "${ECHO_T}$ac_cv_c_volatile" >&6  echo "${ECHO_T}$ac_cv_c_volatile" >&6
4967  if test $ac_cv_c_volatile = no; then  if test $ac_cv_c_volatile = no; then
4968    
# Line 4992  EOF Line 4972  EOF
4972    
4973  fi  fi
4974    
4975  echo "$as_me:4994: checking for an ANSI C-conforming const" >&5  echo "$as_me:4975: checking for an ANSI C-conforming const" >&5
4976  echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6  echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
4977  if test "${ac_cv_c_const+set}" = set; then  if test "${ac_cv_c_const+set}" = set; then
4978    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4979  else  else
4980    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4981  #line 4995 "configure"  #line 4981 "configure"
4982  #include "confdefs.h"  #include "confdefs.h"
4983    
4984  int  int
# Line 5056  main () Line 5036  main ()
5036  }  }
5037  _ACEOF  _ACEOF
5038  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
5039  if { (eval echo "$as_me:5058: \"$ac_compile\"") >&5  if { (eval echo "$as_me:5039: \"$ac_compile\"") >&5
5040    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
5041    ac_status=$?    ac_status=$?
5042    echo "$as_me:5061: \$? = $ac_status" >&5    echo "$as_me:5042: \$? = $ac_status" >&5
5043    (exit $ac_status); } &&    (exit $ac_status); } &&
5044           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
5045    { (eval echo "$as_me:5064: \"$ac_try\"") >&5    { (eval echo "$as_me:5045: \"$ac_try\"") >&5
5046    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5047    ac_status=$?    ac_status=$?
5048    echo "$as_me:5067: \$? = $ac_status" >&5    echo "$as_me:5048: \$? = $ac_status" >&5
5049    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
5050    ac_cv_c_const=yes    ac_cv_c_const=yes
5051  else  else
# Line 5075  ac_cv_c_const=no Line 5055  ac_cv_c_const=no
5055  fi  fi
5056  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
5057  fi  fi
5058  echo "$as_me:5077: result: $ac_cv_c_const" >&5  echo "$as_me:5058: result: $ac_cv_c_const" >&5
5059  echo "${ECHO_T}$ac_cv_c_const" >&6  echo "${ECHO_T}$ac_cv_c_const" >&6
5060  if test $ac_cv_c_const = no; then  if test $ac_cv_c_const = no; then
5061    
# Line 5085  EOF Line 5065  EOF
5065    
5066  fi  fi
5067    
5068  echo "$as_me:5087: checking for void * support" >&5  echo "$as_me:5068: checking for void * support" >&5
5069  echo $ECHO_N "checking for void * support... $ECHO_C" >&6  echo $ECHO_N "checking for void * support... $ECHO_C" >&6
5070  if test "${emacs_cv_void_star+set}" = set; then  if test "${emacs_cv_void_star+set}" = set; then
5071    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
5072  else  else
5073    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5074  #line 5088 "configure"  #line 5074 "configure"
5075  #include "confdefs.h"  #include "confdefs.h"
5076    
5077  int  int
# Line 5103  void * foo; Line 5083  void * foo;
5083  }  }
5084  _ACEOF  _ACEOF
5085  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
5086  if { (eval echo "$as_me:5105: \"$ac_compile\"") >&5  if { (eval echo "$as_me:5086: \"$ac_compile\"") >&5
5087    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
5088    ac_status=$?    ac_status=$?
5089    echo "$as_me:5108: \$? = $ac_status" >&5    echo "$as_me:5089: \$? = $ac_status" >&5
5090    (exit $ac_status); } &&    (exit $ac_status); } &&
5091           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
5092    { (eval echo "$as_me:5111: \"$ac_try\"") >&5    { (eval echo "$as_me:5092: \"$ac_try\"") >&5
5093    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5094    ac_status=$?    ac_status=$?
5095    echo "$as_me:5114: \$? = $ac_status" >&5    echo "$as_me:5095: \$? = $ac_status" >&5
5096    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
5097    emacs_cv_void_star=yes    emacs_cv_void_star=yes
5098  else  else
# Line 5122  emacs_cv_void_star=no Line 5102  emacs_cv_void_star=no
5102  fi  fi
5103  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
5104  fi  fi
5105  echo "$as_me:5124: result: $emacs_cv_void_star" >&5  echo "$as_me:5105: result: $emacs_cv_void_star" >&5
5106  echo "${ECHO_T}$emacs_cv_void_star" >&6  echo "${ECHO_T}$emacs_cv_void_star" >&6
5107  if test $emacs_cv_void_star = yes; then  if test $emacs_cv_void_star = yes; then
5108    cat >>confdefs.h <<\EOF    cat >>confdefs.h <<\EOF
# Line 5136  EOF Line 5116  EOF
5116    
5117  fi  fi
5118    
5119  echo "$as_me:5138: checking whether ${MAKE-make} sets \${MAKE}" >&5  echo "$as_me:5119: checking whether ${MAKE-make} sets \${MAKE}" >&5
5120  echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6  echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
5121  set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`  set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
5122  if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then  if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
# Line 5156  fi Line 5136  fi
5136  rm -f conftest.make  rm -f conftest.make
5137  fi  fi
5138  if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then  if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
5139    echo "$as_me:5158: result: yes" >&5    echo "$as_me:5139: result: yes" >&5
5140  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
5141    SET_MAKE=    SET_MAKE=
5142  else  else
5143    echo "$as_me:5162: result: no" >&5    echo "$as_me:5143: result: no" >&5
5144  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
5145    SET_MAKE="MAKE=${MAKE-make}"    SET_MAKE="MAKE=${MAKE-make}"
5146  fi  fi
5147    
5148  echo "$as_me:5167: checking for long file names" >&5  echo "$as_me:5148: checking for long file names" >&5
5149  echo $ECHO_N "checking for long file names... $ECHO_C" >&6  echo $ECHO_N "checking for long file names... $ECHO_C" >&6
5150  if test "${ac_cv_sys_long_file_names+set}" = set; then  if test "${ac_cv_sys_long_file_names+set}" = set; then
5151    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5204  for ac_dir in  . $ac_tmpdirs `eval echo Line 5184  for ac_dir in  . $ac_tmpdirs `eval echo
5184    rm -rf $ac_xdir 2>/dev/null    rm -rf $ac_xdir 2>/dev/null
5185  done  done
5186  fi  fi
5187  echo "$as_me:5206: result: $ac_cv_sys_long_file_names" >&5  echo "$as_me:5187: result: $ac_cv_sys_long_file_names" >&5
5188  echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6  echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6
5189  if test $ac_cv_sys_long_file_names = yes; then  if test $ac_cv_sys_long_file_names = yes; then
5190    
# Line 5216  fi Line 5196  fi
5196    
5197  #### Choose a window system.  #### Choose a window system.
5198    
5199  echo "$as_me:5218: checking for X" >&5  echo "$as_me:5199: checking for X" >&5
5200  echo $ECHO_N "checking for X... $ECHO_C" >&6  echo $ECHO_N "checking for X... $ECHO_C" >&6
5201    
5202  # Check whether --with-x or --without-x was given.  # Check whether --with-x or --without-x was given.
# Line 5313  if test "$ac_x_includes" = no; then Line 5293  if test "$ac_x_includes" = no; then
5293    # Guess where to find include files, by looking for Intrinsic.h.    # Guess where to find include files, by looking for Intrinsic.h.
5294    # First, try using that file with no special directory specified.    # First, try using that file with no special directory specified.
5295    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5296  #line 5310 "configure"  #line 5296 "configure"
5297  #include "confdefs.h"  #include "confdefs.h"
5298  #include <X11/Intrinsic.h>  #include <X11/Intrinsic.h>
5299  _ACEOF  _ACEOF
5300  if { (eval echo "$as_me:5319: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:5300: \"$ac_cpp conftest.$ac_ext\"") >&5
5301    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5302    ac_status=$?    ac_status=$?
5303    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
5304    rm -f conftest.er1    rm -f conftest.er1
5305    cat conftest.err >&5    cat conftest.err >&5
5306    echo "$as_me:5325: \$? = $ac_status" >&5    echo "$as_me:5306: \$? = $ac_status" >&5
5307    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
5308    if test -s conftest.err; then    if test -s conftest.err; then
5309      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 5356  if test "$ac_x_libraries" = no; then Line 5336  if test "$ac_x_libraries" = no; then
5336    ac_save_LIBS=$LIBS    ac_save_LIBS=$LIBS
5337    LIBS="-lXt $LIBS"    LIBS="-lXt $LIBS"
5338    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5339  #line 5353 "configure"  #line 5339 "configure"
5340  #include "confdefs.h"  #include "confdefs.h"
5341  #include <X11/Intrinsic.h>  #include <X11/Intrinsic.h>
5342  int  int
# Line 5368  XtMalloc (0) Line 5348  XtMalloc (0)
5348  }  }
5349  _ACEOF  _ACEOF
5350  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
5351  if { (eval echo "$as_me:5370: \"$ac_link\"") >&5  if { (eval echo "$as_me:5351: \"$ac_link\"") >&5
5352    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
5353    ac_status=$?    ac_status=$?
5354    echo "$as_me:5373: \$? = $ac_status" >&5    echo "$as_me:5354: \$? = $ac_status" >&5
5355    (exit $ac_status); } &&    (exit $ac_status); } &&
5356           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
5357    { (eval echo "$as_me:5376: \"$ac_try\"") >&5    { (eval echo "$as_me:5357: \"$ac_try\"") >&5
5358    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5359    ac_status=$?    ac_status=$?
5360    echo "$as_me:5379: \$? = $ac_status" >&5    echo "$as_me:5360: \$? = $ac_status" >&5
5361    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
5362    LIBS=$ac_save_LIBS    LIBS=$ac_save_LIBS
5363  # We can link X programs with no special library path.  # We can link X programs with no special library path.
# Line 5415  fi Line 5395  fi
5395  fi # $with_x != no  fi # $with_x != no
5396    
5397  if test "$have_x" != yes; then  if test "$have_x" != yes; then
5398    echo "$as_me:5417: result: $have_x" >&5    echo "$as_me:5398: result: $have_x" >&5
5399  echo "${ECHO_T}$have_x" >&6  echo "${ECHO_T}$have_x" >&6
5400    no_x=yes    no_x=yes
5401  else  else
# Line 5425  else Line 5405  else
5405    # Update the cache value to reflect the command line values.    # Update the cache value to reflect the command line values.
5406    ac_cv_have_x="have_x=yes \    ac_cv_have_x="have_x=yes \
5407                  ac_x_includes=$x_includes ac_x_libraries=$x_libraries"                  ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
5408    echo "$as_me:5427: result: libraries $x_libraries, headers $x_includes" >&5    echo "$as_me:5408: result: libraries $x_libraries, headers $x_includes" >&5
5409  echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6  echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
5410  fi  fi
5411    
# Line 5523  UNEXEC_SRC="`echo ${unexec} | sed 's/\.o Line 5503  UNEXEC_SRC="`echo ${unexec} | sed 's/\.o
5503  # Assume not, until told otherwise.  # Assume not, until told otherwise.
5504  GNU_MALLOC=yes  GNU_MALLOC=yes
5505  doug_lea_malloc=yes  doug_lea_malloc=yes
5506  echo "$as_me:5525: checking for malloc_get_state" >&5  echo "$as_me:5506: checking for malloc_get_state" >&5
5507  echo $ECHO_N "checking for malloc_get_state... $ECHO_C" >&6  echo $ECHO_N "checking for malloc_get_state... $ECHO_C" >&6
5508  if test "${ac_cv_func_malloc_get_state+set}" = set; then  if test "${ac_cv_func_malloc_get_state+set}" = set; then
5509    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
5510  else  else
5511    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5512  #line 5526 "configure"  #line 5512 "configure"
5513  #include "confdefs.h"  #include "confdefs.h"
5514  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
5515      which can conflict with char malloc_get_state (); below.  */      which can conflict with char malloc_get_state (); below.  */
# Line 5560  f = malloc_get_state; Line 5540  f = malloc_get_state;
5540  }  }
5541  _ACEOF  _ACEOF
5542  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
5543  if { (eval echo "$as_me:5562: \"$ac_link\"") >&5  if { (eval echo "$as_me:5543: \"$ac_link\"") >&5
5544    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
5545    ac_status=$?    ac_status=$?
5546    echo "$as_me:5565: \$? = $ac_status" >&5    echo "$as_me:5546: \$? = $ac_status" >&5
5547    (exit $ac_status); } &&    (exit $ac_status); } &&
5548           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
5549    { (eval echo "$as_me:5568: \"$ac_try\"") >&5    { (eval echo "$as_me:5549: \"$ac_try\"") >&5
5550    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5551    ac_status=$?    ac_status=$?
5552    echo "$as_me:5571: \$? = $ac_status" >&5    echo "$as_me:5552: \$? = $ac_status" >&5
5553    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
5554    ac_cv_func_malloc_get_state=yes    ac_cv_func_malloc_get_state=yes
5555  else  else
# Line 5579  ac_cv_func_malloc_get_state=no Line 5559  ac_cv_func_malloc_get_state=no
5559  fi  fi
5560  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5561  fi  fi
5562  echo "$as_me:5581: result: $ac_cv_func_malloc_get_state" >&5  echo "$as_me:5562: result: $ac_cv_func_malloc_get_state" >&5
5563  echo "${ECHO_T}$ac_cv_func_malloc_get_state" >&6  echo "${ECHO_T}$ac_cv_func_malloc_get_state" >&6
5564  if test $ac_cv_func_malloc_get_state = yes; then  if test $ac_cv_func_malloc_get_state = yes; then
5565    :    :
# Line 5587  else Line 5567  else
5567    doug_lea_malloc=no    doug_lea_malloc=no
5568  fi  fi
5569    
5570  echo "$as_me:5589: checking for malloc_set_state" >&5  echo "$as_me:5570: checking for malloc_set_state" >&5
5571  echo $ECHO_N "checking for malloc_set_state... $ECHO_C" >&6  echo $ECHO_N "checking for malloc_set_state... $ECHO_C" >&6
5572  if test "${ac_cv_func_malloc_set_state+set}" = set; then  if test "${ac_cv_func_malloc_set_state+set}" = set; then
5573    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
5574  else  else
5575    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5576  #line 5590 "configure"  #line 5576 "configure"
5577  #include "confdefs.h"  #include "confdefs.h"
5578  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
5579      which can conflict with char malloc_set_state (); below.  */      which can conflict with char malloc_set_state (); below.  */
# Line 5624  f = malloc_set_state; Line 5604  f = malloc_set_state;
5604  }  }
5605  _ACEOF  _ACEOF
5606  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
5607  if { (eval echo "$as_me:5626: \"$ac_link\"") >&5  if { (eval echo "$as_me:5607: \"$ac_link\"") >&5
5608    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
5609    ac_status=$?    ac_status=$?
5610    echo "$as_me:5629: \$? = $ac_status" >&5    echo "$as_me:5610: \$? = $ac_status" >&5
5611    (exit $ac_status); } &&    (exit $ac_status); } &&
5612           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
5613    { (eval echo "$as_me:5632: \"$ac_try\"") >&5    { (eval echo "$as_me:5613: \"$ac_try\"") >&5
5614    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5615    ac_status=$?    ac_status=$?
5616    echo "$as_me:5635: \$? = $ac_status" >&5    echo "$as_me:5616: \$? = $ac_status" >&5
5617    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
5618    ac_cv_func_malloc_set_state=yes    ac_cv_func_malloc_set_state=yes
5619  else  else
# Line 5643  ac_cv_func_malloc_set_state=no Line 5623  ac_cv_func_malloc_set_state=no
5623  fi  fi
5624  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5625  fi  fi
5626  echo "$as_me:5645: result: $ac_cv_func_malloc_set_state" >&5  echo "$as_me:5626: result: $ac_cv_func_malloc_set_state" >&5
5627  echo "${ECHO_T}$ac_cv_func_malloc_set_state" >&6  echo "${ECHO_T}$ac_cv_func_malloc_set_state" >&6
5628  if test $ac_cv_func_malloc_set_state = yes; then  if test $ac_cv_func_malloc_set_state = yes; then
5629    :    :
# Line 5651  else Line 5631  else
5631    doug_lea_malloc=no    doug_lea_malloc=no
5632  fi  fi
5633    
5634  echo "$as_me:5653: checking whether __after_morecore_hook exists" >&5  echo "$as_me:5634: checking whether __after_morecore_hook exists" >&5
5635  echo $ECHO_N "checking whether __after_morecore_hook exists... $ECHO_C" >&6  echo $ECHO_N "checking whether __after_morecore_hook exists... $ECHO_C" >&6
5636  if test "${emacs_cv_var___after_morecore_hook+set}" = set; then  if test "${emacs_cv_var___after_morecore_hook+set}" = set; then
5637    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
5638  else  else
5639    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5640  #line 5654 "configure"  #line 5640 "configure"
5641  #include "confdefs.h"  #include "confdefs.h"
5642  extern void (* __after_morecore_hook)();  extern void (* __after_morecore_hook)();
5643  int  int
# Line 5669  __after_morecore_hook = 0 Line 5649  __after_morecore_hook = 0
5649  }  }
5650  _ACEOF  _ACEOF
5651  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
5652  if { (eval echo "$as_me:5671: \"$ac_link\"") >&5  if { (eval echo "$as_me:5652: \"$ac_link\"") >&5
5653    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
5654    ac_status=$?    ac_status=$?
5655    echo "$as_me:5674: \$? = $ac_status" >&5    echo "$as_me:5655: \$? = $ac_status" >&5
5656    (exit $ac_status); } &&    (exit $ac_status); } &&
5657           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
5658    { (eval echo "$as_me:5677: \"$ac_try\"") >&5    { (eval echo "$as_me:5658: \"$ac_try\"") >&5
5659    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5660    ac_status=$?    ac_status=$?
5661    echo "$as_me:5680: \$? = $ac_status" >&5    echo "$as_me:5661: \$? = $ac_status" >&5
5662    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
5663    emacs_cv_var___after_morecore_hook=yes    emacs_cv_var___after_morecore_hook=yes
5664  else  else
# Line 5688  emacs_cv_var___after_morecore_hook=no Line 5668  emacs_cv_var___after_morecore_hook=no
5668  fi  fi
5669  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5670  fi  fi
5671  echo "$as_me:5690: result: $emacs_cv_var___after_morecore_hook" >&5  echo "$as_me:5671: result: $emacs_cv_var___after_morecore_hook" >&5
5672  echo "${ECHO_T}$emacs_cv_var___after_morecore_hook" >&6  echo "${ECHO_T}$emacs_cv_var___after_morecore_hook" >&6
5673  if test $emacs_cv_var___after_morecore_hook = no; then  if test $emacs_cv_var___after_morecore_hook = no; then
5674    doug_lea_malloc=no    doug_lea_malloc=no
# Line 5720  for ac_header in sys/types.h sys/stat.h Line 5700  for ac_header in sys/types.h sys/stat.h
5700                    inttypes.h stdint.h unistd.h                    inttypes.h stdint.h unistd.h
5701  do  do
5702  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5703  echo "$as_me:5722: checking for $ac_header" >&5  echo "$as_me:5703: checking for $ac_header" >&5
5704  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5705  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
5706    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
5707  else  else
5708    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5709  #line 5723 "configure"  #line 5709 "configure"
5710  #include "confdefs.h"  #include "confdefs.h"
5711  $ac_includes_default  $ac_includes_default
5712  #include <$ac_header>  #include <$ac_header>
5713  _ACEOF  _ACEOF
5714  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
5715  if { (eval echo "$as_me:5734: \"$ac_compile\"") >&5  if { (eval echo "$as_me:5715: \"$ac_compile\"") >&5
5716    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
5717    ac_status=$?    ac_status=$?
5718    echo "$as_me:5737: \$? = $ac_status" >&5    echo "$as_me:5718: \$? = $ac_status" >&5
5719    (exit $ac_status); } &&    (exit $ac_status); } &&
5720           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
5721    { (eval echo "$as_me:5740: \"$ac_try\"") >&5    { (eval echo "$as_me:5721: \"$ac_try\"") >&5
5722    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5723    ac_status=$?    ac_status=$?
5724    echo "$as_me:5743: \$? = $ac_status" >&5    echo "$as_me:5724: \$? = $ac_status" >&5
5725    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
5726    eval "$as_ac_Header=yes"    eval "$as_ac_Header=yes"
5727  else  else
# Line 5751  eval "$as_ac_Header=no" Line 5731  eval "$as_ac_Header=no"
5731  fi  fi
5732  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
5733  fi  fi
5734  echo "$as_me:5753: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:5734: result: `eval echo '${'$as_ac_Header'}'`" >&5
5735  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5736  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
5737    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 5764  done Line 5744  done
5744  for ac_header in stdlib.h unistd.h  for ac_header in stdlib.h unistd.h
5745  do  do
5746  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5747  echo "$as_me:5766: checking for $ac_header" >&5  echo "$as_me:5747: checking for $ac_header" >&5
5748  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5749  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
5750    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
5751  else  else
5752    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5753  #line 5767 "configure"  #line 5753 "configure"
5754  #include "confdefs.h"  #include "confdefs.h"
5755  #include <$ac_header>  #include <$ac_header>
5756  _ACEOF  _ACEOF
5757  if { (eval echo "$as_me:5776: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:5757: \"$ac_cpp conftest.$ac_ext\"") >&5
5758    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5759    ac_status=$?    ac_status=$?
5760    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
5761    rm -f conftest.er1    rm -f conftest.er1
5762    cat conftest.err >&5    cat conftest.err >&5
5763    echo "$as_me:5782: \$? = $ac_status" >&5    echo "$as_me:5763: \$? = $ac_status" >&5
5764    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
5765    if test -s conftest.err; then    if test -s conftest.err; then
5766      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 5799  else Line 5779  else
5779  fi  fi
5780  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
5781  fi  fi
5782  echo "$as_me:5801: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:5782: result: `eval echo '${'$as_ac_Header'}'`" >&5
5783  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5784  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
5785    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 5812  done Line 5792  done
5792  for ac_func in getpagesize  for ac_func in getpagesize
5793  do  do
5794  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5795  echo "$as_me:5814: checking for $ac_func" >&5  echo "$as_me:5795: checking for $ac_func" >&5
5796  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5797  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
5798    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
5799  else  else
5800    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5801  #line 5815 "configure"  #line 5801 "configure"
5802  #include "confdefs.h"  #include "confdefs.h"
5803  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
5804      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 5849  f = $ac_func; Line 5829  f = $ac_func;
5829  }  }
5830  _ACEOF  _ACEOF
5831  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
5832  if { (eval echo "$as_me:5851: \"$ac_link\"") >&5  if { (eval echo "$as_me:5832: \"$ac_link\"") >&5
5833    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
5834    ac_status=$?    ac_status=$?
5835    echo "$as_me:5854: \$? = $ac_status" >&5    echo "$as_me:5835: \$? = $ac_status" >&5
5836    (exit $ac_status); } &&    (exit $ac_status); } &&
5837           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
5838    { (eval echo "$as_me:5857: \"$ac_try\"") >&5    { (eval echo "$as_me:5838: \"$ac_try\"") >&5
5839    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5840    ac_status=$?    ac_status=$?
5841    echo "$as_me:5860: \$? = $ac_status" >&5    echo "$as_me:5841: \$? = $ac_status" >&5
5842    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
5843    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
5844  else  else
# Line 5868  eval "$as_ac_var=no" Line 5848  eval "$as_ac_var=no"
5848  fi  fi
5849  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5850  fi  fi
5851  echo "$as_me:5870: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:5851: result: `eval echo '${'$as_ac_var'}'`" >&5
5852  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5853  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
5854    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 5878  EOF Line 5858  EOF
5858  fi  fi
5859  done  done
5860    
5861  echo "$as_me:5880: checking for working mmap" >&5  echo "$as_me:5861: checking for working mmap" >&5
5862  echo $ECHO_N "checking for working mmap... $ECHO_C" >&6  echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
5863  if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then  if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
5864    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5887  else Line 5867  else
5867    ac_cv_func_mmap_fixed_mapped=no    ac_cv_func_mmap_fixed_mapped=no
5868  else  else
5869    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5870  #line 5884 "configure"  #line 5870 "configure"
5871  #include "confdefs.h"  #include "confdefs.h"
5872  $ac_includes_default  $ac_includes_default
5873  /* Thanks to Mike Haertel and Jim Avera for this test.  /* Thanks to Mike Haertel and Jim Avera for this test.
# Line 6014  main () Line 5994  main ()
5994  }  }
5995  _ACEOF  _ACEOF
5996  rm -f conftest$ac_exeext  rm -f conftest$ac_exeext
5997  if { (eval echo "$as_me:6016: \"$ac_link\"") >&5  if { (eval echo "$as_me:5997: \"$ac_link\"") >&5
5998    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
5999    ac_status=$?    ac_status=$?
6000    echo "$as_me:6019: \$? = $ac_status" >&5    echo "$as_me:6000: \$? = $ac_status" >&5
6001    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6002    { (eval echo "$as_me:6021: \"$ac_try\"") >&5    { (eval echo "$as_me:6002: \"$ac_try\"") >&5
6003    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6004    ac_status=$?    ac_status=$?
6005    echo "$as_me:6024: \$? = $ac_status" >&5    echo "$as_me:6005: \$? = $ac_status" >&5
6006    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6007    ac_cv_func_mmap_fixed_mapped=yes    ac_cv_func_mmap_fixed_mapped=yes
6008  else  else
# Line 6034  fi Line 6014  fi
6014  rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext  rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6015  fi  fi
6016  fi  fi
6017  echo "$as_me:6036: result: $ac_cv_func_mmap_fixed_mapped" >&5  echo "$as_me:6017: result: $ac_cv_func_mmap_fixed_mapped" >&5
6018  echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6  echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
6019  if test $ac_cv_func_mmap_fixed_mapped = yes; then  if test $ac_cv_func_mmap_fixed_mapped = yes; then
6020    
# Line 6051  fi Line 6031  fi
6031    
6032  LIBS="$libsrc_libs $LIBS"  LIBS="$libsrc_libs $LIBS"
6033    
6034  echo "$as_me:6053: checking for dnet_ntoa in -ldnet" >&5  echo "$as_me:6034: checking for dnet_ntoa in -ldnet" >&5
6035  echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6  echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
6036  if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then  if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
6037    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6059  else Line 6039  else
6039    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
6040  LIBS="-ldnet  $LIBS"  LIBS="-ldnet  $LIBS"
6041  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
6042  #line 6056 "configure"  #line 6042 "configure"
6043  #include "confdefs.h"  #include "confdefs.h"
6044    
6045  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 6078  dnet_ntoa (); Line 6058  dnet_ntoa ();
6058  }  }
6059  _ACEOF  _ACEOF
6060  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6061  if { (eval echo "$as_me:6080: \"$ac_link\"") >&5  if { (eval echo "$as_me:6061: \"$ac_link\"") >&5
6062    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6063    ac_status=$?    ac_status=$?
6064    echo "$as_me:6083: \$? = $ac_status" >&5    echo "$as_me:6064: \$? = $ac_status" >&5
6065    (exit $ac_status); } &&    (exit $ac_status); } &&
6066           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6067    { (eval echo "$as_me:6086: \"$ac_try\"") >&5    { (eval echo "$as_me:6067: \"$ac_try\"") >&5
6068    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6069    ac_status=$?    ac_status=$?
6070    echo "$as_me:6089: \$? = $ac_status" >&5    echo "$as_me:6070: \$? = $ac_status" >&5
6071    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6072    ac_cv_lib_dnet_dnet_ntoa=yes    ac_cv_lib_dnet_dnet_ntoa=yes
6073  else  else
# Line 6098  fi Line 6078  fi
6078  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6079  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
6080  fi  fi
6081  echo "$as_me:6100: result: $ac_cv_lib_dnet_dnet_ntoa" >&5  echo "$as_me:6081: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
6082  echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6  echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
6083  if test $ac_cv_lib_dnet_dnet_ntoa = yes; then  if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
6084    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 6109  EOF Line 6089  EOF
6089    
6090  fi  fi
6091    
6092  echo "$as_me:6111: checking for main in -lXbsd" >&5  echo "$as_me:6092: checking for main in -lXbsd" >&5
6093  echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6  echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6
6094  if test "${ac_cv_lib_Xbsd_main+set}" = set; then  if test "${ac_cv_lib_Xbsd_main+set}" = set; then
6095    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6117  else Line 6097  else
6097    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
6098  LIBS="-lXbsd  $LIBS"  LIBS="-lXbsd  $LIBS"
6099  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
6100  #line 6114 "configure"  #line 6100 "configure"
6101  #include "confdefs.h"  #include "confdefs.h"
6102    
6103  int  int
# Line 6129  main (); Line 6109  main ();
6109  }  }
6110  _ACEOF  _ACEOF
6111  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6112  if { (eval echo "$as_me:6131: \"$ac_link\"") >&5  if { (eval echo "$as_me:6112: \"$ac_link\"") >&5
6113    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6114    ac_status=$?    ac_status=$?
6115    echo "$as_me:6134: \$? = $ac_status" >&5    echo "$as_me:6115: \$? = $ac_status" >&5
6116    (exit $ac_status); } &&    (exit $ac_status); } &&
6117           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6118    { (eval echo "$as_me:6137: \"$ac_try\"") >&5    { (eval echo "$as_me:6118: \"$ac_try\"") >&5
6119    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6120    ac_status=$?    ac_status=$?
6121    echo "$as_me:6140: \$? = $ac_status" >&5    echo "$as_me:6121: \$? = $ac_status" >&5
6122    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6123    ac_cv_lib_Xbsd_main=yes    ac_cv_lib_Xbsd_main=yes
6124  else  else
# Line 6149  fi Line 6129  fi
6129  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6130  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
6131  fi  fi
6132  echo "$as_me:6151: result: $ac_cv_lib_Xbsd_main" >&5  echo "$as_me:6132: result: $ac_cv_lib_Xbsd_main" >&5
6133  echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6  echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6
6134  if test $ac_cv_lib_Xbsd_main = yes; then  if test $ac_cv_lib_Xbsd_main = yes; then
6135    LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd"    LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd"
6136  fi  fi
6137    
6138  echo "$as_me:6157: checking for cma_open in -lpthreads" >&5  echo "$as_me:6138: checking for cma_open in -lpthreads" >&5
6139  echo $ECHO_N "checking for cma_open in -lpthreads... $ECHO_C" >&6  echo $ECHO_N "checking for cma_open in -lpthreads... $ECHO_C" >&6
6140  if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then  if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then
6141    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6163  else Line 6143  else
6143    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
6144  LIBS="-lpthreads  $LIBS"  LIBS="-lpthreads  $LIBS"
6145  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
6146  #line 6160 "configure"  #line 6146 "configure"
6147  #include "confdefs.h"  #include "confdefs.h"
6148    
6149  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 6182  cma_open (); Line 6162  cma_open ();
6162  }  }
6163  _ACEOF  _ACEOF
6164  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6165  if { (eval echo "$as_me:6184: \"$ac_link\"") >&5  if { (eval echo "$as_me:6165: \"$ac_link\"") >&5
6166    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6167    ac_status=$?    ac_status=$?
6168    echo "$as_me:6187: \$? = $ac_status" >&5    echo "$as_me:6168: \$? = $ac_status" >&5
6169    (exit $ac_status); } &&    (exit $ac_status); } &&
6170           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6171    { (eval echo "$as_me:6190: \"$ac_try\"") >&5    { (eval echo "$as_me:6171: \"$ac_try\"") >&5
6172    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6173    ac_status=$?    ac_status=$?
6174    echo "$as_me:6193: \$? = $ac_status" >&5    echo "$as_me:6174: \$? = $ac_status" >&5
6175    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6176    ac_cv_lib_pthreads_cma_open=yes    ac_cv_lib_pthreads_cma_open=yes
6177  else  else
# Line 6202  fi Line 6182  fi
6182  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6183  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
6184  fi  fi
6185  echo "$as_me:6204: result: $ac_cv_lib_pthreads_cma_open" >&5  echo "$as_me:6185: result: $ac_cv_lib_pthreads_cma_open" >&5
6186  echo "${ECHO_T}$ac_cv_lib_pthreads_cma_open" >&6  echo "${ECHO_T}$ac_cv_lib_pthreads_cma_open" >&6
6187  if test $ac_cv_lib_pthreads_cma_open = yes; then  if test $ac_cv_lib_pthreads_cma_open = yes; then
6188    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 6213  EOF Line 6193  EOF
6193    
6194  fi  fi
6195    
6196  echo "$as_me:6215: checking for XFree86 in /usr/X386" >&5  echo "$as_me:6196: checking for XFree86 in /usr/X386" >&5
6197  echo $ECHO_N "checking for XFree86 in /usr/X386... $ECHO_C" >&6  echo $ECHO_N "checking for XFree86 in /usr/X386... $ECHO_C" >&6
6198  if test -d /usr/X386/include; then  if test -d /usr/X386/include; then
6199    HAVE_XFREE386=yes    HAVE_XFREE386=yes
# Line 6221  if test -d /usr/X386/include; then Line 6201  if test -d /usr/X386/include; then
6201  else  else
6202    HAVE_XFREE386=no    HAVE_XFREE386=no
6203  fi  fi
6204  echo "$as_me:6223: result: $HAVE_XFREE386" >&5  echo "$as_me:6204: result: $HAVE_XFREE386" >&5
6205  echo "${ECHO_T}$HAVE_XFREE386" >&6  echo "${ECHO_T}$HAVE_XFREE386" >&6
6206    
6207  # Change CFLAGS temporarily so that C_SWITCH_X_SITE gets used  # Change CFLAGS temporarily so that C_SWITCH_X_SITE gets used
# Line 6246  if test "${HAVE_X11}" = "yes"; then Line 6226  if test "${HAVE_X11}" = "yes"; then
6226    fi    fi
6227    
6228    if test "${opsys}" = "gnu-linux"; then    if test "${opsys}" = "gnu-linux"; then
6229      echo "$as_me:6248: checking whether X on GNU/Linux needs -b to link" >&5      echo "$as_me:6229: checking whether X on GNU/Linux needs -b to link" >&5
6230  echo $ECHO_N "checking whether X on GNU/Linux needs -b to link... $ECHO_C" >&6  echo $ECHO_N "checking whether X on GNU/Linux needs -b to link... $ECHO_C" >&6
6231      cat >conftest.$ac_ext <<_ACEOF      cat >conftest.$ac_ext <<_ACEOF
6232  #line 6246 "configure"  #line 6232 "configure"
6233  #include "confdefs.h"  #include "confdefs.h"
6234    
6235  int  int
# Line 6261  XOpenDisplay ("foo"); Line 6241  XOpenDisplay ("foo");
6241  }  }
6242  _ACEOF  _ACEOF
6243  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6244  if { (eval echo "$as_me:6263: \"$ac_link\"") >&5  if { (eval echo "$as_me:6244: \"$ac_link\"") >&5
6245    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6246    ac_status=$?    ac_status=$?
6247    echo "$as_me:6266: \$? = $ac_status" >&5    echo "$as_me:6247: \$? = $ac_status" >&5
6248    (exit $ac_status); } &&    (exit $ac_status); } &&
6249           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6250    { (eval echo "$as_me:6269: \"$ac_try\"") >&5    { (eval echo "$as_me:6250: \"$ac_try\"") >&5
6251    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6252    ac_status=$?    ac_status=$?
6253    echo "$as_me:6272: \$? = $ac_status" >&5    echo "$as_me:6253: \$? = $ac_status" >&5
6254    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6255    xlinux_first_failure=no    xlinux_first_failure=no
6256  else  else
# Line 6289  rm -f conftest.$ac_objext conftest$ac_ex Line 6269  rm -f conftest.$ac_objext conftest$ac_ex
6269        CPPFLAGS="$CPPFLAGS -b i486-linuxaout"        CPPFLAGS="$CPPFLAGS -b i486-linuxaout"
6270        LIBS="$LIBS -b i486-linuxaout"        LIBS="$LIBS -b i486-linuxaout"
6271        cat >conftest.$ac_ext <<_ACEOF        cat >conftest.$ac_ext <<_ACEOF
6272  #line 6286 "configure"  #line 6272 "configure"
6273  #include "confdefs.h"  #include "confdefs.h"
6274    
6275  int  int
# Line 6301  XOpenDisplay ("foo"); Line 6281  XOpenDisplay ("foo");
6281  }  }
6282  _ACEOF  _ACEOF
6283  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6284  if { (eval echo "$as_me:6303: \"$ac_link\"") >&5  if { (eval echo "$as_me:6284: \"$ac_link\"") >&5
6285    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6286    ac_status=$?    ac_status=$?
6287    echo "$as_me:6306: \$? = $ac_status" >&5    echo "$as_me:6287: \$? = $ac_status" >&5
6288    (exit $ac_status); } &&    (exit $ac_status); } &&
6289           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6290    { (eval echo "$as_me:6309: \"$ac_try\"") >&5    { (eval echo "$as_me:6290: \"$ac_try\"") >&5
6291    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6292    ac_status=$?    ac_status=$?
6293    echo "$as_me:6312: \$? = $ac_status" >&5    echo "$as_me:6293: \$? = $ac_status" >&5
6294    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6295    xlinux_second_failure=no    xlinux_second_failure=no
6296  else  else
# Line 6326  rm -f conftest.$ac_objext conftest$ac_ex Line 6306  rm -f conftest.$ac_objext conftest$ac_ex
6306          C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE"          C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE"
6307          CPPFLAGS="$OLD_CPPFLAGS"          CPPFLAGS="$OLD_CPPFLAGS"
6308          LIBS="$OLD_LIBS"          LIBS="$OLD_LIBS"
6309          echo "$as_me:6328: result: no" >&5          echo "$as_me:6309: result: no" >&5
6310  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
6311        else        else
6312          echo "$as_me:6331: result: yes" >&5          echo "$as_me:6312: result: yes" >&5
6313  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
6314        fi        fi
6315      else      else
6316        echo "$as_me:6335: result: no" >&5        echo "$as_me:6316: result: no" >&5
6317  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
6318      fi      fi
6319    fi    fi
6320    
6321    # Reportedly, some broken Solaris systems have XKBlib.h but are missing    # Reportedly, some broken Solaris systems have XKBlib.h but are missing
6322    # header files included from there.    # header files included from there.
6323    echo "$as_me:6342: checking for Xkb" >&5    echo "$as_me:6323: checking for Xkb" >&5
6324  echo $ECHO_N "checking for Xkb... $ECHO_C" >&6  echo $ECHO_N "checking for Xkb... $ECHO_C" >&6
6325    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6326  #line 6340 "configure"  #line 6326 "configure"
6327  #include "confdefs.h"  #include "confdefs.h"
6328  #include <X11/Xlib.h>  #include <X11/Xlib.h>
6329  #include <X11/XKBlib.h>  #include <X11/XKBlib.h>
# Line 6356  XkbDescPtr kb = XkbGetKeyboard (0, XkbAl Line 6336  XkbDescPtr kb = XkbGetKeyboard (0, XkbAl
6336  }  }
6337  _ACEOF  _ACEOF
6338  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6339  if { (eval echo "$as_me:6358: \"$ac_link\"") >&5  if { (eval echo "$as_me:6339: \"$ac_link\"") >&5
6340    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6341    ac_status=$?    ac_status=$?
6342    echo "$as_me:6361: \$? = $ac_status" >&5    echo "$as_me:6342: \$? = $ac_status" >&5
6343    (exit $ac_status); } &&    (exit $ac_status); } &&
6344           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6345    { (eval echo "$as_me:6364: \"$ac_try\"") >&5    { (eval echo "$as_me:6345: \"$ac_try\"") >&5
6346    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6347    ac_status=$?    ac_status=$?
6348    echo "$as_me:6367: \$? = $ac_status" >&5    echo "$as_me:6348: \$? = $ac_status" >&5
6349    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6350    emacs_xkb=yes    emacs_xkb=yes
6351  else  else
# Line 6374  cat conftest.$ac_ext >&5 Line 6354  cat conftest.$ac_ext >&5
6354  emacs_xkb=no  emacs_xkb=no
6355  fi  fi
6356  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6357    echo "$as_me:6376: result: $emacs_xkb" >&5    echo "$as_me:6357: result: $emacs_xkb" >&5
6358  echo "${ECHO_T}$emacs_xkb" >&6  echo "${ECHO_T}$emacs_xkb" >&6
6359    if test $emacs_xkb = yes; then    if test $emacs_xkb = yes; then
6360    
# Line 6388  for ac_func in XrmSetDatabase XScreenRes Line 6368  for ac_func in XrmSetDatabase XScreenRes
6368  XScreenNumberOfScreen XSetWMProtocols  XScreenNumberOfScreen XSetWMProtocols
6369  do  do
6370  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6371  echo "$as_me:6390: checking for $ac_func" >&5  echo "$as_me:6371: checking for $ac_func" >&5
6372  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6373  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
6374    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6375  else  else
6376    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6377  #line 6391 "configure"  #line 6377 "configure"
6378  #include "confdefs.h"  #include "confdefs.h"
6379  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
6380      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 6425  f = $ac_func; Line 6405  f = $ac_func;
6405  }  }
6406  _ACEOF  _ACEOF
6407  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6408  if { (eval echo "$as_me:6427: \"$ac_link\"") >&5  if { (eval echo "$as_me:6408: \"$ac_link\"") >&5
6409    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6410    ac_status=$?    ac_status=$?
6411    echo "$as_me:6430: \$? = $ac_status" >&5    echo "$as_me:6411: \$? = $ac_status" >&5
6412    (exit $ac_status); } &&    (exit $ac_status); } &&
6413           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6414    { (eval echo "$as_me:6433: \"$ac_try\"") >&5    { (eval echo "$as_me:6414: \"$ac_try\"") >&5
6415    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6416    ac_status=$?    ac_status=$?
6417    echo "$as_me:6436: \$? = $ac_status" >&5    echo "$as_me:6417: \$? = $ac_status" >&5
6418    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6419    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
6420  else  else
# Line 6444  eval "$as_ac_var=no" Line 6424  eval "$as_ac_var=no"
6424  fi  fi
6425  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6426  fi  fi
6427  echo "$as_me:6446: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:6427: result: `eval echo '${'$as_ac_var'}'`" >&5
6428  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6429  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
6430    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 6457  done Line 6437  done
6437  fi  fi
6438    
6439  if test "${window_system}" = "x11"; then  if test "${window_system}" = "x11"; then
6440    echo "$as_me:6459: checking X11 version 6" >&5    echo "$as_me:6440: checking X11 version 6" >&5
6441  echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6  echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6
6442    if test "${emacs_cv_x11_version_6+set}" = set; then    if test "${emacs_cv_x11_version_6+set}" = set; then
6443    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6444  else  else
6445    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6446  #line 6460 "configure"  #line 6446 "configure"
6447  #include "confdefs.h"  #include "confdefs.h"
6448  #include <X11/Xlib.h>  #include <X11/Xlib.h>
6449  int  int
# Line 6478  fail; Line 6458  fail;
6458  }  }
6459  _ACEOF  _ACEOF
6460  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6461  if { (eval echo "$as_me:6480: \"$ac_link\"") >&5  if { (eval echo "$as_me:6461: \"$ac_link\"") >&5
6462    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6463    ac_status=$?    ac_status=$?
6464    echo "$as_me:6483: \$? = $ac_status" >&5    echo "$as_me:6464: \$? = $ac_status" >&5
6465    (exit $ac_status); } &&    (exit $ac_status); } &&
6466           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6467    { (eval echo "$as_me:6486: \"$ac_try\"") >&5    { (eval echo "$as_me:6467: \"$ac_try\"") >&5
6468    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6469    ac_status=$?    ac_status=$?
6470    echo "$as_me:6489: \$? = $ac_status" >&5    echo "$as_me:6470: \$? = $ac_status" >&5
6471    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6472    emacs_cv_x11_version_6=yes    emacs_cv_x11_version_6=yes
6473  else  else
# Line 6499  rm -f conftest.$ac_objext conftest$ac_ex Line 6479  rm -f conftest.$ac_objext conftest$ac_ex
6479  fi  fi
6480    
6481    if test $emacs_cv_x11_version_6 = yes; then    if test $emacs_cv_x11_version_6 = yes; then
6482      echo "$as_me:6501: result: 6 or newer" >&5      echo "$as_me:6482: result: 6 or newer" >&5
6483  echo "${ECHO_T}6 or newer" >&6  echo "${ECHO_T}6 or newer" >&6
6484    
6485  cat >>confdefs.h <<\EOF  cat >>confdefs.h <<\EOF
# Line 6507  cat >>confdefs.h <<\EOF Line 6487  cat >>confdefs.h <<\EOF
6487  EOF  EOF
6488    
6489    else    else
6490      echo "$as_me:6509: result: before 6" >&5      echo "$as_me:6490: result: before 6" >&5
6491  echo "${ECHO_T}before 6" >&6  echo "${ECHO_T}before 6" >&6
6492    fi    fi
6493  fi  fi
6494    
6495  if test "${window_system}" = "x11"; then  if test "${window_system}" = "x11"; then
6496    echo "$as_me:6515: checking X11 version 5" >&5    echo "$as_me:6496: checking X11 version 5" >&5
6497  echo $ECHO_N "checking X11 version 5... $ECHO_C" >&6  echo $ECHO_N "checking X11 version 5... $ECHO_C" >&6
6498    if test "${emacs_cv_x11_version_5+set}" = set; then    if test "${emacs_cv_x11_version_5+set}" = set; then
6499    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6500  else  else
6501    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6502  #line 6516 "configure"  #line 6502 "configure"
6503  #include "confdefs.h"  #include "confdefs.h"
6504  #include <X11/Xlib.h>  #include <X11/Xlib.h>
6505  int  int
# Line 6534  fail; Line 6514  fail;
6514  }  }
6515  _ACEOF  _ACEOF
6516  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6517  if { (eval echo "$as_me:6536: \"$ac_link\"") >&5  if { (eval echo "$as_me:6517: \"$ac_link\"") >&5
6518    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6519    ac_status=$?    ac_status=$?
6520    echo "$as_me:6539: \$? = $ac_status" >&5    echo "$as_me:6520: \$? = $ac_status" >&5
6521    (exit $ac_status); } &&    (exit $ac_status); } &&
6522           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6523    { (eval echo "$as_me:6542: \"$ac_try\"") >&5    { (eval echo "$as_me:6523: \"$ac_try\"") >&5
6524    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6525    ac_status=$?    ac_status=$?
6526    echo "$as_me:6545: \$? = $ac_status" >&5    echo "$as_me:6526: \$? = $ac_status" >&5
6527    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6528    emacs_cv_x11_version_5=yes    emacs_cv_x11_version_5=yes
6529  else  else
# Line 6555  rm -f conftest.$ac_objext conftest$ac_ex Line 6535  rm -f conftest.$ac_objext conftest$ac_ex
6535  fi  fi
6536    
6537    if test $emacs_cv_x11_version_5 = yes; then    if test $emacs_cv_x11_version_5 = yes; then
6538      echo "$as_me:6557: result: 5 or newer" >&5      echo "$as_me:6538: result: 5 or newer" >&5
6539  echo "${ECHO_T}5 or newer" >&6  echo "${ECHO_T}5 or newer" >&6
6540      HAVE_X11R5=yes      HAVE_X11R5=yes
6541    
# Line 6565  EOF Line 6545  EOF
6545    
6546    else    else
6547      HAVE_X11R5=no      HAVE_X11R5=no
6548      echo "$as_me:6567: result: before 5" >&5      echo "$as_me:6548: result: before 5" >&5
6549  echo "${ECHO_T}before 5" >&6  echo "${ECHO_T}before 5" >&6
6550    fi    fi
6551  fi  fi
6552    
6553  if test x"${USE_X_TOOLKIT}" = xmaybe; then  if test x"${USE_X_TOOLKIT}" = xmaybe; then
6554    if test x"${HAVE_X11R5}" = xyes; then    if test x"${HAVE_X11R5}" = xyes; then
6555      echo "$as_me:6574: checking X11 version 5 with Xaw" >&5      echo "$as_me:6555: checking X11 version 5 with Xaw" >&5
6556  echo $ECHO_N "checking X11 version 5 with Xaw... $ECHO_C" >&6  echo $ECHO_N "checking X11 version 5 with Xaw... $ECHO_C" >&6
6557      if test "${emacs_cv_x11_version_5_with_xaw+set}" = set; then      if test "${emacs_cv_x11_version_5_with_xaw+set}" = set; then
6558    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6559  else  else
6560    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6561  #line 6575 "configure"  #line 6561 "configure"
6562  #include "confdefs.h"  #include "confdefs.h"
6563    
6564  #include <X11/Intrinsic.h>  #include <X11/Intrinsic.h>
# Line 6592  main () Line 6572  main ()
6572  }  }
6573  _ACEOF  _ACEOF
6574  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6575  if { (eval echo "$as_me:6594: \"$ac_link\"") >&5  if { (eval echo "$as_me:6575: \"$ac_link\"") >&5
6576    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6577    ac_status=$?    ac_status=$?
6578    echo "$as_me:6597: \$? = $ac_status" >&5    echo "$as_me:6578: \$? = $ac_status" >&5
6579    (exit $ac_status); } &&    (exit $ac_status); } &&
6580           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6581    { (eval echo "$as_me:6600: \"$ac_try\"") >&5    { (eval echo "$as_me:6581: \"$ac_try\"") >&5
6582    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6583    ac_status=$?    ac_status=$?
6584    echo "$as_me:6603: \$? = $ac_status" >&5    echo "$as_me:6584: \$? = $ac_status" >&5
6585    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6586    emacs_cv_x11_version_5_with_xaw=yes    emacs_cv_x11_version_5_with_xaw=yes
6587  else  else
# Line 6613  rm -f conftest.$ac_objext conftest$ac_ex Line 6593  rm -f conftest.$ac_objext conftest$ac_ex
6593  fi  fi
6594    
6595      if test $emacs_cv_x11_version_5_with_xaw = yes; then      if test $emacs_cv_x11_version_5_with_xaw = yes; then
6596        echo "$as_me:6615: result: 5 or newer, with Xaw; use toolkit by default" >&5        echo "$as_me:6596: result: 5 or newer, with Xaw; use toolkit by default" >&5
6597  echo "${ECHO_T}5 or newer, with Xaw; use toolkit by default" >&6  echo "${ECHO_T}5 or newer, with Xaw; use toolkit by default" >&6
6598        USE_X_TOOLKIT=LUCID        USE_X_TOOLKIT=LUCID
6599      else      else
6600        echo "$as_me:6619: result: before 5 or no Xaw; do not use toolkit by default" >&5        echo "$as_me:6600: result: before 5 or no Xaw; do not use toolkit by default" >&5
6601  echo "${ECHO_T}before 5 or no Xaw; do not use toolkit by default" >&6  echo "${ECHO_T}before 5 or no Xaw; do not use toolkit by default" >&6
6602        USE_X_TOOLKIT=none        USE_X_TOOLKIT=none
6603      fi      fi
# Line 6629  fi Line 6609  fi
6609  X_TOOLKIT_TYPE=$USE_X_TOOLKIT  X_TOOLKIT_TYPE=$USE_X_TOOLKIT
6610    
6611  if test "${USE_X_TOOLKIT}" != "none"; then  if test "${USE_X_TOOLKIT}" != "none"; then
6612    echo "$as_me:6631: checking X11 toolkit version" >&5    echo "$as_me:6612: checking X11 toolkit version" >&5
6613  echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6  echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6
6614    if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then    if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then
6615    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6616  else  else
6617    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6618  #line 6632 "configure"  #line 6618 "configure"
6619  #include "confdefs.h"  #include "confdefs.h"
6620  #include <X11/Intrinsic.h>  #include <X11/Intrinsic.h>
6621  int  int
# Line 6650  fail; Line 6630  fail;
6630  }  }
6631  _ACEOF  _ACEOF
6632  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6633  if { (eval echo "$as_me:6652: \"$ac_link\"") >&5  if { (eval echo "$as_me:6633: \"$ac_link\"") >&5
6634    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6635    ac_status=$?    ac_status=$?
6636    echo "$as_me:6655: \$? = $ac_status" >&5    echo "$as_me:6636: \$? = $ac_status" >&5
6637    (exit $ac_status); } &&    (exit $ac_status); } &&
6638           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6639    { (eval echo "$as_me:6658: \"$ac_try\"") >&5    { (eval echo "$as_me:6639: \"$ac_try\"") >&5
6640    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6641    ac_status=$?    ac_status=$?
6642    echo "$as_me:6661: \$? = $ac_status" >&5    echo "$as_me:6642: \$? = $ac_status" >&5
6643    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6644    emacs_cv_x11_toolkit_version_6=yes    emacs_cv_x11_toolkit_version_6=yes
6645  else  else
# Line 6672  fi Line 6652  fi
6652    
6653    HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6    HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6
6654    if test $emacs_cv_x11_toolkit_version_6 = yes; then    if test $emacs_cv_x11_toolkit_version_6 = yes; then
6655      echo "$as_me:6674: result: 6 or newer" >&5      echo "$as_me:6655: result: 6 or newer" >&5
6656  echo "${ECHO_T}6 or newer" >&6  echo "${ECHO_T}6 or newer" >&6
6657    
6658  cat >>confdefs.h <<\EOF  cat >>confdefs.h <<\EOF
# Line 6680  cat >>confdefs.h <<\EOF Line 6660  cat >>confdefs.h <<\EOF
6660  EOF  EOF
6661    
6662    else    else
6663      echo "$as_me:6682: result: before 6" >&5      echo "$as_me:6663: result: before 6" >&5
6664  echo "${ECHO_T}before 6" >&6  echo "${ECHO_T}before 6" >&6
6665    fi    fi
6666    
# Line 6691  echo "${ECHO_T}before 6" >&6 Line 6671  echo "${ECHO_T}before 6" >&6
6671      LIBS="-lXt $LIBS"      LIBS="-lXt $LIBS"
6672    fi    fi
6673    
6674  echo "$as_me:6693: checking for XmuConvertStandardSelection in -lXmu" >&5  echo "$as_me:6674: checking for XmuConvertStandardSelection in -lXmu" >&5
6675  echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C" >&6  echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C" >&6
6676  if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then  if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then
6677    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6699  else Line 6679  else
6679    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
6680  LIBS="-lXmu  $LIBS"  LIBS="-lXmu  $LIBS"
6681  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
6682  #line 6696 "configure"  #line 6682 "configure"
6683  #include "confdefs.h"  #include "confdefs.h"
6684    
6685  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 6718  XmuConvertStandardSelection (); Line 6698  XmuConvertStandardSelection ();
6698  }  }
6699  _ACEOF  _ACEOF
6700  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6701  if { (eval echo "$as_me:6720: \"$ac_link\"") >&5  if { (eval echo "$as_me:6701: \"$ac_link\"") >&5
6702    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6703    ac_status=$?    ac_status=$?
6704    echo "$as_me:6723: \$? = $ac_status" >&5    echo "$as_me:6704: \$? = $ac_status" >&5
6705    (exit $ac_status); } &&    (exit $ac_status); } &&
6706           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6707    { (eval echo "$as_me:6726: \"$ac_try\"") >&5    { (eval echo "$as_me:6707: \"$ac_try\"") >&5
6708    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6709    ac_status=$?    ac_status=$?
6710    echo "$as_me:6729: \$? = $ac_status" >&5    echo "$as_me:6710: \$? = $ac_status" >&5
6711    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6712    ac_cv_lib_Xmu_XmuConvertStandardSelection=yes    ac_cv_lib_Xmu_XmuConvertStandardSelection=yes
6713  else  else
# Line 6738  fi Line 6718  fi
6718  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6719  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
6720  fi  fi
6721  echo "$as_me:6740: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5  echo "$as_me:6721: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5
6722  echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6  echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6
6723  if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then  if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then
6724    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 6756  fi Line 6736  fi
6736  if test "${HAVE_X11}" = "yes"; then  if test "${HAVE_X11}" = "yes"; then
6737    if test "${USE_X_TOOLKIT}" != "none"; then    if test "${USE_X_TOOLKIT}" != "none"; then
6738    
6739  echo "$as_me:6758: checking for XShapeQueryExtension in -lXext" >&5  echo "$as_me:6739: checking for XShapeQueryExtension in -lXext" >&5
6740  echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6  echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
6741  if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then  if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
6742    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6764  else Line 6744  else
6744    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
6745  LIBS="-lXext  $LIBS"  LIBS="-lXext  $LIBS"
6746  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
6747  #line 6761 "configure"  #line 6747 "configure"
6748  #include "confdefs.h"  #include "confdefs.h"
6749    
6750  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 6783  XShapeQueryExtension (); Line 6763  XShapeQueryExtension ();
6763  }  }
6764  _ACEOF  _ACEOF
6765  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6766  if { (eval echo "$as_me:6785: \"$ac_link\"") >&5  if { (eval echo "$as_me:6766: \"$ac_link\"") >&5
6767    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6768    ac_status=$?    ac_status=$?
6769    echo "$as_me:6788: \$? = $ac_status" >&5    echo "$as_me:6769: \$? = $ac_status" >&5
6770    (exit $ac_status); } &&    (exit $ac_status); } &&
6771           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6772    { (eval echo "$as_me:6791: \"$ac_try\"") >&5    { (eval echo "$as_me:6772: \"$ac_try\"") >&5
6773    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6774    ac_status=$?    ac_status=$?
6775    echo "$as_me:6794: \$? = $ac_status" >&5    echo "$as_me:6775: \$? = $ac_status" >&5
6776    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6777    ac_cv_lib_Xext_XShapeQueryExtension=yes    ac_cv_lib_Xext_XShapeQueryExtension=yes
6778  else  else
# Line 6803  fi Line 6783  fi
6783  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6784  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
6785  fi  fi
6786  echo "$as_me:6805: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5  echo "$as_me:6786: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
6787  echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6  echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
6788  if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then  if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
6789    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 6818  fi Line 6798  fi
6798  fi  fi
6799    
6800  if test "${USE_X_TOOLKIT}" = "MOTIF"; then  if test "${USE_X_TOOLKIT}" = "MOTIF"; then
6801    echo "$as_me:6820: checking for Motif version 2.1" >&5    echo "$as_me:6801: checking for Motif version 2.1" >&5
6802  echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6  echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6
6803  if test "${emacs_cv_motif_version_2_1+set}" = set; then  if test "${emacs_cv_motif_version_2_1+set}" = set; then
6804    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6805  else  else
6806    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6807  #line 6821 "configure"  #line 6807 "configure"
6808  #include "confdefs.h"  #include "confdefs.h"
6809  #include <Xm/Xm.h>  #include <Xm/Xm.h>
6810  int  int
# Line 6840  Motif version prior to 2.1. Line 6820  Motif version prior to 2.1.
6820  }  }
6821  _ACEOF  _ACEOF
6822  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
6823  if { (eval echo "$as_me:6842: \"$ac_compile\"") >&5  if { (eval echo "$as_me:6823: \"$ac_compile\"") >&5
6824    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
6825    ac_status=$?    ac_status=$?
6826    echo "$as_me:6845: \$? = $ac_status" >&5    echo "$as_me:6826: \$? = $ac_status" >&5
6827    (exit $ac_status); } &&    (exit $ac_status); } &&
6828           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
6829    { (eval echo "$as_me:6848: \"$ac_try\"") >&5    { (eval echo "$as_me:6829: \"$ac_try\"") >&5
6830    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6831    ac_status=$?    ac_status=$?
6832    echo "$as_me:6851: \$? = $ac_status" >&5    echo "$as_me:6832: \$? = $ac_status" >&5
6833    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6834    emacs_cv_motif_version_2_1=yes    emacs_cv_motif_version_2_1=yes
6835  else  else
# Line 6859  emacs_cv_motif_version_2_1=no Line 6839  emacs_cv_motif_version_2_1=no
6839  fi  fi
6840  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
6841  fi  fi
6842  echo "$as_me:6861: result: $emacs_cv_motif_version_2_1" >&5  echo "$as_me:6842: result: $emacs_cv_motif_version_2_1" >&5
6843  echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6  echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6
6844    HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1    HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1
6845    if test $emacs_cv_motif_version_2_1 = yes; then    if test $emacs_cv_motif_version_2_1 = yes; then
# Line 6869  cat >>confdefs.h <<\EOF Line 6849  cat >>confdefs.h <<\EOF
6849  #define HAVE_MOTIF_2_1 1  #define HAVE_MOTIF_2_1 1
6850  EOF  EOF
6851    
6852      echo "$as_me:6871: checking for XpCreateContext in -lXp" >&5      echo "$as_me:6852: checking for XpCreateContext in -lXp" >&5
6853  echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6  echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6
6854  if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then  if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then
6855    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6877  else Line 6857  else
6857    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
6858  LIBS="-lXp  $LIBS"  LIBS="-lXp  $LIBS"
6859  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
6860  #line 6874 "configure"  #line 6860 "configure"
6861  #include "confdefs.h"  #include "confdefs.h"
6862    
6863  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 6896  XpCreateContext (); Line 6876  XpCreateContext ();
6876  }  }
6877  _ACEOF  _ACEOF
6878  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6879  if { (eval echo "$as_me:6898: \"$ac_link\"") >&5  if { (eval echo "$as_me:6879: \"$ac_link\"") >&5
6880    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6881    ac_status=$?    ac_status=$?
6882    echo "$as_me:6901: \$? = $ac_status" >&5    echo "$as_me:6882: \$? = $ac_status" >&5
6883    (exit $ac_status); } &&    (exit $ac_status); } &&
6884           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6885    { (eval echo "$as_me:6904: \"$ac_try\"") >&5    { (eval echo "$as_me:6885: \"$ac_try\"") >&5
6886    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6887    ac_status=$?    ac_status=$?
6888    echo "$as_me:6907: \$? = $ac_status" >&5    echo "$as_me:6888: \$? = $ac_status" >&5
6889    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6890    ac_cv_lib_Xp_XpCreateContext=yes    ac_cv_lib_Xp_XpCreateContext=yes
6891  else  else
# Line 6916  fi Line 6896  fi
6896  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6897  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
6898  fi  fi
6899  echo "$as_me:6918: result: $ac_cv_lib_Xp_XpCreateContext" >&5  echo "$as_me:6899: result: $ac_cv_lib_Xp_XpCreateContext" >&5
6900  echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6  echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6
6901  if test $ac_cv_lib_Xp_XpCreateContext = yes; then  if test $ac_cv_lib_Xp_XpCreateContext = yes; then
6902    HAVE_LIBXP=yes    HAVE_LIBXP=yes
# Line 6936  fi Line 6916  fi
6916  HAVE_XAW3D=no  HAVE_XAW3D=no
6917  if test "${HAVE_X11}" = "yes"; then  if test "${HAVE_X11}" = "yes"; then
6918    if test "${USE_X_TOOLKIT}" != "none"; then    if test "${USE_X_TOOLKIT}" != "none"; then
6919      echo "$as_me:6938: checking for X11/Xaw3d/Scrollbar.h" >&5      echo "$as_me:6919: checking for X11/Xaw3d/Scrollbar.h" >&5
6920  echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6  echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6
6921  if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then  if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then
6922    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6923  else  else
6924    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6925  #line 6939 "configure"  #line 6925 "configure"
6926  #include "confdefs.h"  #include "confdefs.h"
6927  #include <X11/Xaw3d/Scrollbar.h>  #include <X11/Xaw3d/Scrollbar.h>
6928  _ACEOF  _ACEOF
6929  if { (eval echo "$as_me:6948: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:6929: \"$ac_cpp conftest.$ac_ext\"") >&5
6930    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6931    ac_status=$?    ac_status=$?
6932    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
6933    rm -f conftest.er1    rm -f conftest.er1
6934    cat conftest.err >&5    cat conftest.err >&5
6935    echo "$as_me:6954: \$? = $ac_status" >&5    echo "$as_me:6935: \$? = $ac_status" >&5
6936    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
6937    if test -s conftest.err; then    if test -s conftest.err; then
6938      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 6971  else Line 6951  else
6951  fi  fi
6952  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
6953  fi  fi
6954  echo "$as_me:6973: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5  echo "$as_me:6954: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5
6955  echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6  echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6
6956  if test $ac_cv_header_X11_Xaw3d_Scrollbar_h = yes; then  if test $ac_cv_header_X11_Xaw3d_Scrollbar_h = yes; then
6957    echo "$as_me:6976: checking for XawScrollbarSetThumb in -lXaw3d" >&5    echo "$as_me:6957: checking for XawScrollbarSetThumb in -lXaw3d" >&5
6958  echo $ECHO_N "checking for XawScrollbarSetThumb in -lXaw3d... $ECHO_C" >&6  echo $ECHO_N "checking for XawScrollbarSetThumb in -lXaw3d... $ECHO_C" >&6
6959  if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then  if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then
6960    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6982  else Line 6962  else
6962    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
6963  LIBS="-lXaw3d  $LIBS"  LIBS="-lXaw3d  $LIBS"
6964  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
6965  #line 6979 "configure"  #line 6965 "configure"
6966  #include "confdefs.h"  #include "confdefs.h"
6967    
6968  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 7001  XawScrollbarSetThumb (); Line 6981  XawScrollbarSetThumb ();
6981  }  }
6982  _ACEOF  _ACEOF
6983  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6984  if { (eval echo "$as_me:7003: \"$ac_link\"") >&5  if { (eval echo "$as_me:6984: \"$ac_link\"") >&5
6985    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6986    ac_status=$?    ac_status=$?
6987    echo "$as_me:7006: \$? = $ac_status" >&5    echo "$as_me:6987: \$? = $ac_status" >&5
6988    (exit $ac_status); } &&    (exit $ac_status); } &&
6989           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6990    { (eval echo "$as_me:7009: \"$ac_try\"") >&5    { (eval echo "$as_me:6990: \"$ac_try\"") >&5
6991    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6992    ac_status=$?    ac_status=$?
6993    echo "$as_me:7012: \$? = $ac_status" >&5    echo "$as_me:6993: \$? = $ac_status" >&5
6994    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6995    ac_cv_lib_Xaw3d_XawScrollbarSetThumb=yes    ac_cv_lib_Xaw3d_XawScrollbarSetThumb=yes
6996  else  else
# Line 7021  fi Line 7001  fi
7001  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7002  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7003  fi  fi
7004  echo "$as_me:7023: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5  echo "$as_me:7004: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5
7005  echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6  echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6
7006  if test $ac_cv_lib_Xaw3d_XawScrollbarSetThumb = yes; then  if test $ac_cv_lib_Xaw3d_XawScrollbarSetThumb = yes; then
7007    HAVE_XAW3D=yes    HAVE_XAW3D=yes
# Line 7071  fi Line 7051  fi
7051  HAVE_XPM=no  HAVE_XPM=no
7052  if test "${HAVE_X11}" = "yes"; then  if test "${HAVE_X11}" = "yes"; then
7053    if test "${with_xpm}" != "no"; then    if test "${with_xpm}" != "no"; then
7054      echo "$as_me:7073: checking for X11/xpm.h" >&5      echo "$as_me:7054: checking for X11/xpm.h" >&5
7055  echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6  echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
7056  if test "${ac_cv_header_X11_xpm_h+set}" = set; then  if test "${ac_cv_header_X11_xpm_h+set}" = set; then
7057    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7058  else  else
7059    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7060  #line 7074 "configure"  #line 7060 "configure"
7061  #include "confdefs.h"  #include "confdefs.h"
7062  #include <X11/xpm.h>  #include <X11/xpm.h>
7063  _ACEOF  _ACEOF
7064  if { (eval echo "$as_me:7083: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:7064: \"$ac_cpp conftest.$ac_ext\"") >&5
7065    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7066    ac_status=$?    ac_status=$?
7067    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
7068    rm -f conftest.er1    rm -f conftest.er1
7069    cat conftest.err >&5    cat conftest.err >&5
7070    echo "$as_me:7089: \$? = $ac_status" >&5    echo "$as_me:7070: \$? = $ac_status" >&5
7071    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
7072    if test -s conftest.err; then    if test -s conftest.err; then
7073      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 7106  else Line 7086  else
7086  fi  fi
7087  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
7088  fi  fi
7089  echo "$as_me:7108: result: $ac_cv_header_X11_xpm_h" >&5  echo "$as_me:7089: result: $ac_cv_header_X11_xpm_h" >&5
7090  echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6  echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6
7091  if test $ac_cv_header_X11_xpm_h = yes; then  if test $ac_cv_header_X11_xpm_h = yes; then
7092    echo "$as_me:7111: checking for XpmReadFileToPixmap in -lXpm" >&5    echo "$as_me:7092: checking for XpmReadFileToPixmap in -lXpm" >&5
7093  echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6  echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6
7094  if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then  if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then
7095    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7117  else Line 7097  else
7097    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
7098  LIBS="-lXpm -lX11 $LIBS"  LIBS="-lXpm -lX11 $LIBS"
7099  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
7100  #line 7114 "configure"  #line 7100 "configure"
7101  #include "confdefs.h"  #include "confdefs.h"
7102    
7103  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 7136  XpmReadFileToPixmap (); Line 7116  XpmReadFileToPixmap ();
7116  }  }
7117  _ACEOF  _ACEOF
7118  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7119  if { (eval echo "$as_me:7138: \"$ac_link\"") >&5  if { (eval echo "$as_me:7119: \"$ac_link\"") >&5
7120    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7121    ac_status=$?    ac_status=$?
7122    echo "$as_me:7141: \$? = $ac_status" >&5    echo "$as_me:7122: \$? = $ac_status" >&5
7123    (exit $ac_status); } &&    (exit $ac_status); } &&
7124           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7125    { (eval echo "$as_me:7144: \"$ac_try\"") >&5    { (eval echo "$as_me:7125: \"$ac_try\"") >&5
7126    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7127    ac_status=$?    ac_status=$?
7128    echo "$as_me:7147: \$? = $ac_status" >&5    echo "$as_me:7128: \$? = $ac_status" >&5
7129    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7130    ac_cv_lib_Xpm_XpmReadFileToPixmap=yes    ac_cv_lib_Xpm_XpmReadFileToPixmap=yes
7131  else  else
# Line 7156  fi Line 7136  fi
7136  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7137  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7138  fi  fi
7139  echo "$as_me:7158: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5  echo "$as_me:7139: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5
7140  echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6  echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6
7141  if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then  if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then
7142    HAVE_XPM=yes    HAVE_XPM=yes
# Line 7165  fi Line 7145  fi
7145  fi  fi
7146    
7147      if test "${HAVE_XPM}" = "yes"; then      if test "${HAVE_XPM}" = "yes"; then
7148        echo "$as_me:7167: checking for XpmReturnAllocPixels preprocessor define" >&5        echo "$as_me:7148: checking for XpmReturnAllocPixels preprocessor define" >&5
7149  echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define... $ECHO_C" >&6  echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define... $ECHO_C" >&6
7150        cat >conftest.$ac_ext <<_ACEOF        cat >conftest.$ac_ext <<_ACEOF
7151  #line 7165 "configure"  #line 7151 "configure"
7152  #include "confdefs.h"  #include "confdefs.h"
7153  #include "X11/xpm.h"  #include "X11/xpm.h"
7154  #ifndef XpmReturnAllocPixels  #ifndef XpmReturnAllocPixels
# Line 7185  fi Line 7165  fi
7165  rm -f conftest*  rm -f conftest*
7166    
7167        if test "${HAVE_XPM}" = "yes"; then        if test "${HAVE_XPM}" = "yes"; then
7168          echo "$as_me:7187: result: yes" >&5          echo "$as_me:7168: result: yes" >&5
7169  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
7170        else        else
7171          echo "$as_me:7190: result: no" >&5          echo "$as_me:7171: result: no" >&5
7172  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
7173        fi        fi
7174      fi      fi
# Line 7207  fi Line 7187  fi
7187  HAVE_JPEG=no  HAVE_JPEG=no
7188  if test "${HAVE_X11}" = "yes"; then  if test "${HAVE_X11}" = "yes"; then
7189    if test "${with_jpeg}" != "no"; then    if test "${with_jpeg}" != "no"; then
7190              echo "$as_me:7209: checking for jerror.h" >&5              echo "$as_me:7190: checking for jerror.h" >&5
7191  echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6  echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6
7192  if test "${ac_cv_header_jerror_h+set}" = set; then  if test "${ac_cv_header_jerror_h+set}" = set; then
7193    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7194  else  else
7195    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7196  #line 7210 "configure"  #line 7196 "configure"
7197  #include "confdefs.h"  #include "confdefs.h"
7198  #include <jerror.h>  #include <jerror.h>
7199  _ACEOF  _ACEOF
7200  if { (eval echo "$as_me:7219: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:7200: \"$ac_cpp conftest.$ac_ext\"") >&5
7201    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7202    ac_status=$?    ac_status=$?
7203    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
7204    rm -f conftest.er1    rm -f conftest.er1
7205    cat conftest.err >&5    cat conftest.err >&5
7206    echo "$as_me:7225: \$? = $ac_status" >&5    echo "$as_me:7206: \$? = $ac_status" >&5
7207    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
7208    if test -s conftest.err; then    if test -s conftest.err; then
7209      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 7242  else Line 7222  else
7222  fi  fi
7223  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
7224  fi  fi
7225  echo "$as_me:7244: result: $ac_cv_header_jerror_h" >&5  echo "$as_me:7225: result: $ac_cv_header_jerror_h" >&5
7226  echo "${ECHO_T}$ac_cv_header_jerror_h" >&6  echo "${ECHO_T}$ac_cv_header_jerror_h" >&6
7227  if test $ac_cv_header_jerror_h = yes; then  if test $ac_cv_header_jerror_h = yes; then
7228    echo "$as_me:7247: checking for jpeg_destroy_compress in -ljpeg" >&5    echo "$as_me:7228: checking for jpeg_destroy_compress in -ljpeg" >&5
7229  echo $ECHO_N "checking for jpeg_destroy_compress in -ljpeg... $ECHO_C" >&6  echo $ECHO_N "checking for jpeg_destroy_compress in -ljpeg... $ECHO_C" >&6
7230  if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then  if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then
7231    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7253  else Line 7233  else
7233    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
7234  LIBS="-ljpeg  $LIBS"  LIBS="-ljpeg  $LIBS"
7235  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
7236  #line 7250 "configure"  #line 7236 "configure"
7237  #include "confdefs.h"  #include "confdefs.h"
7238    
7239  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 7272  jpeg_destroy_compress (); Line 7252  jpeg_destroy_compress ();
7252  }  }
7253  _ACEOF  _ACEOF
7254  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7255  if { (eval echo "$as_me:7274: \"$ac_link\"") >&5  if { (eval echo "$as_me:7255: \"$ac_link\"") >&5
7256    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7257    ac_status=$?    ac_status=$?
7258    echo "$as_me:7277: \$? = $ac_status" >&5    echo "$as_me:7258: \$? = $ac_status" >&5
7259    (exit $ac_status); } &&    (exit $ac_status); } &&
7260           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7261    { (eval echo "$as_me:7280: \"$ac_try\"") >&5    { (eval echo "$as_me:7261: \"$ac_try\"") >&5
7262    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7263    ac_status=$?    ac_status=$?
7264    echo "$as_me:7283: \$? = $ac_status" >&5    echo "$as_me:7264: \$? = $ac_status" >&5
7265    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7266    ac_cv_lib_jpeg_jpeg_destroy_compress=yes    ac_cv_lib_jpeg_jpeg_destroy_compress=yes
7267  else  else
# Line 7292  fi Line 7272  fi
7272  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7273  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7274  fi  fi
7275  echo "$as_me:7294: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5  echo "$as_me:7275: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5
7276  echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6  echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6
7277  if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then  if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then
7278    HAVE_JPEG=yes    HAVE_JPEG=yes
# Line 7308  fi Line 7288  fi
7288  EOF  EOF
7289    
7290      cat >conftest.$ac_ext <<_ACEOF      cat >conftest.$ac_ext <<_ACEOF
7291  #line 7305 "configure"  #line 7291 "configure"
7292  #include "confdefs.h"  #include "confdefs.h"
7293          #include <jpeglib.h>          #include <jpeglib.h>
7294           version=JPEG_LIB_VERSION           version=JPEG_LIB_VERSION
# Line 7321  if (eval "$ac_cpp conftest.$ac_ext") 2>& Line 7301  if (eval "$ac_cpp conftest.$ac_ext") 2>&
7301  EOF  EOF
7302    
7303  else  else
7304    { echo "$as_me:7323: WARNING: libjpeg found, but not version 6b or later" >&5    { echo "$as_me:7304: WARNING: libjpeg found, but not version 6b or later" >&5
7305  echo "$as_me: WARNING: libjpeg found, but not version 6b or later" >&2;}  echo "$as_me: WARNING: libjpeg found, but not version 6b or later" >&2;}
7306          HAVE_JPEG=no          HAVE_JPEG=no
7307  fi  fi
# Line 7334  fi Line 7314  fi
7314  HAVE_PNG=no  HAVE_PNG=no
7315  if test "${HAVE_X11}" = "yes"; then  if test "${HAVE_X11}" = "yes"; then
7316    if test "${with_png}" != "no"; then    if test "${with_png}" != "no"; then
7317      echo "$as_me:7336: checking for png.h" >&5      echo "$as_me:7317: checking for png.h" >&5
7318  echo $ECHO_N "checking for png.h... $ECHO_C" >&6  echo $ECHO_N "checking for png.h... $ECHO_C" >&6
7319  if test "${ac_cv_header_png_h+set}" = set; then  if test "${ac_cv_header_png_h+set}" = set; then
7320    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7321  else  else
7322    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7323  #line 7337 "configure"  #line 7323 "configure"
7324  #include "confdefs.h"  #include "confdefs.h"
7325  #include <png.h>  #include <png.h>
7326  _ACEOF  _ACEOF
7327  if { (eval echo "$as_me:7346: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:7327: \"$ac_cpp conftest.$ac_ext\"") >&5
7328    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7329    ac_status=$?    ac_status=$?
7330    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
7331    rm -f conftest.er1    rm -f conftest.er1
7332    cat conftest.err >&5    cat conftest.err >&5
7333    echo "$as_me:7352: \$? = $ac_status" >&5    echo "$as_me:7333: \$? = $ac_status" >&5
7334    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
7335    if test -s conftest.err; then    if test -s conftest.err; then
7336      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 7369  else Line 7349  else
7349  fi  fi
7350  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
7351  fi  fi
7352  echo "$as_me:7371: result: $ac_cv_header_png_h" >&5  echo "$as_me:7352: result: $ac_cv_header_png_h" >&5
7353  echo "${ECHO_T}$ac_cv_header_png_h" >&6  echo "${ECHO_T}$ac_cv_header_png_h" >&6
7354  if test $ac_cv_header_png_h = yes; then  if test $ac_cv_header_png_h = yes; then
7355    echo "$as_me:7374: checking for png_get_channels in -lpng" >&5    echo "$as_me:7355: checking for png_get_channels in -lpng" >&5
7356  echo $ECHO_N "checking for png_get_channels in -lpng... $ECHO_C" >&6  echo $ECHO_N "checking for png_get_channels in -lpng... $ECHO_C" >&6
7357  if test "${ac_cv_lib_png_png_get_channels+set}" = set; then  if test "${ac_cv_lib_png_png_get_channels+set}" = set; then
7358    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7380  else Line 7360  else
7360    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
7361  LIBS="-lpng -lz -lm $LIBS"  LIBS="-lpng -lz -lm $LIBS"
7362  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
7363  #line 7377 "configure"  #line 7363 "configure"
7364  #include "confdefs.h"  #include "confdefs.h"
7365    
7366  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 7399  png_get_channels (); Line 7379  png_get_channels ();
7379  }  }
7380  _ACEOF  _ACEOF
7381  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7382  if { (eval echo "$as_me:7401: \"$ac_link\"") >&5  if { (eval echo "$as_me:7382: \"$ac_link\"") >&5
7383    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7384    ac_status=$?    ac_status=$?
7385    echo "$as_me:7404: \$? = $ac_status" >&5    echo "$as_me:7385: \$? = $ac_status" >&5
7386    (exit $ac_status); } &&    (exit $ac_status); } &&
7387           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7388    { (eval echo "$as_me:7407: \"$ac_try\"") >&5    { (eval echo "$as_me:7388: \"$ac_try\"") >&5
7389    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7390    ac_status=$?    ac_status=$?
7391    echo "$as_me:7410: \$? = $ac_status" >&5    echo "$as_me:7391: \$? = $ac_status" >&5
7392    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7393    ac_cv_lib_png_png_get_channels=yes    ac_cv_lib_png_png_get_channels=yes
7394  else  else
# Line 7419  fi Line 7399  fi
7399  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7400  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7401  fi  fi
7402  echo "$as_me:7421: result: $ac_cv_lib_png_png_get_channels" >&5  echo "$as_me:7402: result: $ac_cv_lib_png_png_get_channels" >&5
7403  echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6  echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6
7404  if test $ac_cv_lib_png_png_get_channels = yes; then  if test $ac_cv_lib_png_png_get_channels = yes; then
7405    HAVE_PNG=yes    HAVE_PNG=yes
# Line 7442  fi Line 7422  fi
7422  HAVE_TIFF=no  HAVE_TIFF=no
7423  if test "${HAVE_X11}" = "yes"; then  if test "${HAVE_X11}" = "yes"; then
7424    if test "${with_tiff}" != "no"; then    if test "${with_tiff}" != "no"; then
7425      echo "$as_me:7444: checking for tiffio.h" >&5      echo "$as_me:7425: checking for tiffio.h" >&5
7426  echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6  echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
7427  if test "${ac_cv_header_tiffio_h+set}" = set; then  if test "${ac_cv_header_tiffio_h+set}" = set; then
7428    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7429  else  else
7430    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7431  #line 7445 "configure"  #line 7431 "configure"
7432  #include "confdefs.h"  #include "confdefs.h"
7433  #include <tiffio.h>  #include <tiffio.h>
7434  _ACEOF  _ACEOF
7435  if { (eval echo "$as_me:7454: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:7435: \"$ac_cpp conftest.$ac_ext\"") >&5
7436    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7437    ac_status=$?    ac_status=$?
7438    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
7439    rm -f conftest.er1    rm -f conftest.er1
7440    cat conftest.err >&5    cat conftest.err >&5
7441    echo "$as_me:7460: \$? = $ac_status" >&5    echo "$as_me:7441: \$? = $ac_status" >&5
7442    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
7443    if test -s conftest.err; then    if test -s conftest.err; then
7444      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 7477  else Line 7457  else
7457  fi  fi
7458  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
7459  fi  fi
7460  echo "$as_me:7479: result: $ac_cv_header_tiffio_h" >&5  echo "$as_me:7460: result: $ac_cv_header_tiffio_h" >&5
7461  echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6  echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
7462  if test $ac_cv_header_tiffio_h = yes; then  if test $ac_cv_header_tiffio_h = yes; then
7463    tifflibs="-lz -lm"    tifflibs="-lz -lm"
7464        # At least one tiff package requires the jpeg library.        # At least one tiff package requires the jpeg library.
7465        if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi        if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi
7466        echo "$as_me:7485: checking for TIFFGetVersion in -ltiff" >&5        echo "$as_me:7466: checking for TIFFGetVersion in -ltiff" >&5
7467  echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6  echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6
7468  if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then  if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then
7469    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7491  else Line 7471  else
7471    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
7472  LIBS="-ltiff $tifflibs $LIBS"  LIBS="-ltiff $tifflibs $LIBS"
7473  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
7474  #line 7488 "configure"  #line 7474 "configure"
7475  #include "confdefs.h"  #include "confdefs.h"
7476    
7477  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 7510  TIFFGetVersion (); Line 7490  TIFFGetVersion ();
7490  }  }
7491  _ACEOF  _ACEOF
7492  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7493  if { (eval echo "$as_me:7512: \"$ac_link\"") >&5  if { (eval echo "$as_me:7493: \"$ac_link\"") >&5
7494    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7495    ac_status=$?    ac_status=$?
7496    echo "$as_me:7515: \$? = $ac_status" >&5    echo "$as_me:7496: \$? = $ac_status" >&5
7497    (exit $ac_status); } &&    (exit $ac_status); } &&
7498           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7499    { (eval echo "$as_me:7518: \"$ac_try\"") >&5    { (eval echo "$as_me:7499: \"$ac_try\"") >&5
7500    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7501    ac_status=$?    ac_status=$?
7502    echo "$as_me:7521: \$? = $ac_status" >&5    echo "$as_me:7502: \$? = $ac_status" >&5
7503    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7504    ac_cv_lib_tiff_TIFFGetVersion=yes    ac_cv_lib_tiff_TIFFGetVersion=yes
7505  else  else
# Line 7530  fi Line 7510  fi
7510  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7511  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7512  fi  fi
7513  echo "$as_me:7532: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5  echo "$as_me:7513: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5
7514  echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6  echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6
7515  if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then  if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then
7516    HAVE_TIFF=yes    HAVE_TIFF=yes
# Line 7553  fi Line 7533  fi
7533  HAVE_GIF=no  HAVE_GIF=no
7534  if test "${HAVE_X11}" = "yes"; then  if test "${HAVE_X11}" = "yes"; then
7535    if test "${with_gif}" != "no"; then    if test "${with_gif}" != "no"; then
7536      echo "$as_me:7555: checking for gif_lib.h" >&5      echo "$as_me:7536: checking for gif_lib.h" >&5
7537  echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6  echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6
7538  if test "${ac_cv_header_gif_lib_h+set}" = set; then  if test "${ac_cv_header_gif_lib_h+set}" = set; then
7539    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7540  else  else
7541    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7542  #line 7556 "configure"  #line 7542 "configure"
7543  #include "confdefs.h"  #include "confdefs.h"
7544  #include <gif_lib.h>  #include <gif_lib.h>
7545  _ACEOF  _ACEOF
7546  if { (eval echo "$as_me:7565: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:7546: \"$ac_cpp conftest.$ac_ext\"") >&5
7547    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7548    ac_status=$?    ac_status=$?
7549    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
7550    rm -f conftest.er1    rm -f conftest.er1
7551    cat conftest.err >&5    cat conftest.err >&5
7552    echo "$as_me:7571: \$? = $ac_status" >&5    echo "$as_me:7552: \$? = $ac_status" >&5
7553    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
7554    if test -s conftest.err; then    if test -s conftest.err; then
7555      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 7588  else Line 7568  else
7568  fi  fi
7569  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
7570  fi  fi
7571  echo "$as_me:7590: result: $ac_cv_header_gif_lib_h" >&5  echo "$as_me:7571: result: $ac_cv_header_gif_lib_h" >&5
7572  echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6  echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6
7573  if test $ac_cv_header_gif_lib_h = yes; then  if test $ac_cv_header_gif_lib_h = yes; then
7574    # EGifPutExtensionLast only exists from version libungif-4.1.0b1.    # EGifPutExtensionLast only exists from version libungif-4.1.0b1.
7575  # Earlier versions can crash Emacs.  # Earlier versions can crash Emacs.
7576        echo "$as_me:7595: checking for EGifPutExtensionLast in -lungif" >&5        echo "$as_me:7576: checking for EGifPutExtensionLast in -lungif" >&5
7577  echo $ECHO_N "checking for EGifPutExtensionLast in -lungif... $ECHO_C" >&6  echo $ECHO_N "checking for EGifPutExtensionLast in -lungif... $ECHO_C" >&6
7578  if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then  if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then
7579    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7601  else Line 7581  else
7581    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
7582  LIBS="-lungif  $LIBS"  LIBS="-lungif  $LIBS"
7583  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
7584  #line 7598 "configure"  #line 7584 "configure"
7585  #include "confdefs.h"  #include "confdefs.h"
7586    
7587  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 7620  EGifPutExtensionLast (); Line 7600  EGifPutExtensionLast ();
7600  }  }
7601  _ACEOF  _ACEOF
7602  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7603  if { (eval echo "$as_me:7622: \"$ac_link\"") >&5  if { (eval echo "$as_me:7603: \"$ac_link\"") >&5
7604    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7605    ac_status=$?    ac_status=$?
7606    echo "$as_me:7625: \$? = $ac_status" >&5    echo "$as_me:7606: \$? = $ac_status" >&5
7607    (exit $ac_status); } &&    (exit $ac_status); } &&
7608           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7609    { (eval echo "$as_me:7628: \"$ac_try\"") >&5    { (eval echo "$as_me:7609: \"$ac_try\"") >&5
7610    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7611    ac_status=$?    ac_status=$?
7612    echo "$as_me:7631: \$? = $ac_status" >&5    echo "$as_me:7612: \$? = $ac_status" >&5
7613    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7614    ac_cv_lib_ungif_EGifPutExtensionLast=yes    ac_cv_lib_ungif_EGifPutExtensionLast=yes
7615  else  else
# Line 7640  fi Line 7620  fi
7620  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7621  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7622  fi  fi
7623  echo "$as_me:7642: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5  echo "$as_me:7623: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5
7624  echo "${ECHO_T}$ac_cv_lib_ungif_EGifPutExtensionLast" >&6  echo "${ECHO_T}$ac_cv_lib_ungif_EGifPutExtensionLast" >&6
7625  if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then  if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then
7626    HAVE_GIF=yes    HAVE_GIF=yes
# Line 7662  fi Line 7642  fi
7642  ### Use Mac OS X Carbon API to implement GUI.  ### Use Mac OS X Carbon API to implement GUI.
7643  HAVE_CARBON=no  HAVE_CARBON=no
7644  if test "${with_carbon}" != "no"; then  if test "${with_carbon}" != "no"; then
7645    echo "$as_me:7664: checking for Carbon/Carbon.h" >&5    echo "$as_me:7645: checking for Carbon/Carbon.h" >&5
7646  echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6  echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6
7647  if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then  if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
7648    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7649  else  else
7650    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7651  #line 7665 "configure"  #line 7651 "configure"
7652  #include "confdefs.h"  #include "confdefs.h"
7653  #include <Carbon/Carbon.h>  #include <Carbon/Carbon.h>
7654  _ACEOF  _ACEOF
7655  if { (eval echo "$as_me:7674: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:7655: \"$ac_cpp conftest.$ac_ext\"") >&5
7656    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7657    ac_status=$?    ac_status=$?
7658    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
7659    rm -f conftest.er1    rm -f conftest.er1
7660    cat conftest.err >&5    cat conftest.err >&5
7661    echo "$as_me:7680: \$? = $ac_status" >&5    echo "$as_me:7661: \$? = $ac_status" >&5
7662    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
7663    if test -s conftest.err; then    if test -s conftest.err; then
7664      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 7697  else Line 7677  else
7677  fi  fi
7678  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
7679  fi  fi
7680  echo "$as_me:7699: result: $ac_cv_header_Carbon_Carbon_h" >&5  echo "$as_me:7680: result: $ac_cv_header_Carbon_Carbon_h" >&5
7681  echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6  echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6
7682  if test $ac_cv_header_Carbon_Carbon_h = yes; then  if test $ac_cv_header_Carbon_Carbon_h = yes; then
7683    HAVE_CARBON=yes    HAVE_CARBON=yes
# Line 7716  fi Line 7696  fi
7696  ### Use session management (-lSM -lICE) if available  ### Use session management (-lSM -lICE) if available
7697  HAVE_X_SM=no  HAVE_X_SM=no
7698  if test "${HAVE_X11}" = "yes"; then  if test "${HAVE_X11}" = "yes"; then
7699    echo "$as_me:7718: checking for X11/SM/SMlib.h" >&5    echo "$as_me:7699: checking for X11/SM/SMlib.h" >&5
7700  echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6  echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6
7701  if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then  if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
7702    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7703  else  else
7704    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7705  #line 7719 "configure"  #line 7705 "configure"
7706  #include "confdefs.h"  #include "confdefs.h"
7707  #include <X11/SM/SMlib.h>  #include <X11/SM/SMlib.h>
7708  _ACEOF  _ACEOF
7709  if { (eval echo "$as_me:7728: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:7709: \"$ac_cpp conftest.$ac_ext\"") >&5
7710    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7711    ac_status=$?    ac_status=$?
7712    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
7713    rm -f conftest.er1    rm -f conftest.er1
7714    cat conftest.err >&5    cat conftest.err >&5
7715    echo "$as_me:7734: \$? = $ac_status" >&5    echo "$as_me:7715: \$? = $ac_status" >&5
7716    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
7717    if test -s conftest.err; then    if test -s conftest.err; then
7718      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 7751  else Line 7731  else
7731  fi  fi
7732  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
7733  fi  fi
7734  echo "$as_me:7753: result: $ac_cv_header_X11_SM_SMlib_h" >&5  echo "$as_me:7734: result: $ac_cv_header_X11_SM_SMlib_h" >&5
7735  echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6  echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6
7736  if test $ac_cv_header_X11_SM_SMlib_h = yes; then  if test $ac_cv_header_X11_SM_SMlib_h = yes; then
7737    echo "$as_me:7756: checking for SmcOpenConnection in -lSM" >&5    echo "$as_me:7737: checking for SmcOpenConnection in -lSM" >&5
7738  echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6  echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6
7739  if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then  if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then
7740    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7762  else Line 7742  else
7742    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
7743  LIBS="-lSM  $LIBS"  LIBS="-lSM  $LIBS"
7744  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
7745  #line 7759 "configure"  #line 7745 "configure"
7746  #include "confdefs.h"  #include "confdefs.h"
7747    
7748  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 7781  SmcOpenConnection (); Line 7761  SmcOpenConnection ();
7761  }  }
7762  _ACEOF  _ACEOF
7763  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7764  if { (eval echo "$as_me:7783: \"$ac_link\"") >&5  if { (eval echo "$as_me:7764: \"$ac_link\"") >&5
7765    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7766    ac_status=$?    ac_status=$?
7767    echo "$as_me:7786: \$? = $ac_status" >&5    echo "$as_me:7767: \$? = $ac_status" >&5
7768    (exit $ac_status); } &&    (exit $ac_status); } &&
7769           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7770    { (eval echo "$as_me:7789: \"$ac_try\"") >&5    { (eval echo "$as_me:7770: \"$ac_try\"") >&5
7771    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7772    ac_status=$?    ac_status=$?
7773    echo "$as_me:7792: \$? = $ac_status" >&5    echo "$as_me:7773: \$? = $ac_status" >&5
7774    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7775    ac_cv_lib_SM_SmcOpenConnection=yes    ac_cv_lib_SM_SmcOpenConnection=yes
7776  else  else
# Line 7801  fi Line 7781  fi
7781  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7782  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7783  fi  fi
7784  echo "$as_me:7803: result: $ac_cv_lib_SM_SmcOpenConnection" >&5  echo "$as_me:7784: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
7785  echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6  echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6
7786  if test $ac_cv_lib_SM_SmcOpenConnection = yes; then  if test $ac_cv_lib_SM_SmcOpenConnection = yes; then
7787    HAVE_X_SM=yes    HAVE_X_SM=yes
# Line 7825  EOF Line 7805  EOF
7805  fi  fi
7806    
7807  # If netdb.h doesn't declare h_errno, we must declare it by hand.  # If netdb.h doesn't declare h_errno, we must declare it by hand.
7808  echo "$as_me:7827: checking whether netdb declares h_errno" >&5  echo "$as_me:7808: checking whether netdb declares h_errno" >&5
7809  echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6  echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6
7810  if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then  if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then
7811    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7812  else  else
7813    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7814  #line 7828 "configure"  #line 7814 "configure"
7815  #include "confdefs.h"  #include "confdefs.h"
7816  #include <netdb.h>  #include <netdb.h>
7817  int  int
# Line 7843  return h_errno; Line 7823  return h_errno;
7823  }  }
7824  _ACEOF  _ACEOF
7825  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7826  if { (eval echo "$as_me:7845: \"$ac_link\"") >&5  if { (eval echo "$as_me:7826: \"$ac_link\"") >&5
7827    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7828    ac_status=$?    ac_status=$?
7829    echo "$as_me:7848: \$? = $ac_status" >&5    echo "$as_me:7829: \$? = $ac_status" >&5
7830    (exit $ac_status); } &&    (exit $ac_status); } &&
7831           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7832    { (eval echo "$as_me:7851: \"$ac_try\"") >&5    { (eval echo "$as_me:7832: \"$ac_try\"") >&5
7833    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7834    ac_status=$?    ac_status=$?
7835    echo "$as_me:7854: \$? = $ac_status" >&5    echo "$as_me:7835: \$? = $ac_status" >&5
7836    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7837    emacs_cv_netdb_declares_h_errno=yes    emacs_cv_netdb_declares_h_errno=yes
7838  else  else
# Line 7862  emacs_cv_netdb_declares_h_errno=no Line 7842  emacs_cv_netdb_declares_h_errno=no
7842  fi  fi
7843  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7844  fi  fi
7845  echo "$as_me:7864: result: $emacs_cv_netdb_declares_h_errno" >&5  echo "$as_me:7845: result: $emacs_cv_netdb_declares_h_errno" >&5
7846  echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6  echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6
7847  if test $emacs_cv_netdb_declares_h_errno = yes; then  if test $emacs_cv_netdb_declares_h_errno = yes; then
7848    
# Line 7874  fi Line 7854  fi
7854    
7855  # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works  # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
7856  # for constant arguments.  Useless!  # for constant arguments.  Useless!
7857  echo "$as_me:7876: checking for working alloca.h" >&5  echo "$as_me:7857: checking for working alloca.h" >&5
7858  echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6  echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
7859  if test "${ac_cv_working_alloca_h+set}" = set; then  if test "${ac_cv_working_alloca_h+set}" = set; then
7860    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7861  else  else
7862    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7863  #line 7877 "configure"  #line 7863 "configure"
7864  #include "confdefs.h"  #include "confdefs.h"
7865  #include <alloca.h>  #include <alloca.h>
7866  int  int
# Line 7892  char *p = (char *) alloca (2 * sizeof (i Line 7872  char *p = (char *) alloca (2 * sizeof (i
7872  }  }
7873  _ACEOF  _ACEOF
7874  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7875  if { (eval echo "$as_me:7894: \"$ac_link\"") >&5  if { (eval echo "$as_me:7875: \"$ac_link\"") >&5
7876    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7877    ac_status=$?    ac_status=$?
7878    echo "$as_me:7897: \$? = $ac_status" >&5    echo "$as_me:7878: \$? = $ac_status" >&5
7879    (exit $ac_status); } &&    (exit $ac_status); } &&
7880           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7881    { (eval echo "$as_me:7900: \"$ac_try\"") >&5    { (eval echo "$as_me:7881: \"$ac_try\"") >&5
7882    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7883    ac_status=$?    ac_status=$?
7884    echo "$as_me:7903: \$? = $ac_status" >&5    echo "$as_me:7884: \$? = $ac_status" >&5
7885    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7886    ac_cv_working_alloca_h=yes    ac_cv_working_alloca_h=yes
7887  else  else
# Line 7911  ac_cv_working_alloca_h=no Line 7891  ac_cv_working_alloca_h=no
7891  fi  fi
7892  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7893  fi  fi
7894  echo "$as_me:7913: result: $ac_cv_working_alloca_h" >&5  echo "$as_me:7894: result: $ac_cv_working_alloca_h" >&5
7895  echo "${ECHO_T}$ac_cv_working_alloca_h" >&6  echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
7896  if test $ac_cv_working_alloca_h = yes; then  if test $ac_cv_working_alloca_h = yes; then
7897    
# Line 7921  EOF Line 7901  EOF
7901    
7902  fi  fi
7903    
7904  echo "$as_me:7923: checking for alloca" >&5  echo "$as_me:7904: checking for alloca" >&5
7905  echo $ECHO_N "checking for alloca... $ECHO_C" >&6  echo $ECHO_N "checking for alloca... $ECHO_C" >&6
7906  if test "${ac_cv_func_alloca_works+set}" = set; then  if test "${ac_cv_func_alloca_works+set}" = set; then
7907    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7908  else  else
7909    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7910  #line 7924 "configure"  #line 7910 "configure"
7911  #include "confdefs.h"  #include "confdefs.h"
7912  #ifdef __GNUC__  #ifdef __GNUC__
7913  # define alloca __builtin_alloca  # define alloca __builtin_alloca
# Line 7959  char *p = (char *) alloca (1); Line 7939  char *p = (char *) alloca (1);
7939  }  }
7940  _ACEOF  _ACEOF
7941  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7942  if { (eval echo "$as_me:7961: \"$ac_link\"") >&5  if { (eval echo "$as_me:7942: \"$ac_link\"") >&5
7943    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7944    ac_status=$?    ac_status=$?
7945    echo "$as_me:7964: \$? = $ac_status" >&5    echo "$as_me:7945: \$? = $ac_status" >&5
7946    (exit $ac_status); } &&    (exit $ac_status); } &&
7947           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7948    { (eval echo "$as_me:7967: \"$ac_try\"") >&5    { (eval echo "$as_me:7948: \"$ac_try\"") >&5
7949    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7950    ac_status=$?    ac_status=$?
7951    echo "$as_me:7970: \$? = $ac_status" >&5    echo "$as_me:7951: \$? = $ac_status" >&5
7952    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7953    ac_cv_func_alloca_works=yes    ac_cv_func_alloca_works=yes
7954  else  else
# Line 7978  ac_cv_func_alloca_works=no Line 7958  ac_cv_func_alloca_works=no
7958  fi  fi
7959  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7960  fi  fi
7961  echo "$as_me:7980: result: $ac_cv_func_alloca_works" >&5  echo "$as_me:7961: result: $ac_cv_func_alloca_works" >&5
7962  echo "${ECHO_T}$ac_cv_func_alloca_works" >&6  echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
7963    
7964  if test $ac_cv_func_alloca_works = yes; then  if test $ac_cv_func_alloca_works = yes; then
# Line 7999  cat >>confdefs.h <<\EOF Line 7979  cat >>confdefs.h <<\EOF
7979  #define C_ALLOCA 1  #define C_ALLOCA 1
7980  EOF  EOF
7981    
7982  echo "$as_me:8001: checking whether \`alloca.c' needs Cray hooks" >&5  echo "$as_me:7982: checking whether \`alloca.c' needs Cray hooks" >&5
7983  echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6  echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
7984  if test "${ac_cv_os_cray+set}" = set; then  if test "${ac_cv_os_cray+set}" = set; then
7985    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7986  else  else
7987    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7988  #line 8002 "configure"  #line 7988 "configure"
7989  #include "confdefs.h"  #include "confdefs.h"
7990  #if defined(CRAY) && ! defined(CRAY2)  #if defined(CRAY) && ! defined(CRAY2)
7991  webecray  webecray
# Line 8023  fi Line 8003  fi
8003  rm -f conftest*  rm -f conftest*
8004    
8005  fi  fi
8006  echo "$as_me:8025: result: $ac_cv_os_cray" >&5  echo "$as_me:8006: result: $ac_cv_os_cray" >&5
8007  echo "${ECHO_T}$ac_cv_os_cray" >&6  echo "${ECHO_T}$ac_cv_os_cray" >&6
8008  if test $ac_cv_os_cray = yes; then  if test $ac_cv_os_cray = yes; then
8009    for ac_func in _getb67 GETB67 getb67; do    for ac_func in _getb67 GETB67 getb67; do
8010      as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`      as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8011  echo "$as_me:8030: checking for $ac_func" >&5  echo "$as_me:8011: checking for $ac_func" >&5
8012  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8013  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
8014    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
8015  else  else
8016    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
8017  #line 8031 "configure"  #line 8017 "configure"
8018  #include "confdefs.h"  #include "confdefs.h"
8019  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
8020      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 8065  f = $ac_func; Line 8045  f = $ac_func;
8045  }  }
8046  _ACEOF  _ACEOF
8047  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8048  if { (eval echo "$as_me:8067: \"$ac_link\"") >&5  if { (eval echo "$as_me:8048: \"$ac_link\"") >&5
8049    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8050    ac_status=$?    ac_status=$?
8051    echo "$as_me:8070: \$? = $ac_status" >&5    echo "$as_me:8051: \$? = $ac_status" >&5
8052    (exit $ac_status); } &&    (exit $ac_status); } &&
8053           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8054    { (eval echo "$as_me:8073: \"$ac_try\"") >&5    { (eval echo "$as_me:8054: \"$ac_try\"") >&5
8055    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8056    ac_status=$?    ac_status=$?
8057    echo "$as_me:8076: \$? = $ac_status" >&5    echo "$as_me:8057: \$? = $ac_status" >&5
8058    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8059    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
8060  else  else
# Line 8084  eval "$as_ac_var=no" Line 8064  eval "$as_ac_var=no"
8064  fi  fi
8065  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8066  fi  fi
8067  echo "$as_me:8086: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:8067: result: `eval echo '${'$as_ac_var'}'`" >&5
8068  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8069  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
8070    
# Line 8098  fi Line 8078  fi
8078    done    done
8079  fi  fi
8080    
8081  echo "$as_me:8100: checking stack direction for C alloca" >&5  echo "$as_me:8081: checking stack direction for C alloca" >&5
8082  echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6  echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
8083  if test "${ac_cv_c_stack_direction+set}" = set; then  if test "${ac_cv_c_stack_direction+set}" = set; then
8084    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 8107  else Line 8087  else
8087    ac_cv_c_stack_direction=0    ac_cv_c_stack_direction=0
8088  else  else
8089    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
8090  #line 8104 "configure"  #line 8090 "configure"
8091  #include "confdefs.h"  #include "confdefs.h"
8092  int  int
8093  find_stack_direction ()  find_stack_direction ()
# Line 8130  main () Line 8110  main ()
8110  }  }
8111  _ACEOF  _ACEOF
8112  rm -f conftest$ac_exeext  rm -f conftest$ac_exeext
8113  if { (eval echo "$as_me:8132: \"$ac_link\"") >&5  if { (eval echo "$as_me:8113: \"$ac_link\"") >&5
8114    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8115    ac_status=$?    ac_status=$?
8116    echo "$as_me:8135: \$? = $ac_status" >&5    echo "$as_me:8116: \$? = $ac_status" >&5
8117    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8118    { (eval echo "$as_me:8137: \"$ac_try\"") >&5    { (eval echo "$as_me:8118: \"$ac_try\"") >&5
8119    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8120    ac_status=$?    ac_status=$?
8121    echo "$as_me:8140: \$? = $ac_status" >&5    echo "$as_me:8121: \$? = $ac_status" >&5
8122    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8123    ac_cv_c_stack_direction=1    ac_cv_c_stack_direction=1
8124  else  else
# Line 8150  fi Line 8130  fi
8130  rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext  rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8131  fi  fi
8132  fi  fi
8133  echo "$as_me:8152: result: $ac_cv_c_stack_direction" >&5  echo "$as_me:8133: result: $ac_cv_c_stack_direction" >&5
8134  echo "${ECHO_T}$ac_cv_c_stack_direction" >&6  echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
8135    
8136  cat >>confdefs.h <<EOF  cat >>confdefs.h <<EOF
# Line 8162  fi Line 8142  fi
8142  # fmod, logb, and frexp are found in -lm on most systems.  # fmod, logb, and frexp are found in -lm on most systems.
8143  # On HPUX 9.01, -lm does not contain logb, so check for sqrt.  # On HPUX 9.01, -lm does not contain logb, so check for sqrt.
8144    
8145  echo "$as_me:8164: checking for sqrt in -lm" >&5  echo "$as_me:8145: checking for sqrt in -lm" >&5
8146  echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6  echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
8147  if test "${ac_cv_lib_m_sqrt+set}" = set; then  if test "${ac_cv_lib_m_sqrt+set}" = set; then
8148    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 8170  else Line 8150  else
8150    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
8151  LIBS="-lm  $LIBS"  LIBS="-lm  $LIBS"
8152  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
8153  #line 8167 "configure"  #line 8153 "configure"
8154  #include "confdefs.h"  #include "confdefs.h"
8155    
8156  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 8189  sqrt (); Line 8169  sqrt ();
8169  }  }
8170  _ACEOF  _ACEOF
8171  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8172  if { (eval echo "$as_me:8191: \"$ac_link\"") >&5  if { (eval echo "$as_me:8172: \"$ac_link\"") >&5
8173    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8174    ac_status=$?    ac_status=$?
8175    echo "$as_me:8194: \$? = $ac_status" >&5    echo "$as_me:8175: \$? = $ac_status" >&5
8176    (exit $ac_status); } &&    (exit $ac_status); } &&
8177           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8178    { (eval echo "$as_me:8197: \"$ac_try\"") >&5    { (eval echo "$as_me:8178: \"$ac_try\"") >&5
8179    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8180    ac_status=$?    ac_status=$?
8181    echo "$as_me:8200: \$? = $ac_status" >&5    echo "$as_me:8181: \$? = $ac_status" >&5
8182    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8183    ac_cv_lib_m_sqrt=yes    ac_cv_lib_m_sqrt=yes
8184  else  else
# Line 8209  fi Line 8189  fi
8189  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8190  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
8191  fi  fi
8192  echo "$as_me:8211: result: $ac_cv_lib_m_sqrt" >&5  echo "$as_me:8192: result: $ac_cv_lib_m_sqrt" >&5
8193  echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6  echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
8194  if test $ac_cv_lib_m_sqrt = yes; then  if test $ac_cv_lib_m_sqrt = yes; then
8195    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 8222  fi Line 8202  fi
8202    
8203  # Check for mail-locking functions in a "mail" library  # Check for mail-locking functions in a "mail" library
8204    
8205  echo "$as_me:8224: checking for maillock in -lmail" >&5  echo "$as_me:8205: checking for maillock in -lmail" >&5
8206  echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6  echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6
8207  if test "${ac_cv_lib_mail_maillock+set}" = set; then  if test "${ac_cv_lib_mail_maillock+set}" = set; then
8208    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 8230  else Line 8210  else
8210    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
8211  LIBS="-lmail  $LIBS"  LIBS="-lmail  $LIBS"
8212  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
8213  #line 8227 "configure"  #line 8213 "configure"
8214  #include "confdefs.h"  #include "confdefs.h"
8215    
8216  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 8249  maillock (); Line 8229  maillock ();
8229  }  }
8230  _ACEOF  _ACEOF
8231  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8232  if { (eval echo "$as_me:8251: \"$ac_link\"") >&5  if { (eval echo "$as_me:8232: \"$ac_link\"") >&5
8233    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8234    ac_status=$?    ac_status=$?
8235    echo "$as_me:8254: \$? = $ac_status" >&5    echo "$as_me:8235: \$? = $ac_status" >&5
8236    (exit $ac_status); } &&    (exit $ac_status); } &&
8237           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8238    { (eval echo "$as_me:8257: \"$ac_try\"") >&5    { (eval echo "$as_me:8238: \"$ac_try\"") >&5
8239    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8240    ac_status=$?    ac_status=$?
8241    echo "$as_me:8260: \$? = $ac_status" >&5    echo "$as_me:8241: \$? = $ac_status" >&5
8242    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8243    ac_cv_lib_mail_maillock=yes    ac_cv_lib_mail_maillock=yes
8244  else  else
# Line 8269  fi Line 8249  fi
8249  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8250  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
8251  fi  fi
8252  echo "$as_me:8271: result: $ac_cv_lib_mail_maillock" >&5  echo "$as_me:8252: result: $ac_cv_lib_mail_maillock" >&5
8253  echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6  echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6
8254  if test $ac_cv_lib_mail_maillock = yes; then  if test $ac_cv_lib_mail_maillock = yes; then
8255    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 8280  EOF Line 8260  EOF
8260    
8261  fi  fi
8262    
8263  echo "$as_me:8282: checking for maillock in -llockfile" >&5  echo "$as_me:8263: checking for maillock in -llockfile" >&5
8264  echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6  echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6
8265  if test "${ac_cv_lib_lockfile_maillock+set}" = set; then  if test "${ac_cv_lib_lockfile_maillock+set}" = set; then
8266    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 8288  else Line 8268  else
8268    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
8269  LIBS="-llockfile  $LIBS"  LIBS="-llockfile  $LIBS"
8270  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
8271  #line 8285 "configure"  #line 8271 "configure"
8272  #include "confdefs.h"  #include "confdefs.h"
8273    
8274  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 8307  maillock (); Line 8287  maillock ();
8287  }  }
8288  _ACEOF  _ACEOF
8289  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8290  if { (eval echo "$as_me:8309: \"$ac_link\"") >&5  if { (eval echo "$as_me:8290: \"$ac_link\"") >&5
8291    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8292    ac_status=$?    ac_status=$?
8293    echo "$as_me:8312: \$? = $ac_status" >&5    echo "$as_me:8293: \$? = $ac_status" >&5
8294    (exit $ac_status); } &&    (exit $ac_status); } &&
8295           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8296    { (eval echo "$as_me:8315: \"$ac_try\"") >&5    { (eval echo "$as_me:8296: \"$ac_try\"") >&5
8297    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8298    ac_status=$?    ac_status=$?
8299    echo "$as_me:8318: \$? = $ac_status" >&5    echo "$as_me:8299: \$? = $ac_status" >&5
8300    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8301    ac_cv_lib_lockfile_maillock=yes    ac_cv_lib_lockfile_maillock=yes
8302  else  else
# Line 8327  fi Line 8307  fi
8307  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8308  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
8309  fi  fi
8310  echo "$as_me:8329: result: $ac_cv_lib_lockfile_maillock" >&5  echo "$as_me:8310: result: $ac_cv_lib_lockfile_maillock" >&5
8311  echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6  echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6
8312  if test $ac_cv_lib_lockfile_maillock = yes; then  if test $ac_cv_lib_lockfile_maillock = yes; then
8313    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 8344  fi Line 8324  fi
8324  if test "$ac_cv_lib_lockfile_maillock" = no; then  if test "$ac_cv_lib_lockfile_maillock" = no; then
8325        # Extract the first word of "liblockfile.so", so it can be a program name with args.        # Extract the first word of "liblockfile.so", so it can be a program name with args.
8326  set dummy liblockfile.so; ac_word=$2  set dummy liblockfile.so; ac_word=$2
8327  echo "$as_me:8346: checking for $ac_word" >&5  echo "$as_me:8327: checking for $ac_word" >&5
8328  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8329  if test "${ac_cv_prog_liblockfile+set}" = set; then  if test "${ac_cv_prog_liblockfile+set}" = set; then
8330    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 8359  for ac_dir in $ac_dummy; do Line 8339  for ac_dir in $ac_dummy; do
8339    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
8340    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
8341  ac_cv_prog_liblockfile="yes"  ac_cv_prog_liblockfile="yes"
8342  echo "$as_me:8361: found $ac_dir/$ac_word" >&5  echo "$as_me:8342: found $ac_dir/$ac_word" >&5
8343  break  break
8344  done  done
8345    
# Line 8368  fi Line 8348  fi
8348  fi  fi
8349  liblockfile=$ac_cv_prog_liblockfile  liblockfile=$ac_cv_prog_liblockfile
8350  if test -n "$liblockfile"; then  if test -n "$liblockfile"; then
8351    echo "$as_me:8370: result: $liblockfile" >&5    echo "$as_me:8351: result: $liblockfile" >&5
8352  echo "${ECHO_T}$liblockfile" >&6  echo "${ECHO_T}$liblockfile" >&6
8353  else  else
8354    echo "$as_me:8373: result: no" >&5    echo "$as_me:8354: result: no" >&5
8355  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
8356  fi  fi
8357    
8358    if test $ac_cv_prog_liblockfile = yes; then    if test $ac_cv_prog_liblockfile = yes; then
8359      { { echo "$as_me:8378: error: Shared liblockfile found but can't link against it.      { { echo "$as_me:8359: error: Shared liblockfile found but can't link against it.
8360  This probably means that movemail could lose mail.  This probably means that movemail could lose mail.
8361  There may be a \`development' package to install containing liblockfile." >&5  There may be a \`development' package to install containing liblockfile." >&5
8362  echo "$as_me: error: Shared liblockfile found but can't link against it.  echo "$as_me: error: Shared liblockfile found but can't link against it.
# Line 8395  fi Line 8375  fi
8375  for ac_func in touchlock  for ac_func in touchlock
8376  do  do
8377  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8378  echo "$as_me:8397: checking for $ac_func" >&5  echo "$as_me:8378: checking for $ac_func" >&5
8379  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8380  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
8381    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
8382  else  else
8383    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
8384  #line 8398 "configure"  #line 8384 "configure"
8385  #include "confdefs.h"  #include "confdefs.h"
8386  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
8387      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 8432  f = $ac_func; Line 8412  f = $ac_func;
8412  }  }
8413  _ACEOF  _ACEOF
8414  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8415  if { (eval echo "$as_me:8434: \"$ac_link\"") >&5  if { (eval echo "$as_me:8415: \"$ac_link\"") >&5
8416    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8417    ac_status=$?    ac_status=$?
8418    echo "$as_me:8437: \$? = $ac_status" >&5    echo "$as_me:8418: \$? = $ac_status" >&5
8419    (exit $ac_status); } &&    (exit $ac_status); } &&
8420           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8421    { (eval echo "$as_me:8440: \"$ac_try\"") >&5    { (eval echo "$as_me:8421: \"$ac_try\"") >&5
8422    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8423    ac_status=$?    ac_status=$?
8424    echo "$as_me:8443: \$? = $ac_status" >&5    echo "$as_me:8424: \$? = $ac_status" >&5
8425    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8426    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
8427  else  else
# Line 8451  eval "$as_ac_var=no" Line 8431  eval "$as_ac_var=no"
8431  fi  fi
8432  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8433  fi  fi
8434  echo "$as_me:8453: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:8434: result: `eval echo '${'$as_ac_var'}'`" >&5
8435  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8436  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
8437    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 8464  done Line 8444  done
8444  for ac_header in maillock.h  for ac_header in maillock.h
8445  do  do
8446  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8447  echo "$as_me:8466: checking for $ac_header" >&5  echo "$as_me:8447: checking for $ac_header" >&5
8448  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8449  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
8450    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
8451  else  else
8452    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
8453  #line 8467 "configure"  #line 8453 "configure"
8454  #include "confdefs.h"  #include "confdefs.h"
8455  #include <$ac_header>  #include <$ac_header>
8456  _ACEOF  _ACEOF
8457  if { (eval echo "$as_me:8476: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:8457: \"$ac_cpp conftest.$ac_ext\"") >&5
8458    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8459    ac_status=$?    ac_status=$?
8460    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
8461    rm -f conftest.er1    rm -f conftest.er1
8462    cat conftest.err >&5    cat conftest.err >&5
8463    echo "$as_me:8482: \$? = $ac_status" >&5    echo "$as_me:8463: \$? = $ac_status" >&5
8464    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
8465    if test -s conftest.err; then    if test -s conftest.err; then
8466      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 8499  else Line 8479  else
8479  fi  fi
8480  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
8481  fi  fi
8482  echo "$as_me:8501: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:8482: result: `eval echo '${'$as_ac_Header'}'`" >&5
8483  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8484  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
8485    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 8519  sendto recvfrom getsockopt setsockopt ge Line 8499  sendto recvfrom getsockopt setsockopt ge
8499  gai_strerror mkstemp getline getdelim  gai_strerror mkstemp getline getdelim
8500  do  do
8501  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8502  echo "$as_me:8521: checking for $ac_func" >&5  echo "$as_me:8502: checking for $ac_func" >&5
8503  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8504  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
8505    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
8506  else  else
8507    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
8508  #line 8522 "configure"  #line 8508 "configure"
8509  #include "confdefs.h"  #include "confdefs.h"
8510  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
8511      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 8556  f = $ac_func; Line 8536  f = $ac_func;
8536  }  }
8537  _ACEOF  _ACEOF
8538  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8539  if { (eval echo "$as_me:8558: \"$ac_link\"") >&5  if { (eval echo "$as_me:8539: \"$ac_link\"") >&5
8540    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8541    ac_status=$?    ac_status=$?
8542    echo "$as_me:8561: \$? = $ac_status" >&5    echo "$as_me:8542: \$? = $ac_status" >&5
8543    (exit $ac_status); } &&    (exit $ac_status); } &&
8544           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8545    { (eval echo "$as_me:8564: \"$ac_try\"") >&5    { (eval echo "$as_me:8545: \"$ac_try\"") >&5
8546    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8547    ac_status=$?    ac_status=$?
8548    echo "$as_me:8567: \$? = $ac_status" >&5    echo "$as_me:8548: \$? = $ac_status" >&5
8549    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8550    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
8551  else  else
# Line 8575  eval "$as_ac_var=no" Line 8555  eval "$as_ac_var=no"
8555  fi  fi
8556  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8557  fi  fi
8558  echo "$as_me:8577: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:8558: result: `eval echo '${'$as_ac_var'}'`" >&5
8559  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8560  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
8561    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 8588  done Line 8568  done
8568  for ac_header in sys/un.h  for ac_header in sys/un.h
8569  do  do
8570  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8571  echo "$as_me:8590: checking for $ac_header" >&5  echo "$as_me:8571: checking for $ac_header" >&5
8572  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8573  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
8574    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
8575  else  else
8576    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
8577  #line 8591 "configure"  #line 8577 "configure"
8578  #include "confdefs.h"  #include "confdefs.h"
8579  #include <$ac_header>  #include <$ac_header>
8580  _ACEOF  _ACEOF
8581  if { (eval echo "$as_me:8600: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:8581: \"$ac_cpp conftest.$ac_ext\"") >&5
8582    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8583    ac_status=$?    ac_status=$?
8584    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
8585    rm -f conftest.er1    rm -f conftest.er1
8586    cat conftest.err >&5    cat conftest.err >&5
8587    echo "$as_me:8606: \$? = $ac_status" >&5    echo "$as_me:8587: \$? = $ac_status" >&5
8588    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
8589    if test -s conftest.err; then    if test -s conftest.err; then
8590      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 8623  else Line 8603  else
8603  fi  fi
8604  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
8605  fi  fi
8606  echo "$as_me:8625: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:8606: result: `eval echo '${'$as_ac_Header'}'`" >&5
8607  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8608  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
8609    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 8636  done Line 8616  done
8616  for ac_header in sys/time.h unistd.h  for ac_header in sys/time.h unistd.h
8617  do  do
8618  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8619  echo "$as_me:8638: checking for $ac_header" >&5  echo "$as_me:8619: checking for $ac_header" >&5
8620  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8621  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
8622    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
8623  else  else
8624    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
8625  #line 8639 "configure"  #line 8625 "configure"
8626  #include "confdefs.h"  #include "confdefs.h"
8627  #include <$ac_header>  #include <$ac_header>
8628  _ACEOF  _ACEOF
8629  if { (eval echo "$as_me:8648: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:8629: \"$ac_cpp conftest.$ac_ext\"") >&5
8630    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8631    ac_status=$?    ac_status=$?
8632    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
8633    rm -f conftest.er1    rm -f conftest.er1
8634    cat conftest.err >&5    cat conftest.err >&5
8635    echo "$as_me:8654: \$? = $ac_status" >&5    echo "$as_me:8635: \$? = $ac_status" >&5
8636    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
8637    if test -s conftest.err; then    if test -s conftest.err; then
8638      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 8671  else Line 8651  else
8651  fi  fi
8652  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
8653  fi  fi
8654  echo "$as_me:8673: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:8654: result: `eval echo '${'$as_ac_Header'}'`" >&5
8655  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8656  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
8657    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 8684  done Line 8664  done
8664  for ac_func in alarm  for ac_func in alarm
8665  do  do
8666  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8667  echo "$as_me:8686: checking for $ac_func" >&5  echo "$as_me:8667: checking for $ac_func" >&5
8668  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8669  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
8670    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
8671  else  else
8672    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
8673  #line 8687 "configure"  #line 8673 "configure"
8674  #include "confdefs.h"  #include "confdefs.h"
8675  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
8676      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 8721  f = $ac_func; Line 8701  f = $ac_func;
8701  }  }
8702  _ACEOF  _ACEOF
8703  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8704  if { (eval echo "$as_me:8723: \"$ac_link\"") >&5  if { (eval echo "$as_me:8704: \"$ac_link\"") >&5
8705    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8706    ac_status=$?    ac_status=$?
8707    echo "$as_me:8726: \$? = $ac_status" >&5    echo "$as_me:8707: \$? = $ac_status" >&5
8708    (exit $ac_status); } &&    (exit $ac_status); } &&
8709           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8710    { (eval echo "$as_me:8729: \"$ac_try\"") >&5    { (eval echo "$as_me:8710: \"$ac_try\"") >&5
8711    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8712    ac_status=$?    ac_status=$?
8713    echo "$as_me:8732: \$? = $ac_status" >&5    echo "$as_me:8713: \$? = $ac_status" >&5
8714    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8715    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
8716  else  else
# Line 8740  eval "$as_ac_var=no" Line 8720  eval "$as_ac_var=no"
8720  fi  fi
8721  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8722  fi  fi
8723  echo "$as_me:8742: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:8723: result: `eval echo '${'$as_ac_var'}'`" >&5
8724  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8725  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
8726    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 8750  EOF Line 8730  EOF
8730  fi  fi
8731  done  done
8732    
8733  echo "$as_me:8752: checking for working mktime" >&5  echo "$as_me:8733: checking for working mktime" >&5
8734  echo $ECHO_N "checking for working mktime... $ECHO_C" >&6  echo $ECHO_N "checking for working mktime... $ECHO_C" >&6
8735  if test "${ac_cv_func_working_mktime+set}" = set; then  if test "${ac_cv_func_working_mktime+set}" = set; then
8736    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 8759  else Line 8739  else
8739    ac_cv_func_working_mktime=no    ac_cv_func_working_mktime=no
8740  else  else
8741    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
8742  #line 8756 "configure"  #line 8742 "configure"
8743  #include "confdefs.h"  #include "confdefs.h"
8744  /* Test program from Paul Eggert and Tony Leneis.  */  /* Test program from Paul Eggert and Tony Leneis.  */
8745  #if TIME_WITH_SYS_TIME  #if TIME_WITH_SYS_TIME
# Line 8908  main () Line 8888  main ()
8888  }  }
8889  _ACEOF  _ACEOF
8890  rm -f conftest$ac_exeext  rm -f conftest$ac_exeext
8891  if { (eval echo "$as_me:8910: \"$ac_link\"") >&5  if { (eval echo "$as_me:8891: \"$ac_link\"") >&5
8892    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8893    ac_status=$?    ac_status=$?
8894    echo "$as_me:8913: \$? = $ac_status" >&5    echo "$as_me:8894: \$? = $ac_status" >&5
8895    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8896    { (eval echo "$as_me:8915: \"$ac_try\"") >&5    { (eval echo "$as_me:8896: \"$ac_try\"") >&5
8897    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8898    ac_status=$?    ac_status=$?
8899    echo "$as_me:8918: \$? = $ac_status" >&5    echo "$as_me:8899: \$? = $ac_status" >&5
8900    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8901    ac_cv_func_working_mktime=yes    ac_cv_func_working_mktime=yes
8902  else  else
# Line 8928  fi Line 8908  fi
8908  rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext  rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8909  fi  fi
8910  fi  fi
8911  echo "$as_me:8930: result: $ac_cv_func_working_mktime" >&5  echo "$as_me:8911: result: $ac_cv_func_working_mktime" >&5
8912  echo "${ECHO_T}$ac_cv_func_working_mktime" >&6  echo "${ECHO_T}$ac_cv_func_working_mktime" >&6
8913  if test $ac_cv_func_working_mktime = no; then  if test $ac_cv_func_working_mktime = no; then
8914    LIBOBJS="$LIBOBJS mktime.$ac_objext"    LIBOBJS="$LIBOBJS mktime.$ac_objext"
# Line 8947  ac_have_func=no # yes means we've found Line 8927  ac_have_func=no # yes means we've found
8927  ac_save_LIBS=$LIBS  ac_save_LIBS=$LIBS
8928    
8929  # Check for getloadavg, but be sure not to touch the cache variable.  # Check for getloadavg, but be sure not to touch the cache variable.
8930  (echo "$as_me:8949: checking for getloadavg" >&5  (echo "$as_me:8930: checking for getloadavg" >&5
8931  echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6  echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6
8932  if test "${ac_cv_func_getloadavg+set}" = set; then  if test "${ac_cv_func_getloadavg+set}" = set; then
8933    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
8934  else  else
8935    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
8936  #line 8950 "configure"  #line 8936 "configure"
8937  #include "confdefs.h"  #include "confdefs.h"
8938  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
8939      which can conflict with char getloadavg (); below.  */      which can conflict with char getloadavg (); below.  */
# Line 8984  f = getloadavg; Line 8964  f = getloadavg;
8964  }  }
8965  _ACEOF  _ACEOF
8966  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8967  if { (eval echo "$as_me:8986: \"$ac_link\"") >&5  if { (eval echo "$as_me:8967: \"$ac_link\"") >&5
8968    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8969    ac_status=$?    ac_status=$?
8970    echo "$as_me:8989: \$? = $ac_status" >&5    echo "$as_me:8970: \$? = $ac_status" >&5
8971    (exit $ac_status); } &&    (exit $ac_status); } &&
8972           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8973    { (eval echo "$as_me:8992: \"$ac_try\"") >&5    { (eval echo "$as_me:8973: \"$ac_try\"") >&5
8974    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8975    ac_status=$?    ac_status=$?
8976    echo "$as_me:8995: \$? = $ac_status" >&5    echo "$as_me:8976: \$? = $ac_status" >&5
8977    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8978    ac_cv_func_getloadavg=yes    ac_cv_func_getloadavg=yes
8979  else  else
# Line 9003  ac_cv_func_getloadavg=no Line 8983  ac_cv_func_getloadavg=no
8983  fi  fi
8984  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8985  fi  fi
8986  echo "$as_me:9005: result: $ac_cv_func_getloadavg" >&5  echo "$as_me:8986: result: $ac_cv_func_getloadavg" >&5
8987  echo "${ECHO_T}$ac_cv_func_getloadavg" >&6  echo "${ECHO_T}$ac_cv_func_getloadavg" >&6
8988  if test $ac_cv_func_getloadavg = yes; then  if test $ac_cv_func_getloadavg = yes; then
8989    exit 0    exit 0
# Line 9017  fi Line 8997  fi
8997  for ac_func in pstat_getdynamic  for ac_func in pstat_getdynamic
8998  do  do
8999  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9000  echo "$as_me:9019: checking for $ac_func" >&5  echo "$as_me:9000: checking for $ac_func" >&5
9001  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9002  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
9003    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9004  else  else
9005    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9006  #line 9020 "configure"  #line 9006 "configure"
9007  #include "confdefs.h"  #include "confdefs.h"
9008  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
9009      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 9054  f = $ac_func; Line 9034  f = $ac_func;
9034  }  }
9035  _ACEOF  _ACEOF
9036  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
9037  if { (eval echo "$as_me:9056: \"$ac_link\"") >&5  if { (eval echo "$as_me:9037: \"$ac_link\"") >&5
9038    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
9039    ac_status=$?    ac_status=$?
9040    echo "$as_me:9059: \$? = $ac_status" >&5    echo "$as_me:9040: \$? = $ac_status" >&5
9041    (exit $ac_status); } &&    (exit $ac_status); } &&
9042           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
9043    { (eval echo "$as_me:9062: \"$ac_try\"") >&5    { (eval echo "$as_me:9043: \"$ac_try\"") >&5
9044    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9045    ac_status=$?    ac_status=$?
9046    echo "$as_me:9065: \$? = $ac_status" >&5    echo "$as_me:9046: \$? = $ac_status" >&5
9047    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9048    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
9049  else  else
# Line 9073  eval "$as_ac_var=no" Line 9053  eval "$as_ac_var=no"
9053  fi  fi
9054  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9055  fi  fi
9056  echo "$as_me:9075: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:9056: result: `eval echo '${'$as_ac_var'}'`" >&5
9057  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9058  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
9059    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 9085  done Line 9065  done
9065    
9066  # Solaris has libkstat which does not require root.  # Solaris has libkstat which does not require root.
9067    
9068  echo "$as_me:9087: checking for kstat_open in -lkstat" >&5  echo "$as_me:9068: checking for kstat_open in -lkstat" >&5
9069  echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6  echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6
9070  if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then  if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then
9071    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 9093  else Line 9073  else
9073    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
9074  LIBS="-lkstat  $LIBS"  LIBS="-lkstat  $LIBS"
9075  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
9076  #line 9090 "configure"  #line 9076 "configure"
9077  #include "confdefs.h"  #include "confdefs.h"
9078    
9079  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 9112  kstat_open (); Line 9092  kstat_open ();
9092  }  }
9093  _ACEOF  _ACEOF
9094  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
9095  if { (eval echo "$as_me:9114: \"$ac_link\"") >&5  if { (eval echo "$as_me:9095: \"$ac_link\"") >&5
9096    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
9097    ac_status=$?    ac_status=$?
9098    echo "$as_me:9117: \$? = $ac_status" >&5    echo "$as_me:9098: \$? = $ac_status" >&5
9099    (exit $ac_status); } &&    (exit $ac_status); } &&
9100           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
9101    { (eval echo "$as_me:9120: \"$ac_try\"") >&5    { (eval echo "$as_me:9101: \"$ac_try\"") >&5
9102    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9103    ac_status=$?    ac_status=$?
9104    echo "$as_me:9123: \$? = $ac_status" >&5    echo "$as_me:9104: \$? = $ac_status" >&5
9105    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9106    ac_cv_lib_kstat_kstat_open=yes    ac_cv_lib_kstat_kstat_open=yes
9107  else  else
# Line 9132  fi Line 9112  fi
9112  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9113  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
9114  fi  fi
9115  echo "$as_me:9134: result: $ac_cv_lib_kstat_kstat_open" >&5  echo "$as_me:9115: result: $ac_cv_lib_kstat_kstat_open" >&5
9116  echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6  echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6
9117  if test $ac_cv_lib_kstat_kstat_open = yes; then  if test $ac_cv_lib_kstat_kstat_open = yes; then
9118    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 9150  test $ac_cv_lib_kstat_kstat_open = yes & Line 9130  test $ac_cv_lib_kstat_kstat_open = yes &
9130  # to get the right answer into the cache.  # to get the right answer into the cache.
9131  # For kstat on solaris, we need libelf to force the definition of SVR4 below.  # For kstat on solaris, we need libelf to force the definition of SVR4 below.
9132  if test $ac_have_func = no; then  if test $ac_have_func = no; then
9133    echo "$as_me:9152: checking for elf_begin in -lelf" >&5    echo "$as_me:9133: checking for elf_begin in -lelf" >&5
9134  echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6  echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
9135  if test "${ac_cv_lib_elf_elf_begin+set}" = set; then  if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
9136    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 9158  else Line 9138  else
9138    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
9139  LIBS="-lelf  $LIBS"  LIBS="-lelf  $LIBS"
9140  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
9141  #line 9155 "configure"  #line 9141 "configure"
9142  #include "confdefs.h"  #include "confdefs.h"
9143    
9144  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 9177  elf_begin (); Line 9157  elf_begin ();
9157  }  }
9158  _ACEOF  _ACEOF
9159  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
9160  if { (eval echo "$as_me:9179: \"$ac_link\"") >&5  if { (eval echo "$as_me:9160: \"$ac_link\"") >&5
9161    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
9162    ac_status=$?    ac_status=$?
9163    echo "$as_me:9182: \$? = $ac_status" >&5    echo "$as_me:9163: \$? = $ac_status" >&5
9164    (exit $ac_status); } &&    (exit $ac_status); } &&
9165           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
9166    { (eval echo "$as_me:9185: \"$ac_try\"") >&5    { (eval echo "$as_me:9166: \"$ac_try\"") >&5
9167    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9168    ac_status=$?    ac_status=$?
9169    echo "$as_me:9188: \$? = $ac_status" >&5    echo "$as_me:9169: \$? = $ac_status" >&5
9170    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9171    ac_cv_lib_elf_elf_begin=yes    ac_cv_lib_elf_elf_begin=yes
9172  else  else
# Line 9197  fi Line 9177  fi
9177  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9178  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
9179  fi  fi
9180  echo "$as_me:9199: result: $ac_cv_lib_elf_elf_begin" >&5  echo "$as_me:9180: result: $ac_cv_lib_elf_elf_begin" >&5
9181  echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6  echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
9182  if test $ac_cv_lib_elf_elf_begin = yes; then  if test $ac_cv_lib_elf_elf_begin = yes; then
9183    LIBS="-lelf $LIBS"    LIBS="-lelf $LIBS"
# Line 9205  fi Line 9185  fi
9185    
9186  fi  fi
9187  if test $ac_have_func = no; then  if test $ac_have_func = no; then
9188    echo "$as_me:9207: checking for kvm_open in -lkvm" >&5    echo "$as_me:9188: checking for kvm_open in -lkvm" >&5
9189  echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6  echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6
9190  if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then  if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then
9191    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 9213  else Line 9193  else
9193    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
9194  LIBS="-lkvm  $LIBS"  LIBS="-lkvm  $LIBS"
9195  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
9196  #line 9210 "configure"  #line 9196 "configure"
9197  #include "confdefs.h"  #include "confdefs.h"
9198    
9199  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 9232  kvm_open (); Line 9212  kvm_open ();
9212  }  }
9213  _ACEOF  _ACEOF
9214  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
9215  if { (eval echo "$as_me:9234: \"$ac_link\"") >&5  if { (eval echo "$as_me:9215: \"$ac_link\"") >&5
9216    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
9217    ac_status=$?    ac_status=$?
9218    echo "$as_me:9237: \$? = $ac_status" >&5    echo "$as_me:9218: \$? = $ac_status" >&5
9219    (exit $ac_status); } &&    (exit $ac_status); } &&
9220           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
9221    { (eval echo "$as_me:9240: \"$ac_try\"") >&5    { (eval echo "$as_me:9221: \"$ac_try\"") >&5
9222    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9223    ac_status=$?    ac_status=$?
9224    echo "$as_me:9243: \$? = $ac_status" >&5    echo "$as_me:9224: \$? = $ac_status" >&5
9225    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9226    ac_cv_lib_kvm_kvm_open=yes    ac_cv_lib_kvm_kvm_open=yes
9227  else  else
# Line 9252  fi Line 9232  fi
9232  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9233  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
9234  fi  fi
9235  echo "$as_me:9254: result: $ac_cv_lib_kvm_kvm_open" >&5  echo "$as_me:9235: result: $ac_cv_lib_kvm_kvm_open" >&5
9236  echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6  echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6
9237  if test $ac_cv_lib_kvm_kvm_open = yes; then  if test $ac_cv_lib_kvm_kvm_open = yes; then
9238    LIBS="-lkvm $LIBS"    LIBS="-lkvm $LIBS"
9239  fi  fi
9240    
9241    # Check for the 4.4BSD definition of getloadavg.    # Check for the 4.4BSD definition of getloadavg.
9242    echo "$as_me:9261: checking for getloadavg in -lutil" >&5    echo "$as_me:9242: checking for getloadavg in -lutil" >&5
9243  echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6  echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6
9244  if test "${ac_cv_lib_util_getloadavg+set}" = set; then  if test "${ac_cv_lib_util_getloadavg+set}" = set; then
9245    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 9267  else Line 9247  else
9247    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
9248  LIBS="-lutil  $LIBS"  LIBS="-lutil  $LIBS"
9249  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
9250  #line 9264 "configure"  #line 9250 "configure"
9251  #include "confdefs.h"  #include "confdefs.h"
9252    
9253  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 9286  getloadavg (); Line 9266  getloadavg ();
9266  }  }
9267  _ACEOF  _ACEOF
9268  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
9269  if { (eval echo "$as_me:9288: \"$ac_link\"") >&5  if { (eval echo "$as_me:9269: \"$ac_link\"") >&5
9270    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
9271    ac_status=$?    ac_status=$?
9272    echo "$as_me:9291: \$? = $ac_status" >&5    echo "$as_me:9272: \$? = $ac_status" >&5
9273    (exit $ac_status); } &&    (exit $ac_status); } &&
9274           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
9275    { (eval echo "$as_me:9294: \"$ac_try\"") >&5    { (eval echo "$as_me:9275: \"$ac_try\"") >&5
9276    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9277    ac_status=$?    ac_status=$?
9278    echo "$as_me:9297: \$? = $ac_status" >&5    echo "$as_me:9278: \$? = $ac_status" >&5
9279    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9280    ac_cv_lib_util_getloadavg=yes    ac_cv_lib_util_getloadavg=yes
9281  else  else
# Line 9306  fi Line 9286  fi
9286  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9287  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
9288  fi  fi
9289  echo "$as_me:9308: result: $ac_cv_lib_util_getloadavg" >&5  echo "$as_me:9289: result: $ac_cv_lib_util_getloadavg" >&5
9290  echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6  echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6
9291  if test $ac_cv_lib_util_getloadavg = yes; then  if test $ac_cv_lib_util_getloadavg = yes; then
9292    LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes    LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes
# Line 9319  if test $ac_have_func = no; then Line 9299  if test $ac_have_func = no; then
9299    # 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.
9300    ac_getloadavg_LIBS=$LIBS    ac_getloadavg_LIBS=$LIBS
9301    LIBS="-L/usr/local/lib $LIBS"    LIBS="-L/usr/local/lib $LIBS"
9302    echo "$as_me:9321: checking for getloadavg in -lgetloadavg" >&5    echo "$as_me:9302: checking for getloadavg in -lgetloadavg" >&5
9303  echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6  echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6
9304  if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then  if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then
9305    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 9327  else Line 9307  else
9307    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
9308  LIBS="-lgetloadavg  $LIBS"  LIBS="-lgetloadavg  $LIBS"
9309  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
9310  #line 9324 "configure"  #line 9310 "configure"
9311  #include "confdefs.h"  #include "confdefs.h"
9312    
9313  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 9346  getloadavg (); Line 9326  getloadavg ();
9326  }  }
9327  _ACEOF  _ACEOF
9328  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
9329  if { (eval echo "$as_me:9348: \"$ac_link\"") >&5  if { (eval echo "$as_me:9329: \"$ac_link\"") >&5
9330    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
9331    ac_status=$?    ac_status=$?
9332    echo "$as_me:9351: \$? = $ac_status" >&5    echo "$as_me:9332: \$? = $ac_status" >&5
9333    (exit $ac_status); } &&    (exit $ac_status); } &&
9334           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
9335    { (eval echo "$as_me:9354: \"$ac_try\"") >&5    { (eval echo "$as_me:9335: \"$ac_try\"") >&5
9336    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9337    ac_status=$?    ac_status=$?
9338    echo "$as_me:9357: \$? = $ac_status" >&5    echo "$as_me:9338: \$? = $ac_status" >&5
9339    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9340    ac_cv_lib_getloadavg_getloadavg=yes    ac_cv_lib_getloadavg_getloadavg=yes
9341  else  else
# Line 9366  fi Line 9346  fi
9346  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9347  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
9348  fi  fi
9349  echo "$as_me:9368: result: $ac_cv_lib_getloadavg_getloadavg" >&5  echo "$as_me:9349: result: $ac_cv_lib_getloadavg_getloadavg" >&5
9350  echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6  echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6
9351  if test $ac_cv_lib_getloadavg_getloadavg = yes; then  if test $ac_cv_lib_getloadavg_getloadavg = yes; then
9352    LIBS="-lgetloadavg $LIBS"    LIBS="-lgetloadavg $LIBS"
# Line 9382  fi Line 9362  fi
9362  for ac_func in getloadavg  for ac_func in getloadavg
9363  do  do
9364  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9365  echo "$as_me:9384: checking for $ac_func" >&5  echo "$as_me:9365: checking for $ac_func" >&5
9366  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9367  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
9368    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9369  else  else
9370    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9371  #line 9385 "configure"  #line 9371 "configure"
9372  #include "confdefs.h"  #include "confdefs.h"
9373  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
9374      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 9419  f = $ac_func; Line 9399  f = $ac_func;
9399  }  }
9400  _ACEOF  _ACEOF
9401  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
9402  if { (eval echo "$as_me:9421: \"$ac_link\"") >&5  if { (eval echo "$as_me:9402: \"$ac_link\"") >&5
9403    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
9404    ac_status=$?    ac_status=$?
9405    echo "$as_me:9424: \$? = $ac_status" >&5    echo "$as_me:9405: \$? = $ac_status" >&5
9406    (exit $ac_status); } &&    (exit $ac_status); } &&
9407           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
9408    { (eval echo "$as_me:9427: \"$ac_try\"") >&5    { (eval echo "$as_me:9408: \"$ac_try\"") >&5
9409    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9410    ac_status=$?    ac_status=$?
9411    echo "$as_me:9430: \$? = $ac_status" >&5    echo "$as_me:9411: \$? = $ac_status" >&5
9412    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9413    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
9414  else  else
# Line 9438  eval "$as_ac_var=no" Line 9418  eval "$as_ac_var=no"
9418  fi  fi
9419  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9420  fi  fi
9421  echo "$as_me:9440: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:9421: result: `eval echo '${'$as_ac_var'}'`" >&5
9422  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9423  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
9424    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 9454  EOF Line 9434  EOF
9434    
9435  # Figure out what our getloadavg.c needs.  # Figure out what our getloadavg.c needs.
9436  ac_have_func=no  ac_have_func=no
9437  echo "$as_me:9456: checking for sys/dg_sys_info.h" >&5  echo "$as_me:9437: checking for sys/dg_sys_info.h" >&5
9438  echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6  echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
9439  if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then  if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
9440    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9441  else  else
9442    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9443  #line 9457 "configure"  #line 9443 "configure"
9444  #include "confdefs.h"  #include "confdefs.h"
9445  #include <sys/dg_sys_info.h>  #include <sys/dg_sys_info.h>
9446  _ACEOF  _ACEOF
9447  if { (eval echo "$as_me:9466: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:9447: \"$ac_cpp conftest.$ac_ext\"") >&5
9448    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9449    ac_status=$?    ac_status=$?
9450    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
9451    rm -f conftest.er1    rm -f conftest.er1
9452    cat conftest.err >&5    cat conftest.err >&5
9453    echo "$as_me:9472: \$? = $ac_status" >&5    echo "$as_me:9453: \$? = $ac_status" >&5
9454    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
9455    if test -s conftest.err; then    if test -s conftest.err; then
9456      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 9489  else Line 9469  else
9469  fi  fi
9470  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
9471  fi  fi
9472  echo "$as_me:9491: result: $ac_cv_header_sys_dg_sys_info_h" >&5  echo "$as_me:9472: result: $ac_cv_header_sys_dg_sys_info_h" >&5
9473  echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6  echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
9474  if test $ac_cv_header_sys_dg_sys_info_h = yes; then  if test $ac_cv_header_sys_dg_sys_info_h = yes; then
9475    ac_have_func=yes    ac_have_func=yes
# Line 9498  cat >>confdefs.h <<\EOF Line 9478  cat >>confdefs.h <<\EOF
9478  #define DGUX 1  #define DGUX 1
9479  EOF  EOF
9480    
9481  echo "$as_me:9500: checking for dg_sys_info in -ldgc" >&5  echo "$as_me:9481: checking for dg_sys_info in -ldgc" >&5
9482  echo $ECHO_N "checking for dg_sys_info in -ldgc... $ECHO_C" >&6  echo $ECHO_N "checking for dg_sys_info in -ldgc... $ECHO_C" >&6
9483  if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then  if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then
9484    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 9506  else Line 9486  else
9486    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
9487  LIBS="-ldgc  $LIBS"  LIBS="-ldgc  $LIBS"
9488  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
9489  #line 9503 "configure"  #line 9489 "configure"
9490  #include "confdefs.h"  #include "confdefs.h"
9491    
9492  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 9525  dg_sys_info (); Line 9505  dg_sys_info ();
9505  }  }
9506  _ACEOF  _ACEOF
9507  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
9508  if { (eval echo "$as_me:9527: \"$ac_link\"") >&5  if { (eval echo "$as_me:9508: \"$ac_link\"") >&5
9509    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
9510    ac_status=$?    ac_status=$?
9511    echo "$as_me:9530: \$? = $ac_status" >&5    echo "$as_me:9511: \$? = $ac_status" >&5
9512    (exit $ac_status); } &&    (exit $ac_status); } &&
9513           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
9514    { (eval echo "$as_me:9533: \"$ac_try\"") >&5    { (eval echo "$as_me:9514: \"$ac_try\"") >&5
9515    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9516    ac_status=$?    ac_status=$?
9517    echo "$as_me:9536: \$? = $ac_status" >&5    echo "$as_me:9517: \$? = $ac_status" >&5
9518    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9519    ac_cv_lib_dgc_dg_sys_info=yes    ac_cv_lib_dgc_dg_sys_info=yes
9520  else  else
# Line 9545  fi Line 9525  fi
9525  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9526  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
9527  fi  fi
9528  echo "$as_me:9547: result: $ac_cv_lib_dgc_dg_sys_info" >&5  echo "$as_me:9528: result: $ac_cv_lib_dgc_dg_sys_info" >&5
9529  echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6  echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6
9530  if test $ac_cv_lib_dgc_dg_sys_info = yes; then  if test $ac_cv_lib_dgc_dg_sys_info = yes; then
9531    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 9558  fi Line 9538  fi
9538    
9539  fi  fi
9540    
9541  echo "$as_me:9560: checking for locale.h" >&5  echo "$as_me:9541: checking for locale.h" >&5
9542  echo $ECHO_N "checking for locale.h... $ECHO_C" >&6  echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
9543  if test "${ac_cv_header_locale_h+set}" = set; then  if test "${ac_cv_header_locale_h+set}" = set; then
9544    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9545  else  else
9546    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9547  #line 9561 "configure"  #line 9547 "configure"
9548  #include "confdefs.h"  #include "confdefs.h"
9549  #include <locale.h>  #include <locale.h>
9550  _ACEOF  _ACEOF
9551  if { (eval echo "$as_me:9570: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:9551: \"$ac_cpp conftest.$ac_ext\"") >&5
9552    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9553    ac_status=$?    ac_status=$?
9554    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
9555    rm -f conftest.er1    rm -f conftest.er1
9556    cat conftest.err >&5    cat conftest.err >&5
9557    echo "$as_me:9576: \$? = $ac_status" >&5    echo "$as_me:9557: \$? = $ac_status" >&5
9558    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
9559    if test -s conftest.err; then    if test -s conftest.err; then
9560      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 9593  else Line 9573  else
9573  fi  fi
9574  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
9575  fi  fi
9576  echo "$as_me:9595: result: $ac_cv_header_locale_h" >&5  echo "$as_me:9576: result: $ac_cv_header_locale_h" >&5
9577  echo "${ECHO_T}$ac_cv_header_locale_h" >&6  echo "${ECHO_T}$ac_cv_header_locale_h" >&6
9578    
9579  for ac_func in setlocale  for ac_func in setlocale
9580  do  do
9581  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9582  echo "$as_me:9601: checking for $ac_func" >&5  echo "$as_me:9582: checking for $ac_func" >&5
9583  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9584  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
9585    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9586  else  else
9587    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9588  #line 9602 "configure"  #line 9588 "configure"
9589  #include "confdefs.h"  #include "confdefs.h"
9590  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
9591      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 9636  f = $ac_func; Line 9616  f = $ac_func;
9616  }  }
9617  _ACEOF  _ACEOF
9618  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
9619  if { (eval echo "$as_me:9638: \"$ac_link\"") >&5  if { (eval echo "$as_me:9619: \"$ac_link\"") >&5
9620    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
9621    ac_status=$?    ac_status=$?
9622    echo "$as_me:9641: \$? = $ac_status" >&5    echo "$as_me:9622: \$? = $ac_status" >&5
9623    (exit $ac_status); } &&    (exit $ac_status); } &&
9624           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
9625    { (eval echo "$as_me:9644: \"$ac_try\"") >&5    { (eval echo "$as_me:9625: \"$ac_try\"") >&5
9626    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9627    ac_status=$?    ac_status=$?
9628    echo "$as_me:9647: \$? = $ac_status" >&5    echo "$as_me:9628: \$? = $ac_status" >&5
9629    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9630    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
9631  else  else
# Line 9655  eval "$as_ac_var=no" Line 9635  eval "$as_ac_var=no"
9635  fi  fi
9636  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9637  fi  fi
9638  echo "$as_me:9657: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:9638: result: `eval echo '${'$as_ac_var'}'`" >&5
9639  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9640  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
9641    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 9678  EOF Line 9658  EOF
9658  fi  fi
9659    
9660  if test $ac_have_func = no; then  if test $ac_have_func = no; then
9661    echo "$as_me:9680: checking for inq_stats/cpustats.h" >&5    echo "$as_me:9661: checking for inq_stats/cpustats.h" >&5
9662  echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6  echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6
9663  if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then  if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
9664    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9665  else  else
9666    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9667  #line 9681 "configure"  #line 9667 "configure"
9668  #include "confdefs.h"  #include "confdefs.h"
9669  #include <inq_stats/cpustats.h>  #include <inq_stats/cpustats.h>
9670  _ACEOF  _ACEOF
9671  if { (eval echo "$as_me:9690: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:9671: \"$ac_cpp conftest.$ac_ext\"") >&5
9672    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9673    ac_status=$?    ac_status=$?
9674    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
9675    rm -f conftest.er1    rm -f conftest.er1
9676    cat conftest.err >&5    cat conftest.err >&5
9677    echo "$as_me:9696: \$? = $ac_status" >&5    echo "$as_me:9677: \$? = $ac_status" >&5
9678    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
9679    if test -s conftest.err; then    if test -s conftest.err; then
9680      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 9713  else Line 9693  else
9693  fi  fi
9694  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
9695  fi  fi
9696  echo "$as_me:9715: result: $ac_cv_header_inq_stats_cpustats_h" >&5  echo "$as_me:9696: result: $ac_cv_header_inq_stats_cpustats_h" >&5
9697  echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6  echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6
9698  if test $ac_cv_header_inq_stats_cpustats_h = yes; then  if test $ac_cv_header_inq_stats_cpustats_h = yes; then
9699    ac_have_func=yes    ac_have_func=yes
# Line 9731  fi Line 9711  fi
9711  fi  fi
9712    
9713  if test $ac_have_func = no; then  if test $ac_have_func = no; then
9714    echo "$as_me:9733: checking for sys/cpustats.h" >&5    echo "$as_me:9714: checking for sys/cpustats.h" >&5
9715  echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6  echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6
9716  if test "${ac_cv_header_sys_cpustats_h+set}" = set; then  if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
9717    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9718  else  else
9719    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9720  #line 9734 "configure"  #line 9720 "configure"
9721  #include "confdefs.h"  #include "confdefs.h"
9722  #include <sys/cpustats.h>  #include <sys/cpustats.h>
9723  _ACEOF  _ACEOF
9724  if { (eval echo "$as_me:9743: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:9724: \"$ac_cpp conftest.$ac_ext\"") >&5
9725    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9726    ac_status=$?    ac_status=$?
9727    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
9728    rm -f conftest.er1    rm -f conftest.er1
9729    cat conftest.err >&5    cat conftest.err >&5
9730    echo "$as_me:9749: \$? = $ac_status" >&5    echo "$as_me:9730: \$? = $ac_status" >&5
9731    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
9732    if test -s conftest.err; then    if test -s conftest.err; then
9733      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 9766  else Line 9746  else
9746  fi  fi
9747  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
9748  fi  fi
9749  echo "$as_me:9768: result: $ac_cv_header_sys_cpustats_h" >&5  echo "$as_me:9749: result: $ac_cv_header_sys_cpustats_h" >&5
9750  echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6  echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6
9751  if test $ac_cv_header_sys_cpustats_h = yes; then  if test $ac_cv_header_sys_cpustats_h = yes; then
9752    ac_have_func=yes; cat >>confdefs.h <<\EOF    ac_have_func=yes; cat >>confdefs.h <<\EOF
# Line 9782  if test $ac_have_func = no; then Line 9762  if test $ac_have_func = no; then
9762  for ac_header in mach/mach.h  for ac_header in mach/mach.h
9763  do  do
9764  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9765  echo "$as_me:9784: checking for $ac_header" >&5  echo "$as_me:9765: checking for $ac_header" >&5
9766  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9767  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
9768    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9769  else  else
9770    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9771  #line 9785 "configure"  #line 9771 "configure"
9772  #include "confdefs.h"  #include "confdefs.h"
9773  #include <$ac_header>  #include <$ac_header>
9774  _ACEOF  _ACEOF
9775  if { (eval echo "$as_me:9794: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:9775: \"$ac_cpp conftest.$ac_ext\"") >&5
9776    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9777    ac_status=$?    ac_status=$?
9778    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
9779    rm -f conftest.er1    rm -f conftest.er1
9780    cat conftest.err >&5    cat conftest.err >&5
9781    echo "$as_me:9800: \$? = $ac_status" >&5    echo "$as_me:9781: \$? = $ac_status" >&5
9782    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
9783    if test -s conftest.err; then    if test -s conftest.err; then
9784      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 9817  else Line 9797  else
9797  fi  fi
9798  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
9799  fi  fi
9800  echo "$as_me:9819: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:9800: result: `eval echo '${'$as_ac_Header'}'`" >&5
9801  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9802  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
9803    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 9832  fi Line 9812  fi
9812  for ac_header in nlist.h  for ac_header in nlist.h
9813  do  do
9814  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9815  echo "$as_me:9834: checking for $ac_header" >&5  echo "$as_me:9815: checking for $ac_header" >&5
9816  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9817  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
9818    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9819  else  else
9820    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9821  #line 9835 "configure"  #line 9821 "configure"
9822  #include "confdefs.h"  #include "confdefs.h"
9823  #include <$ac_header>  #include <$ac_header>
9824  _ACEOF  _ACEOF
9825  if { (eval echo "$as_me:9844: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:9825: \"$ac_cpp conftest.$ac_ext\"") >&5
9826    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9827    ac_status=$?    ac_status=$?
9828    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
9829    rm -f conftest.er1    rm -f conftest.er1
9830    cat conftest.err >&5    cat conftest.err >&5
9831    echo "$as_me:9850: \$? = $ac_status" >&5    echo "$as_me:9831: \$? = $ac_status" >&5
9832    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
9833    if test -s conftest.err; then    if test -s conftest.err; then
9834      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 9867  else Line 9847  else
9847  fi  fi
9848  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
9849  fi  fi
9850  echo "$as_me:9869: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:9850: result: `eval echo '${'$as_ac_Header'}'`" >&5
9851  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9852  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
9853    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
9854  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9855  EOF  EOF
9856   echo "$as_me:9875: checking for struct nlist.n_un.n_name" >&5   echo "$as_me:9856: checking for struct nlist.n_un.n_name" >&5
9857  echo $ECHO_N "checking for struct nlist.n_un.n_name... $ECHO_C" >&6  echo $ECHO_N "checking for struct nlist.n_un.n_name... $ECHO_C" >&6
9858  if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then  if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then
9859    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9860  else  else
9861    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9862  #line 9876 "configure"  #line 9862 "configure"
9863  #include "confdefs.h"  #include "confdefs.h"
9864  #include <nlist.h>  #include <nlist.h>
9865    
# Line 9894  return 0; Line 9874  return 0;
9874  }  }
9875  _ACEOF  _ACEOF
9876  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
9877  if { (eval echo "$as_me:9896: \"$ac_compile\"") >&5  if { (eval echo "$as_me:9877: \"$ac_compile\"") >&5
9878    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
9879    ac_status=$?    ac_status=$?
9880    echo "$as_me:9899: \$? = $ac_status" >&5    echo "$as_me:9880: \$? = $ac_status" >&5
9881    (exit $ac_status); } &&    (exit $ac_status); } &&
9882           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
9883    { (eval echo "$as_me:9902: \"$ac_try\"") >&5    { (eval echo "$as_me:9883: \"$ac_try\"") >&5
9884    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9885    ac_status=$?    ac_status=$?
9886    echo "$as_me:9905: \$? = $ac_status" >&5    echo "$as_me:9886: \$? = $ac_status" >&5
9887    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9888    ac_cv_member_struct_nlist_n_un_n_name=yes    ac_cv_member_struct_nlist_n_un_n_name=yes
9889  else  else
# Line 9913  ac_cv_member_struct_nlist_n_un_n_name=no Line 9893  ac_cv_member_struct_nlist_n_un_n_name=no
9893  fi  fi
9894  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
9895  fi  fi
9896  echo "$as_me:9915: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5  echo "$as_me:9896: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5
9897  echo "${ECHO_T}$ac_cv_member_struct_nlist_n_un_n_name" >&6  echo "${ECHO_T}$ac_cv_member_struct_nlist_n_un_n_name" >&6
9898  if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then  if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then
9899    
# Line 9934  fi Line 9914  fi
9914  done  done
9915    
9916  # Some definitions of getloadavg require that the program be installed setgid.  # Some definitions of getloadavg require that the program be installed setgid.
9917  echo "$as_me:9936: checking whether getloadavg requires setgid" >&5  echo "$as_me:9917: checking whether getloadavg requires setgid" >&5
9918  echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6  echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6
9919  if test "${ac_cv_func_getloadavg_setgid+set}" = set; then  if test "${ac_cv_func_getloadavg_setgid+set}" = set; then
9920    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9921  else  else
9922    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9923  #line 9937 "configure"  #line 9923 "configure"
9924  #include "confdefs.h"  #include "confdefs.h"
9925  #include "$srcdir/getloadavg.c"  #include "$srcdir/getloadavg.c"
9926  #ifdef LDAV_PRIVILEGED  #ifdef LDAV_PRIVILEGED
# Line 9956  fi Line 9936  fi
9936  rm -f conftest*  rm -f conftest*
9937    
9938  fi  fi
9939  echo "$as_me:9958: result: $ac_cv_func_getloadavg_setgid" >&5  echo "$as_me:9939: result: $ac_cv_func_getloadavg_setgid" >&5
9940  echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6  echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6
9941  if test $ac_cv_func_getloadavg_setgid = yes; then  if test $ac_cv_func_getloadavg_setgid = yes; then
9942    NEED_SETGID=true    NEED_SETGID=true
# Line 9970  else Line 9950  else
9950  fi  fi
9951    
9952  if test $ac_cv_func_getloadavg_setgid = yes; then  if test $ac_cv_func_getloadavg_setgid = yes; then
9953    echo "$as_me:9972: checking group of /dev/kmem" >&5    echo "$as_me:9953: checking group of /dev/kmem" >&5
9954  echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6  echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6
9955  if test "${ac_cv_group_kmem+set}" = set; then  if test "${ac_cv_group_kmem+set}" = set; then
9956    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 9985  else Line 9965  else
9965                 / /s/.* //;p;'`                 / /s/.* //;p;'`
9966    
9967  fi  fi
9968  echo "$as_me:9987: result: $ac_cv_group_kmem" >&5  echo "$as_me:9968: result: $ac_cv_group_kmem" >&5
9969  echo "${ECHO_T}$ac_cv_group_kmem" >&6  echo "${ECHO_T}$ac_cv_group_kmem" >&6
9970    KMEM_GROUP=$ac_cv_group_kmem    KMEM_GROUP=$ac_cv_group_kmem
9971  fi  fi
# Line 9996  else Line 9976  else
9976  fi  fi
9977  LIBS=$ac_save_LIBS  LIBS=$ac_save_LIBS
9978    
9979  echo "$as_me:9998: checking for _LARGEFILE_SOURCE value needed for large files" >&5  echo "$as_me:9979: checking for _LARGEFILE_SOURCE value needed for large files" >&5
9980  echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6  echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
9981  if test "${ac_cv_sys_largefile_source+set}" = set; then  if test "${ac_cv_sys_largefile_source+set}" = set; then
9982    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10004  else Line 9984  else
9984    while :; do    while :; do
9985    ac_cv_sys_largefile_source=no    ac_cv_sys_largefile_source=no
9986    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9987  #line 10001 "configure"  #line 9987 "configure"
9988  #include "confdefs.h"  #include "confdefs.h"
9989  #include <stdio.h>  #include <stdio.h>
9990  int  int
# Line 10016  return !fseeko; Line 9996  return !fseeko;
9996  }  }
9997  _ACEOF  _ACEOF
9998  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
9999  if { (eval echo "$as_me:10018: \"$ac_compile\"") >&5  if { (eval echo "$as_me:9999: \"$ac_compile\"") >&5
10000    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
10001    ac_status=$?    ac_status=$?
10002    echo "$as_me:10021: \$? = $ac_status" >&5    echo "$as_me:10002: \$? = $ac_status" >&5
10003    (exit $ac_status); } &&    (exit $ac_status); } &&
10004           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
10005    { (eval echo "$as_me:10024: \"$ac_try\"") >&5    { (eval echo "$as_me:10005: \"$ac_try\"") >&5
10006    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10007    ac_status=$?    ac_status=$?
10008    echo "$as_me:10027: \$? = $ac_status" >&5    echo "$as_me:10008: \$? = $ac_status" >&5
10009    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10010    break    break
10011  else  else
# Line 10034  cat conftest.$ac_ext >&5 Line 10014  cat conftest.$ac_ext >&5
10014  fi  fi
10015  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
10016    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
10017  #line 10031 "configure"  #line 10017 "configure"
10018  #include "confdefs.h"  #include "confdefs.h"
10019  #define _LARGEFILE_SOURCE 1  #define _LARGEFILE_SOURCE 1
10020  #include <stdio.h>  #include <stdio.h>
# Line 10047  return !fseeko; Line 10027  return !fseeko;
10027  }  }
10028  _ACEOF  _ACEOF
10029  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
10030  if { (eval echo "$as_me:10049: \"$ac_compile\"") >&5  if { (eval echo "$as_me:10030: \"$ac_compile\"") >&5
10031    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
10032    ac_status=$?    ac_status=$?
10033    echo "$as_me:10052: \$? = $ac_status" >&5    echo "$as_me:10033: \$? = $ac_status" >&5
10034    (exit $ac_status); } &&    (exit $ac_status); } &&
10035           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
10036    { (eval echo "$as_me:10055: \"$ac_try\"") >&5    { (eval echo "$as_me:10036: \"$ac_try\"") >&5
10037    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10038    ac_status=$?    ac_status=$?
10039    echo "$as_me:10058: \$? = $ac_status" >&5    echo "$as_me:10039: \$? = $ac_status" >&5
10040    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10041    ac_cv_sys_largefile_source=1; break    ac_cv_sys_largefile_source=1; break
10042  else  else
# Line 10067  rm -f conftest.$ac_objext conftest.$ac_e Line 10047  rm -f conftest.$ac_objext conftest.$ac_e
10047    break    break
10048  done  done
10049  fi  fi
10050  echo "$as_me:10069: result: $ac_cv_sys_largefile_source" >&5  echo "$as_me:10050: result: $ac_cv_sys_largefile_source" >&5
10051  echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6  echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
10052  if test "$ac_cv_sys_largefile_source" != no; then  if test "$ac_cv_sys_largefile_source" != no; then
10053    
# Line 10081  rm -f conftest* Line 10061  rm -f conftest*
10061  # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug  # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
10062  # in glibc 2.1.3, but that breaks too many other things.  # in glibc 2.1.3, but that breaks too many other things.
10063  # 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.
10064  echo "$as_me:10083: checking for fseeko" >&5  echo "$as_me:10064: checking for fseeko" >&5
10065  echo $ECHO_N "checking for fseeko... $ECHO_C" >&6  echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
10066  if test "${ac_cv_func_fseeko+set}" = set; then  if test "${ac_cv_func_fseeko+set}" = set; then
10067    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
10068  else  else
10069    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
10070  #line 10084 "configure"  #line 10070 "configure"
10071  #include "confdefs.h"  #include "confdefs.h"
10072  #include <stdio.h>  #include <stdio.h>
10073  int  int
# Line 10099  return fseeko && fseeko (stdin, 0, 0); Line 10079  return fseeko && fseeko (stdin, 0, 0);
10079  }  }
10080  _ACEOF  _ACEOF
10081  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10082  if { (eval echo "$as_me:10101: \"$ac_link\"") >&5  if { (eval echo "$as_me:10082: \"$ac_link\"") >&5
10083    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10084    ac_status=$?    ac_status=$?
10085    echo "$as_me:10104: \$? = $ac_status" >&5    echo "$as_me:10085: \$? = $ac_status" >&5
10086    (exit $ac_status); } &&    (exit $ac_status); } &&
10087           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10088    { (eval echo "$as_me:10107: \"$ac_try\"") >&5    { (eval echo "$as_me:10088: \"$ac_try\"") >&5
10089    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10090    ac_status=$?    ac_status=$?
10091    echo "$as_me:10110: \$? = $ac_status" >&5    echo "$as_me:10091: \$? = $ac_status" >&5
10092    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10093    ac_cv_func_fseeko=yes    ac_cv_func_fseeko=yes
10094  else  else
# Line 10118  ac_cv_func_fseeko=no Line 10098  ac_cv_func_fseeko=no
10098  fi  fi
10099  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10100  fi  fi
10101  echo "$as_me:10120: result: $ac_cv_func_fseeko" >&5  echo "$as_me:10101: result: $ac_cv_func_fseeko" >&5
10102  echo "${ECHO_T}$ac_cv_func_fseeko" >&6  echo "${ECHO_T}$ac_cv_func_fseeko" >&6
10103  if test $ac_cv_func_fseeko = yes; then  if test $ac_cv_func_fseeko = yes; then
10104    
# Line 10133  fi Line 10113  fi
10113  for ac_func in grantpt  for ac_func in grantpt
10114  do  do
10115  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10116  echo "$as_me:10135: checking for $ac_func" >&5  echo "$as_me:10116: checking for $ac_func" >&5
10117  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10118  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
10119    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
10120  else  else
10121    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
10122  #line 10136 "configure"  #line 10122 "configure"
10123  #include "confdefs.h"  #include "confdefs.h"
10124  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
10125      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 10170  f = $ac_func; Line 10150  f = $ac_func;
10150  }  }
10151  _ACEOF  _ACEOF
10152  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10153  if { (eval echo "$as_me:10172: \"$ac_link\"") >&5  if { (eval echo "$as_me:10153: \"$ac_link\"") >&5
10154    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10155    ac_status=$?    ac_status=$?
10156    echo "$as_me:10175: \$? = $ac_status" >&5    echo "$as_me:10156: \$? = $ac_status" >&5
10157    (exit $ac_status); } &&    (exit $ac_status); } &&
10158           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10159    { (eval echo "$as_me:10178: \"$ac_try\"") >&5    { (eval echo "$as_me:10159: \"$ac_try\"") >&5
10160    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10161    ac_status=$?    ac_status=$?
10162    echo "$as_me:10181: \$? = $ac_status" >&5    echo "$as_me:10162: \$? = $ac_status" >&5
10163    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10164    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
10165  else  else
# Line 10189  eval "$as_ac_var=no" Line 10169  eval "$as_ac_var=no"
10169  fi  fi
10170  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10171  fi  fi
10172  echo "$as_me:10191: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:10172: result: `eval echo '${'$as_ac_var'}'`" >&5
10173  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10174  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
10175    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10204  done Line 10184  done
10184  for ac_func in getpt  for ac_func in getpt
10185  do  do
10186  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10187  echo "$as_me:10206: checking for $ac_func" >&5  echo "$as_me:10187: checking for $ac_func" >&5
10188  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10189  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
10190    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
10191  else  else
10192    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
10193  #line 10207 "configure"  #line 10193 "configure"
10194  #include "confdefs.h"  #include "confdefs.h"
10195  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
10196      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 10241  f = $ac_func; Line 10221  f = $ac_func;
10221  }  }
10222  _ACEOF  _ACEOF
10223  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10224  if { (eval echo "$as_me:10243: \"$ac_link\"") >&5  if { (eval echo "$as_me:10224: \"$ac_link\"") >&5
10225    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10226    ac_status=$?    ac_status=$?
10227    echo "$as_me:10246: \$? = $ac_status" >&5    echo "$as_me:10227: \$? = $ac_status" >&5
10228    (exit $ac_status); } &&    (exit $ac_status); } &&
10229           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10230    { (eval echo "$as_me:10249: \"$ac_try\"") >&5    { (eval echo "$as_me:10230: \"$ac_try\"") >&5
10231    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10232    ac_status=$?    ac_status=$?
10233    echo "$as_me:10252: \$? = $ac_status" >&5    echo "$as_me:10233: \$? = $ac_status" >&5
10234    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10235    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
10236  else  else
# Line 10260  eval "$as_ac_var=no" Line 10240  eval "$as_ac_var=no"
10240  fi  fi
10241  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10242  fi  fi
10243  echo "$as_me:10262: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:10243: result: `eval echo '${'$as_ac_var'}'`" >&5
10244  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10245  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
10246    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10275  done Line 10255  done
10255  # It's better to believe a function is not available  # It's better to believe a function is not available
10256  # than to expect to find it in ncurses.  # than to expect to find it in ncurses.
10257    
10258  echo "$as_me:10277: checking for tparm in -lncurses" >&5  echo "$as_me:10258: checking for tparm in -lncurses" >&5
10259  echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6  echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6
10260  if test "${ac_cv_lib_ncurses_tparm+set}" = set; then  if test "${ac_cv_lib_ncurses_tparm+set}" = set; then
10261    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10283  else Line 10263  else
10263    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
10264  LIBS="-lncurses  $LIBS"  LIBS="-lncurses  $LIBS"
10265  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
10266  #line 10280 "configure"  #line 10266 "configure"
10267  #include "confdefs.h"  #include "confdefs.h"
10268    
10269  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 10302  tparm (); Line 10282  tparm ();
10282  }  }
10283  _ACEOF  _ACEOF
10284  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10285  if { (eval echo "$as_me:10304: \"$ac_link\"") >&5  if { (eval echo "$as_me:10285: \"$ac_link\"") >&5
10286    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10287    ac_status=$?    ac_status=$?
10288    echo "$as_me:10307: \$? = $ac_status" >&5    echo "$as_me:10288: \$? = $ac_status" >&5
10289    (exit $ac_status); } &&    (exit $ac_status); } &&
10290           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10291    { (eval echo "$as_me:10310: \"$ac_try\"") >&5    { (eval echo "$as_me:10291: \"$ac_try\"") >&5
10292    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10293    ac_status=$?    ac_status=$?
10294    echo "$as_me:10313: \$? = $ac_status" >&5    echo "$as_me:10294: \$? = $ac_status" >&5
10295    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10296    ac_cv_lib_ncurses_tparm=yes    ac_cv_lib_ncurses_tparm=yes
10297  else  else
# Line 10322  fi Line 10302  fi
10302  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10303  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10304  fi  fi
10305  echo "$as_me:10324: result: $ac_cv_lib_ncurses_tparm" >&5  echo "$as_me:10305: result: $ac_cv_lib_ncurses_tparm" >&5
10306  echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6  echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6
10307  if test $ac_cv_lib_ncurses_tparm = yes; then  if test $ac_cv_lib_ncurses_tparm = yes; then
10308    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10337  fi Line 10317  fi
10317  if test "$with_hesiod" = yes ; then  if test "$with_hesiod" = yes ; then
10318    # Don't set $LIBS here -- see comments above.    # Don't set $LIBS here -- see comments above.
10319    resolv=no    resolv=no
10320    echo "$as_me:10339: checking for res_send" >&5    echo "$as_me:10320: checking for res_send" >&5
10321  echo $ECHO_N "checking for res_send... $ECHO_C" >&6  echo $ECHO_N "checking for res_send... $ECHO_C" >&6
10322  if test "${ac_cv_func_res_send+set}" = set; then  if test "${ac_cv_func_res_send+set}" = set; then
10323    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
10324  else  else
10325    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
10326  #line 10340 "configure"  #line 10326 "configure"
10327  #include "confdefs.h"  #include "confdefs.h"
10328  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
10329      which can conflict with char res_send (); below.  */      which can conflict with char res_send (); below.  */
# Line 10374  f = res_send; Line 10354  f = res_send;
10354  }  }
10355  _ACEOF  _ACEOF
10356  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10357  if { (eval echo "$as_me:10376: \"$ac_link\"") >&5  if { (eval echo "$as_me:10357: \"$ac_link\"") >&5
10358    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10359    ac_status=$?    ac_status=$?
10360    echo "$as_me:10379: \$? = $ac_status" >&5    echo "$as_me:10360: \$? = $ac_status" >&5
10361    (exit $ac_status); } &&    (exit $ac_status); } &&
10362           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10363    { (eval echo "$as_me:10382: \"$ac_try\"") >&5    { (eval echo "$as_me:10363: \"$ac_try\"") >&5
10364    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10365    ac_status=$?    ac_status=$?
10366    echo "$as_me:10385: \$? = $ac_status" >&5    echo "$as_me:10366: \$? = $ac_status" >&5
10367    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10368    ac_cv_func_res_send=yes    ac_cv_func_res_send=yes
10369  else  else
# Line 10393  ac_cv_func_res_send=no Line 10373  ac_cv_func_res_send=no
10373  fi  fi
10374  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10375  fi  fi
10376  echo "$as_me:10395: result: $ac_cv_func_res_send" >&5  echo "$as_me:10376: result: $ac_cv_func_res_send" >&5
10377  echo "${ECHO_T}$ac_cv_func_res_send" >&6  echo "${ECHO_T}$ac_cv_func_res_send" >&6
10378  if test $ac_cv_func_res_send = yes; then  if test $ac_cv_func_res_send = yes; then
10379    :    :
10380  else  else
10381    echo "$as_me:10400: checking for __res_send" >&5    echo "$as_me:10381: checking for __res_send" >&5
10382  echo $ECHO_N "checking for __res_send... $ECHO_C" >&6  echo $ECHO_N "checking for __res_send... $ECHO_C" >&6
10383  if test "${ac_cv_func___res_send+set}" = set; then  if test "${ac_cv_func___res_send+set}" = set; then
10384    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
10385  else  else
10386    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
10387  #line 10401 "configure"  #line 10387 "configure"
10388  #include "confdefs.h"  #include "confdefs.h"
10389  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
10390      which can conflict with char __res_send (); below.  */      which can conflict with char __res_send (); below.  */
# Line 10435  f = __res_send; Line 10415  f = __res_send;
10415  }  }
10416  _ACEOF  _ACEOF
10417  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10418  if { (eval echo "$as_me:10437: \"$ac_link\"") >&5  if { (eval echo "$as_me:10418: \"$ac_link\"") >&5
10419    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10420    ac_status=$?    ac_status=$?
10421    echo "$as_me:10440: \$? = $ac_status" >&5    echo "$as_me:10421: \$? = $ac_status" >&5
10422    (exit $ac_status); } &&    (exit $ac_status); } &&
10423           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10424    { (eval echo "$as_me:10443: \"$ac_try\"") >&5    { (eval echo "$as_me:10424: \"$ac_try\"") >&5
10425    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10426    ac_status=$?    ac_status=$?
10427    echo "$as_me:10446: \$? = $ac_status" >&5    echo "$as_me:10427: \$? = $ac_status" >&5
10428    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10429    ac_cv_func___res_send=yes    ac_cv_func___res_send=yes
10430  else  else
# Line 10454  ac_cv_func___res_send=no Line 10434  ac_cv_func___res_send=no
10434  fi  fi
10435  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10436  fi  fi
10437  echo "$as_me:10456: result: $ac_cv_func___res_send" >&5  echo "$as_me:10437: result: $ac_cv_func___res_send" >&5
10438  echo "${ECHO_T}$ac_cv_func___res_send" >&6  echo "${ECHO_T}$ac_cv_func___res_send" >&6
10439  if test $ac_cv_func___res_send = yes; then  if test $ac_cv_func___res_send = yes; then
10440    :    :
10441  else  else
10442    echo "$as_me:10461: checking for res_send in -lresolv" >&5    echo "$as_me:10442: checking for res_send in -lresolv" >&5
10443  echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6  echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6
10444  if test "${ac_cv_lib_resolv_res_send+set}" = set; then  if test "${ac_cv_lib_resolv_res_send+set}" = set; then
10445    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10467  else Line 10447  else
10447    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
10448  LIBS="-lresolv  $LIBS"  LIBS="-lresolv  $LIBS"
10449  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
10450  #line 10464 "configure"  #line 10450 "configure"
10451  #include "confdefs.h"  #include "confdefs.h"
10452    
10453  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 10486  res_send (); Line 10466  res_send ();
10466  }  }
10467  _ACEOF  _ACEOF
10468  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10469  if { (eval echo "$as_me:10488: \"$ac_link\"") >&5  if { (eval echo "$as_me:10469: \"$ac_link\"") >&5
10470    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10471    ac_status=$?    ac_status=$?
10472    echo "$as_me:10491: \$? = $ac_status" >&5    echo "$as_me:10472: \$? = $ac_status" >&5
10473    (exit $ac_status); } &&    (exit $ac_status); } &&
10474           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10475    { (eval echo "$as_me:10494: \"$ac_try\"") >&5    { (eval echo "$as_me:10475: \"$ac_try\"") >&5
10476    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10477    ac_status=$?    ac_status=$?
10478    echo "$as_me:10497: \$? = $ac_status" >&5    echo "$as_me:10478: \$? = $ac_status" >&5
10479    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10480    ac_cv_lib_resolv_res_send=yes    ac_cv_lib_resolv_res_send=yes
10481  else  else
# Line 10506  fi Line 10486  fi
10486  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10487  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10488  fi  fi
10489  echo "$as_me:10508: result: $ac_cv_lib_resolv_res_send" >&5  echo "$as_me:10489: result: $ac_cv_lib_resolv_res_send" >&5
10490  echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6  echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6
10491  if test $ac_cv_lib_resolv_res_send = yes; then  if test $ac_cv_lib_resolv_res_send = yes; then
10492    resolv=yes    resolv=yes
10493  else  else
10494    echo "$as_me:10513: checking for __res_send in -lresolv" >&5    echo "$as_me:10494: checking for __res_send in -lresolv" >&5
10495  echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6  echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6
10496  if test "${ac_cv_lib_resolv___res_send+set}" = set; then  if test "${ac_cv_lib_resolv___res_send+set}" = set; then
10497    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10519  else Line 10499  else
10499    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
10500  LIBS="-lresolv  $LIBS"  LIBS="-lresolv  $LIBS"
10501  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
10502  #line 10516 "configure"  #line 10502 "configure"
10503  #include "confdefs.h"  #include "confdefs.h"
10504    
10505  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 10538  __res_send (); Line 10518  __res_send ();
10518  }  }
10519  _ACEOF  _ACEOF
10520  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10521  if { (eval echo "$as_me:10540: \"$ac_link\"") >&5  if { (eval echo "$as_me:10521: \"$ac_link\"") >&5
10522    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10523    ac_status=$?    ac_status=$?
10524    echo "$as_me:10543: \$? = $ac_status" >&5    echo "$as_me:10524: \$? = $ac_status" >&5
10525    (exit $ac_status); } &&    (exit $ac_status); } &&
10526           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10527    { (eval echo "$as_me:10546: \"$ac_try\"") >&5    { (eval echo "$as_me:10527: \"$ac_try\"") >&5
10528    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10529    ac_status=$?    ac_status=$?
10530    echo "$as_me:10549: \$? = $ac_status" >&5    echo "$as_me:10530: \$? = $ac_status" >&5
10531    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10532    ac_cv_lib_resolv___res_send=yes    ac_cv_lib_resolv___res_send=yes
10533  else  else
# Line 10558  fi Line 10538  fi
10538  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10539  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10540  fi  fi
10541  echo "$as_me:10560: result: $ac_cv_lib_resolv___res_send" >&5  echo "$as_me:10541: result: $ac_cv_lib_resolv___res_send" >&5
10542  echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6  echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6
10543  if test $ac_cv_lib_resolv___res_send = yes; then  if test $ac_cv_lib_resolv___res_send = yes; then
10544    resolv=yes    resolv=yes
# Line 10580  EOF Line 10560  EOF
10560    else    else
10561      RESOLVLIB=      RESOLVLIB=
10562    fi    fi
10563    echo "$as_me:10582: checking for hes_getmailhost" >&5    echo "$as_me:10563: checking for hes_getmailhost" >&5
10564  echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6  echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6
10565  if test "${ac_cv_func_hes_getmailhost+set}" = set; then  if test "${ac_cv_func_hes_getmailhost+set}" = set; then
10566    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
10567  else  else
10568    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
10569  #line 10583 "configure"  #line 10569 "configure"
10570  #include "confdefs.h"  #include "confdefs.h"
10571  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
10572      which can conflict with char hes_getmailhost (); below.  */      which can conflict with char hes_getmailhost (); below.  */
# Line 10617  f = hes_getmailhost; Line 10597  f = hes_getmailhost;
10597  }  }
10598  _ACEOF  _ACEOF
10599  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10600  if { (eval echo "$as_me:10619: \"$ac_link\"") >&5  if { (eval echo "$as_me:10600: \"$ac_link\"") >&5
10601    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10602    ac_status=$?    ac_status=$?
10603    echo "$as_me:10622: \$? = $ac_status" >&5    echo "$as_me:10603: \$? = $ac_status" >&5
10604    (exit $ac_status); } &&    (exit $ac_status); } &&
10605           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10606    { (eval echo "$as_me:10625: \"$ac_try\"") >&5    { (eval echo "$as_me:10606: \"$ac_try\"") >&5
10607    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10608    ac_status=$?    ac_status=$?
10609    echo "$as_me:10628: \$? = $ac_status" >&5    echo "$as_me:10609: \$? = $ac_status" >&5
10610    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10611    ac_cv_func_hes_getmailhost=yes    ac_cv_func_hes_getmailhost=yes
10612  else  else
# Line 10636  ac_cv_func_hes_getmailhost=no Line 10616  ac_cv_func_hes_getmailhost=no
10616  fi  fi
10617  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10618  fi  fi
10619  echo "$as_me:10638: result: $ac_cv_func_hes_getmailhost" >&5  echo "$as_me:10619: result: $ac_cv_func_hes_getmailhost" >&5
10620  echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6  echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6
10621  if test $ac_cv_func_hes_getmailhost = yes; then  if test $ac_cv_func_hes_getmailhost = yes; then
10622    :    :
10623  else  else
10624    echo "$as_me:10643: checking for hes_getmailhost in -lhesiod" >&5    echo "$as_me:10624: checking for hes_getmailhost in -lhesiod" >&5
10625  echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6  echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6
10626  if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then  if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then
10627    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10649  else Line 10629  else
10629    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
10630  LIBS="-lhesiod $RESOLVLIB $LIBS"  LIBS="-lhesiod $RESOLVLIB $LIBS"
10631  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
10632  #line 10646 "configure"  #line 10632 "configure"
10633  #include "confdefs.h"  #include "confdefs.h"
10634    
10635  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 10668  hes_getmailhost (); Line 10648  hes_getmailhost ();
10648  }  }
10649  _ACEOF  _ACEOF
10650  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10651  if { (eval echo "$as_me:10670: \"$ac_link\"") >&5  if { (eval echo "$as_me:10651: \"$ac_link\"") >&5
10652    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10653    ac_status=$?    ac_status=$?
10654    echo "$as_me:10673: \$? = $ac_status" >&5    echo "$as_me:10654: \$? = $ac_status" >&5
10655    (exit $ac_status); } &&    (exit $ac_status); } &&
10656           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10657    { (eval echo "$as_me:10676: \"$ac_try\"") >&5    { (eval echo "$as_me:10657: \"$ac_try\"") >&5
10658    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10659    ac_status=$?    ac_status=$?
10660    echo "$as_me:10679: \$? = $ac_status" >&5    echo "$as_me:10660: \$? = $ac_status" >&5
10661    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10662    ac_cv_lib_hesiod_hes_getmailhost=yes    ac_cv_lib_hesiod_hes_getmailhost=yes
10663  else  else
# Line 10688  fi Line 10668  fi
10668  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10669  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10670  fi  fi
10671  echo "$as_me:10690: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5  echo "$as_me:10671: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5
10672  echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6  echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6
10673  if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then  if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then
10674    
# Line 10707  fi Line 10687  fi
10687  # These tell us which Kerberos-related libraries to use.  # These tell us which Kerberos-related libraries to use.
10688  if test "${with_kerberos+set}" = set; then  if test "${with_kerberos+set}" = set; then
10689    
10690  echo "$as_me:10709: checking for com_err in -lcom_err" >&5  echo "$as_me:10690: checking for com_err in -lcom_err" >&5
10691  echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6  echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6
10692  if test "${ac_cv_lib_com_err_com_err+set}" = set; then  if test "${ac_cv_lib_com_err_com_err+set}" = set; then
10693    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10715  else Line 10695  else
10695    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
10696  LIBS="-lcom_err  $LIBS"  LIBS="-lcom_err  $LIBS"
10697  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
10698  #line 10712 "configure"  #line 10698 "configure"
10699  #include "confdefs.h"  #include "confdefs.h"
10700    
10701  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 10734  com_err (); Line 10714  com_err ();
10714  }  }
10715  _ACEOF  _ACEOF
10716  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10717  if { (eval echo "$as_me:10736: \"$ac_link\"") >&5  if { (eval echo "$as_me:10717: \"$ac_link\"") >&5
10718    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10719    ac_status=$?    ac_status=$?
10720    echo "$as_me:10739: \$? = $ac_status" >&5    echo "$as_me:10720: \$? = $ac_status" >&5
10721    (exit $ac_status); } &&    (exit $ac_status); } &&
10722           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10723    { (eval echo "$as_me:10742: \"$ac_try\"") >&5    { (eval echo "$as_me:10723: \"$ac_try\"") >&5
10724    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10725    ac_status=$?    ac_status=$?
10726    echo "$as_me:10745: \$? = $ac_status" >&5    echo "$as_me:10726: \$? = $ac_status" >&5
10727    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10728    ac_cv_lib_com_err_com_err=yes    ac_cv_lib_com_err_com_err=yes
10729  else  else
# Line 10754  fi Line 10734  fi
10734  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10735  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10736  fi  fi
10737  echo "$as_me:10756: result: $ac_cv_lib_com_err_com_err" >&5  echo "$as_me:10737: result: $ac_cv_lib_com_err_com_err" >&5
10738  echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6  echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6
10739  if test $ac_cv_lib_com_err_com_err = yes; then  if test $ac_cv_lib_com_err_com_err = yes; then
10740    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10765  EOF Line 10745  EOF
10745    
10746  fi  fi
10747    
10748  echo "$as_me:10767: checking for mit_des_cbc_encrypt in -lk5crypto" >&5  echo "$as_me:10748: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
10749  echo $ECHO_N "checking for mit_des_cbc_encrypt in -lk5crypto... $ECHO_C" >&6  echo $ECHO_N "checking for mit_des_cbc_encrypt in -lk5crypto... $ECHO_C" >&6
10750  if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then  if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then
10751    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10773  else Line 10753  else
10753    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
10754  LIBS="-lk5crypto  $LIBS"  LIBS="-lk5crypto  $LIBS"
10755  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
10756  #line 10770 "configure"  #line 10756 "configure"
10757  #include "confdefs.h"  #include "confdefs.h"
10758    
10759  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 10792  mit_des_cbc_encrypt (); Line 10772  mit_des_cbc_encrypt ();
10772  }  }
10773  _ACEOF  _ACEOF
10774  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10775  if { (eval echo "$as_me:10794: \"$ac_link\"") >&5  if { (eval echo "$as_me:10775: \"$ac_link\"") >&5
10776    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10777    ac_status=$?    ac_status=$?
10778    echo "$as_me:10797: \$? = $ac_status" >&5    echo "$as_me:10778: \$? = $ac_status" >&5
10779    (exit $ac_status); } &&    (exit $ac_status); } &&
10780           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10781    { (eval echo "$as_me:10800: \"$ac_try\"") >&5    { (eval echo "$as_me:10781: \"$ac_try\"") >&5
10782    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10783    ac_status=$?    ac_status=$?
10784    echo "$as_me:10803: \$? = $ac_status" >&5    echo "$as_me:10784: \$? = $ac_status" >&5
10785    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10786    ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes    ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes
10787  else  else
# Line 10812  fi Line 10792  fi
10792  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10793  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10794  fi  fi
10795  echo "$as_me:10814: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5  echo "$as_me:10795: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5
10796  echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6  echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6
10797  if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then  if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then
10798    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10823  EOF Line 10803  EOF
10803    
10804  fi  fi
10805    
10806  echo "$as_me:10825: checking for mit_des_cbc_encrypt in -lcrypto" >&5  echo "$as_me:10806: checking for mit_des_cbc_encrypt in -lcrypto" >&5
10807  echo $ECHO_N "checking for mit_des_cbc_encrypt in -lcrypto... $ECHO_C" >&6  echo $ECHO_N "checking for mit_des_cbc_encrypt in -lcrypto... $ECHO_C" >&6
10808  if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then  if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then
10809    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10831  else Line 10811  else
10811    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
10812  LIBS="-lcrypto  $LIBS"  LIBS="-lcrypto  $LIBS"
10813  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
10814  #line 10828 "configure"  #line 10814 "configure"
10815  #include "confdefs.h"  #include "confdefs.h"
10816    
10817  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 10850  mit_des_cbc_encrypt (); Line 10830  mit_des_cbc_encrypt ();
10830  }  }
10831  _ACEOF  _ACEOF
10832  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10833  if { (eval echo "$as_me:10852: \"$ac_link\"") >&5  if { (eval echo "$as_me:10833: \"$ac_link\"") >&5
10834    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10835    ac_status=$?    ac_status=$?
10836    echo "$as_me:10855: \$? = $ac_status" >&5    echo "$as_me:10836: \$? = $ac_status" >&5
10837    (exit $ac_status); } &&    (exit $ac_status); } &&
10838           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10839    { (eval echo "$as_me:10858: \"$ac_try\"") >&5    { (eval echo "$as_me:10839: \"$ac_try\"") >&5
10840    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10841    ac_status=$?    ac_status=$?
10842    echo "$as_me:10861: \$? = $ac_status" >&5    echo "$as_me:10842: \$? = $ac_status" >&5
10843    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10844    ac_cv_lib_crypto_mit_des_cbc_encrypt=yes    ac_cv_lib_crypto_mit_des_cbc_encrypt=yes
10845  else  else
# Line 10870  fi Line 10850  fi
10850  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10851  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10852  fi  fi
10853  echo "$as_me:10872: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5  echo "$as_me:10853: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5
10854  echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6  echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6
10855  if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then  if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then
10856    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10881  EOF Line 10861  EOF
10861    
10862  fi  fi
10863    
10864  echo "$as_me:10883: checking for krb5_init_context in -lkrb5" >&5  echo "$as_me:10864: checking for krb5_init_context in -lkrb5" >&5
10865  echo $ECHO_N "checking for krb5_init_context in -lkrb5... $ECHO_C" >&6  echo $ECHO_N "checking for krb5_init_context in -lkrb5... $ECHO_C" >&6
10866  if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then  if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then
10867    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10889  else Line 10869  else
10869    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
10870  LIBS="-lkrb5  $LIBS"  LIBS="-lkrb5  $LIBS"
10871  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
10872  #line 10886 "configure"  #line 10872 "configure"
10873  #include "confdefs.h"  #include "confdefs.h"
10874    
10875  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 10908  krb5_init_context (); Line 10888  krb5_init_context ();
10888  }  }
10889  _ACEOF  _ACEOF
10890  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10891  if { (eval echo "$as_me:10910: \"$ac_link\"") >&5  if { (eval echo "$as_me:10891: \"$ac_link\"") >&5
10892    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10893    ac_status=$?    ac_status=$?
10894    echo "$as_me:10913: \$? = $ac_status" >&5    echo "$as_me:10894: \$? = $ac_status" >&5
10895    (exit $ac_status); } &&    (exit $ac_status); } &&
10896           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10897    { (eval echo "$as_me:10916: \"$ac_try\"") >&5    { (eval echo "$as_me:10897: \"$ac_try\"") >&5
10898    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10899    ac_status=$?    ac_status=$?
10900    echo "$as_me:10919: \$? = $ac_status" >&5    echo "$as_me:10900: \$? = $ac_status" >&5
10901    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10902    ac_cv_lib_krb5_krb5_init_context=yes    ac_cv_lib_krb5_krb5_init_context=yes
10903  else  else
# Line 10928  fi Line 10908  fi
10908  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10909  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10910  fi  fi
10911  echo "$as_me:10930: result: $ac_cv_lib_krb5_krb5_init_context" >&5  echo "$as_me:10911: result: $ac_cv_lib_krb5_krb5_init_context" >&5
10912  echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6  echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6
10913  if test $ac_cv_lib_krb5_krb5_init_context = yes; then  if test $ac_cv_lib_krb5_krb5_init_context = yes; then
10914    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10941  fi Line 10921  fi
10921    
10922    if test "${with_kerberos5+set}" != set; then    if test "${with_kerberos5+set}" != set; then
10923    
10924  echo "$as_me:10943: checking for des_cbc_encrypt in -ldes425" >&5  echo "$as_me:10924: checking for des_cbc_encrypt in -ldes425" >&5
10925  echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6  echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6
10926  if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then  if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then
10927    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10949  else Line 10929  else
10929    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
10930  LIBS="-ldes425  $LIBS"  LIBS="-ldes425  $LIBS"
10931  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
10932  #line 10946 "configure"  #line 10932 "configure"
10933  #include "confdefs.h"  #include "confdefs.h"
10934    
10935  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 10968  des_cbc_encrypt (); Line 10948  des_cbc_encrypt ();
10948  }  }
10949  _ACEOF  _ACEOF
10950  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10951  if { (eval echo "$as_me:10970: \"$ac_link\"") >&5  if { (eval echo "$as_me:10951: \"$ac_link\"") >&5
10952    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10953    ac_status=$?    ac_status=$?
10954    echo "$as_me:10973: \$? = $ac_status" >&5    echo "$as_me:10954: \$? = $ac_status" >&5
10955    (exit $ac_status); } &&    (exit $ac_status); } &&
10956           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10957    { (eval echo "$as_me:10976: \"$ac_try\"") >&5    { (eval echo "$as_me:10957: \"$ac_try\"") >&5
10958    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10959    ac_status=$?    ac_status=$?
10960    echo "$as_me:10979: \$? = $ac_status" >&5    echo "$as_me:10960: \$? = $ac_status" >&5
10961    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10962    ac_cv_lib_des425_des_cbc_encrypt=yes    ac_cv_lib_des425_des_cbc_encrypt=yes
10963  else  else
# Line 10988  fi Line 10968  fi
10968  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10969  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10970  fi  fi
10971  echo "$as_me:10990: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5  echo "$as_me:10971: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5
10972  echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6  echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6
10973  if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then  if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then
10974    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10999  EOF Line 10979  EOF
10979    
10980  else  else
10981    
10982  echo "$as_me:11001: checking for des_cbc_encrypt in -ldes" >&5  echo "$as_me:10982: checking for des_cbc_encrypt in -ldes" >&5
10983  echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6  echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6
10984  if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then  if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then
10985    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 11007  else Line 10987  else
10987    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
10988  LIBS="-ldes  $LIBS"  LIBS="-ldes  $LIBS"
10989  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
10990  #line 11004 "configure"  #line 10990 "configure"
10991  #include "confdefs.h"  #include "confdefs.h"
10992    
10993  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 11026  des_cbc_encrypt (); Line 11006  des_cbc_encrypt ();
11006  }  }
11007  _ACEOF  _ACEOF
11008  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
11009  if { (eval echo "$as_me:11028: \"$ac_link\"") >&5  if { (eval echo "$as_me:11009: \"$ac_link\"") >&5
11010    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
11011    ac_status=$?    ac_status=$?
11012    echo "$as_me:11031: \$? = $ac_status" >&5    echo "$as_me:11012: \$? = $ac_status" >&5
11013    (exit $ac_status); } &&    (exit $ac_status); } &&
11014           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
11015    { (eval echo "$as_me:11034: \"$ac_try\"") >&5    { (eval echo "$as_me:11015: \"$ac_try\"") >&5
11016    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11017    ac_status=$?    ac_status=$?
11018    echo "$as_me:11037: \$? = $ac_status" >&5    echo "$as_me:11018: \$? = $ac_status" >&5
11019    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11020    ac_cv_lib_des_des_cbc_encrypt=yes    ac_cv_lib_des_des_cbc_encrypt=yes
11021  else  else
# Line 11046  fi Line 11026  fi
11026  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11027  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
11028  fi  fi
11029  echo "$as_me:11048: result: $ac_cv_lib_des_des_cbc_encrypt" >&5  echo "$as_me:11029: result: $ac_cv_lib_des_des_cbc_encrypt" >&5
11030  echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6  echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6
11031  if test $ac_cv_lib_des_des_cbc_encrypt = yes; then  if test $ac_cv_lib_des_des_cbc_encrypt = yes; then
11032    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11059  fi Line 11039  fi
11039    
11040  fi  fi
11041    
11042  echo "$as_me:11061: checking for krb_get_cred in -lkrb4" >&5  echo "$as_me:11042: checking for krb_get_cred in -lkrb4" >&5
11043  echo $ECHO_N "checking for krb_get_cred in -lkrb4... $ECHO_C" >&6  echo $ECHO_N "checking for krb_get_cred in -lkrb4... $ECHO_C" >&6
11044  if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then  if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then
11045    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 11067  else Line 11047  else
11047    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
11048  LIBS="-lkrb4  $LIBS"  LIBS="-lkrb4  $LIBS"
11049  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
11050  #line 11064 "configure"  #line 11050 "configure"
11051  #include "confdefs.h"  #include "confdefs.h"
11052    
11053  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 11086  krb_get_cred (); Line 11066  krb_get_cred ();
11066  }  }
11067  _ACEOF  _ACEOF
11068  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
11069  if { (eval echo "$as_me:11088: \"$ac_link\"") >&5  if { (eval echo "$as_me:11069: \"$ac_link\"") >&5
11070    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
11071    ac_status=$?    ac_status=$?
11072    echo "$as_me:11091: \$? = $ac_status" >&5    echo "$as_me:11072: \$? = $ac_status" >&5
11073    (exit $ac_status); } &&    (exit $ac_status); } &&
11074           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
11075    { (eval echo "$as_me:11094: \"$ac_try\"") >&5    { (eval echo "$as_me:11075: \"$ac_try\"") >&5
11076    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11077    ac_status=$?    ac_status=$?
11078    echo "$as_me:11097: \$? = $ac_status" >&5    echo "$as_me:11078: \$? = $ac_status" >&5
11079    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11080    ac_cv_lib_krb4_krb_get_cred=yes    ac_cv_lib_krb4_krb_get_cred=yes
11081  else  else
# Line 11106  fi Line 11086  fi
11086  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11087  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
11088  fi  fi
11089  echo "$as_me:11108: result: $ac_cv_lib_krb4_krb_get_cred" >&5  echo "$as_me:11089: result: $ac_cv_lib_krb4_krb_get_cred" >&5
11090  echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6  echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6
11091  if test $ac_cv_lib_krb4_krb_get_cred = yes; then  if test $ac_cv_lib_krb4_krb_get_cred = yes; then
11092    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11117  EOF Line 11097  EOF
11097    
11098  else  else
11099    
11100  echo "$as_me:11119: checking for krb_get_cred in -lkrb" >&5  echo "$as_me:11100: checking for krb_get_cred in -lkrb" >&5
11101  echo $ECHO_N "checking for krb_get_cred in -lkrb... $ECHO_C" >&6  echo $ECHO_N "checking for krb_get_cred in -lkrb... $ECHO_C" >&6
11102  if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then  if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then
11103    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 11125  else Line 11105  else
11105    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
11106  LIBS="-lkrb  $LIBS"  LIBS="-lkrb  $LIBS"
11107  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
11108  #line 11122 "configure"  #line 11108 "configure"
11109  #include "confdefs.h"  #include "confdefs.h"
11110    
11111  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 11144  krb_get_cred (); Line 11124  krb_get_cred ();
11124  }  }
11125  _ACEOF  _ACEOF
11126  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
11127  if { (eval echo "$as_me:11146: \"$ac_link\"") >&5  if { (eval echo "$as_me:11127: \"$ac_link\"") >&5
11128    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
11129    ac_status=$?    ac_status=$?
11130    echo "$as_me:11149: \$? = $ac_status" >&5    echo "$as_me:11130: \$? = $ac_status" >&5
11131    (exit $ac_status); } &&    (exit $ac_status); } &&
11132           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
11133    { (eval echo "$as_me:11152: \"$ac_try\"") >&5    { (eval echo "$as_me:11133: \"$ac_try\"") >&5
11134    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11135    ac_status=$?    ac_status=$?
11136    echo "$as_me:11155: \$? = $ac_status" >&5    echo "$as_me:11136: \$? = $ac_status" >&5
11137    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11138    ac_cv_lib_krb_krb_get_cred=yes    ac_cv_lib_krb_krb_get_cred=yes
11139  else  else
# Line 11164  fi Line 11144  fi
11144  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11145  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
11146  fi  fi
11147  echo "$as_me:11166: result: $ac_cv_lib_krb_krb_get_cred" >&5  echo "$as_me:11147: result: $ac_cv_lib_krb_krb_get_cred" >&5
11148  echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6  echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6
11149  if test $ac_cv_lib_krb_krb_get_cred = yes; then  if test $ac_cv_lib_krb_krb_get_cred = yes; then
11150    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11184  fi Line 11164  fi
11164  for ac_header in krb5.h  for ac_header in krb5.h
11165  do  do
11166  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11167  echo "$as_me:11186: checking for $ac_header" >&5  echo "$as_me:11167: checking for $ac_header" >&5
11168  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11169  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
11170    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11171  else  else
11172    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11173  #line 11187 "configure"  #line 11173 "configure"
11174  #include "confdefs.h"  #include "confdefs.h"
11175  #include <$ac_header>  #include <$ac_header>
11176  _ACEOF  _ACEOF
11177  if { (eval echo "$as_me:11196: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:11177: \"$ac_cpp conftest.$ac_ext\"") >&5
11178    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11179    ac_status=$?    ac_status=$?
11180    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
11181    rm -f conftest.er1    rm -f conftest.er1
11182    cat conftest.err >&5    cat conftest.err >&5
11183    echo "$as_me:11202: \$? = $ac_status" >&5    echo "$as_me:11183: \$? = $ac_status" >&5
11184    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
11185    if test -s conftest.err; then    if test -s conftest.err; then
11186      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 11219  else Line 11199  else
11199  fi  fi
11200  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
11201  fi  fi
11202  echo "$as_me:11221: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:11202: result: `eval echo '${'$as_ac_Header'}'`" >&5
11203  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11204  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
11205    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11234  done Line 11214  done
11214  for ac_header in des.h  for ac_header in des.h
11215  do  do
11216  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11217  echo "$as_me:11236: checking for $ac_header" >&5  echo "$as_me:11217: checking for $ac_header" >&5
11218  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11219  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
11220    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11221  else  else
11222    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11223  #line 11237 "configure"  #line 11223 "configure"
11224  #include "confdefs.h"  #include "confdefs.h"
11225  #include <$ac_header>  #include <$ac_header>
11226  _ACEOF  _ACEOF
11227  if { (eval echo "$as_me:11246: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:11227: \"$ac_cpp conftest.$ac_ext\"") >&5
11228    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11229    ac_status=$?    ac_status=$?
11230    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
11231    rm -f conftest.er1    rm -f conftest.er1
11232    cat conftest.err >&5    cat conftest.err >&5
11233    echo "$as_me:11252: \$? = $ac_status" >&5    echo "$as_me:11233: \$? = $ac_status" >&5
11234    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
11235    if test -s conftest.err; then    if test -s conftest.err; then
11236      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 11269  else Line 11249  else
11249  fi  fi
11250  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
11251  fi  fi
11252  echo "$as_me:11271: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:11252: result: `eval echo '${'$as_ac_Header'}'`" >&5
11253  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11254  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
11255    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11281  else Line 11261  else
11261  for ac_header in kerberosIV/des.h  for ac_header in kerberosIV/des.h
11262  do  do
11263  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11264  echo "$as_me:11283: checking for $ac_header" >&5  echo "$as_me:11264: checking for $ac_header" >&5
11265  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11266  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
11267    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11268  else  else
11269    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11270  #line 11284 "configure"  #line 11270 "configure"
11271  #include "confdefs.h"  #include "confdefs.h"
11272  #include <$ac_header>  #include <$ac_header>
11273  _ACEOF  _ACEOF
11274  if { (eval echo "$as_me:11293: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:11274: \"$ac_cpp conftest.$ac_ext\"") >&5
11275    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11276    ac_status=$?    ac_status=$?
11277    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
11278    rm -f conftest.er1    rm -f conftest.er1
11279    cat conftest.err >&5    cat conftest.err >&5
11280    echo "$as_me:11299: \$? = $ac_status" >&5    echo "$as_me:11280: \$? = $ac_status" >&5
11281    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
11282    if test -s conftest.err; then    if test -s conftest.err; then
11283      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 11316  else Line 11296  else
11296  fi  fi
11297  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
11298  fi  fi
11299  echo "$as_me:11318: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:11299: result: `eval echo '${'$as_ac_Header'}'`" >&5
11300  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11301  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
11302    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11328  else Line 11308  else
11308  for ac_header in kerberos/des.h  for ac_header in kerberos/des.h
11309  do  do
11310  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11311  echo "$as_me:11330: checking for $ac_header" >&5  echo "$as_me:11311: checking for $ac_header" >&5
11312  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11313  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
11314    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11315  else  else
11316    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11317  #line 11331 "configure"  #line 11317 "configure"
11318  #include "confdefs.h"  #include "confdefs.h"
11319  #include <$ac_header>  #include <$ac_header>
11320  _ACEOF  _ACEOF
11321  if { (eval echo "$as_me:11340: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:11321: \"$ac_cpp conftest.$ac_ext\"") >&5
11322    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11323    ac_status=$?    ac_status=$?
11324    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
11325    rm -f conftest.er1    rm -f conftest.er1
11326    cat conftest.err >&5    cat conftest.err >&5
11327    echo "$as_me:11346: \$? = $ac_status" >&5    echo "$as_me:11327: \$? = $ac_status" >&5
11328    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
11329    if test -s conftest.err; then    if test -s conftest.err; then
11330      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 11363  else Line 11343  else
11343  fi  fi
11344  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
11345  fi  fi
11346  echo "$as_me:11365: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:11346: result: `eval echo '${'$as_ac_Header'}'`" >&5
11347  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11348  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
11349    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11382  done Line 11362  done
11362  for ac_header in krb.h  for ac_header in krb.h
11363  do  do
11364  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11365  echo "$as_me:11384: checking for $ac_header" >&5  echo "$as_me:11365: checking for $ac_header" >&5
11366  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11367  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
11368    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11369  else  else
11370    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11371  #line 11385 "configure"  #line 11371 "configure"
11372  #include "confdefs.h"  #include "confdefs.h"
11373  #include <$ac_header>  #include <$ac_header>
11374  _ACEOF  _ACEOF
11375  if { (eval echo "$as_me:11394: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:11375: \"$ac_cpp conftest.$ac_ext\"") >&5
11376    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11377    ac_status=$?    ac_status=$?
11378    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
11379    rm -f conftest.er1    rm -f conftest.er1
11380    cat conftest.err >&5    cat conftest.err >&5
11381    echo "$as_me:11400: \$? = $ac_status" >&5    echo "$as_me:11381: \$? = $ac_status" >&5
11382    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
11383    if test -s conftest.err; then    if test -s conftest.err; then
11384      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 11417  else Line 11397  else
11397  fi  fi
11398  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
11399  fi  fi
11400  echo "$as_me:11419: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:11400: result: `eval echo '${'$as_ac_Header'}'`" >&5
11401  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11402  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
11403    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11429  else Line 11409  else
11409  for ac_header in kerberosIV/krb.h  for ac_header in kerberosIV/krb.h
11410  do  do
11411  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11412  echo "$as_me:11431: checking for $ac_header" >&5  echo "$as_me:11412: checking for $ac_header" >&5
11413  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11414  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
11415    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11416  else  else
11417    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11418  #line 11432 "configure"  #line 11418 "configure"
11419  #include "confdefs.h"  #include "confdefs.h"
11420  #include <$ac_header>  #include <$ac_header>
11421  _ACEOF  _ACEOF
11422  if { (eval echo "$as_me:11441: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:11422: \"$ac_cpp conftest.$ac_ext\"") >&5
11423    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11424    ac_status=$?    ac_status=$?
11425    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
11426    rm -f conftest.er1    rm -f conftest.er1
11427    cat conftest.err >&5    cat conftest.err >&5
11428    echo "$as_me:11447: \$? = $ac_status" >&5    echo "$as_me:11428: \$? = $ac_status" >&5
11429    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
11430    if test -s conftest.err; then    if test -s conftest.err; then
11431      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 11464  else Line 11444  else
11444  fi  fi
11445  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
11446  fi  fi
11447  echo "$as_me:11466: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:11447: result: `eval echo '${'$as_ac_Header'}'`" >&5
11448  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11449  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
11450    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11476  else Line 11456  else
11456  for ac_header in kerberos/krb.h  for ac_header in kerberos/krb.h
11457  do  do
11458  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11459  echo "$as_me:11478: checking for $ac_header" >&5  echo "$as_me:11459: checking for $ac_header" >&5
11460  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11461  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
11462    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11463  else  else
11464    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11465  #line 11479 "configure"  #line 11465 "configure"
11466  #include "confdefs.h"  #include "confdefs.h"
11467  #include <$ac_header>  #include <$ac_header>
11468  _ACEOF  _ACEOF
11469  if { (eval echo "$as_me:11488: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:11469: \"$ac_cpp conftest.$ac_ext\"") >&5
11470    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11471    ac_status=$?    ac_status=$?
11472    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
11473    rm -f conftest.er1    rm -f conftest.er1
11474    cat conftest.err >&5    cat conftest.err >&5
11475    echo "$as_me:11494: \$? = $ac_status" >&5    echo "$as_me:11475: \$? = $ac_status" >&5
11476    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
11477    if test -s conftest.err; then    if test -s conftest.err; then
11478      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 11511  else Line 11491  else
11491  fi  fi
11492  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
11493  fi  fi
11494  echo "$as_me:11513: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:11494: result: `eval echo '${'$as_ac_Header'}'`" >&5
11495  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11496  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
11497    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11532  done Line 11512  done
11512  for ac_header in com_err.h  for ac_header in com_err.h
11513  do  do
11514  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11515  echo "$as_me:11534: checking for $ac_header" >&5  echo "$as_me:11515: checking for $ac_header" >&5
11516  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11517  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
11518    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11519  else  else
11520    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11521  #line 11535 "configure"  #line 11521 "configure"
11522  #include "confdefs.h"  #include "confdefs.h"
11523  #include <$ac_header>  #include <$ac_header>
11524  _ACEOF  _ACEOF
11525  if { (eval echo "$as_me:11544: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:11525: \"$ac_cpp conftest.$ac_ext\"") >&5
11526    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11527    ac_status=$?    ac_status=$?
11528    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
11529    rm -f conftest.er1    rm -f conftest.er1
11530    cat conftest.err >&5    cat conftest.err >&5
11531    echo "$as_me:11550: \$? = $ac_status" >&5    echo "$as_me:11531: \$? = $ac_status" >&5
11532    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
11533    if test -s conftest.err; then    if test -s conftest.err; then
11534      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 11567  else Line 11547  else
11547  fi  fi
11548  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
11549  fi  fi
11550  echo "$as_me:11569: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:11550: result: `eval echo '${'$as_ac_Header'}'`" >&5
11551  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11552  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
11553    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11582  fi Line 11562  fi
11562  # Solaris requires -lintl if you want strerror (which calls dgettext)  # Solaris requires -lintl if you want strerror (which calls dgettext)
11563  # to return localized messages.  # to return localized messages.
11564    
11565  echo "$as_me:11584: checking for dgettext in -lintl" >&5  echo "$as_me:11565: checking for dgettext in -lintl" >&5
11566  echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6  echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6
11567  if test "${ac_cv_lib_intl_dgettext+set}" = set; then  if test "${ac_cv_lib_intl_dgettext+set}" = set; then
11568    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 11590  else Line 11570  else
11570    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
11571  LIBS="-lintl  $LIBS"  LIBS="-lintl  $LIBS"
11572  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
11573  #line 11587 "configure"  #line 11573 "configure"
11574  #include "confdefs.h"  #include "confdefs.h"
11575    
11576  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 11609  dgettext (); Line 11589  dgettext ();
11589  }  }
11590  _ACEOF  _ACEOF
11591  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
11592  if { (eval echo "$as_me:11611: \"$ac_link\"") >&5  if { (eval echo "$as_me:11592: \"$ac_link\"") >&5
11593    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
11594    ac_status=$?    ac_status=$?
11595    echo "$as_me:11614: \$? = $ac_status" >&5    echo "$as_me:11595: \$? = $ac_status" >&5
11596    (exit $ac_status); } &&    (exit $ac_status); } &&
11597           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
11598    { (eval echo "$as_me:11617: \"$ac_try\"") >&5    { (eval echo "$as_me:11598: \"$ac_try\"") >&5
11599    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11600    ac_status=$?    ac_status=$?
11601    echo "$as_me:11620: \$? = $ac_status" >&5    echo "$as_me:11601: \$? = $ac_status" >&5
11602    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11603    ac_cv_lib_intl_dgettext=yes    ac_cv_lib_intl_dgettext=yes
11604  else  else
# Line 11629  fi Line 11609  fi
11609  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11610  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
11611  fi  fi
11612  echo "$as_me:11631: result: $ac_cv_lib_intl_dgettext" >&5  echo "$as_me:11612: result: $ac_cv_lib_intl_dgettext" >&5
11613  echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6  echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6
11614  if test $ac_cv_lib_intl_dgettext = yes; then  if test $ac_cv_lib_intl_dgettext = yes; then
11615    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11640  EOF Line 11620  EOF
11620    
11621  fi  fi
11622    
11623  echo "$as_me:11642: checking whether localtime caches TZ" >&5  echo "$as_me:11623: checking whether localtime caches TZ" >&5
11624  echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6  echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6
11625  if test "${emacs_cv_localtime_cache+set}" = set; then  if test "${emacs_cv_localtime_cache+set}" = set; then
11626    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 11651  if test "$cross_compiling" = yes; then Line 11631  if test "$cross_compiling" = yes; then
11631  emacs_cv_localtime_cache=yes  emacs_cv_localtime_cache=yes
11632  else  else
11633    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11634  #line 11648 "configure"  #line 11634 "configure"
11635  #include "confdefs.h"  #include "confdefs.h"
11636  #include <time.h>  #include <time.h>
11637  extern char **environ;  extern char **environ;
# Line 11684  main() Line 11664  main()
11664  }  }
11665  _ACEOF  _ACEOF
11666  rm -f conftest$ac_exeext  rm -f conftest$ac_exeext
11667  if { (eval echo "$as_me:11686: \"$ac_link\"") >&5  if { (eval echo "$as_me:11667: \"$ac_link\"") >&5
11668    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
11669    ac_status=$?    ac_status=$?
11670    echo "$as_me:11689: \$? = $ac_status" >&5    echo "$as_me:11670: \$? = $ac_status" >&5
11671    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11672    { (eval echo "$as_me:11691: \"$ac_try\"") >&5    { (eval echo "$as_me:11672: \"$ac_try\"") >&5
11673    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11674    ac_status=$?    ac_status=$?
11675    echo "$as_me:11694: \$? = $ac_status" >&5    echo "$as_me:11675: \$? = $ac_status" >&5
11676    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11677    emacs_cv_localtime_cache=no    emacs_cv_localtime_cache=no
11678  else  else
# Line 11709  else Line 11689  else
11689          emacs_cv_localtime_cache=no          emacs_cv_localtime_cache=no
11690  fi  fi
11691  fi  fi
11692  echo "$as_me:11711: result: $emacs_cv_localtime_cache" >&5  echo "$as_me:11692: result: $emacs_cv_localtime_cache" >&5
11693  echo "${ECHO_T}$emacs_cv_localtime_cache" >&6  echo "${ECHO_T}$emacs_cv_localtime_cache" >&6
11694  if test $emacs_cv_localtime_cache = yes; then  if test $emacs_cv_localtime_cache = yes; then
11695    
# Line 11724  if test "x$HAVE_TIMEVAL" = xyes; then Line 11704  if test "x$HAVE_TIMEVAL" = xyes; then
11704  for ac_func in gettimeofday  for ac_func in gettimeofday
11705  do  do
11706  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11707  echo "$as_me:11726: checking for $ac_func" >&5  echo "$as_me:11707: checking for $ac_func" >&5
11708  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11709  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
11710    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11711  else  else
11712    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11713  #line 11727 "configure"  #line 11713 "configure"
11714  #include "confdefs.h"  #include "confdefs.h"
11715  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
11716      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 11761  f = $ac_func; Line 11741  f = $ac_func;
11741  }  }
11742  _ACEOF  _ACEOF
11743  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
11744  if { (eval echo "$as_me:11763: \"$ac_link\"") >&5  if { (eval echo "$as_me:11744: \"$ac_link\"") >&5
11745    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
11746    ac_status=$?    ac_status=$?
11747    echo "$as_me:11766: \$? = $ac_status" >&5    echo "$as_me:11747: \$? = $ac_status" >&5
11748    (exit $ac_status); } &&    (exit $ac_status); } &&
11749           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
11750    { (eval echo "$as_me:11769: \"$ac_try\"") >&5    { (eval echo "$as_me:11750: \"$ac_try\"") >&5
11751    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11752    ac_status=$?    ac_status=$?
11753    echo "$as_me:11772: \$? = $ac_status" >&5    echo "$as_me:11753: \$? = $ac_status" >&5
11754    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11755    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
11756  else  else
# Line 11780  eval "$as_ac_var=no" Line 11760  eval "$as_ac_var=no"
11760  fi  fi
11761  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11762  fi  fi
11763  echo "$as_me:11782: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:11763: result: `eval echo '${'$as_ac_var'}'`" >&5
11764  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11765  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
11766    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11791  fi Line 11771  fi
11771  done  done
11772    
11773    if test $ac_cv_func_gettimeofday = yes; then    if test $ac_cv_func_gettimeofday = yes; then
11774      echo "$as_me:11793: checking whether gettimeofday can accept two arguments" >&5      echo "$as_me:11774: checking whether gettimeofday can accept two arguments" >&5
11775  echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6  echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6
11776  if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then  if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
11777    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11778  else  else
11779    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11780  #line 11794 "configure"  #line 11780 "configure"
11781  #include "confdefs.h"  #include "confdefs.h"
11782    
11783  #ifdef TIME_WITH_SYS_TIME  #ifdef TIME_WITH_SYS_TIME
# Line 11820  struct timeval time; Line 11800  struct timeval time;
11800  }  }
11801  _ACEOF  _ACEOF
11802  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
11803  if { (eval echo "$as_me:11822: \"$ac_compile\"") >&5  if { (eval echo "$as_me:11803: \"$ac_compile\"") >&5
11804    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
11805    ac_status=$?    ac_status=$?
11806    echo "$as_me:11825: \$? = $ac_status" >&5    echo "$as_me:11806: \$? = $ac_status" >&5
11807    (exit $ac_status); } &&    (exit $ac_status); } &&
11808           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
11809    { (eval echo "$as_me:11828: \"$ac_try\"") >&5    { (eval echo "$as_me:11809: \"$ac_try\"") >&5
11810    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11811    ac_status=$?    ac_status=$?
11812    echo "$as_me:11831: \$? = $ac_status" >&5    echo "$as_me:11812: \$? = $ac_status" >&5
11813    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11814    emacs_cv_gettimeofday_two_arguments=yes    emacs_cv_gettimeofday_two_arguments=yes
11815  else  else
# Line 11839  emacs_cv_gettimeofday_two_arguments=no Line 11819  emacs_cv_gettimeofday_two_arguments=no
11819  fi  fi
11820  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
11821  fi  fi
11822  echo "$as_me:11841: result: $emacs_cv_gettimeofday_two_arguments" >&5  echo "$as_me:11822: result: $emacs_cv_gettimeofday_two_arguments" >&5
11823  echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6  echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
11824      if test $emacs_cv_gettimeofday_two_arguments = no; then      if test $emacs_cv_gettimeofday_two_arguments = no; then
11825    
# Line 11852  EOF Line 11832  EOF
11832  fi  fi
11833    
11834  if test "$ac_cv_func_gettimeofday" = yes; then  if test "$ac_cv_func_gettimeofday" = yes; then
11835    echo "$as_me:11854: checking for struct timezone" >&5    echo "$as_me:11835: checking for struct timezone" >&5
11836  echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6  echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
11837  if test "${emacs_cv_struct_timezone+set}" = set; then  if test "${emacs_cv_struct_timezone+set}" = set; then
11838    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11839  else  else
11840    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11841  #line 11855 "configure"  #line 11841 "configure"
11842  #include "confdefs.h"  #include "confdefs.h"
11843  #include <sys/time.h>  #include <sys/time.h>
11844  int  int
# Line 11870  struct timezone tz; Line 11850  struct timezone tz;
11850  }  }
11851  _ACEOF  _ACEOF
11852  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
11853  if { (eval echo "$as_me:11872: \"$ac_compile\"") >&5  if { (eval echo "$as_me:11853: \"$ac_compile\"") >&5
11854    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
11855    ac_status=$?    ac_status=$?
11856    echo "$as_me:11875: \$? = $ac_status" >&5    echo "$as_me:11856: \$? = $ac_status" >&5
11857    (exit $ac_status); } &&    (exit $ac_status); } &&
11858           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
11859    { (eval echo "$as_me:11878: \"$ac_try\"") >&5    { (eval echo "$as_me:11859: \"$ac_try\"") >&5
11860    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11861    ac_status=$?    ac_status=$?
11862    echo "$as_me:11881: \$? = $ac_status" >&5    echo "$as_me:11862: \$? = $ac_status" >&5
11863    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11864                if test "$cross_compiling" = yes; then                if test "$cross_compiling" = yes; then
11865    emacs_cv_struct_timezone=yes    emacs_cv_struct_timezone=yes
11866  else  else
11867    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11868  #line 11882 "configure"  #line 11868 "configure"
11869  #include "confdefs.h"  #include "confdefs.h"
11870    
11871  #ifdef TIME_WITH_SYS_TIME  #ifdef TIME_WITH_SYS_TIME
# Line 11905  main () { Line 11885  main () {
11885  }  }
11886  _ACEOF  _ACEOF
11887  rm -f conftest$ac_exeext  rm -f conftest$ac_exeext
11888  if { (eval echo "$as_me:11907: \"$ac_link\"") >&5  if { (eval echo "$as_me:11888: \"$ac_link\"") >&5
11889    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
11890    ac_status=$?    ac_status=$?
11891    echo "$as_me:11910: \$? = $ac_status" >&5    echo "$as_me:11891: \$? = $ac_status" >&5
11892    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11893    { (eval echo "$as_me:11912: \"$ac_try\"") >&5    { (eval echo "$as_me:11893: \"$ac_try\"") >&5
11894    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11895    ac_status=$?    ac_status=$?
11896    echo "$as_me:11915: \$? = $ac_status" >&5    echo "$as_me:11896: \$? = $ac_status" >&5
11897    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11898    emacs_cv_struct_timezone=yes    emacs_cv_struct_timezone=yes
11899  else  else
# Line 11931  emacs_cv_struct_timezone=no Line 11911  emacs_cv_struct_timezone=no
11911  fi  fi
11912  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
11913  fi  fi
11914  echo "$as_me:11933: result: $emacs_cv_struct_timezone" >&5  echo "$as_me:11914: result: $emacs_cv_struct_timezone" >&5
11915  echo "${ECHO_T}$emacs_cv_struct_timezone" >&6  echo "${ECHO_T}$emacs_cv_struct_timezone" >&6
11916  fi  fi
11917    
11918  ok_so_far=yes  ok_so_far=yes
11919  echo "$as_me:11938: checking for socket" >&5  echo "$as_me:11919: checking for socket" >&5
11920  echo $ECHO_N "checking for socket... $ECHO_C" >&6  echo $ECHO_N "checking for socket... $ECHO_C" >&6
11921  if test "${ac_cv_func_socket+set}" = set; then  if test "${ac_cv_func_socket+set}" = set; then
11922    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11923  else  else
11924    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11925  #line 11939 "configure"  #line 11925 "configure"
11926  #include "confdefs.h"  #include "confdefs.h"
11927  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
11928      which can conflict with char socket (); below.  */      which can conflict with char socket (); below.  */
# Line 11973  f = socket; Line 11953  f = socket;
11953  }  }
11954  _ACEOF  _ACEOF
11955  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
11956  if { (eval echo "$as_me:11975: \"$ac_link\"") >&5  if { (eval echo "$as_me:11956: \"$ac_link\"") >&5
11957    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
11958    ac_status=$?    ac_status=$?
11959    echo "$as_me:11978: \$? = $ac_status" >&5    echo "$as_me:11959: \$? = $ac_status" >&5
11960    (exit $ac_status); } &&    (exit $ac_status); } &&
11961           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
11962    { (eval echo "$as_me:11981: \"$ac_try\"") >&5    { (eval echo "$as_me:11962: \"$ac_try\"") >&5
11963    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11964    ac_status=$?    ac_status=$?
11965    echo "$as_me:11984: \$? = $ac_status" >&5    echo "$as_me:11965: \$? = $ac_status" >&5
11966    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11967    ac_cv_func_socket=yes    ac_cv_func_socket=yes
11968  else  else
# Line 11992  ac_cv_func_socket=no Line 11972  ac_cv_func_socket=no
11972  fi  fi
11973  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11974  fi  fi
11975  echo "$as_me:11994: result: $ac_cv_func_socket" >&5  echo "$as_me:11975: result: $ac_cv_func_socket" >&5
11976  echo "${ECHO_T}$ac_cv_func_socket" >&6  echo "${ECHO_T}$ac_cv_func_socket" >&6
11977  if test $ac_cv_func_socket = yes; then  if test $ac_cv_func_socket = yes; then
11978    :    :
# Line 12001  else Line 11981  else
11981  fi  fi
11982    
11983  if test $ok_so_far = yes; then  if test $ok_so_far = yes; then
11984    echo "$as_me:12003: checking for netinet/in.h" >&5    echo "$as_me:11984: checking for netinet/in.h" >&5
11985  echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6  echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6
11986  if test "${ac_cv_header_netinet_in_h+set}" = set; then  if test "${ac_cv_header_netinet_in_h+set}" = set; then
11987    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11988  else  else
11989    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11990  #line 12004 "configure"  #line 11990 "configure"
11991  #include "confdefs.h"  #include "confdefs.h"
11992  #include <netinet/in.h>  #include <netinet/in.h>
11993  _ACEOF  _ACEOF
11994  if { (eval echo "$as_me:12013: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:11994: \"$ac_cpp conftest.$ac_ext\"") >&5
11995    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11996    ac_status=$?    ac_status=$?
11997    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
11998    rm -f conftest.er1    rm -f conftest.er1
11999    cat conftest.err >&5    cat conftest.err >&5
12000    echo "$as_me:12019: \$? = $ac_status" >&5    echo "$as_me:12000: \$? = $ac_status" >&5
12001    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
12002    if test -s conftest.err; then    if test -s conftest.err; then
12003      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 12036  else Line 12016  else
12016  fi  fi
12017  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
12018  fi  fi
12019  echo "$as_me:12038: result: $ac_cv_header_netinet_in_h" >&5  echo "$as_me:12019: result: $ac_cv_header_netinet_in_h" >&5
12020  echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6  echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6
12021  if test $ac_cv_header_netinet_in_h = yes; then  if test $ac_cv_header_netinet_in_h = yes; then
12022    :    :
# Line 12046  fi Line 12026  fi
12026    
12027  fi  fi
12028  if test $ok_so_far = yes; then  if test $ok_so_far = yes; then
12029    echo "$as_me:12048: checking for arpa/inet.h" >&5    echo "$as_me:12029: checking for arpa/inet.h" >&5
12030  echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6  echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6
12031  if test "${ac_cv_header_arpa_inet_h+set}" = set; then  if test "${ac_cv_header_arpa_inet_h+set}" = set; then
12032    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
12033  else  else
12034    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
12035  #line 12049 "configure"  #line 12035 "configure"
12036  #include "confdefs.h"  #include "confdefs.h"
12037  #include <arpa/inet.h>  #include <arpa/inet.h>
12038  _ACEOF  _ACEOF
12039  if { (eval echo "$as_me:12058: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:12039: \"$ac_cpp conftest.$ac_ext\"") >&5
12040    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12041    ac_status=$?    ac_status=$?
12042    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
12043    rm -f conftest.er1    rm -f conftest.er1
12044    cat conftest.err >&5    cat conftest.err >&5
12045    echo "$as_me:12064: \$? = $ac_status" >&5    echo "$as_me:12045: \$? = $ac_status" >&5
12046    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
12047    if test -s conftest.err; then    if test -s conftest.err; then
12048      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 12081  else Line 12061  else
12061  fi  fi
12062  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
12063  fi  fi
12064  echo "$as_me:12083: result: $ac_cv_header_arpa_inet_h" >&5  echo "$as_me:12064: result: $ac_cv_header_arpa_inet_h" >&5
12065  echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6  echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6
12066  if test $ac_cv_header_arpa_inet_h = yes; then  if test $ac_cv_header_arpa_inet_h = yes; then
12067    :    :
# Line 12106  EOF Line 12086  EOF
12086    
12087  fi  fi
12088    
12089  echo "$as_me:12108: checking whether system supports dynamic ptys" >&5  echo "$as_me:12089: checking whether system supports dynamic ptys" >&5
12090  echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6  echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6
12091  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
12092    echo "$as_me:12111: result: yes" >&5    echo "$as_me:12092: result: yes" >&5
12093  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
12094    
12095  cat >>confdefs.h <<\EOF  cat >>confdefs.h <<\EOF
# Line 12117  cat >>confdefs.h <<\EOF Line 12097  cat >>confdefs.h <<\EOF
12097  EOF  EOF
12098    
12099  else  else
12100    echo "$as_me:12119: result: no" >&5    echo "$as_me:12100: result: no" >&5
12101  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
12102  fi  fi
12103    
12104  echo "$as_me:12123: checking for pid_t" >&5  echo "$as_me:12104: checking for pid_t" >&5
12105  echo $ECHO_N "checking for pid_t... $ECHO_C" >&6  echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
12106  if test "${ac_cv_type_pid_t+set}" = set; then  if test "${ac_cv_type_pid_t+set}" = set; then
12107    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
12108  else  else
12109    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
12110  #line 12124 "configure"  #line 12110 "configure"
12111  #include "confdefs.h"  #include "confdefs.h"
12112  $ac_includes_default  $ac_includes_default
12113  int  int
# Line 12142  if (sizeof (pid_t)) Line 12122  if (sizeof (pid_t))
12122  }  }
12123  _ACEOF  _ACEOF
12124  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
12125  if { (eval echo "$as_me:12144: \"$ac_compile\"") >&5  if { (eval echo "$as_me:12125: \"$ac_compile\"") >&5
12126    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
12127    ac_status=$?    ac_status=$?
12128    echo "$as_me:12147: \$? = $ac_status" >&5    echo "$as_me:12128: \$? = $ac_status" >&5
12129    (exit $ac_status); } &&    (exit $ac_status); } &&
12130           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
12131    { (eval echo "$as_me:12150: \"$ac_try\"") >&5    { (eval echo "$as_me:12131: \"$ac_try\"") >&5
12132    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
12133    ac_status=$?    ac_status=$?
12134    echo "$as_me:12153: \$? = $ac_status" >&5    echo "$as_me:12134: \$? = $ac_status" >&5
12135    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
12136    ac_cv_type_pid_t=yes    ac_cv_type_pid_t=yes
12137  else  else
# Line 12161  ac_cv_type_pid_t=no Line 12141  ac_cv_type_pid_t=no
12141  fi  fi
12142  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
12143  fi  fi
12144  echo "$as_me:12163: result: $ac_cv_type_pid_t" >&5  echo "$as_me:12144: result: $ac_cv_type_pid_t" >&5
12145  echo "${ECHO_T}$ac_cv_type_pid_t" >&6  echo "${ECHO_T}$ac_cv_type_pid_t" >&6
12146  if test $ac_cv_type_pid_t = yes; then  if test $ac_cv_type_pid_t = yes; then
12147    :    :
# Line 12176  fi Line 12156  fi
12156  for ac_header in unistd.h vfork.h  for ac_header in unistd.h vfork.h
12157  do  do
12158  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12159  echo "$as_me:12178: checking for $ac_header" >&5  echo "$as_me:12159: checking for $ac_header" >&5
12160  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12161  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
12162    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
12163  else  else
12164    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
12165  #line 12179 "configure"  #line 12165 "configure"
12166  #include "confdefs.h"  #include "confdefs.h"
12167  #include <$ac_header>  #include <$ac_header>
12168  _ACEOF  _ACEOF
12169  if { (eval echo "$as_me:12188: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:12169: \"$ac_cpp conftest.$ac_ext\"") >&5
12170    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12171    ac_status=$?    ac_status=$?
12172    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
12173    rm -f conftest.er1    rm -f conftest.er1
12174    cat conftest.err >&5    cat conftest.err >&5
12175    echo "$as_me:12194: \$? = $ac_status" >&5    echo "$as_me:12175: \$? = $ac_status" >&5
12176    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
12177    if test -s conftest.err; then    if test -s conftest.err; then
12178      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 12211  else Line 12191  else
12191  fi  fi
12192  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
12193  fi  fi
12194  echo "$as_me:12213: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:12194: result: `eval echo '${'$as_ac_Header'}'`" >&5
12195  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12196  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
12197    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 12224  done Line 12204  done
12204  for ac_func in fork vfork  for ac_func in fork vfork
12205  do  do
12206  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12207  echo "$as_me:12226: checking for $ac_func" >&5  echo "$as_me:12207: checking for $ac_func" >&5
12208  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12209  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
12210    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
12211  else  else
12212    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
12213  #line 12227 "configure"  #line 12213 "configure"
12214  #include "confdefs.h"  #include "confdefs.h"
12215  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
12216      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 12261  f = $ac_func; Line 12241  f = $ac_func;
12241  }  }
12242  _ACEOF  _ACEOF
12243  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
12244  if { (eval echo "$as_me:12263: \"$ac_link\"") >&5  if { (eval echo "$as_me:12244: \"$ac_link\"") >&5
12245    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
12246    ac_status=$?    ac_status=$?
12247    echo "$as_me:12266: \$? = $ac_status" >&5    echo "$as_me:12247: \$? = $ac_status" >&5
12248    (exit $ac_status); } &&    (exit $ac_status); } &&
12249           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
12250    { (eval echo "$as_me:12269: \"$ac_try\"") >&5    { (eval echo "$as_me:12250: \"$ac_try\"") >&5
12251    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
12252    ac_status=$?    ac_status=$?
12253    echo "$as_me:12272: \$? = $ac_status" >&5    echo "$as_me:12253: \$? = $ac_status" >&5
12254    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
12255    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
12256  else  else
# Line 12280  eval "$as_ac_var=no" Line 12260  eval "$as_ac_var=no"
12260  fi  fi
12261  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12262  fi  fi
12263  echo "$as_me:12282: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:12263: result: `eval echo '${'$as_ac_var'}'`" >&5
12264  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12265  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
12266    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 12292  done Line 12272  done
12272    
12273  ac_cv_func_fork_works=$ac_cv_func_fork  ac_cv_func_fork_works=$ac_cv_func_fork
12274  if test "x$ac_cv_func_fork" = xyes; then  if test "x$ac_cv_func_fork" = xyes; then
12275    echo "$as_me:12294: checking for working fork" >&5    echo "$as_me:12275: checking for working fork" >&5
12276  echo $ECHO_N "checking for working fork... $ECHO_C" >&6  echo $ECHO_N "checking for working fork... $ECHO_C" >&6
12277  if test "${ac_cv_func_fork_works+set}" = set; then  if test "${ac_cv_func_fork_works+set}" = set; then
12278    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 12315  else Line 12295  else
12295        }        }
12296  _ACEOF  _ACEOF
12297  rm -f conftest$ac_exeext  rm -f conftest$ac_exeext
12298  if { (eval echo "$as_me:12317: \"$ac_link\"") >&5  if { (eval echo "$as_me:12298: \"$ac_link\"") >&5
12299    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
12300    ac_status=$?    ac_status=$?
12301    echo "$as_me:12320: \$? = $ac_status" >&5    echo "$as_me:12301: \$? = $ac_status" >&5
12302    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12303    { (eval echo "$as_me:12322: \"$ac_try\"") >&5    { (eval echo "$as_me:12303: \"$ac_try\"") >&5
12304    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
12305    ac_status=$?    ac_status=$?
12306    echo "$as_me:12325: \$? = $ac_status" >&5    echo "$as_me:12306: \$? = $ac_status" >&5
12307    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
12308    ac_cv_func_fork_works=yes    ac_cv_func_fork_works=yes
12309  else  else
# Line 12335  fi Line 12315  fi
12315  rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext  rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12316  fi  fi
12317  fi  fi
12318  echo "$as_me:12337: result: $ac_cv_func_fork_works" >&5  echo "$as_me:12318: result: $ac_cv_func_fork_works" >&5
12319  echo "${ECHO_T}$ac_cv_func_fork_works" >&6  echo "${ECHO_T}$ac_cv_func_fork_works" >&6
12320    
12321  fi  fi
# Line 12349  if test "x$ac_cv_func_fork_works" = xcro Line 12329  if test "x$ac_cv_func_fork_works" = xcro
12329        ac_cv_func_fork_works=yes        ac_cv_func_fork_works=yes
12330        ;;        ;;
12331    esac    esac
12332    { echo "$as_me:12351: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&5    { echo "$as_me:12332: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&5
12333  echo "$as_me: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&2;}  echo "$as_me: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&2;}
12334  fi  fi
12335  ac_cv_func_vfork_works=$ac_cv_func_vfork  ac_cv_func_vfork_works=$ac_cv_func_vfork
12336  if test "x$ac_cv_func_vfork" = xyes; then  if test "x$ac_cv_func_vfork" = xyes; then
12337    echo "$as_me:12356: checking for working vfork" >&5    echo "$as_me:12337: checking for working vfork" >&5
12338  echo $ECHO_N "checking for working vfork... $ECHO_C" >&6  echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
12339  if test "${ac_cv_func_vfork_works+set}" = set; then  if test "${ac_cv_func_vfork_works+set}" = set; then
12340    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 12363  else Line 12343  else
12343    ac_cv_func_vfork_works=cross    ac_cv_func_vfork_works=cross
12344  else  else
12345    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
12346  #line 12360 "configure"  #line 12346 "configure"
12347  #include "confdefs.h"  #include "confdefs.h"
12348  /* Thanks to Paul Eggert for this test.  */  /* Thanks to Paul Eggert for this test.  */
12349  #include <stdio.h>  #include <stdio.h>
# Line 12460  main () Line 12440  main ()
12440  }  }
12441  _ACEOF  _ACEOF
12442  rm -f conftest$ac_exeext  rm -f conftest$ac_exeext
12443  if { (eval echo "$as_me:12462: \"$ac_link\"") >&5  if { (eval echo "$as_me:12443: \"$ac_link\"") >&5
12444    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
12445    ac_status=$?    ac_status=$?
12446    echo "$as_me:12465: \$? = $ac_status" >&5    echo "$as_me:12446: \$? = $ac_status" >&5
12447    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12448    { (eval echo "$as_me:12467: \"$ac_try\"") >&5    { (eval echo "$as_me:12448: \"$ac_try\"") >&5
12449    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
12450    ac_status=$?    ac_status=$?
12451    echo "$as_me:12470: \$? = $ac_status" >&5    echo "$as_me:12451: \$? = $ac_status" >&5
12452    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
12453    ac_cv_func_vfork_works=yes    ac_cv_func_vfork_works=yes
12454  else  else
# Line 12480  fi Line 12460  fi
12460  rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext  rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12461  fi  fi
12462  fi  fi
12463  echo "$as_me:12482: result: $ac_cv_func_vfork_works" >&5  echo "$as_me:12463: result: $ac_cv_func_vfork_works" >&5
12464  echo "${ECHO_T}$ac_cv_func_vfork_works" >&6  echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
12465    
12466  fi;  fi;
12467  if test "x$ac_cv_func_fork_works" = xcross; then  if test "x$ac_cv_func_fork_works" = xcross; then
12468    ac_cv_func_vfork_works=ac_cv_func_vfork    ac_cv_func_vfork_works=ac_cv_func_vfork
12469    { echo "$as_me:12488: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&5    { echo "$as_me:12469: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&5
12470  echo "$as_me: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&2;}  echo "$as_me: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&2;}
12471  fi  fi
12472    
# Line 12512  EOF Line 12492  EOF
12492  fi  fi
12493    
12494  # Fixme: This should be replaced when we have autoconf 2.14.  # Fixme: This should be replaced when we have autoconf 2.14.
12495  echo "$as_me:12514: checking for size_t" >&5  echo "$as_me:12495: checking for size_t" >&5
12496  echo $ECHO_N "checking for size_t... $ECHO_C" >&6  echo $ECHO_N "checking for size_t... $ECHO_C" >&6
12497  if test "${ac_cv_type_size_t+set}" = set; then  if test "${ac_cv_type_size_t+set}" = set; then
12498    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
12499  else  else
12500    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
12501  #line 12515 "configure"  #line 12501 "configure"
12502  #include "confdefs.h"  #include "confdefs.h"
12503  $ac_includes_default  $ac_includes_default
12504  int  int
# Line 12533  if (sizeof (size_t)) Line 12513  if (sizeof (size_t))
12513  }  }
12514  _ACEOF  _ACEOF
12515  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
12516  if { (eval echo "$as_me:12535: \"$ac_compile\"") >&5  if { (eval echo "$as_me:12516: \"$ac_compile\"") >&5
12517    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
12518    ac_status=$?    ac_status=$?
12519    echo "$as_me:12538: \$? = $ac_status" >&5    echo "$as_me:12519: \$? = $ac_status" >&5
12520    (exit $ac_status); } &&    (exit $ac_status); } &&
12521           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
12522    { (eval echo "$as_me:12541: \"$ac_try\"") >&5    { (eval echo "$as_me:12522: \"$ac_try\"") >&5
12523    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
12524    ac_status=$?    ac_status=$?
12525    echo "$as_me:12544: \$? = $ac_status" >&5    echo "$as_me:12525: \$? = $ac_status" >&5
12526    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
12527    ac_cv_type_size_t=yes    ac_cv_type_size_t=yes
12528  else  else
# Line 12552  ac_cv_type_size_t=no Line 12532  ac_cv_type_size_t=no
12532  fi  fi
12533  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
12534  fi  fi
12535  echo "$as_me:12554: result: $ac_cv_type_size_t" >&5  echo "$as_me:12535: result: $ac_cv_type_size_t" >&5
12536  echo "${ECHO_T}$ac_cv_type_size_t" >&6  echo "${ECHO_T}$ac_cv_type_size_t" >&6
12537  if test $ac_cv_type_size_t = yes; then  if test $ac_cv_type_size_t = yes; then
12538    :    :
# Line 12572  CPPFLAGS="$REAL_CPPFLAGS" Line 12552  CPPFLAGS="$REAL_CPPFLAGS"
12552  version=`grep 'defconst[         ]*emacs-version' ${srcdir}/lisp/version.el \  version=`grep 'defconst[         ]*emacs-version' ${srcdir}/lisp/version.el \
12553           | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'`           | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'`
12554  if test x"${version}" = x; then  if test x"${version}" = x; then
12555    { { echo "$as_me:12574: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5    { { echo "$as_me:12555: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5
12556  echo "$as_me: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&2;}  echo "$as_me: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&2;}
12557     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
12558  fi  fi
# Line 12665  fi Line 12645  fi
12645  for ac_header in nlist.h  for ac_header in nlist.h
12646  do  do
12647  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12648  echo "$as_me:12667: checking for $ac_header" >&5  echo "$as_me:12648: checking for $ac_header" >&5
12649  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12650  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
12651    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
12652  else  else
12653    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
12654  #line 12668 "configure"  #line 12654 "configure"
12655  #include "confdefs.h"  #include "confdefs.h"
12656  #include <$ac_header>  #include <$ac_header>
12657  _ACEOF  _ACEOF
12658  if { (eval echo "$as_me:12677: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:12658: \"$ac_cpp conftest.$ac_ext\"") >&5
12659    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12660    ac_status=$?    ac_status=$?
12661    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
12662    rm -f conftest.er1    rm -f conftest.er1
12663    cat conftest.err >&5    cat conftest.err >&5
12664    echo "$as_me:12683: \$? = $ac_status" >&5    echo "$as_me:12664: \$? = $ac_status" >&5
12665    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
12666    if test -s conftest.err; then    if test -s conftest.err; then
12667      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 12700  else Line 12680  else
12680  fi  fi
12681  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
12682  fi  fi
12683  echo "$as_me:12702: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:12683: result: `eval echo '${'$as_ac_Header'}'`" >&5
12684  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12685  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
12686    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 12761  test "${exec_prefix}" != NONE && Line 12741  test "${exec_prefix}" != NONE &&
12741  ## C preprocessor.  ## C preprocessor.
12742    
12743  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
12744  #line 12758 "configure"  #line 12744 "configure"
12745  #include "confdefs.h"  #include "confdefs.h"
12746  yes..yes  yes..yes
12747  _ACEOF  _ACEOF
# Line 12854  DEFS=-DHAVE_CONFIG_H Line 12834  DEFS=-DHAVE_CONFIG_H
12834  : ${CONFIG_STATUS=./config.status}  : ${CONFIG_STATUS=./config.status}
12835  ac_clean_files_save=$ac_clean_files  ac_clean_files_save=$ac_clean_files
12836  ac_clean_files="$ac_clean_files $CONFIG_STATUS"  ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12837  { echo "$as_me:12856: creating $CONFIG_STATUS" >&5  { echo "$as_me:12837: creating $CONFIG_STATUS" >&5
12838  echo "$as_me: creating $CONFIG_STATUS" >&6;}  echo "$as_me: creating $CONFIG_STATUS" >&6;}
12839  cat >$CONFIG_STATUS <<_ACEOF  cat >$CONFIG_STATUS <<_ACEOF
12840  #! $SHELL  #! $SHELL
# Line 13030  cat >>$CONFIG_STATUS <<\EOF Line 13010  cat >>$CONFIG_STATUS <<\EOF
13010      echo "$ac_cs_version"; exit 0 ;;      echo "$ac_cs_version"; exit 0 ;;
13011    --he | --h)    --he | --h)
13012      # Conflict between --help and --header      # Conflict between --help and --header
13013      { { echo "$as_me:13032: error: ambiguous option: $1      { { echo "$as_me:13013: error: ambiguous option: $1
13014  Try \`$0 --help' for more information." >&5  Try \`$0 --help' for more information." >&5
13015  echo "$as_me: error: ambiguous option: $1  echo "$as_me: error: ambiguous option: $1
13016  Try \`$0 --help' for more information." >&2;}  Try \`$0 --help' for more information." >&2;}
# Line 13049  Try \`$0 --help' for more information." Line 13029  Try \`$0 --help' for more information."
13029      ac_need_defaults=false;;      ac_need_defaults=false;;
13030    
13031    # This is an error.    # This is an error.
13032    -*) { { echo "$as_me:13051: error: unrecognized option: $1    -*) { { echo "$as_me:13032: error: unrecognized option: $1
13033  Try \`$0 --help' for more information." >&5  Try \`$0 --help' for more information." >&5
13034  echo "$as_me: error: unrecognized option: $1  echo "$as_me: error: unrecognized option: $1
13035  Try \`$0 --help' for more information." >&2;}  Try \`$0 --help' for more information." >&2;}
# Line 13105  do Line 13085  do
13085    "leim/Makefile" ) CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;;    "leim/Makefile" ) CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;;
13086    "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;    "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
13087    "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h:src/config.in" ;;    "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h:src/config.in" ;;
13088    *) { { echo "$as_me:13107: error: invalid argument: $ac_config_target" >&5    *) { { echo "$as_me:13088: error: invalid argument: $ac_config_target" >&5
13089  echo "$as_me: error: invalid argument: $ac_config_target" >&2;}  echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13090     { (exit 1); exit 1; }; };;     { (exit 1); exit 1; }; };;
13091    esac    esac
# Line 13354  done; } Line 13334  done; }
13334    esac    esac
13335    
13336    if test x"$ac_file" != x-; then    if test x"$ac_file" != x-; then
13337      { echo "$as_me:13356: creating $ac_file" >&5      { echo "$as_me:13337: creating $ac_file" >&5
13338  echo "$as_me: creating $ac_file" >&6;}  echo "$as_me: creating $ac_file" >&6;}
13339      rm -f "$ac_file"      rm -f "$ac_file"
13340    fi    fi
# Line 13372  echo "$as_me: creating $ac_file" >&6;} Line 13352  echo "$as_me: creating $ac_file" >&6;}
13352        -) echo $tmp/stdin ;;        -) echo $tmp/stdin ;;
13353        [\\/$]*)        [\\/$]*)
13354           # Absolute (can't be DOS-style, as IFS=:)           # Absolute (can't be DOS-style, as IFS=:)
13355           test -f "$f" || { { echo "$as_me:13374: error: cannot find input file: $f" >&5           test -f "$f" || { { echo "$as_me:13355: error: cannot find input file: $f" >&5
13356  echo "$as_me: error: cannot find input file: $f" >&2;}  echo "$as_me: error: cannot find input file: $f" >&2;}
13357     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
13358           echo $f;;           echo $f;;
# Line 13385  echo "$as_me: error: cannot find input f Line 13365  echo "$as_me: error: cannot find input f
13365             echo $srcdir/$f             echo $srcdir/$f
13366           else           else
13367             # /dev/null tree             # /dev/null tree
13368             { { echo "$as_me:13387: error: cannot find input file: $f" >&5             { { echo "$as_me:13368: error: cannot find input file: $f" >&5
13369  echo "$as_me: error: cannot find input file: $f" >&2;}  echo "$as_me: error: cannot find input file: $f" >&2;}
13370     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
13371           fi;;           fi;;
# Line 13446  for ac_file in : $CONFIG_HEADERS; do tes Line 13426  for ac_file in : $CONFIG_HEADERS; do tes
13426    * )   ac_file_in=$ac_file.in ;;    * )   ac_file_in=$ac_file.in ;;
13427    esac    esac
13428    
13429    test x"$ac_file" != x- && { echo "$as_me:13448: creating $ac_file" >&5    test x"$ac_file" != x- && { echo "$as_me:13429: creating $ac_file" >&5
13430  echo "$as_me: creating $ac_file" >&6;}  echo "$as_me: creating $ac_file" >&6;}
13431    
13432    # First look for the input files in the build tree, otherwise in the    # First look for the input files in the build tree, otherwise in the
# Line 13457  echo "$as_me: creating $ac_file" >&6;} Line 13437  echo "$as_me: creating $ac_file" >&6;}
13437        -) echo $tmp/stdin ;;        -) echo $tmp/stdin ;;
13438        [\\/$]*)        [\\/$]*)
13439           # Absolute (can't be DOS-style, as IFS=:)           # Absolute (can't be DOS-style, as IFS=:)
13440           test -f "$f" || { { echo "$as_me:13459: error: cannot find input file: $f" >&5           test -f "$f" || { { echo "$as_me:13440: error: cannot find input file: $f" >&5
13441  echo "$as_me: error: cannot find input file: $f" >&2;}  echo "$as_me: error: cannot find input file: $f" >&2;}
13442     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
13443           echo $f;;           echo $f;;
# Line 13470  echo "$as_me: error: cannot find input f Line 13450  echo "$as_me: error: cannot find input f
13450             echo $srcdir/$f             echo $srcdir/$f
13451           else           else
13452             # /dev/null tree             # /dev/null tree
13453             { { echo "$as_me:13472: error: cannot find input file: $f" >&5             { { echo "$as_me:13453: error: cannot find input file: $f" >&5
13454  echo "$as_me: error: cannot find input file: $f" >&2;}  echo "$as_me: error: cannot find input file: $f" >&2;}
13455     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
13456           fi;;           fi;;
# Line 13587  cat >>$CONFIG_STATUS <<\EOF Line 13567  cat >>$CONFIG_STATUS <<\EOF
13567    rm -f $tmp/in    rm -f $tmp/in
13568    if test x"$ac_file" != x-; then    if test x"$ac_file" != x-; then
13569      if cmp -s $ac_file $tmp/config.h 2>/dev/null; then      if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
13570        { echo "$as_me:13589: $ac_file is unchanged" >&5        { echo "$as_me:13570: $ac_file is unchanged" >&5
13571  echo "$as_me: $ac_file is unchanged" >&6;}  echo "$as_me: $ac_file is unchanged" >&6;}
13572      else      else
13573        ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \        ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \

Legend:
Removed from v.1.93  
changed lines
  Added in v.1.94

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