comparison configure @ 46596:5502ee23a19b

Updated.
author Richard M. Stallman <rms@gnu.org>
date Sun, 21 Jul 2002 20:22:11 +0000
parents 3a6f0c639247
children aaa302e0c7ae
comparison
equal deleted inserted replaced
46595:195495fef5c8 46596:5502ee23a19b
679 --disable-largefile omit support for large files 679 --disable-largefile omit support for large files
680 680
681 Optional Packages: 681 Optional Packages:
682 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 682 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
683 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 683 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
684 --with-game-dir use a shared game directory if possible
685 --with-game-user use specified user for game directory 684 --with-game-user use specified user for game directory
686 --without-gcc don't use GCC to compile Emacs if GCC is found 685 --without-gcc don't use GCC to compile Emacs if GCC is found
687 --without-pop don't support POP mail retrieval with movemail 686 --without-pop don't support POP mail retrieval with movemail
688 --with-kerberos support Kerberos-authenticated POP 687 --with-kerberos support Kerberos-authenticated POP
689 --with-kerberos5 support Kerberos version 5 authenticated POP 688 --with-kerberos5 support Kerberos version 5 authenticated POP
891 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 890 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
892 fi 891 fi
893 fi 892 fi
894 for ac_site_file in $CONFIG_SITE; do 893 for ac_site_file in $CONFIG_SITE; do
895 if test -r "$ac_site_file"; then 894 if test -r "$ac_site_file"; then
896 { echo "$as_me:896: loading site script $ac_site_file" >&5 895 { echo "$as_me:895: loading site script $ac_site_file" >&5
897 echo "$as_me: loading site script $ac_site_file" >&6;} 896 echo "$as_me: loading site script $ac_site_file" >&6;}
898 cat "$ac_site_file" >&5 897 cat "$ac_site_file" >&5
899 . "$ac_site_file" 898 . "$ac_site_file"
900 fi 899 fi
901 done 900 done
902 901
903 if test -r "$cache_file"; then 902 if test -r "$cache_file"; then
904 # Some versions of bash will fail to source /dev/null (special 903 # Some versions of bash will fail to source /dev/null (special
905 # files actually), so we avoid doing that. 904 # files actually), so we avoid doing that.
906 if test -f "$cache_file"; then 905 if test -f "$cache_file"; then
907 { echo "$as_me:907: loading cache $cache_file" >&5 906 { echo "$as_me:906: loading cache $cache_file" >&5
908 echo "$as_me: loading cache $cache_file" >&6;} 907 echo "$as_me: loading cache $cache_file" >&6;}
909 case $cache_file in 908 case $cache_file in
910 [\\/]* | ?:[\\/]* ) . $cache_file;; 909 [\\/]* | ?:[\\/]* ) . $cache_file;;
911 *) . ./$cache_file;; 910 *) . ./$cache_file;;
912 esac 911 esac
913 fi 912 fi
914 else 913 else
915 { echo "$as_me:915: creating cache $cache_file" >&5 914 { echo "$as_me:914: creating cache $cache_file" >&5
916 echo "$as_me: creating cache $cache_file" >&6;} 915 echo "$as_me: creating cache $cache_file" >&6;}
917 >$cache_file 916 >$cache_file
918 fi 917 fi
919 918
920 # Check that the precious variables saved in the cache have kept the same 919 # Check that the precious variables saved in the cache have kept the same
926 eval ac_new_set=\$ac_env_${ac_var}_set 925 eval ac_new_set=\$ac_env_${ac_var}_set
927 eval ac_old_val="\$ac_cv_env_${ac_var}_value" 926 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
928 eval ac_new_val="\$ac_env_${ac_var}_value" 927 eval ac_new_val="\$ac_env_${ac_var}_value"
929 case $ac_old_set,$ac_new_set in 928 case $ac_old_set,$ac_new_set in
930 set,) 929 set,)
931 { echo "$as_me:931: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 930 { echo "$as_me:930: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
932 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 931 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
933 ac_cache_corrupted=: ;; 932 ac_cache_corrupted=: ;;
934 ,set) 933 ,set)
935 { echo "$as_me:935: error: \`$ac_var' was not set in the previous run" >&5 934 { echo "$as_me:934: error: \`$ac_var' was not set in the previous run" >&5
936 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 935 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
937 ac_cache_corrupted=: ;; 936 ac_cache_corrupted=: ;;
938 ,);; 937 ,);;
939 *) 938 *)
940 if test "x$ac_old_val" != "x$ac_new_val"; then 939 if test "x$ac_old_val" != "x$ac_new_val"; then
941 { echo "$as_me:941: error: \`$ac_var' has changed since the previous run:" >&5 940 { echo "$as_me:940: error: \`$ac_var' has changed since the previous run:" >&5
942 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 941 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
943 { echo "$as_me:943: former value: $ac_old_val" >&5 942 { echo "$as_me:942: former value: $ac_old_val" >&5
944 echo "$as_me: former value: $ac_old_val" >&2;} 943 echo "$as_me: former value: $ac_old_val" >&2;}
945 { echo "$as_me:945: current value: $ac_new_val" >&5 944 { echo "$as_me:944: current value: $ac_new_val" >&5
946 echo "$as_me: current value: $ac_new_val" >&2;} 945 echo "$as_me: current value: $ac_new_val" >&2;}
947 ac_cache_corrupted=: 946 ac_cache_corrupted=:
948 fi;; 947 fi;;
949 esac 948 esac
950 # Pass precious variables to config.status. It doesn't matter if 949 # Pass precious variables to config.status. It doesn't matter if
959 ;; 958 ;;
960 esac 959 esac
961 fi 960 fi
962 done 961 done
963 if $ac_cache_corrupted; then 962 if $ac_cache_corrupted; then
964 { echo "$as_me:964: error: changes in the environment can compromise the build" >&5 963 { echo "$as_me:963: error: changes in the environment can compromise the build" >&5
965 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 964 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
966 { { echo "$as_me:966: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 965 { { echo "$as_me:965: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
967 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 966 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
968 { (exit 1); exit 1; }; } 967 { (exit 1); exit 1; }; }
969 fi 968 fi
970 969
971 ac_ext=c 970 ac_ext=c
981 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 980 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
982 esac 981 esac
983 echo "#! $SHELL" >conftest.sh 982 echo "#! $SHELL" >conftest.sh
984 echo "exit 0" >>conftest.sh 983 echo "exit 0" >>conftest.sh
985 chmod +x conftest.sh 984 chmod +x conftest.sh
986 if { (echo "$as_me:986: PATH=\".;.\"; conftest.sh") >&5 985 if { (echo "$as_me:985: PATH=\".;.\"; conftest.sh") >&5
987 (PATH=".;."; conftest.sh) 2>&5 986 (PATH=".;."; conftest.sh) 2>&5
988 ac_status=$? 987 ac_status=$?
989 echo "$as_me:989: \$? = $ac_status" >&5 988 echo "$as_me:988: \$? = $ac_status" >&5
990 (exit $ac_status); }; then 989 (exit $ac_status); }; then
991 ac_path_separator=';' 990 ac_path_separator=';'
992 else 991 else
993 ac_path_separator=: 992 ac_path_separator=:
994 fi 993 fi
1015 '${datadir}/emacs/site-lisp:${datadir}/emacs/${version}/leim' 1014 '${datadir}/emacs/site-lisp:${datadir}/emacs/${version}/leim'
1016 lisppath='${locallisppath}:${lispdir}' 1015 lisppath='${locallisppath}:${lispdir}'
1017 etcdir='${datadir}/emacs/${version}/etc' 1016 etcdir='${datadir}/emacs/${version}/etc'
1018 archlibdir='${libexecdir}/emacs/${version}/${configuration}' 1017 archlibdir='${libexecdir}/emacs/${version}/${configuration}'
1019 docdir='${datadir}/emacs/${version}/etc' 1018 docdir='${datadir}/emacs/${version}/etc'
1020 gamedir=yes 1019 gamedir='${localstatedir}/games/emacs'
1021
1022 # Check whether --with-game-dir or --without-game-dir was given.
1023 if test "${with_game_dir+set}" = set; then
1024 withval="$with_game_dir"
1025
1026 gamedir="$withval"
1027
1028 fi;
1029 if test "$gamedir" = yes; then
1030 gamedir="${localstatedir}/games/emacs"
1031 fi
1032 eval tgamedir=\"$gamedir\"
1033 if test "$gamedir" != no; then
1034
1035 cat >>confdefs.h <<EOF
1036 #define HAVE_SHARED_GAME_DIR "$tgamedir"
1037 EOF
1038
1039 fi
1040 1020
1041 gameuser=games 1021 gameuser=games
1042 1022
1043 # Check whether --with-game-user or --without-game-user was given. 1023 # Check whether --with-game-user or --without-game-user was given.
1044 if test "${with_game_user+set}" = set; then 1024 if test "${with_game_user+set}" = set; then
1121 n | no ) val=no ;; 1101 n | no ) val=no ;;
1122 l | lu | luc | luci | lucid ) val=lucid ;; 1102 l | lu | luc | luci | lucid ) val=lucid ;;
1123 a | at | ath | athe | athen | athena ) val=athena ;; 1103 a | at | ath | athe | athen | athena ) val=athena ;;
1124 m | mo | mot | moti | motif ) val=motif ;; 1104 m | mo | mot | moti | motif ) val=motif ;;
1125 * ) 1105 * )
1126 { { echo "$as_me:1126: error: \`--with-x-toolkit=$withval' is invalid\; 1106 { { echo "$as_me:1106: error: \`--with-x-toolkit=$withval' is invalid\;
1127 this option's value should be \`yes', \`no', \`lucid', \`athena', or \`motif'. 1107 this option's value should be \`yes', \`no', \`lucid', \`athena', or \`motif'.
1128 Currently, \`yes', \`athena' and \`lucid' are synonyms." >&5 1108 Currently, \`yes', \`athena' and \`lucid' are synonyms." >&5
1129 echo "$as_me: error: \`--with-x-toolkit=$withval' is invalid\; 1109 echo "$as_me: error: \`--with-x-toolkit=$withval' is invalid\;
1130 this option's value should be \`yes', \`no', \`lucid', \`athena', or \`motif'. 1110 this option's value should be \`yes', \`no', \`lucid', \`athena', or \`motif'.
1131 Currently, \`yes', \`athena' and \`lucid' are synonyms." >&2;} 1111 Currently, \`yes', \`athena' and \`lucid' are synonyms." >&2;}
1209 esac 1189 esac
1210 1190
1211 #### Check if the source directory already has a configured system in it. 1191 #### Check if the source directory already has a configured system in it.
1212 if test `pwd` != `(cd ${srcdir} && pwd)` \ 1192 if test `pwd` != `(cd ${srcdir} && pwd)` \
1213 && test -f "${srcdir}/src/config.h" ; then 1193 && test -f "${srcdir}/src/config.h" ; then
1214 { echo "$as_me:1214: WARNING: The directory tree \`${srcdir}' is being used 1194 { echo "$as_me:1194: WARNING: The directory tree \`${srcdir}' is being used
1215 as a build directory right now; it has been configured in its own 1195 as a build directory right now; it has been configured in its own
1216 right. To configure in another directory as well, you MUST 1196 right. To configure in another directory as well, you MUST
1217 use GNU make. If you do not have GNU make, then you must 1197 use GNU make. If you do not have GNU make, then you must
1218 now do \`make distclean' in ${srcdir}, 1198 now do \`make distclean' in ${srcdir},
1219 and then run $0 again." >&5 1199 and then run $0 again." >&5
1254 ac_install_sh="$ac_aux_dir/shtool install -c" 1234 ac_install_sh="$ac_aux_dir/shtool install -c"
1255 break 1235 break
1256 fi 1236 fi
1257 done 1237 done
1258 if test -z "$ac_aux_dir"; then 1238 if test -z "$ac_aux_dir"; then
1259 { { echo "$as_me:1259: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 1239 { { echo "$as_me:1239: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1260 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 1240 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1261 { (exit 1); exit 1; }; } 1241 { (exit 1); exit 1; }; }
1262 fi 1242 fi
1263 ac_config_guess="$SHELL $ac_aux_dir/config.guess" 1243 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1264 ac_config_sub="$SHELL $ac_aux_dir/config.sub" 1244 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1265 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 1245 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1266 1246
1267 # Make sure we can run config.sub. 1247 # Make sure we can run config.sub.
1268 $ac_config_sub sun4 >/dev/null 2>&1 || 1248 $ac_config_sub sun4 >/dev/null 2>&1 ||
1269 { { echo "$as_me:1269: error: cannot run $ac_config_sub" >&5 1249 { { echo "$as_me:1249: error: cannot run $ac_config_sub" >&5
1270 echo "$as_me: error: cannot run $ac_config_sub" >&2;} 1250 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1271 { (exit 1); exit 1; }; } 1251 { (exit 1); exit 1; }; }
1272 1252
1273 echo "$as_me:1273: checking build system type" >&5 1253 echo "$as_me:1253: checking build system type" >&5
1274 echo $ECHO_N "checking build system type... $ECHO_C" >&6 1254 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1275 if test "${ac_cv_build+set}" = set; then 1255 if test "${ac_cv_build+set}" = set; then
1276 echo $ECHO_N "(cached) $ECHO_C" >&6 1256 echo $ECHO_N "(cached) $ECHO_C" >&6
1277 else 1257 else
1278 ac_cv_build_alias=$build_alias 1258 ac_cv_build_alias=$build_alias
1279 test -z "$ac_cv_build_alias" && 1259 test -z "$ac_cv_build_alias" &&
1280 ac_cv_build_alias=`$ac_config_guess` 1260 ac_cv_build_alias=`$ac_config_guess`
1281 test -z "$ac_cv_build_alias" && 1261 test -z "$ac_cv_build_alias" &&
1282 { { echo "$as_me:1282: error: cannot guess build type; you must specify one" >&5 1262 { { echo "$as_me:1262: error: cannot guess build type; you must specify one" >&5
1283 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 1263 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1284 { (exit 1); exit 1; }; } 1264 { (exit 1); exit 1; }; }
1285 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || 1265 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1286 { { echo "$as_me:1286: error: $ac_config_sub $ac_cv_build_alias failed." >&5 1266 { { echo "$as_me:1266: error: $ac_config_sub $ac_cv_build_alias failed." >&5
1287 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;} 1267 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}
1288 { (exit 1); exit 1; }; } 1268 { (exit 1); exit 1; }; }
1289 1269
1290 fi 1270 fi
1291 echo "$as_me:1291: result: $ac_cv_build" >&5 1271 echo "$as_me:1271: result: $ac_cv_build" >&5
1292 echo "${ECHO_T}$ac_cv_build" >&6 1272 echo "${ECHO_T}$ac_cv_build" >&6
1293 build=$ac_cv_build 1273 build=$ac_cv_build
1294 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1274 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1295 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1275 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1296 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1276 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1297 1277
1298 echo "$as_me:1298: checking host system type" >&5 1278 echo "$as_me:1278: checking host system type" >&5
1299 echo $ECHO_N "checking host system type... $ECHO_C" >&6 1279 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1300 if test "${ac_cv_host+set}" = set; then 1280 if test "${ac_cv_host+set}" = set; then
1301 echo $ECHO_N "(cached) $ECHO_C" >&6 1281 echo $ECHO_N "(cached) $ECHO_C" >&6
1302 else 1282 else
1303 ac_cv_host_alias=$host_alias 1283 ac_cv_host_alias=$host_alias
1304 test -z "$ac_cv_host_alias" && 1284 test -z "$ac_cv_host_alias" &&
1305 ac_cv_host_alias=$ac_cv_build_alias 1285 ac_cv_host_alias=$ac_cv_build_alias
1306 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || 1286 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1307 { { echo "$as_me:1307: error: $ac_config_sub $ac_cv_host_alias failed" >&5 1287 { { echo "$as_me:1287: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1308 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} 1288 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1309 { (exit 1); exit 1; }; } 1289 { (exit 1); exit 1; }; }
1310 1290
1311 fi 1291 fi
1312 echo "$as_me:1312: result: $ac_cv_host" >&5 1292 echo "$as_me:1292: result: $ac_cv_host" >&5
1313 echo "${ECHO_T}$ac_cv_host" >&6 1293 echo "${ECHO_T}$ac_cv_host" >&6
1314 host=$ac_cv_host 1294 host=$ac_cv_host
1315 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1295 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1316 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1296 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1317 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1297 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2245 CPP="cc -E -traditional-cpp" 2225 CPP="cc -E -traditional-cpp"
2246 ;; 2226 ;;
2247 2227
2248 ## AMD x86-64 Linux-based GNU system 2228 ## AMD x86-64 Linux-based GNU system
2249 x86_64-*-linux-gnu* ) 2229 x86_64-*-linux-gnu* )
2250 machine=amdx86-64 opsys=gnu-linux 2230 machine=amdx86-64 opsys=gnu-linux
2251 ;; 2231 ;;
2252 2232
2253 * ) 2233 * )
2254 unported=yes 2234 unported=yes
2255 ;; 2235 ;;
2290 ;; 2270 ;;
2291 esac 2271 esac
2292 fi 2272 fi
2293 2273
2294 if test $unported = yes; then 2274 if test $unported = yes; then
2295 { { echo "$as_me:2294: error: Emacs hasn't been ported to \`${canonical}' systems. 2275 { { echo "$as_me:2275: error: Emacs hasn't been ported to \`${canonical}' systems.
2296 Check \`etc/MACHINES' for recognized configuration names." >&5 2276 Check \`etc/MACHINES' for recognized configuration names." >&5
2297 echo "$as_me: error: Emacs hasn't been ported to \`${canonical}' systems. 2277 echo "$as_me: error: Emacs hasn't been ported to \`${canonical}' systems.
2298 Check \`etc/MACHINES' for recognized configuration names." >&2;} 2278 Check \`etc/MACHINES' for recognized configuration names." >&2;}
2299 { (exit 1); exit 1; }; } 2279 { (exit 1); exit 1; }; }
2300 fi 2280 fi
2319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2320 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2321 if test -n "$ac_tool_prefix"; then 2301 if test -n "$ac_tool_prefix"; then
2322 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2302 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2323 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2303 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2324 echo "$as_me:2323: checking for $ac_word" >&5 2304 echo "$as_me:2304: checking for $ac_word" >&5
2325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2305 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2326 if test "${ac_cv_prog_CC+set}" = set; then 2306 if test "${ac_cv_prog_CC+set}" = set; then
2327 echo $ECHO_N "(cached) $ECHO_C" >&6 2307 echo $ECHO_N "(cached) $ECHO_C" >&6
2328 else 2308 else
2329 if test -n "$CC"; then 2309 if test -n "$CC"; then
2334 for ac_dir in $ac_dummy; do 2314 for ac_dir in $ac_dummy; do
2335 IFS=$ac_save_IFS 2315 IFS=$ac_save_IFS
2336 test -z "$ac_dir" && ac_dir=. 2316 test -z "$ac_dir" && ac_dir=.
2337 $as_executable_p "$ac_dir/$ac_word" || continue 2317 $as_executable_p "$ac_dir/$ac_word" || continue
2338 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2318 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2339 echo "$as_me:2338: found $ac_dir/$ac_word" >&5 2319 echo "$as_me:2319: found $ac_dir/$ac_word" >&5
2340 break 2320 break
2341 done 2321 done
2342 2322
2343 fi 2323 fi
2344 fi 2324 fi
2345 CC=$ac_cv_prog_CC 2325 CC=$ac_cv_prog_CC
2346 if test -n "$CC"; then 2326 if test -n "$CC"; then
2347 echo "$as_me:2346: result: $CC" >&5 2327 echo "$as_me:2327: result: $CC" >&5
2348 echo "${ECHO_T}$CC" >&6 2328 echo "${ECHO_T}$CC" >&6
2349 else 2329 else
2350 echo "$as_me:2349: result: no" >&5 2330 echo "$as_me:2330: result: no" >&5
2351 echo "${ECHO_T}no" >&6 2331 echo "${ECHO_T}no" >&6
2352 fi 2332 fi
2353 2333
2354 fi 2334 fi
2355 if test -z "$ac_cv_prog_CC"; then 2335 if test -z "$ac_cv_prog_CC"; then
2356 ac_ct_CC=$CC 2336 ac_ct_CC=$CC
2357 # Extract the first word of "gcc", so it can be a program name with args. 2337 # Extract the first word of "gcc", so it can be a program name with args.
2358 set dummy gcc; ac_word=$2 2338 set dummy gcc; ac_word=$2
2359 echo "$as_me:2358: checking for $ac_word" >&5 2339 echo "$as_me:2339: checking for $ac_word" >&5
2360 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2340 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2361 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2341 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2362 echo $ECHO_N "(cached) $ECHO_C" >&6 2342 echo $ECHO_N "(cached) $ECHO_C" >&6
2363 else 2343 else
2364 if test -n "$ac_ct_CC"; then 2344 if test -n "$ac_ct_CC"; then
2369 for ac_dir in $ac_dummy; do 2349 for ac_dir in $ac_dummy; do
2370 IFS=$ac_save_IFS 2350 IFS=$ac_save_IFS
2371 test -z "$ac_dir" && ac_dir=. 2351 test -z "$ac_dir" && ac_dir=.
2372 $as_executable_p "$ac_dir/$ac_word" || continue 2352 $as_executable_p "$ac_dir/$ac_word" || continue
2373 ac_cv_prog_ac_ct_CC="gcc" 2353 ac_cv_prog_ac_ct_CC="gcc"
2374 echo "$as_me:2373: found $ac_dir/$ac_word" >&5 2354 echo "$as_me:2354: found $ac_dir/$ac_word" >&5
2375 break 2355 break
2376 done 2356 done
2377 2357
2378 fi 2358 fi
2379 fi 2359 fi
2380 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2360 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2381 if test -n "$ac_ct_CC"; then 2361 if test -n "$ac_ct_CC"; then
2382 echo "$as_me:2381: result: $ac_ct_CC" >&5 2362 echo "$as_me:2362: result: $ac_ct_CC" >&5
2383 echo "${ECHO_T}$ac_ct_CC" >&6 2363 echo "${ECHO_T}$ac_ct_CC" >&6
2384 else 2364 else
2385 echo "$as_me:2384: result: no" >&5 2365 echo "$as_me:2365: result: no" >&5
2386 echo "${ECHO_T}no" >&6 2366 echo "${ECHO_T}no" >&6
2387 fi 2367 fi
2388 2368
2389 CC=$ac_ct_CC 2369 CC=$ac_ct_CC
2390 else 2370 else
2393 2373
2394 if test -z "$CC"; then 2374 if test -z "$CC"; then
2395 if test -n "$ac_tool_prefix"; then 2375 if test -n "$ac_tool_prefix"; then
2396 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2376 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2397 set dummy ${ac_tool_prefix}cc; ac_word=$2 2377 set dummy ${ac_tool_prefix}cc; ac_word=$2
2398 echo "$as_me:2397: checking for $ac_word" >&5 2378 echo "$as_me:2378: checking for $ac_word" >&5
2399 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2379 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2400 if test "${ac_cv_prog_CC+set}" = set; then 2380 if test "${ac_cv_prog_CC+set}" = set; then
2401 echo $ECHO_N "(cached) $ECHO_C" >&6 2381 echo $ECHO_N "(cached) $ECHO_C" >&6
2402 else 2382 else
2403 if test -n "$CC"; then 2383 if test -n "$CC"; then
2408 for ac_dir in $ac_dummy; do 2388 for ac_dir in $ac_dummy; do
2409 IFS=$ac_save_IFS 2389 IFS=$ac_save_IFS
2410 test -z "$ac_dir" && ac_dir=. 2390 test -z "$ac_dir" && ac_dir=.
2411 $as_executable_p "$ac_dir/$ac_word" || continue 2391 $as_executable_p "$ac_dir/$ac_word" || continue
2412 ac_cv_prog_CC="${ac_tool_prefix}cc" 2392 ac_cv_prog_CC="${ac_tool_prefix}cc"
2413 echo "$as_me:2412: found $ac_dir/$ac_word" >&5 2393 echo "$as_me:2393: found $ac_dir/$ac_word" >&5
2414 break 2394 break
2415 done 2395 done
2416 2396
2417 fi 2397 fi
2418 fi 2398 fi
2419 CC=$ac_cv_prog_CC 2399 CC=$ac_cv_prog_CC
2420 if test -n "$CC"; then 2400 if test -n "$CC"; then
2421 echo "$as_me:2420: result: $CC" >&5 2401 echo "$as_me:2401: result: $CC" >&5
2422 echo "${ECHO_T}$CC" >&6 2402 echo "${ECHO_T}$CC" >&6
2423 else 2403 else
2424 echo "$as_me:2423: result: no" >&5 2404 echo "$as_me:2404: result: no" >&5
2425 echo "${ECHO_T}no" >&6 2405 echo "${ECHO_T}no" >&6
2426 fi 2406 fi
2427 2407
2428 fi 2408 fi
2429 if test -z "$ac_cv_prog_CC"; then 2409 if test -z "$ac_cv_prog_CC"; then
2430 ac_ct_CC=$CC 2410 ac_ct_CC=$CC
2431 # Extract the first word of "cc", so it can be a program name with args. 2411 # Extract the first word of "cc", so it can be a program name with args.
2432 set dummy cc; ac_word=$2 2412 set dummy cc; ac_word=$2
2433 echo "$as_me:2432: checking for $ac_word" >&5 2413 echo "$as_me:2413: checking for $ac_word" >&5
2434 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2414 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2435 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2415 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2436 echo $ECHO_N "(cached) $ECHO_C" >&6 2416 echo $ECHO_N "(cached) $ECHO_C" >&6
2437 else 2417 else
2438 if test -n "$ac_ct_CC"; then 2418 if test -n "$ac_ct_CC"; then
2443 for ac_dir in $ac_dummy; do 2423 for ac_dir in $ac_dummy; do
2444 IFS=$ac_save_IFS 2424 IFS=$ac_save_IFS
2445 test -z "$ac_dir" && ac_dir=. 2425 test -z "$ac_dir" && ac_dir=.
2446 $as_executable_p "$ac_dir/$ac_word" || continue 2426 $as_executable_p "$ac_dir/$ac_word" || continue
2447 ac_cv_prog_ac_ct_CC="cc" 2427 ac_cv_prog_ac_ct_CC="cc"
2448 echo "$as_me:2447: found $ac_dir/$ac_word" >&5 2428 echo "$as_me:2428: found $ac_dir/$ac_word" >&5
2449 break 2429 break
2450 done 2430 done
2451 2431
2452 fi 2432 fi
2453 fi 2433 fi
2454 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2434 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2455 if test -n "$ac_ct_CC"; then 2435 if test -n "$ac_ct_CC"; then
2456 echo "$as_me:2455: result: $ac_ct_CC" >&5 2436 echo "$as_me:2436: result: $ac_ct_CC" >&5
2457 echo "${ECHO_T}$ac_ct_CC" >&6 2437 echo "${ECHO_T}$ac_ct_CC" >&6
2458 else 2438 else
2459 echo "$as_me:2458: result: no" >&5 2439 echo "$as_me:2439: result: no" >&5
2460 echo "${ECHO_T}no" >&6 2440 echo "${ECHO_T}no" >&6
2461 fi 2441 fi
2462 2442
2463 CC=$ac_ct_CC 2443 CC=$ac_ct_CC
2464 else 2444 else
2467 2447
2468 fi 2448 fi
2469 if test -z "$CC"; then 2449 if test -z "$CC"; then
2470 # Extract the first word of "cc", so it can be a program name with args. 2450 # Extract the first word of "cc", so it can be a program name with args.
2471 set dummy cc; ac_word=$2 2451 set dummy cc; ac_word=$2
2472 echo "$as_me:2471: checking for $ac_word" >&5 2452 echo "$as_me:2452: checking for $ac_word" >&5
2473 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2453 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2474 if test "${ac_cv_prog_CC+set}" = set; then 2454 if test "${ac_cv_prog_CC+set}" = set; then
2475 echo $ECHO_N "(cached) $ECHO_C" >&6 2455 echo $ECHO_N "(cached) $ECHO_C" >&6
2476 else 2456 else
2477 if test -n "$CC"; then 2457 if test -n "$CC"; then
2487 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then 2467 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
2488 ac_prog_rejected=yes 2468 ac_prog_rejected=yes
2489 continue 2469 continue
2490 fi 2470 fi
2491 ac_cv_prog_CC="cc" 2471 ac_cv_prog_CC="cc"
2492 echo "$as_me:2491: found $ac_dir/$ac_word" >&5 2472 echo "$as_me:2472: found $ac_dir/$ac_word" >&5
2493 break 2473 break
2494 done 2474 done
2495 2475
2496 if test $ac_prog_rejected = yes; then 2476 if test $ac_prog_rejected = yes; then
2497 # We found a bogon in the path, so make sure we never use it. 2477 # We found a bogon in the path, so make sure we never use it.
2509 fi 2489 fi
2510 fi 2490 fi
2511 fi 2491 fi
2512 CC=$ac_cv_prog_CC 2492 CC=$ac_cv_prog_CC
2513 if test -n "$CC"; then 2493 if test -n "$CC"; then
2514 echo "$as_me:2513: result: $CC" >&5 2494 echo "$as_me:2494: result: $CC" >&5
2515 echo "${ECHO_T}$CC" >&6 2495 echo "${ECHO_T}$CC" >&6
2516 else 2496 else
2517 echo "$as_me:2516: result: no" >&5 2497 echo "$as_me:2497: result: no" >&5
2518 echo "${ECHO_T}no" >&6 2498 echo "${ECHO_T}no" >&6
2519 fi 2499 fi
2520 2500
2521 fi 2501 fi
2522 if test -z "$CC"; then 2502 if test -z "$CC"; then
2523 if test -n "$ac_tool_prefix"; then 2503 if test -n "$ac_tool_prefix"; then
2524 for ac_prog in cl 2504 for ac_prog in cl
2525 do 2505 do
2526 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2506 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2527 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2507 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2528 echo "$as_me:2527: checking for $ac_word" >&5 2508 echo "$as_me:2508: checking for $ac_word" >&5
2529 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2509 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2530 if test "${ac_cv_prog_CC+set}" = set; then 2510 if test "${ac_cv_prog_CC+set}" = set; then
2531 echo $ECHO_N "(cached) $ECHO_C" >&6 2511 echo $ECHO_N "(cached) $ECHO_C" >&6
2532 else 2512 else
2533 if test -n "$CC"; then 2513 if test -n "$CC"; then
2538 for ac_dir in $ac_dummy; do 2518 for ac_dir in $ac_dummy; do
2539 IFS=$ac_save_IFS 2519 IFS=$ac_save_IFS
2540 test -z "$ac_dir" && ac_dir=. 2520 test -z "$ac_dir" && ac_dir=.
2541 $as_executable_p "$ac_dir/$ac_word" || continue 2521 $as_executable_p "$ac_dir/$ac_word" || continue
2542 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2522 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2543 echo "$as_me:2542: found $ac_dir/$ac_word" >&5 2523 echo "$as_me:2523: found $ac_dir/$ac_word" >&5
2544 break 2524 break
2545 done 2525 done
2546 2526
2547 fi 2527 fi
2548 fi 2528 fi
2549 CC=$ac_cv_prog_CC 2529 CC=$ac_cv_prog_CC
2550 if test -n "$CC"; then 2530 if test -n "$CC"; then
2551 echo "$as_me:2550: result: $CC" >&5 2531 echo "$as_me:2531: result: $CC" >&5
2552 echo "${ECHO_T}$CC" >&6 2532 echo "${ECHO_T}$CC" >&6
2553 else 2533 else
2554 echo "$as_me:2553: result: no" >&5 2534 echo "$as_me:2534: result: no" >&5
2555 echo "${ECHO_T}no" >&6 2535 echo "${ECHO_T}no" >&6
2556 fi 2536 fi
2557 2537
2558 test -n "$CC" && break 2538 test -n "$CC" && break
2559 done 2539 done
2562 ac_ct_CC=$CC 2542 ac_ct_CC=$CC
2563 for ac_prog in cl 2543 for ac_prog in cl
2564 do 2544 do
2565 # Extract the first word of "$ac_prog", so it can be a program name with args. 2545 # Extract the first word of "$ac_prog", so it can be a program name with args.
2566 set dummy $ac_prog; ac_word=$2 2546 set dummy $ac_prog; ac_word=$2
2567 echo "$as_me:2566: checking for $ac_word" >&5 2547 echo "$as_me:2547: checking for $ac_word" >&5
2568 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2548 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2569 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2549 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2570 echo $ECHO_N "(cached) $ECHO_C" >&6 2550 echo $ECHO_N "(cached) $ECHO_C" >&6
2571 else 2551 else
2572 if test -n "$ac_ct_CC"; then 2552 if test -n "$ac_ct_CC"; then
2577 for ac_dir in $ac_dummy; do 2557 for ac_dir in $ac_dummy; do
2578 IFS=$ac_save_IFS 2558 IFS=$ac_save_IFS
2579 test -z "$ac_dir" && ac_dir=. 2559 test -z "$ac_dir" && ac_dir=.
2580 $as_executable_p "$ac_dir/$ac_word" || continue 2560 $as_executable_p "$ac_dir/$ac_word" || continue
2581 ac_cv_prog_ac_ct_CC="$ac_prog" 2561 ac_cv_prog_ac_ct_CC="$ac_prog"
2582 echo "$as_me:2581: found $ac_dir/$ac_word" >&5 2562 echo "$as_me:2562: found $ac_dir/$ac_word" >&5
2583 break 2563 break
2584 done 2564 done
2585 2565
2586 fi 2566 fi
2587 fi 2567 fi
2588 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2568 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2589 if test -n "$ac_ct_CC"; then 2569 if test -n "$ac_ct_CC"; then
2590 echo "$as_me:2589: result: $ac_ct_CC" >&5 2570 echo "$as_me:2570: result: $ac_ct_CC" >&5
2591 echo "${ECHO_T}$ac_ct_CC" >&6 2571 echo "${ECHO_T}$ac_ct_CC" >&6
2592 else 2572 else
2593 echo "$as_me:2592: result: no" >&5 2573 echo "$as_me:2573: result: no" >&5
2594 echo "${ECHO_T}no" >&6 2574 echo "${ECHO_T}no" >&6
2595 fi 2575 fi
2596 2576
2597 test -n "$ac_ct_CC" && break 2577 test -n "$ac_ct_CC" && break
2598 done 2578 done
2600 CC=$ac_ct_CC 2580 CC=$ac_ct_CC
2601 fi 2581 fi
2602 2582
2603 fi 2583 fi
2604 2584
2605 test -z "$CC" && { { echo "$as_me:2604: error: no acceptable cc found in \$PATH" >&5 2585 test -z "$CC" && { { echo "$as_me:2585: error: no acceptable cc found in \$PATH" >&5
2606 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;} 2586 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
2607 { (exit 1); exit 1; }; } 2587 { (exit 1); exit 1; }; }
2608 2588
2609 # Provide some information about the compiler. 2589 # Provide some information about the compiler.
2610 echo "$as_me:2609:" \ 2590 echo "$as_me:2590:" \
2611 "checking for C compiler version" >&5 2591 "checking for C compiler version" >&5
2612 ac_compiler=`set X $ac_compile; echo $2` 2592 ac_compiler=`set X $ac_compile; echo $2`
2613 { (eval echo "$as_me:2612: \"$ac_compiler --version </dev/null >&5\"") >&5 2593 { (eval echo "$as_me:2593: \"$ac_compiler --version </dev/null >&5\"") >&5
2614 (eval $ac_compiler --version </dev/null >&5) 2>&5 2594 (eval $ac_compiler --version </dev/null >&5) 2>&5
2615 ac_status=$? 2595 ac_status=$?
2616 echo "$as_me:2615: \$? = $ac_status" >&5 2596 echo "$as_me:2596: \$? = $ac_status" >&5
2617 (exit $ac_status); } 2597 (exit $ac_status); }
2618 { (eval echo "$as_me:2617: \"$ac_compiler -v </dev/null >&5\"") >&5 2598 { (eval echo "$as_me:2598: \"$ac_compiler -v </dev/null >&5\"") >&5
2619 (eval $ac_compiler -v </dev/null >&5) 2>&5 2599 (eval $ac_compiler -v </dev/null >&5) 2>&5
2620 ac_status=$? 2600 ac_status=$?
2621 echo "$as_me:2620: \$? = $ac_status" >&5 2601 echo "$as_me:2601: \$? = $ac_status" >&5
2622 (exit $ac_status); } 2602 (exit $ac_status); }
2623 { (eval echo "$as_me:2622: \"$ac_compiler -V </dev/null >&5\"") >&5 2603 { (eval echo "$as_me:2603: \"$ac_compiler -V </dev/null >&5\"") >&5
2624 (eval $ac_compiler -V </dev/null >&5) 2>&5 2604 (eval $ac_compiler -V </dev/null >&5) 2>&5
2625 ac_status=$? 2605 ac_status=$?
2626 echo "$as_me:2625: \$? = $ac_status" >&5 2606 echo "$as_me:2606: \$? = $ac_status" >&5
2627 (exit $ac_status); } 2607 (exit $ac_status); }
2628 2608
2629 cat >conftest.$ac_ext <<_ACEOF 2609 cat >conftest.$ac_ext <<_ACEOF
2630 #line 2624 "configure" 2610 #line 2610 "configure"
2631 #include "confdefs.h" 2611 #include "confdefs.h"
2632 2612
2633 int 2613 int
2634 main () 2614 main ()
2635 { 2615 {
2641 ac_clean_files_save=$ac_clean_files 2621 ac_clean_files_save=$ac_clean_files
2642 ac_clean_files="$ac_clean_files a.out a.exe" 2622 ac_clean_files="$ac_clean_files a.out a.exe"
2643 # Try to create an executable without -o first, disregard a.out. 2623 # Try to create an executable without -o first, disregard a.out.
2644 # It will help us diagnose broken compilers, and finding out an intuition 2624 # It will help us diagnose broken compilers, and finding out an intuition
2645 # of exeext. 2625 # of exeext.
2646 echo "$as_me:2645: checking for C compiler default output" >&5 2626 echo "$as_me:2626: checking for C compiler default output" >&5
2647 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 2627 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2648 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2628 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2649 if { (eval echo "$as_me:2648: \"$ac_link_default\"") >&5 2629 if { (eval echo "$as_me:2629: \"$ac_link_default\"") >&5
2650 (eval $ac_link_default) 2>&5 2630 (eval $ac_link_default) 2>&5
2651 ac_status=$? 2631 ac_status=$?
2652 echo "$as_me:2651: \$? = $ac_status" >&5 2632 echo "$as_me:2632: \$? = $ac_status" >&5
2653 (exit $ac_status); }; then 2633 (exit $ac_status); }; then
2654 # Find the output, starting from the most likely. This scheme is 2634 # Find the output, starting from the most likely. This scheme is
2655 # not robust to junk in `.', hence go to wildcards (a.*) only as a last 2635 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2656 # resort. 2636 # resort.
2657 for ac_file in `ls a.exe conftest.exe 2>/dev/null; 2637 for ac_file in `ls a.exe conftest.exe 2>/dev/null;
2670 esac 2650 esac
2671 done 2651 done
2672 else 2652 else
2673 echo "$as_me: failed program was:" >&5 2653 echo "$as_me: failed program was:" >&5
2674 cat conftest.$ac_ext >&5 2654 cat conftest.$ac_ext >&5
2675 { { echo "$as_me:2674: error: C compiler cannot create executables" >&5 2655 { { echo "$as_me:2655: error: C compiler cannot create executables" >&5
2676 echo "$as_me: error: C compiler cannot create executables" >&2;} 2656 echo "$as_me: error: C compiler cannot create executables" >&2;}
2677 { (exit 77); exit 77; }; } 2657 { (exit 77); exit 77; }; }
2678 fi 2658 fi
2679 2659
2680 ac_exeext=$ac_cv_exeext 2660 ac_exeext=$ac_cv_exeext
2681 echo "$as_me:2680: result: $ac_file" >&5 2661 echo "$as_me:2661: result: $ac_file" >&5
2682 echo "${ECHO_T}$ac_file" >&6 2662 echo "${ECHO_T}$ac_file" >&6
2683 2663
2684 # Check the compiler produces executables we can run. If not, either 2664 # Check the compiler produces executables we can run. If not, either
2685 # the compiler is broken, or we cross compile. 2665 # the compiler is broken, or we cross compile.
2686 echo "$as_me:2685: checking whether the C compiler works" >&5 2666 echo "$as_me:2666: checking whether the C compiler works" >&5
2687 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 2667 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2688 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2668 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2689 # If not cross compiling, check that we can run a simple program. 2669 # If not cross compiling, check that we can run a simple program.
2690 if test "$cross_compiling" != yes; then 2670 if test "$cross_compiling" != yes; then
2691 if { ac_try='./$ac_file' 2671 if { ac_try='./$ac_file'
2692 { (eval echo "$as_me:2691: \"$ac_try\"") >&5 2672 { (eval echo "$as_me:2672: \"$ac_try\"") >&5
2693 (eval $ac_try) 2>&5 2673 (eval $ac_try) 2>&5
2694 ac_status=$? 2674 ac_status=$?
2695 echo "$as_me:2694: \$? = $ac_status" >&5 2675 echo "$as_me:2675: \$? = $ac_status" >&5
2696 (exit $ac_status); }; }; then 2676 (exit $ac_status); }; }; then
2697 cross_compiling=no 2677 cross_compiling=no
2698 else 2678 else
2699 if test "$cross_compiling" = maybe; then 2679 if test "$cross_compiling" = maybe; then
2700 cross_compiling=yes 2680 cross_compiling=yes
2701 else 2681 else
2702 { { echo "$as_me:2701: error: cannot run C compiled programs. 2682 { { echo "$as_me:2682: error: cannot run C compiled programs.
2703 If you meant to cross compile, use \`--host'." >&5 2683 If you meant to cross compile, use \`--host'." >&5
2704 echo "$as_me: error: cannot run C compiled programs. 2684 echo "$as_me: error: cannot run C compiled programs.
2705 If you meant to cross compile, use \`--host'." >&2;} 2685 If you meant to cross compile, use \`--host'." >&2;}
2706 { (exit 1); exit 1; }; } 2686 { (exit 1); exit 1; }; }
2707 fi 2687 fi
2708 fi 2688 fi
2709 fi 2689 fi
2710 echo "$as_me:2709: result: yes" >&5 2690 echo "$as_me:2690: result: yes" >&5
2711 echo "${ECHO_T}yes" >&6 2691 echo "${ECHO_T}yes" >&6
2712 2692
2713 rm -f a.out a.exe conftest$ac_cv_exeext 2693 rm -f a.out a.exe conftest$ac_cv_exeext
2714 ac_clean_files=$ac_clean_files_save 2694 ac_clean_files=$ac_clean_files_save
2715 # Check the compiler produces executables we can run. If not, either 2695 # Check the compiler produces executables we can run. If not, either
2716 # the compiler is broken, or we cross compile. 2696 # the compiler is broken, or we cross compile.
2717 echo "$as_me:2716: checking whether we are cross compiling" >&5 2697 echo "$as_me:2697: checking whether we are cross compiling" >&5
2718 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 2698 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2719 echo "$as_me:2718: result: $cross_compiling" >&5 2699 echo "$as_me:2699: result: $cross_compiling" >&5
2720 echo "${ECHO_T}$cross_compiling" >&6 2700 echo "${ECHO_T}$cross_compiling" >&6
2721 2701
2722 echo "$as_me:2721: checking for executable suffix" >&5 2702 echo "$as_me:2702: checking for executable suffix" >&5
2723 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6 2703 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
2724 if { (eval echo "$as_me:2723: \"$ac_link\"") >&5 2704 if { (eval echo "$as_me:2704: \"$ac_link\"") >&5
2725 (eval $ac_link) 2>&5 2705 (eval $ac_link) 2>&5
2726 ac_status=$? 2706 ac_status=$?
2727 echo "$as_me:2726: \$? = $ac_status" >&5 2707 echo "$as_me:2707: \$? = $ac_status" >&5
2728 (exit $ac_status); }; then 2708 (exit $ac_status); }; then
2729 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2709 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2730 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2710 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2731 # work properly (i.e., refer to `conftest.exe'), while it won't with 2711 # work properly (i.e., refer to `conftest.exe'), while it won't with
2732 # `rm'. 2712 # `rm'.
2738 break;; 2718 break;;
2739 * ) break;; 2719 * ) break;;
2740 esac 2720 esac
2741 done 2721 done
2742 else 2722 else
2743 { { echo "$as_me:2742: error: cannot compute EXEEXT: cannot compile and link" >&5 2723 { { echo "$as_me:2723: error: cannot compute EXEEXT: cannot compile and link" >&5
2744 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;} 2724 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
2745 { (exit 1); exit 1; }; } 2725 { (exit 1); exit 1; }; }
2746 fi 2726 fi
2747 2727
2748 rm -f conftest$ac_cv_exeext 2728 rm -f conftest$ac_cv_exeext
2749 echo "$as_me:2748: result: $ac_cv_exeext" >&5 2729 echo "$as_me:2729: result: $ac_cv_exeext" >&5
2750 echo "${ECHO_T}$ac_cv_exeext" >&6 2730 echo "${ECHO_T}$ac_cv_exeext" >&6
2751 2731
2752 rm -f conftest.$ac_ext 2732 rm -f conftest.$ac_ext
2753 EXEEXT=$ac_cv_exeext 2733 EXEEXT=$ac_cv_exeext
2754 ac_exeext=$EXEEXT 2734 ac_exeext=$EXEEXT
2755 echo "$as_me:2754: checking for object suffix" >&5 2735 echo "$as_me:2735: checking for object suffix" >&5
2756 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6 2736 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
2757 if test "${ac_cv_objext+set}" = set; then 2737 if test "${ac_cv_objext+set}" = set; then
2758 echo $ECHO_N "(cached) $ECHO_C" >&6 2738 echo $ECHO_N "(cached) $ECHO_C" >&6
2759 else 2739 else
2760 cat >conftest.$ac_ext <<_ACEOF 2740 cat >conftest.$ac_ext <<_ACEOF
2761 #line 2755 "configure" 2741 #line 2741 "configure"
2762 #include "confdefs.h" 2742 #include "confdefs.h"
2763 2743
2764 int 2744 int
2765 main () 2745 main ()
2766 { 2746 {
2768 ; 2748 ;
2769 return 0; 2749 return 0;
2770 } 2750 }
2771 _ACEOF 2751 _ACEOF
2772 rm -f conftest.o conftest.obj 2752 rm -f conftest.o conftest.obj
2773 if { (eval echo "$as_me:2772: \"$ac_compile\"") >&5 2753 if { (eval echo "$as_me:2753: \"$ac_compile\"") >&5
2774 (eval $ac_compile) 2>&5 2754 (eval $ac_compile) 2>&5
2775 ac_status=$? 2755 ac_status=$?
2776 echo "$as_me:2775: \$? = $ac_status" >&5 2756 echo "$as_me:2756: \$? = $ac_status" >&5
2777 (exit $ac_status); }; then 2757 (exit $ac_status); }; then
2778 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 2758 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2779 case $ac_file in 2759 case $ac_file in
2780 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;; 2760 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
2781 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2761 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2783 esac 2763 esac
2784 done 2764 done
2785 else 2765 else
2786 echo "$as_me: failed program was:" >&5 2766 echo "$as_me: failed program was:" >&5
2787 cat conftest.$ac_ext >&5 2767 cat conftest.$ac_ext >&5
2788 { { echo "$as_me:2787: error: cannot compute OBJEXT: cannot compile" >&5 2768 { { echo "$as_me:2768: error: cannot compute OBJEXT: cannot compile" >&5
2789 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;} 2769 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
2790 { (exit 1); exit 1; }; } 2770 { (exit 1); exit 1; }; }
2791 fi 2771 fi
2792 2772
2793 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2773 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2794 fi 2774 fi
2795 echo "$as_me:2794: result: $ac_cv_objext" >&5 2775 echo "$as_me:2775: result: $ac_cv_objext" >&5
2796 echo "${ECHO_T}$ac_cv_objext" >&6 2776 echo "${ECHO_T}$ac_cv_objext" >&6
2797 OBJEXT=$ac_cv_objext 2777 OBJEXT=$ac_cv_objext
2798 ac_objext=$OBJEXT 2778 ac_objext=$OBJEXT
2799 echo "$as_me:2798: checking whether we are using the GNU C compiler" >&5 2779 echo "$as_me:2779: checking whether we are using the GNU C compiler" >&5
2800 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2780 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2801 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2781 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2802 echo $ECHO_N "(cached) $ECHO_C" >&6 2782 echo $ECHO_N "(cached) $ECHO_C" >&6
2803 else 2783 else
2804 cat >conftest.$ac_ext <<_ACEOF 2784 cat >conftest.$ac_ext <<_ACEOF
2805 #line 2799 "configure" 2785 #line 2785 "configure"
2806 #include "confdefs.h" 2786 #include "confdefs.h"
2807 2787
2808 int 2788 int
2809 main () 2789 main ()
2810 { 2790 {
2815 ; 2795 ;
2816 return 0; 2796 return 0;
2817 } 2797 }
2818 _ACEOF 2798 _ACEOF
2819 rm -f conftest.$ac_objext 2799 rm -f conftest.$ac_objext
2820 if { (eval echo "$as_me:2819: \"$ac_compile\"") >&5 2800 if { (eval echo "$as_me:2800: \"$ac_compile\"") >&5
2821 (eval $ac_compile) 2>&5 2801 (eval $ac_compile) 2>&5
2822 ac_status=$? 2802 ac_status=$?
2823 echo "$as_me:2822: \$? = $ac_status" >&5 2803 echo "$as_me:2803: \$? = $ac_status" >&5
2824 (exit $ac_status); } && 2804 (exit $ac_status); } &&
2825 { ac_try='test -s conftest.$ac_objext' 2805 { ac_try='test -s conftest.$ac_objext'
2826 { (eval echo "$as_me:2825: \"$ac_try\"") >&5 2806 { (eval echo "$as_me:2806: \"$ac_try\"") >&5
2827 (eval $ac_try) 2>&5 2807 (eval $ac_try) 2>&5
2828 ac_status=$? 2808 ac_status=$?
2829 echo "$as_me:2828: \$? = $ac_status" >&5 2809 echo "$as_me:2809: \$? = $ac_status" >&5
2830 (exit $ac_status); }; }; then 2810 (exit $ac_status); }; }; then
2831 ac_compiler_gnu=yes 2811 ac_compiler_gnu=yes
2832 else 2812 else
2833 echo "$as_me: failed program was:" >&5 2813 echo "$as_me: failed program was:" >&5
2834 cat conftest.$ac_ext >&5 2814 cat conftest.$ac_ext >&5
2836 fi 2816 fi
2837 rm -f conftest.$ac_objext conftest.$ac_ext 2817 rm -f conftest.$ac_objext conftest.$ac_ext
2838 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2818 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2839 2819
2840 fi 2820 fi
2841 echo "$as_me:2840: result: $ac_cv_c_compiler_gnu" >&5 2821 echo "$as_me:2821: result: $ac_cv_c_compiler_gnu" >&5
2842 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2822 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2843 GCC=`test $ac_compiler_gnu = yes && echo yes` 2823 GCC=`test $ac_compiler_gnu = yes && echo yes`
2844 ac_test_CFLAGS=${CFLAGS+set} 2824 ac_test_CFLAGS=${CFLAGS+set}
2845 ac_save_CFLAGS=$CFLAGS 2825 ac_save_CFLAGS=$CFLAGS
2846 CFLAGS="-g" 2826 CFLAGS="-g"
2847 echo "$as_me:2846: checking whether $CC accepts -g" >&5 2827 echo "$as_me:2827: checking whether $CC accepts -g" >&5
2848 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2828 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2849 if test "${ac_cv_prog_cc_g+set}" = set; then 2829 if test "${ac_cv_prog_cc_g+set}" = set; then
2850 echo $ECHO_N "(cached) $ECHO_C" >&6 2830 echo $ECHO_N "(cached) $ECHO_C" >&6
2851 else 2831 else
2852 cat >conftest.$ac_ext <<_ACEOF 2832 cat >conftest.$ac_ext <<_ACEOF
2853 #line 2847 "configure" 2833 #line 2833 "configure"
2854 #include "confdefs.h" 2834 #include "confdefs.h"
2855 2835
2856 int 2836 int
2857 main () 2837 main ()
2858 { 2838 {
2860 ; 2840 ;
2861 return 0; 2841 return 0;
2862 } 2842 }
2863 _ACEOF 2843 _ACEOF
2864 rm -f conftest.$ac_objext 2844 rm -f conftest.$ac_objext
2865 if { (eval echo "$as_me:2864: \"$ac_compile\"") >&5 2845 if { (eval echo "$as_me:2845: \"$ac_compile\"") >&5
2866 (eval $ac_compile) 2>&5 2846 (eval $ac_compile) 2>&5
2867 ac_status=$? 2847 ac_status=$?
2868 echo "$as_me:2867: \$? = $ac_status" >&5 2848 echo "$as_me:2848: \$? = $ac_status" >&5
2869 (exit $ac_status); } && 2849 (exit $ac_status); } &&
2870 { ac_try='test -s conftest.$ac_objext' 2850 { ac_try='test -s conftest.$ac_objext'
2871 { (eval echo "$as_me:2870: \"$ac_try\"") >&5 2851 { (eval echo "$as_me:2851: \"$ac_try\"") >&5
2872 (eval $ac_try) 2>&5 2852 (eval $ac_try) 2>&5
2873 ac_status=$? 2853 ac_status=$?
2874 echo "$as_me:2873: \$? = $ac_status" >&5 2854 echo "$as_me:2854: \$? = $ac_status" >&5
2875 (exit $ac_status); }; }; then 2855 (exit $ac_status); }; }; then
2876 ac_cv_prog_cc_g=yes 2856 ac_cv_prog_cc_g=yes
2877 else 2857 else
2878 echo "$as_me: failed program was:" >&5 2858 echo "$as_me: failed program was:" >&5
2879 cat conftest.$ac_ext >&5 2859 cat conftest.$ac_ext >&5
2880 ac_cv_prog_cc_g=no 2860 ac_cv_prog_cc_g=no
2881 fi 2861 fi
2882 rm -f conftest.$ac_objext conftest.$ac_ext 2862 rm -f conftest.$ac_objext conftest.$ac_ext
2883 fi 2863 fi
2884 echo "$as_me:2883: result: $ac_cv_prog_cc_g" >&5 2864 echo "$as_me:2864: result: $ac_cv_prog_cc_g" >&5
2885 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 2865 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2886 if test "$ac_test_CFLAGS" = set; then 2866 if test "$ac_test_CFLAGS" = set; then
2887 CFLAGS=$ac_save_CFLAGS 2867 CFLAGS=$ac_save_CFLAGS
2888 elif test $ac_cv_prog_cc_g = yes; then 2868 elif test $ac_cv_prog_cc_g = yes; then
2889 if test "$GCC" = yes; then 2869 if test "$GCC" = yes; then
2906 #ifndef __cplusplus 2886 #ifndef __cplusplus
2907 choke me 2887 choke me
2908 #endif 2888 #endif
2909 _ACEOF 2889 _ACEOF
2910 rm -f conftest.$ac_objext 2890 rm -f conftest.$ac_objext
2911 if { (eval echo "$as_me:2910: \"$ac_compile\"") >&5 2891 if { (eval echo "$as_me:2891: \"$ac_compile\"") >&5
2912 (eval $ac_compile) 2>&5 2892 (eval $ac_compile) 2>&5
2913 ac_status=$? 2893 ac_status=$?
2914 echo "$as_me:2913: \$? = $ac_status" >&5 2894 echo "$as_me:2894: \$? = $ac_status" >&5
2915 (exit $ac_status); } && 2895 (exit $ac_status); } &&
2916 { ac_try='test -s conftest.$ac_objext' 2896 { ac_try='test -s conftest.$ac_objext'
2917 { (eval echo "$as_me:2916: \"$ac_try\"") >&5 2897 { (eval echo "$as_me:2897: \"$ac_try\"") >&5
2918 (eval $ac_try) 2>&5 2898 (eval $ac_try) 2>&5
2919 ac_status=$? 2899 ac_status=$?
2920 echo "$as_me:2919: \$? = $ac_status" >&5 2900 echo "$as_me:2900: \$? = $ac_status" >&5
2921 (exit $ac_status); }; }; then 2901 (exit $ac_status); }; }; then
2922 for ac_declaration in \ 2902 for ac_declaration in \
2923 ''\ 2903 ''\
2924 '#include <stdlib.h>' \ 2904 '#include <stdlib.h>' \
2925 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2905 'extern "C" void std::exit (int) throw (); using std::exit;' \
2927 'extern "C" void exit (int) throw ();' \ 2907 'extern "C" void exit (int) throw ();' \
2928 'extern "C" void exit (int);' \ 2908 'extern "C" void exit (int);' \
2929 'void exit (int);' 2909 'void exit (int);'
2930 do 2910 do
2931 cat >conftest.$ac_ext <<_ACEOF 2911 cat >conftest.$ac_ext <<_ACEOF
2932 #line 2926 "configure" 2912 #line 2912 "configure"
2933 #include "confdefs.h" 2913 #include "confdefs.h"
2934 #include <stdlib.h> 2914 #include <stdlib.h>
2935 $ac_declaration 2915 $ac_declaration
2936 int 2916 int
2937 main () 2917 main ()
2940 ; 2920 ;
2941 return 0; 2921 return 0;
2942 } 2922 }
2943 _ACEOF 2923 _ACEOF
2944 rm -f conftest.$ac_objext 2924 rm -f conftest.$ac_objext
2945 if { (eval echo "$as_me:2944: \"$ac_compile\"") >&5 2925 if { (eval echo "$as_me:2925: \"$ac_compile\"") >&5
2946 (eval $ac_compile) 2>&5 2926 (eval $ac_compile) 2>&5
2947 ac_status=$? 2927 ac_status=$?
2948 echo "$as_me:2947: \$? = $ac_status" >&5 2928 echo "$as_me:2928: \$? = $ac_status" >&5
2949 (exit $ac_status); } && 2929 (exit $ac_status); } &&
2950 { ac_try='test -s conftest.$ac_objext' 2930 { ac_try='test -s conftest.$ac_objext'
2951 { (eval echo "$as_me:2950: \"$ac_try\"") >&5 2931 { (eval echo "$as_me:2931: \"$ac_try\"") >&5
2952 (eval $ac_try) 2>&5 2932 (eval $ac_try) 2>&5
2953 ac_status=$? 2933 ac_status=$?
2954 echo "$as_me:2953: \$? = $ac_status" >&5 2934 echo "$as_me:2934: \$? = $ac_status" >&5
2955 (exit $ac_status); }; }; then 2935 (exit $ac_status); }; }; then
2956 : 2936 :
2957 else 2937 else
2958 echo "$as_me: failed program was:" >&5 2938 echo "$as_me: failed program was:" >&5
2959 cat conftest.$ac_ext >&5 2939 cat conftest.$ac_ext >&5
2960 continue 2940 continue
2961 fi 2941 fi
2962 rm -f conftest.$ac_objext conftest.$ac_ext 2942 rm -f conftest.$ac_objext conftest.$ac_ext
2963 cat >conftest.$ac_ext <<_ACEOF 2943 cat >conftest.$ac_ext <<_ACEOF
2964 #line 2958 "configure" 2944 #line 2944 "configure"
2965 #include "confdefs.h" 2945 #include "confdefs.h"
2966 $ac_declaration 2946 $ac_declaration
2967 int 2947 int
2968 main () 2948 main ()
2969 { 2949 {
2971 ; 2951 ;
2972 return 0; 2952 return 0;
2973 } 2953 }
2974 _ACEOF 2954 _ACEOF
2975 rm -f conftest.$ac_objext 2955 rm -f conftest.$ac_objext
2976 if { (eval echo "$as_me:2975: \"$ac_compile\"") >&5 2956 if { (eval echo "$as_me:2956: \"$ac_compile\"") >&5
2977 (eval $ac_compile) 2>&5 2957 (eval $ac_compile) 2>&5
2978 ac_status=$? 2958 ac_status=$?
2979 echo "$as_me:2978: \$? = $ac_status" >&5 2959 echo "$as_me:2959: \$? = $ac_status" >&5
2980 (exit $ac_status); } && 2960 (exit $ac_status); } &&
2981 { ac_try='test -s conftest.$ac_objext' 2961 { ac_try='test -s conftest.$ac_objext'
2982 { (eval echo "$as_me:2981: \"$ac_try\"") >&5 2962 { (eval echo "$as_me:2962: \"$ac_try\"") >&5
2983 (eval $ac_try) 2>&5 2963 (eval $ac_try) 2>&5
2984 ac_status=$? 2964 ac_status=$?
2985 echo "$as_me:2984: \$? = $ac_status" >&5 2965 echo "$as_me:2965: \$? = $ac_status" >&5
2986 (exit $ac_status); }; }; then 2966 (exit $ac_status); }; }; then
2987 break 2967 break
2988 else 2968 else
2989 echo "$as_me: failed program was:" >&5 2969 echo "$as_me: failed program was:" >&5
2990 cat conftest.$ac_ext >&5 2970 cat conftest.$ac_ext >&5
3053 3033
3054 #### Some other nice autoconf tests. If you add a test here which 3034 #### Some other nice autoconf tests. If you add a test here which
3055 #### should make an entry in src/config.h, don't forget to add an 3035 #### should make an entry in src/config.h, don't forget to add an
3056 #### #undef clause to src/config.h.in for autoconf to modify. 3036 #### #undef clause to src/config.h.in for autoconf to modify.
3057 3037
3058 echo "$as_me:3057: checking whether ln -s works" >&5 3038 echo "$as_me:3038: checking whether ln -s works" >&5
3059 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 3039 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3060 LN_S=$as_ln_s 3040 LN_S=$as_ln_s
3061 if test "$LN_S" = "ln -s"; then 3041 if test "$LN_S" = "ln -s"; then
3062 echo "$as_me:3061: result: yes" >&5 3042 echo "$as_me:3042: result: yes" >&5
3063 echo "${ECHO_T}yes" >&6 3043 echo "${ECHO_T}yes" >&6
3064 else 3044 else
3065 echo "$as_me:3064: result: no, using $LN_S" >&5 3045 echo "$as_me:3045: result: no, using $LN_S" >&5
3066 echo "${ECHO_T}no, using $LN_S" >&6 3046 echo "${ECHO_T}no, using $LN_S" >&6
3067 fi 3047 fi
3068 3048
3069 ac_ext=c 3049 ac_ext=c
3070 ac_cpp='$CPP $CPPFLAGS' 3050 ac_cpp='$CPP $CPPFLAGS'
3071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3073 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3074 echo "$as_me:3073: checking how to run the C preprocessor" >&5 3054 echo "$as_me:3054: checking how to run the C preprocessor" >&5
3075 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 3055 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3076 # On Suns, sometimes $CPP names a directory. 3056 # On Suns, sometimes $CPP names a directory.
3077 if test -n "$CPP" && test -d "$CPP"; then 3057 if test -n "$CPP" && test -d "$CPP"; then
3078 CPP= 3058 CPP=
3079 fi 3059 fi
3090 # Use a header file that comes with gcc, so configuring glibc 3070 # Use a header file that comes with gcc, so configuring glibc
3091 # with a fresh cross-compiler works. 3071 # with a fresh cross-compiler works.
3092 # On the NeXT, cc -E runs the code through the compiler's parser, 3072 # On the NeXT, cc -E runs the code through the compiler's parser,
3093 # not just through cpp. "Syntax error" is here to catch this case. 3073 # not just through cpp. "Syntax error" is here to catch this case.
3094 cat >conftest.$ac_ext <<_ACEOF 3074 cat >conftest.$ac_ext <<_ACEOF
3095 #line 3089 "configure" 3075 #line 3075 "configure"
3096 #include "confdefs.h" 3076 #include "confdefs.h"
3097 #include <assert.h> 3077 #include <assert.h>
3098 Syntax error 3078 Syntax error
3099 _ACEOF 3079 _ACEOF
3100 if { (eval echo "$as_me:3099: \"$ac_cpp conftest.$ac_ext\"") >&5 3080 if { (eval echo "$as_me:3080: \"$ac_cpp conftest.$ac_ext\"") >&5
3101 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3081 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3102 ac_status=$? 3082 ac_status=$?
3103 egrep -v '^ *\+' conftest.er1 >conftest.err 3083 egrep -v '^ *\+' conftest.er1 >conftest.err
3104 rm -f conftest.er1 3084 rm -f conftest.er1
3105 cat conftest.err >&5 3085 cat conftest.err >&5
3106 echo "$as_me:3105: \$? = $ac_status" >&5 3086 echo "$as_me:3086: \$? = $ac_status" >&5
3107 (exit $ac_status); } >/dev/null; then 3087 (exit $ac_status); } >/dev/null; then
3108 if test -s conftest.err; then 3088 if test -s conftest.err; then
3109 ac_cpp_err=$ac_c_preproc_warn_flag 3089 ac_cpp_err=$ac_c_preproc_warn_flag
3110 else 3090 else
3111 ac_cpp_err= 3091 ac_cpp_err=
3124 rm -f conftest.err conftest.$ac_ext 3104 rm -f conftest.err conftest.$ac_ext
3125 3105
3126 # OK, works on sane cases. Now check whether non-existent headers 3106 # OK, works on sane cases. Now check whether non-existent headers
3127 # can be detected and how. 3107 # can be detected and how.
3128 cat >conftest.$ac_ext <<_ACEOF 3108 cat >conftest.$ac_ext <<_ACEOF
3129 #line 3123 "configure" 3109 #line 3109 "configure"
3130 #include "confdefs.h" 3110 #include "confdefs.h"
3131 #include <ac_nonexistent.h> 3111 #include <ac_nonexistent.h>
3132 _ACEOF 3112 _ACEOF
3133 if { (eval echo "$as_me:3132: \"$ac_cpp conftest.$ac_ext\"") >&5 3113 if { (eval echo "$as_me:3113: \"$ac_cpp conftest.$ac_ext\"") >&5
3134 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3114 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3135 ac_status=$? 3115 ac_status=$?
3136 egrep -v '^ *\+' conftest.er1 >conftest.err 3116 egrep -v '^ *\+' conftest.er1 >conftest.err
3137 rm -f conftest.er1 3117 rm -f conftest.er1
3138 cat conftest.err >&5 3118 cat conftest.err >&5
3139 echo "$as_me:3138: \$? = $ac_status" >&5 3119 echo "$as_me:3119: \$? = $ac_status" >&5
3140 (exit $ac_status); } >/dev/null; then 3120 (exit $ac_status); } >/dev/null; then
3141 if test -s conftest.err; then 3121 if test -s conftest.err; then
3142 ac_cpp_err=$ac_c_preproc_warn_flag 3122 ac_cpp_err=$ac_c_preproc_warn_flag
3143 else 3123 else
3144 ac_cpp_err= 3124 ac_cpp_err=
3171 fi 3151 fi
3172 CPP=$ac_cv_prog_CPP 3152 CPP=$ac_cv_prog_CPP
3173 else 3153 else
3174 ac_cv_prog_CPP=$CPP 3154 ac_cv_prog_CPP=$CPP
3175 fi 3155 fi
3176 echo "$as_me:3175: result: $CPP" >&5 3156 echo "$as_me:3156: result: $CPP" >&5
3177 echo "${ECHO_T}$CPP" >&6 3157 echo "${ECHO_T}$CPP" >&6
3178 ac_preproc_ok=false 3158 ac_preproc_ok=false
3179 for ac_c_preproc_warn_flag in '' yes 3159 for ac_c_preproc_warn_flag in '' yes
3180 do 3160 do
3181 # Use a header file that comes with gcc, so configuring glibc 3161 # Use a header file that comes with gcc, so configuring glibc
3182 # with a fresh cross-compiler works. 3162 # with a fresh cross-compiler works.
3183 # On the NeXT, cc -E runs the code through the compiler's parser, 3163 # On the NeXT, cc -E runs the code through the compiler's parser,
3184 # not just through cpp. "Syntax error" is here to catch this case. 3164 # not just through cpp. "Syntax error" is here to catch this case.
3185 cat >conftest.$ac_ext <<_ACEOF 3165 cat >conftest.$ac_ext <<_ACEOF
3186 #line 3180 "configure" 3166 #line 3166 "configure"
3187 #include "confdefs.h" 3167 #include "confdefs.h"
3188 #include <assert.h> 3168 #include <assert.h>
3189 Syntax error 3169 Syntax error
3190 _ACEOF 3170 _ACEOF
3191 if { (eval echo "$as_me:3190: \"$ac_cpp conftest.$ac_ext\"") >&5 3171 if { (eval echo "$as_me:3171: \"$ac_cpp conftest.$ac_ext\"") >&5
3192 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3172 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3193 ac_status=$? 3173 ac_status=$?
3194 egrep -v '^ *\+' conftest.er1 >conftest.err 3174 egrep -v '^ *\+' conftest.er1 >conftest.err
3195 rm -f conftest.er1 3175 rm -f conftest.er1
3196 cat conftest.err >&5 3176 cat conftest.err >&5
3197 echo "$as_me:3196: \$? = $ac_status" >&5 3177 echo "$as_me:3177: \$? = $ac_status" >&5
3198 (exit $ac_status); } >/dev/null; then 3178 (exit $ac_status); } >/dev/null; then
3199 if test -s conftest.err; then 3179 if test -s conftest.err; then
3200 ac_cpp_err=$ac_c_preproc_warn_flag 3180 ac_cpp_err=$ac_c_preproc_warn_flag
3201 else 3181 else
3202 ac_cpp_err= 3182 ac_cpp_err=
3215 rm -f conftest.err conftest.$ac_ext 3195 rm -f conftest.err conftest.$ac_ext
3216 3196
3217 # OK, works on sane cases. Now check whether non-existent headers 3197 # OK, works on sane cases. Now check whether non-existent headers
3218 # can be detected and how. 3198 # can be detected and how.
3219 cat >conftest.$ac_ext <<_ACEOF 3199 cat >conftest.$ac_ext <<_ACEOF
3220 #line 3214 "configure" 3200 #line 3200 "configure"
3221 #include "confdefs.h" 3201 #include "confdefs.h"
3222 #include <ac_nonexistent.h> 3202 #include <ac_nonexistent.h>
3223 _ACEOF 3203 _ACEOF
3224 if { (eval echo "$as_me:3223: \"$ac_cpp conftest.$ac_ext\"") >&5 3204 if { (eval echo "$as_me:3204: \"$ac_cpp conftest.$ac_ext\"") >&5
3225 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3205 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3226 ac_status=$? 3206 ac_status=$?
3227 egrep -v '^ *\+' conftest.er1 >conftest.err 3207 egrep -v '^ *\+' conftest.er1 >conftest.err
3228 rm -f conftest.er1 3208 rm -f conftest.er1
3229 cat conftest.err >&5 3209 cat conftest.err >&5
3230 echo "$as_me:3229: \$? = $ac_status" >&5 3210 echo "$as_me:3210: \$? = $ac_status" >&5
3231 (exit $ac_status); } >/dev/null; then 3211 (exit $ac_status); } >/dev/null; then
3232 if test -s conftest.err; then 3212 if test -s conftest.err; then
3233 ac_cpp_err=$ac_c_preproc_warn_flag 3213 ac_cpp_err=$ac_c_preproc_warn_flag
3234 else 3214 else
3235 ac_cpp_err= 3215 ac_cpp_err=
3253 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3233 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3254 rm -f conftest.err conftest.$ac_ext 3234 rm -f conftest.err conftest.$ac_ext
3255 if $ac_preproc_ok; then 3235 if $ac_preproc_ok; then
3256 : 3236 :
3257 else 3237 else
3258 { { echo "$as_me:3257: error: C preprocessor \"$CPP\" fails sanity check" >&5 3238 { { echo "$as_me:3238: error: C preprocessor \"$CPP\" fails sanity check" >&5
3259 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} 3239 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
3260 { (exit 1); exit 1; }; } 3240 { (exit 1); exit 1; }; }
3261 fi 3241 fi
3262 3242
3263 ac_ext=c 3243 ac_ext=c
3276 # AmigaOS /C/install, which installs bootblocks on floppy discs 3256 # AmigaOS /C/install, which installs bootblocks on floppy discs
3277 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 3257 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3278 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 3258 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3279 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 3259 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3280 # ./install, which can be erroneously created by make from ./install.sh. 3260 # ./install, which can be erroneously created by make from ./install.sh.
3281 echo "$as_me:3280: checking for a BSD compatible install" >&5 3261 echo "$as_me:3261: checking for a BSD compatible install" >&5
3282 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6 3262 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
3283 if test -z "$INSTALL"; then 3263 if test -z "$INSTALL"; then
3284 if test "${ac_cv_path_install+set}" = set; then 3264 if test "${ac_cv_path_install+set}" = set; then
3285 echo $ECHO_N "(cached) $ECHO_C" >&6 3265 echo $ECHO_N "(cached) $ECHO_C" >&6
3286 else 3266 else
3325 # break other packages using the cache if that directory is 3305 # break other packages using the cache if that directory is
3326 # removed, or if the path is relative. 3306 # removed, or if the path is relative.
3327 INSTALL=$ac_install_sh 3307 INSTALL=$ac_install_sh
3328 fi 3308 fi
3329 fi 3309 fi
3330 echo "$as_me:3329: result: $INSTALL" >&5 3310 echo "$as_me:3310: result: $INSTALL" >&5
3331 echo "${ECHO_T}$INSTALL" >&6 3311 echo "${ECHO_T}$INSTALL" >&6
3332 3312
3333 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 3313 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3334 # It thinks the first close brace ends the variable substitution. 3314 # It thinks the first close brace ends the variable substitution.
3335 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 3315 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3340 3320
3341 for ac_prog in 'bison -y' byacc 3321 for ac_prog in 'bison -y' byacc
3342 do 3322 do
3343 # Extract the first word of "$ac_prog", so it can be a program name with args. 3323 # Extract the first word of "$ac_prog", so it can be a program name with args.
3344 set dummy $ac_prog; ac_word=$2 3324 set dummy $ac_prog; ac_word=$2
3345 echo "$as_me:3344: checking for $ac_word" >&5 3325 echo "$as_me:3325: checking for $ac_word" >&5
3346 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3326 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3347 if test "${ac_cv_prog_YACC+set}" = set; then 3327 if test "${ac_cv_prog_YACC+set}" = set; then
3348 echo $ECHO_N "(cached) $ECHO_C" >&6 3328 echo $ECHO_N "(cached) $ECHO_C" >&6
3349 else 3329 else
3350 if test -n "$YACC"; then 3330 if test -n "$YACC"; then
3355 for ac_dir in $ac_dummy; do 3335 for ac_dir in $ac_dummy; do
3356 IFS=$ac_save_IFS 3336 IFS=$ac_save_IFS
3357 test -z "$ac_dir" && ac_dir=. 3337 test -z "$ac_dir" && ac_dir=.
3358 $as_executable_p "$ac_dir/$ac_word" || continue 3338 $as_executable_p "$ac_dir/$ac_word" || continue
3359 ac_cv_prog_YACC="$ac_prog" 3339 ac_cv_prog_YACC="$ac_prog"
3360 echo "$as_me:3359: found $ac_dir/$ac_word" >&5 3340 echo "$as_me:3340: found $ac_dir/$ac_word" >&5
3361 break 3341 break
3362 done 3342 done
3363 3343
3364 fi 3344 fi
3365 fi 3345 fi
3366 YACC=$ac_cv_prog_YACC 3346 YACC=$ac_cv_prog_YACC
3367 if test -n "$YACC"; then 3347 if test -n "$YACC"; then
3368 echo "$as_me:3367: result: $YACC" >&5 3348 echo "$as_me:3348: result: $YACC" >&5
3369 echo "${ECHO_T}$YACC" >&6 3349 echo "${ECHO_T}$YACC" >&6
3370 else 3350 else
3371 echo "$as_me:3370: result: no" >&5 3351 echo "$as_me:3351: result: no" >&5
3372 echo "${ECHO_T}no" >&6 3352 echo "${ECHO_T}no" >&6
3373 fi 3353 fi
3374 3354
3375 test -n "$YACC" && break 3355 test -n "$YACC" && break
3376 done 3356 done
3378 3358
3379 if test "x$RANLIB" = x; then 3359 if test "x$RANLIB" = x; then
3380 if test -n "$ac_tool_prefix"; then 3360 if test -n "$ac_tool_prefix"; then
3381 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 3361 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3382 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 3362 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3383 echo "$as_me:3382: checking for $ac_word" >&5 3363 echo "$as_me:3363: checking for $ac_word" >&5
3384 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3364 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3385 if test "${ac_cv_prog_RANLIB+set}" = set; then 3365 if test "${ac_cv_prog_RANLIB+set}" = set; then
3386 echo $ECHO_N "(cached) $ECHO_C" >&6 3366 echo $ECHO_N "(cached) $ECHO_C" >&6
3387 else 3367 else
3388 if test -n "$RANLIB"; then 3368 if test -n "$RANLIB"; then
3393 for ac_dir in $ac_dummy; do 3373 for ac_dir in $ac_dummy; do
3394 IFS=$ac_save_IFS 3374 IFS=$ac_save_IFS
3395 test -z "$ac_dir" && ac_dir=. 3375 test -z "$ac_dir" && ac_dir=.
3396 $as_executable_p "$ac_dir/$ac_word" || continue 3376 $as_executable_p "$ac_dir/$ac_word" || continue
3397 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 3377 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3398 echo "$as_me:3397: found $ac_dir/$ac_word" >&5 3378 echo "$as_me:3378: found $ac_dir/$ac_word" >&5
3399 break 3379 break
3400 done 3380 done
3401 3381
3402 fi 3382 fi
3403 fi 3383 fi
3404 RANLIB=$ac_cv_prog_RANLIB 3384 RANLIB=$ac_cv_prog_RANLIB
3405 if test -n "$RANLIB"; then 3385 if test -n "$RANLIB"; then
3406 echo "$as_me:3405: result: $RANLIB" >&5 3386 echo "$as_me:3386: result: $RANLIB" >&5
3407 echo "${ECHO_T}$RANLIB" >&6 3387 echo "${ECHO_T}$RANLIB" >&6
3408 else 3388 else
3409 echo "$as_me:3408: result: no" >&5 3389 echo "$as_me:3389: result: no" >&5
3410 echo "${ECHO_T}no" >&6 3390 echo "${ECHO_T}no" >&6
3411 fi 3391 fi
3412 3392
3413 fi 3393 fi
3414 if test -z "$ac_cv_prog_RANLIB"; then 3394 if test -z "$ac_cv_prog_RANLIB"; then
3415 ac_ct_RANLIB=$RANLIB 3395 ac_ct_RANLIB=$RANLIB
3416 # Extract the first word of "ranlib", so it can be a program name with args. 3396 # Extract the first word of "ranlib", so it can be a program name with args.
3417 set dummy ranlib; ac_word=$2 3397 set dummy ranlib; ac_word=$2
3418 echo "$as_me:3417: checking for $ac_word" >&5 3398 echo "$as_me:3398: checking for $ac_word" >&5
3419 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3399 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3420 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 3400 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3421 echo $ECHO_N "(cached) $ECHO_C" >&6 3401 echo $ECHO_N "(cached) $ECHO_C" >&6
3422 else 3402 else
3423 if test -n "$ac_ct_RANLIB"; then 3403 if test -n "$ac_ct_RANLIB"; then
3428 for ac_dir in $ac_dummy; do 3408 for ac_dir in $ac_dummy; do
3429 IFS=$ac_save_IFS 3409 IFS=$ac_save_IFS
3430 test -z "$ac_dir" && ac_dir=. 3410 test -z "$ac_dir" && ac_dir=.
3431 $as_executable_p "$ac_dir/$ac_word" || continue 3411 $as_executable_p "$ac_dir/$ac_word" || continue
3432 ac_cv_prog_ac_ct_RANLIB="ranlib" 3412 ac_cv_prog_ac_ct_RANLIB="ranlib"
3433 echo "$as_me:3432: found $ac_dir/$ac_word" >&5 3413 echo "$as_me:3413: found $ac_dir/$ac_word" >&5
3434 break 3414 break
3435 done 3415 done
3436 3416
3437 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" 3417 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3438 fi 3418 fi
3439 fi 3419 fi
3440 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 3420 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3441 if test -n "$ac_ct_RANLIB"; then 3421 if test -n "$ac_ct_RANLIB"; then
3442 echo "$as_me:3441: result: $ac_ct_RANLIB" >&5 3422 echo "$as_me:3422: result: $ac_ct_RANLIB" >&5
3443 echo "${ECHO_T}$ac_ct_RANLIB" >&6 3423 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3444 else 3424 else
3445 echo "$as_me:3444: result: no" >&5 3425 echo "$as_me:3425: result: no" >&5
3446 echo "${ECHO_T}no" >&6 3426 echo "${ECHO_T}no" >&6
3447 fi 3427 fi
3448 3428
3449 RANLIB=$ac_ct_RANLIB 3429 RANLIB=$ac_ct_RANLIB
3450 else 3430 else
3451 RANLIB="$ac_cv_prog_RANLIB" 3431 RANLIB="$ac_cv_prog_RANLIB"
3452 fi 3432 fi
3453 3433
3454 fi 3434 fi
3455 3435
3456 echo "$as_me:3455: checking for AIX" >&5 3436 echo "$as_me:3436: checking for AIX" >&5
3457 echo $ECHO_N "checking for AIX... $ECHO_C" >&6 3437 echo $ECHO_N "checking for AIX... $ECHO_C" >&6
3458 cat >conftest.$ac_ext <<_ACEOF 3438 cat >conftest.$ac_ext <<_ACEOF
3459 #line 3453 "configure" 3439 #line 3439 "configure"
3460 #include "confdefs.h" 3440 #include "confdefs.h"
3461 #ifdef _AIX 3441 #ifdef _AIX
3462 yes 3442 yes
3463 #endif 3443 #endif
3464 3444
3465 _ACEOF 3445 _ACEOF
3466 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3446 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3467 egrep "yes" >/dev/null 2>&1; then 3447 egrep "yes" >/dev/null 2>&1; then
3468 echo "$as_me:3467: result: yes" >&5 3448 echo "$as_me:3448: result: yes" >&5
3469 echo "${ECHO_T}yes" >&6 3449 echo "${ECHO_T}yes" >&6
3470 cat >>confdefs.h <<\EOF 3450 cat >>confdefs.h <<\EOF
3471 #define _ALL_SOURCE 1 3451 #define _ALL_SOURCE 1
3472 EOF 3452 EOF
3473 3453
3474 else 3454 else
3475 echo "$as_me:3474: result: no" >&5 3455 echo "$as_me:3455: result: no" >&5
3476 echo "${ECHO_T}no" >&6 3456 echo "${ECHO_T}no" >&6
3477 fi 3457 fi
3478 rm -f conftest* 3458 rm -f conftest*
3479 3459
3480 #### Extract some information from the operating system and machine files. 3460 #### Extract some information from the operating system and machine files.
3481 3461
3482 { echo "$as_me:3481: checking the machine- and system-dependent files to find out 3462 { echo "$as_me:3462: checking the machine- and system-dependent files to find out
3483 - which libraries the lib-src programs will want, and 3463 - which libraries the lib-src programs will want, and
3484 - whether the GNU malloc routines are usable..." >&5 3464 - whether the GNU malloc routines are usable..." >&5
3485 echo "$as_me: checking the machine- and system-dependent files to find out 3465 echo "$as_me: checking the machine- and system-dependent files to find out
3486 - which libraries the lib-src programs will want, and 3466 - which libraries the lib-src programs will want, and
3487 - whether the GNU malloc routines are usable..." >&6;} 3467 - whether the GNU malloc routines are usable..." >&6;}
3627 enableval="$enable_largefile" 3607 enableval="$enable_largefile"
3628 3608
3629 fi; 3609 fi;
3630 if test "$enable_largefile" != no; then 3610 if test "$enable_largefile" != no; then
3631 3611
3632 echo "$as_me:3631: checking for special C compiler options needed for large files" >&5 3612 echo "$as_me:3612: checking for special C compiler options needed for large files" >&5
3633 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6 3613 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
3634 if test "${ac_cv_sys_largefile_CC+set}" = set; then 3614 if test "${ac_cv_sys_largefile_CC+set}" = set; then
3635 echo $ECHO_N "(cached) $ECHO_C" >&6 3615 echo $ECHO_N "(cached) $ECHO_C" >&6
3636 else 3616 else
3637 ac_cv_sys_largefile_CC=no 3617 ac_cv_sys_largefile_CC=no
3639 ac_save_CC=$CC 3619 ac_save_CC=$CC
3640 while :; do 3620 while :; do
3641 # IRIX 6.2 and later do not support large files by default, 3621 # IRIX 6.2 and later do not support large files by default,
3642 # so use the C compiler's -n32 option if that helps. 3622 # so use the C compiler's -n32 option if that helps.
3643 cat >conftest.$ac_ext <<_ACEOF 3623 cat >conftest.$ac_ext <<_ACEOF
3644 #line 3638 "configure" 3624 #line 3624 "configure"
3645 #include "confdefs.h" 3625 #include "confdefs.h"
3646 #include <sys/types.h> 3626 #include <sys/types.h>
3647 /* Check that off_t can represent 2**63 - 1 correctly. 3627 /* Check that off_t can represent 2**63 - 1 correctly.
3648 We can't simply define LARGE_OFF_T to be 9223372036854775807, 3628 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3649 since some C++ compilers masquerading as C compilers 3629 since some C++ compilers masquerading as C compilers
3659 ; 3639 ;
3660 return 0; 3640 return 0;
3661 } 3641 }
3662 _ACEOF 3642 _ACEOF
3663 rm -f conftest.$ac_objext 3643 rm -f conftest.$ac_objext
3644 if { (eval echo "$as_me:3644: \"$ac_compile\"") >&5
3645 (eval $ac_compile) 2>&5
3646 ac_status=$?
3647 echo "$as_me:3647: \$? = $ac_status" >&5
3648 (exit $ac_status); } &&
3649 { ac_try='test -s conftest.$ac_objext'
3650 { (eval echo "$as_me:3650: \"$ac_try\"") >&5
3651 (eval $ac_try) 2>&5
3652 ac_status=$?
3653 echo "$as_me:3653: \$? = $ac_status" >&5
3654 (exit $ac_status); }; }; then
3655 break
3656 else
3657 echo "$as_me: failed program was:" >&5
3658 cat conftest.$ac_ext >&5
3659 fi
3660 rm -f conftest.$ac_objext
3661 CC="$CC -n32"
3662 rm -f conftest.$ac_objext
3664 if { (eval echo "$as_me:3663: \"$ac_compile\"") >&5 3663 if { (eval echo "$as_me:3663: \"$ac_compile\"") >&5
3665 (eval $ac_compile) 2>&5 3664 (eval $ac_compile) 2>&5
3666 ac_status=$? 3665 ac_status=$?
3667 echo "$as_me:3666: \$? = $ac_status" >&5 3666 echo "$as_me:3666: \$? = $ac_status" >&5
3668 (exit $ac_status); } && 3667 (exit $ac_status); } &&
3669 { ac_try='test -s conftest.$ac_objext' 3668 { ac_try='test -s conftest.$ac_objext'
3670 { (eval echo "$as_me:3669: \"$ac_try\"") >&5 3669 { (eval echo "$as_me:3669: \"$ac_try\"") >&5
3671 (eval $ac_try) 2>&5 3670 (eval $ac_try) 2>&5
3672 ac_status=$? 3671 ac_status=$?
3673 echo "$as_me:3672: \$? = $ac_status" >&5 3672 echo "$as_me:3672: \$? = $ac_status" >&5
3674 (exit $ac_status); }; }; then
3675 break
3676 else
3677 echo "$as_me: failed program was:" >&5
3678 cat conftest.$ac_ext >&5
3679 fi
3680 rm -f conftest.$ac_objext
3681 CC="$CC -n32"
3682 rm -f conftest.$ac_objext
3683 if { (eval echo "$as_me:3682: \"$ac_compile\"") >&5
3684 (eval $ac_compile) 2>&5
3685 ac_status=$?
3686 echo "$as_me:3685: \$? = $ac_status" >&5
3687 (exit $ac_status); } &&
3688 { ac_try='test -s conftest.$ac_objext'
3689 { (eval echo "$as_me:3688: \"$ac_try\"") >&5
3690 (eval $ac_try) 2>&5
3691 ac_status=$?
3692 echo "$as_me:3691: \$? = $ac_status" >&5
3693 (exit $ac_status); }; }; then 3673 (exit $ac_status); }; }; then
3694 ac_cv_sys_largefile_CC=' -n32'; break 3674 ac_cv_sys_largefile_CC=' -n32'; break
3695 else 3675 else
3696 echo "$as_me: failed program was:" >&5 3676 echo "$as_me: failed program was:" >&5
3697 cat conftest.$ac_ext >&5 3677 cat conftest.$ac_ext >&5
3701 done 3681 done
3702 CC=$ac_save_CC 3682 CC=$ac_save_CC
3703 rm -f conftest.$ac_ext 3683 rm -f conftest.$ac_ext
3704 fi 3684 fi
3705 fi 3685 fi
3706 echo "$as_me:3705: result: $ac_cv_sys_largefile_CC" >&5 3686 echo "$as_me:3686: result: $ac_cv_sys_largefile_CC" >&5
3707 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6 3687 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
3708 if test "$ac_cv_sys_largefile_CC" != no; then 3688 if test "$ac_cv_sys_largefile_CC" != no; then
3709 CC=$CC$ac_cv_sys_largefile_CC 3689 CC=$CC$ac_cv_sys_largefile_CC
3710 fi 3690 fi
3711 3691
3712 echo "$as_me:3711: checking for _FILE_OFFSET_BITS value needed for large files" >&5 3692 echo "$as_me:3692: checking for _FILE_OFFSET_BITS value needed for large files" >&5
3713 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6 3693 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
3714 if test "${ac_cv_sys_file_offset_bits+set}" = set; then 3694 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
3715 echo $ECHO_N "(cached) $ECHO_C" >&6 3695 echo $ECHO_N "(cached) $ECHO_C" >&6
3716 else 3696 else
3717 while :; do 3697 while :; do
3718 ac_cv_sys_file_offset_bits=no 3698 ac_cv_sys_file_offset_bits=no
3719 cat >conftest.$ac_ext <<_ACEOF 3699 cat >conftest.$ac_ext <<_ACEOF
3720 #line 3714 "configure" 3700 #line 3700 "configure"
3721 #include "confdefs.h" 3701 #include "confdefs.h"
3722 #include <sys/types.h> 3702 #include <sys/types.h>
3723 /* Check that off_t can represent 2**63 - 1 correctly. 3703 /* Check that off_t can represent 2**63 - 1 correctly.
3724 We can't simply define LARGE_OFF_T to be 9223372036854775807, 3704 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3725 since some C++ compilers masquerading as C compilers 3705 since some C++ compilers masquerading as C compilers
3735 ; 3715 ;
3736 return 0; 3716 return 0;
3737 } 3717 }
3738 _ACEOF 3718 _ACEOF
3739 rm -f conftest.$ac_objext 3719 rm -f conftest.$ac_objext
3740 if { (eval echo "$as_me:3739: \"$ac_compile\"") >&5 3720 if { (eval echo "$as_me:3720: \"$ac_compile\"") >&5
3741 (eval $ac_compile) 2>&5 3721 (eval $ac_compile) 2>&5
3742 ac_status=$? 3722 ac_status=$?
3743 echo "$as_me:3742: \$? = $ac_status" >&5 3723 echo "$as_me:3723: \$? = $ac_status" >&5
3744 (exit $ac_status); } && 3724 (exit $ac_status); } &&
3745 { ac_try='test -s conftest.$ac_objext' 3725 { ac_try='test -s conftest.$ac_objext'
3746 { (eval echo "$as_me:3745: \"$ac_try\"") >&5 3726 { (eval echo "$as_me:3726: \"$ac_try\"") >&5
3747 (eval $ac_try) 2>&5 3727 (eval $ac_try) 2>&5
3748 ac_status=$? 3728 ac_status=$?
3749 echo "$as_me:3748: \$? = $ac_status" >&5 3729 echo "$as_me:3729: \$? = $ac_status" >&5
3750 (exit $ac_status); }; }; then 3730 (exit $ac_status); }; }; then
3751 break 3731 break
3752 else 3732 else
3753 echo "$as_me: failed program was:" >&5 3733 echo "$as_me: failed program was:" >&5
3754 cat conftest.$ac_ext >&5 3734 cat conftest.$ac_ext >&5
3755 fi 3735 fi
3756 rm -f conftest.$ac_objext conftest.$ac_ext 3736 rm -f conftest.$ac_objext conftest.$ac_ext
3757 cat >conftest.$ac_ext <<_ACEOF 3737 cat >conftest.$ac_ext <<_ACEOF
3758 #line 3752 "configure" 3738 #line 3738 "configure"
3759 #include "confdefs.h" 3739 #include "confdefs.h"
3760 #define _FILE_OFFSET_BITS 64 3740 #define _FILE_OFFSET_BITS 64
3761 #include <sys/types.h> 3741 #include <sys/types.h>
3762 /* Check that off_t can represent 2**63 - 1 correctly. 3742 /* Check that off_t can represent 2**63 - 1 correctly.
3763 We can't simply define LARGE_OFF_T to be 9223372036854775807, 3743 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3774 ; 3754 ;
3775 return 0; 3755 return 0;
3776 } 3756 }
3777 _ACEOF 3757 _ACEOF
3778 rm -f conftest.$ac_objext 3758 rm -f conftest.$ac_objext
3779 if { (eval echo "$as_me:3778: \"$ac_compile\"") >&5 3759 if { (eval echo "$as_me:3759: \"$ac_compile\"") >&5
3780 (eval $ac_compile) 2>&5 3760 (eval $ac_compile) 2>&5
3781 ac_status=$? 3761 ac_status=$?
3782 echo "$as_me:3781: \$? = $ac_status" >&5 3762 echo "$as_me:3762: \$? = $ac_status" >&5
3783 (exit $ac_status); } && 3763 (exit $ac_status); } &&
3784 { ac_try='test -s conftest.$ac_objext' 3764 { ac_try='test -s conftest.$ac_objext'
3785 { (eval echo "$as_me:3784: \"$ac_try\"") >&5 3765 { (eval echo "$as_me:3765: \"$ac_try\"") >&5
3786 (eval $ac_try) 2>&5 3766 (eval $ac_try) 2>&5
3787 ac_status=$? 3767 ac_status=$?
3788 echo "$as_me:3787: \$? = $ac_status" >&5 3768 echo "$as_me:3768: \$? = $ac_status" >&5
3789 (exit $ac_status); }; }; then 3769 (exit $ac_status); }; }; then
3790 ac_cv_sys_file_offset_bits=64; break 3770 ac_cv_sys_file_offset_bits=64; break
3791 else 3771 else
3792 echo "$as_me: failed program was:" >&5 3772 echo "$as_me: failed program was:" >&5
3793 cat conftest.$ac_ext >&5 3773 cat conftest.$ac_ext >&5
3794 fi 3774 fi
3795 rm -f conftest.$ac_objext conftest.$ac_ext 3775 rm -f conftest.$ac_objext conftest.$ac_ext
3796 break 3776 break
3797 done 3777 done
3798 fi 3778 fi
3799 echo "$as_me:3798: result: $ac_cv_sys_file_offset_bits" >&5 3779 echo "$as_me:3779: result: $ac_cv_sys_file_offset_bits" >&5
3800 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6 3780 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
3801 if test "$ac_cv_sys_file_offset_bits" != no; then 3781 if test "$ac_cv_sys_file_offset_bits" != no; then
3802 3782
3803 cat >>confdefs.h <<EOF 3783 cat >>confdefs.h <<EOF
3804 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits 3784 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
3805 EOF 3785 EOF
3806 3786
3807 fi 3787 fi
3808 rm -f conftest* 3788 rm -f conftest*
3809 echo "$as_me:3808: checking for _LARGE_FILES value needed for large files" >&5 3789 echo "$as_me:3789: checking for _LARGE_FILES value needed for large files" >&5
3810 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6 3790 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
3811 if test "${ac_cv_sys_large_files+set}" = set; then 3791 if test "${ac_cv_sys_large_files+set}" = set; then
3812 echo $ECHO_N "(cached) $ECHO_C" >&6 3792 echo $ECHO_N "(cached) $ECHO_C" >&6
3813 else 3793 else
3814 while :; do 3794 while :; do
3815 ac_cv_sys_large_files=no 3795 ac_cv_sys_large_files=no
3816 cat >conftest.$ac_ext <<_ACEOF 3796 cat >conftest.$ac_ext <<_ACEOF
3817 #line 3811 "configure" 3797 #line 3797 "configure"
3818 #include "confdefs.h" 3798 #include "confdefs.h"
3819 #include <sys/types.h> 3799 #include <sys/types.h>
3820 /* Check that off_t can represent 2**63 - 1 correctly. 3800 /* Check that off_t can represent 2**63 - 1 correctly.
3821 We can't simply define LARGE_OFF_T to be 9223372036854775807, 3801 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3822 since some C++ compilers masquerading as C compilers 3802 since some C++ compilers masquerading as C compilers
3832 ; 3812 ;
3833 return 0; 3813 return 0;
3834 } 3814 }
3835 _ACEOF 3815 _ACEOF
3836 rm -f conftest.$ac_objext 3816 rm -f conftest.$ac_objext
3837 if { (eval echo "$as_me:3836: \"$ac_compile\"") >&5 3817 if { (eval echo "$as_me:3817: \"$ac_compile\"") >&5
3838 (eval $ac_compile) 2>&5 3818 (eval $ac_compile) 2>&5
3839 ac_status=$? 3819 ac_status=$?
3840 echo "$as_me:3839: \$? = $ac_status" >&5 3820 echo "$as_me:3820: \$? = $ac_status" >&5
3841 (exit $ac_status); } && 3821 (exit $ac_status); } &&
3842 { ac_try='test -s conftest.$ac_objext' 3822 { ac_try='test -s conftest.$ac_objext'
3843 { (eval echo "$as_me:3842: \"$ac_try\"") >&5 3823 { (eval echo "$as_me:3823: \"$ac_try\"") >&5
3844 (eval $ac_try) 2>&5 3824 (eval $ac_try) 2>&5
3845 ac_status=$? 3825 ac_status=$?
3846 echo "$as_me:3845: \$? = $ac_status" >&5 3826 echo "$as_me:3826: \$? = $ac_status" >&5
3847 (exit $ac_status); }; }; then 3827 (exit $ac_status); }; }; then
3848 break 3828 break
3849 else 3829 else
3850 echo "$as_me: failed program was:" >&5 3830 echo "$as_me: failed program was:" >&5
3851 cat conftest.$ac_ext >&5 3831 cat conftest.$ac_ext >&5
3852 fi 3832 fi
3853 rm -f conftest.$ac_objext conftest.$ac_ext 3833 rm -f conftest.$ac_objext conftest.$ac_ext
3854 cat >conftest.$ac_ext <<_ACEOF 3834 cat >conftest.$ac_ext <<_ACEOF
3855 #line 3849 "configure" 3835 #line 3835 "configure"
3856 #include "confdefs.h" 3836 #include "confdefs.h"
3857 #define _LARGE_FILES 1 3837 #define _LARGE_FILES 1
3858 #include <sys/types.h> 3838 #include <sys/types.h>
3859 /* Check that off_t can represent 2**63 - 1 correctly. 3839 /* Check that off_t can represent 2**63 - 1 correctly.
3860 We can't simply define LARGE_OFF_T to be 9223372036854775807, 3840 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3871 ; 3851 ;
3872 return 0; 3852 return 0;
3873 } 3853 }
3874 _ACEOF 3854 _ACEOF
3875 rm -f conftest.$ac_objext 3855 rm -f conftest.$ac_objext
3876 if { (eval echo "$as_me:3875: \"$ac_compile\"") >&5 3856 if { (eval echo "$as_me:3856: \"$ac_compile\"") >&5
3877 (eval $ac_compile) 2>&5 3857 (eval $ac_compile) 2>&5
3878 ac_status=$? 3858 ac_status=$?
3879 echo "$as_me:3878: \$? = $ac_status" >&5 3859 echo "$as_me:3859: \$? = $ac_status" >&5
3880 (exit $ac_status); } && 3860 (exit $ac_status); } &&
3881 { ac_try='test -s conftest.$ac_objext' 3861 { ac_try='test -s conftest.$ac_objext'
3882 { (eval echo "$as_me:3881: \"$ac_try\"") >&5 3862 { (eval echo "$as_me:3862: \"$ac_try\"") >&5
3883 (eval $ac_try) 2>&5 3863 (eval $ac_try) 2>&5
3884 ac_status=$? 3864 ac_status=$?
3885 echo "$as_me:3884: \$? = $ac_status" >&5 3865 echo "$as_me:3865: \$? = $ac_status" >&5
3886 (exit $ac_status); }; }; then 3866 (exit $ac_status); }; }; then
3887 ac_cv_sys_large_files=1; break 3867 ac_cv_sys_large_files=1; break
3888 else 3868 else
3889 echo "$as_me: failed program was:" >&5 3869 echo "$as_me: failed program was:" >&5
3890 cat conftest.$ac_ext >&5 3870 cat conftest.$ac_ext >&5
3891 fi 3871 fi
3892 rm -f conftest.$ac_objext conftest.$ac_ext 3872 rm -f conftest.$ac_objext conftest.$ac_ext
3893 break 3873 break
3894 done 3874 done
3895 fi 3875 fi
3896 echo "$as_me:3895: result: $ac_cv_sys_large_files" >&5 3876 echo "$as_me:3876: result: $ac_cv_sys_large_files" >&5
3897 echo "${ECHO_T}$ac_cv_sys_large_files" >&6 3877 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
3898 if test "$ac_cv_sys_large_files" != no; then 3878 if test "$ac_cv_sys_large_files" != no; then
3899 3879
3900 cat >>confdefs.h <<EOF 3880 cat >>confdefs.h <<EOF
3901 #define _LARGE_FILES $ac_cv_sys_large_files 3881 #define _LARGE_FILES $ac_cv_sys_large_files
3909 # Sound support for GNU/Linux and the free BSDs. 3889 # Sound support for GNU/Linux and the free BSDs.
3910 3890
3911 for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h 3891 for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h
3912 do 3892 do
3913 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3893 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3914 echo "$as_me:3913: checking for $ac_header" >&5 3894 echo "$as_me:3894: checking for $ac_header" >&5
3915 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3895 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3916 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3896 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3917 echo $ECHO_N "(cached) $ECHO_C" >&6 3897 echo $ECHO_N "(cached) $ECHO_C" >&6
3918 else 3898 else
3919 cat >conftest.$ac_ext <<_ACEOF 3899 cat >conftest.$ac_ext <<_ACEOF
3920 #line 3914 "configure" 3900 #line 3900 "configure"
3921 #include "confdefs.h" 3901 #include "confdefs.h"
3922 #include <$ac_header> 3902 #include <$ac_header>
3923 _ACEOF 3903 _ACEOF
3924 if { (eval echo "$as_me:3923: \"$ac_cpp conftest.$ac_ext\"") >&5 3904 if { (eval echo "$as_me:3904: \"$ac_cpp conftest.$ac_ext\"") >&5
3925 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3905 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3926 ac_status=$? 3906 ac_status=$?
3927 egrep -v '^ *\+' conftest.er1 >conftest.err 3907 egrep -v '^ *\+' conftest.er1 >conftest.err
3928 rm -f conftest.er1 3908 rm -f conftest.er1
3929 cat conftest.err >&5 3909 cat conftest.err >&5
3930 echo "$as_me:3929: \$? = $ac_status" >&5 3910 echo "$as_me:3910: \$? = $ac_status" >&5
3931 (exit $ac_status); } >/dev/null; then 3911 (exit $ac_status); } >/dev/null; then
3932 if test -s conftest.err; then 3912 if test -s conftest.err; then
3933 ac_cpp_err=$ac_c_preproc_warn_flag 3913 ac_cpp_err=$ac_c_preproc_warn_flag
3934 else 3914 else
3935 ac_cpp_err= 3915 ac_cpp_err=
3944 cat conftest.$ac_ext >&5 3924 cat conftest.$ac_ext >&5
3945 eval "$as_ac_Header=no" 3925 eval "$as_ac_Header=no"
3946 fi 3926 fi
3947 rm -f conftest.err conftest.$ac_ext 3927 rm -f conftest.err conftest.$ac_ext
3948 fi 3928 fi
3949 echo "$as_me:3948: result: `eval echo '${'$as_ac_Header'}'`" >&5 3929 echo "$as_me:3929: result: `eval echo '${'$as_ac_Header'}'`" >&5
3950 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3930 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3951 if test `eval echo '${'$as_ac_Header'}'` = yes; then 3931 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3952 cat >>confdefs.h <<EOF 3932 cat >>confdefs.h <<EOF
3953 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 3933 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3954 EOF 3934 EOF
3955 3935
3956 fi 3936 fi
3957 done 3937 done
3958 3938
3959 # Emulation library used on NetBSD. 3939 # Emulation library used on NetBSD.
3960 echo "$as_me:3959: checking for _oss_ioctl in -lossaudio" >&5 3940 echo "$as_me:3940: checking for _oss_ioctl in -lossaudio" >&5
3961 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6 3941 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
3962 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then 3942 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
3963 echo $ECHO_N "(cached) $ECHO_C" >&6 3943 echo $ECHO_N "(cached) $ECHO_C" >&6
3964 else 3944 else
3965 ac_check_lib_save_LIBS=$LIBS 3945 ac_check_lib_save_LIBS=$LIBS
3966 LIBS="-lossaudio $LIBS" 3946 LIBS="-lossaudio $LIBS"
3967 cat >conftest.$ac_ext <<_ACEOF 3947 cat >conftest.$ac_ext <<_ACEOF
3968 #line 3962 "configure" 3948 #line 3948 "configure"
3969 #include "confdefs.h" 3949 #include "confdefs.h"
3970 3950
3971 /* Override any gcc2 internal prototype to avoid an error. */ 3951 /* Override any gcc2 internal prototype to avoid an error. */
3972 #ifdef __cplusplus 3952 #ifdef __cplusplus
3973 extern "C" 3953 extern "C"
3982 ; 3962 ;
3983 return 0; 3963 return 0;
3984 } 3964 }
3985 _ACEOF 3965 _ACEOF
3986 rm -f conftest.$ac_objext conftest$ac_exeext 3966 rm -f conftest.$ac_objext conftest$ac_exeext
3987 if { (eval echo "$as_me:3986: \"$ac_link\"") >&5 3967 if { (eval echo "$as_me:3967: \"$ac_link\"") >&5
3988 (eval $ac_link) 2>&5 3968 (eval $ac_link) 2>&5
3989 ac_status=$? 3969 ac_status=$?
3990 echo "$as_me:3989: \$? = $ac_status" >&5 3970 echo "$as_me:3970: \$? = $ac_status" >&5
3991 (exit $ac_status); } && 3971 (exit $ac_status); } &&
3992 { ac_try='test -s conftest$ac_exeext' 3972 { ac_try='test -s conftest$ac_exeext'
3993 { (eval echo "$as_me:3992: \"$ac_try\"") >&5 3973 { (eval echo "$as_me:3973: \"$ac_try\"") >&5
3994 (eval $ac_try) 2>&5 3974 (eval $ac_try) 2>&5
3995 ac_status=$? 3975 ac_status=$?
3996 echo "$as_me:3995: \$? = $ac_status" >&5 3976 echo "$as_me:3976: \$? = $ac_status" >&5
3997 (exit $ac_status); }; }; then 3977 (exit $ac_status); }; }; then
3998 ac_cv_lib_ossaudio__oss_ioctl=yes 3978 ac_cv_lib_ossaudio__oss_ioctl=yes
3999 else 3979 else
4000 echo "$as_me: failed program was:" >&5 3980 echo "$as_me: failed program was:" >&5
4001 cat conftest.$ac_ext >&5 3981 cat conftest.$ac_ext >&5
4002 ac_cv_lib_ossaudio__oss_ioctl=no 3982 ac_cv_lib_ossaudio__oss_ioctl=no
4003 fi 3983 fi
4004 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3984 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4005 LIBS=$ac_check_lib_save_LIBS 3985 LIBS=$ac_check_lib_save_LIBS
4006 fi 3986 fi
4007 echo "$as_me:4006: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5 3987 echo "$as_me:3987: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
4008 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6 3988 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
4009 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then 3989 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
4010 LIBSOUND=-lossaudio 3990 LIBSOUND=-lossaudio
4011 else 3991 else
4012 LIBSOUND= 3992 LIBSOUND=
4017 for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \ 3997 for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \
4018 linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \ 3998 linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \
4019 termcap.h stdio_ext.h fcntl.h term.h strings.h coff.h 3999 termcap.h stdio_ext.h fcntl.h term.h strings.h coff.h
4020 do 4000 do
4021 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4001 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4022 echo "$as_me:4021: checking for $ac_header" >&5 4002 echo "$as_me:4002: checking for $ac_header" >&5
4023 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4003 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4024 if eval "test \"\${$as_ac_Header+set}\" = set"; then 4004 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4025 echo $ECHO_N "(cached) $ECHO_C" >&6 4005 echo $ECHO_N "(cached) $ECHO_C" >&6
4026 else 4006 else
4027 cat >conftest.$ac_ext <<_ACEOF 4007 cat >conftest.$ac_ext <<_ACEOF
4028 #line 4022 "configure" 4008 #line 4008 "configure"
4029 #include "confdefs.h" 4009 #include "confdefs.h"
4030 #include <$ac_header> 4010 #include <$ac_header>
4031 _ACEOF 4011 _ACEOF
4032 if { (eval echo "$as_me:4031: \"$ac_cpp conftest.$ac_ext\"") >&5 4012 if { (eval echo "$as_me:4012: \"$ac_cpp conftest.$ac_ext\"") >&5
4033 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4013 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4034 ac_status=$? 4014 ac_status=$?
4035 egrep -v '^ *\+' conftest.er1 >conftest.err 4015 egrep -v '^ *\+' conftest.er1 >conftest.err
4036 rm -f conftest.er1 4016 rm -f conftest.er1
4037 cat conftest.err >&5 4017 cat conftest.err >&5
4038 echo "$as_me:4037: \$? = $ac_status" >&5 4018 echo "$as_me:4018: \$? = $ac_status" >&5
4039 (exit $ac_status); } >/dev/null; then 4019 (exit $ac_status); } >/dev/null; then
4040 if test -s conftest.err; then 4020 if test -s conftest.err; then
4041 ac_cpp_err=$ac_c_preproc_warn_flag 4021 ac_cpp_err=$ac_c_preproc_warn_flag
4042 else 4022 else
4043 ac_cpp_err= 4023 ac_cpp_err=
4052 cat conftest.$ac_ext >&5 4032 cat conftest.$ac_ext >&5
4053 eval "$as_ac_Header=no" 4033 eval "$as_ac_Header=no"
4054 fi 4034 fi
4055 rm -f conftest.err conftest.$ac_ext 4035 rm -f conftest.err conftest.$ac_ext
4056 fi 4036 fi
4057 echo "$as_me:4056: result: `eval echo '${'$as_ac_Header'}'`" >&5 4037 echo "$as_me:4037: result: `eval echo '${'$as_ac_Header'}'`" >&5
4058 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4038 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4059 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4039 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4060 cat >>confdefs.h <<EOF 4040 cat >>confdefs.h <<EOF
4061 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4041 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4062 EOF 4042 EOF
4063 4043
4064 fi 4044 fi
4065 done 4045 done
4066 4046
4067 echo "$as_me:4066: checking for ANSI C header files" >&5 4047 echo "$as_me:4047: checking for ANSI C header files" >&5
4068 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 4048 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4069 if test "${ac_cv_header_stdc+set}" = set; then 4049 if test "${ac_cv_header_stdc+set}" = set; then
4070 echo $ECHO_N "(cached) $ECHO_C" >&6 4050 echo $ECHO_N "(cached) $ECHO_C" >&6
4071 else 4051 else
4072 cat >conftest.$ac_ext <<_ACEOF 4052 cat >conftest.$ac_ext <<_ACEOF
4073 #line 4067 "configure" 4053 #line 4053 "configure"
4074 #include "confdefs.h" 4054 #include "confdefs.h"
4075 #include <stdlib.h> 4055 #include <stdlib.h>
4076 #include <stdarg.h> 4056 #include <stdarg.h>
4077 #include <string.h> 4057 #include <string.h>
4078 #include <float.h> 4058 #include <float.h>
4079 4059
4080 _ACEOF 4060 _ACEOF
4081 if { (eval echo "$as_me:4080: \"$ac_cpp conftest.$ac_ext\"") >&5 4061 if { (eval echo "$as_me:4061: \"$ac_cpp conftest.$ac_ext\"") >&5
4082 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4062 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4083 ac_status=$? 4063 ac_status=$?
4084 egrep -v '^ *\+' conftest.er1 >conftest.err 4064 egrep -v '^ *\+' conftest.er1 >conftest.err
4085 rm -f conftest.er1 4065 rm -f conftest.er1
4086 cat conftest.err >&5 4066 cat conftest.err >&5
4087 echo "$as_me:4086: \$? = $ac_status" >&5 4067 echo "$as_me:4067: \$? = $ac_status" >&5
4088 (exit $ac_status); } >/dev/null; then 4068 (exit $ac_status); } >/dev/null; then
4089 if test -s conftest.err; then 4069 if test -s conftest.err; then
4090 ac_cpp_err=$ac_c_preproc_warn_flag 4070 ac_cpp_err=$ac_c_preproc_warn_flag
4091 else 4071 else
4092 ac_cpp_err= 4072 ac_cpp_err=
4104 rm -f conftest.err conftest.$ac_ext 4084 rm -f conftest.err conftest.$ac_ext
4105 4085
4106 if test $ac_cv_header_stdc = yes; then 4086 if test $ac_cv_header_stdc = yes; then
4107 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4087 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4108 cat >conftest.$ac_ext <<_ACEOF 4088 cat >conftest.$ac_ext <<_ACEOF
4109 #line 4103 "configure" 4089 #line 4089 "configure"
4110 #include "confdefs.h" 4090 #include "confdefs.h"
4111 #include <string.h> 4091 #include <string.h>
4112 4092
4113 _ACEOF 4093 _ACEOF
4114 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4094 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4122 fi 4102 fi
4123 4103
4124 if test $ac_cv_header_stdc = yes; then 4104 if test $ac_cv_header_stdc = yes; then
4125 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4105 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4126 cat >conftest.$ac_ext <<_ACEOF 4106 cat >conftest.$ac_ext <<_ACEOF
4127 #line 4121 "configure" 4107 #line 4107 "configure"
4128 #include "confdefs.h" 4108 #include "confdefs.h"
4129 #include <stdlib.h> 4109 #include <stdlib.h>
4130 4110
4131 _ACEOF 4111 _ACEOF
4132 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4112 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4143 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4123 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4144 if test "$cross_compiling" = yes; then 4124 if test "$cross_compiling" = yes; then
4145 : 4125 :
4146 else 4126 else
4147 cat >conftest.$ac_ext <<_ACEOF 4127 cat >conftest.$ac_ext <<_ACEOF
4148 #line 4142 "configure" 4128 #line 4128 "configure"
4149 #include "confdefs.h" 4129 #include "confdefs.h"
4150 #include <ctype.h> 4130 #include <ctype.h>
4151 #if ((' ' & 0x0FF) == 0x020) 4131 #if ((' ' & 0x0FF) == 0x020)
4152 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4132 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4153 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4133 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4169 exit(2); 4149 exit(2);
4170 exit (0); 4150 exit (0);
4171 } 4151 }
4172 _ACEOF 4152 _ACEOF
4173 rm -f conftest$ac_exeext 4153 rm -f conftest$ac_exeext
4174 if { (eval echo "$as_me:4173: \"$ac_link\"") >&5 4154 if { (eval echo "$as_me:4154: \"$ac_link\"") >&5
4175 (eval $ac_link) 2>&5 4155 (eval $ac_link) 2>&5
4176 ac_status=$? 4156 ac_status=$?
4177 echo "$as_me:4176: \$? = $ac_status" >&5 4157 echo "$as_me:4157: \$? = $ac_status" >&5
4178 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4158 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4179 { (eval echo "$as_me:4178: \"$ac_try\"") >&5 4159 { (eval echo "$as_me:4159: \"$ac_try\"") >&5
4180 (eval $ac_try) 2>&5 4160 (eval $ac_try) 2>&5
4181 ac_status=$? 4161 ac_status=$?
4182 echo "$as_me:4181: \$? = $ac_status" >&5 4162 echo "$as_me:4162: \$? = $ac_status" >&5
4183 (exit $ac_status); }; }; then 4163 (exit $ac_status); }; }; then
4184 : 4164 :
4185 else 4165 else
4186 echo "$as_me: program exited with status $ac_status" >&5 4166 echo "$as_me: program exited with status $ac_status" >&5
4187 echo "$as_me: failed program was:" >&5 4167 echo "$as_me: failed program was:" >&5
4190 fi 4170 fi
4191 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4171 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4192 fi 4172 fi
4193 fi 4173 fi
4194 fi 4174 fi
4195 echo "$as_me:4194: result: $ac_cv_header_stdc" >&5 4175 echo "$as_me:4175: result: $ac_cv_header_stdc" >&5
4196 echo "${ECHO_T}$ac_cv_header_stdc" >&6 4176 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4197 if test $ac_cv_header_stdc = yes; then 4177 if test $ac_cv_header_stdc = yes; then
4198 4178
4199 cat >>confdefs.h <<\EOF 4179 cat >>confdefs.h <<\EOF
4200 #define STDC_HEADERS 1 4180 #define STDC_HEADERS 1
4201 EOF 4181 EOF
4202 4182
4203 fi 4183 fi
4204 4184
4205 echo "$as_me:4204: checking whether time.h and sys/time.h may both be included" >&5 4185 echo "$as_me:4185: checking whether time.h and sys/time.h may both be included" >&5
4206 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 4186 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
4207 if test "${ac_cv_header_time+set}" = set; then 4187 if test "${ac_cv_header_time+set}" = set; then
4208 echo $ECHO_N "(cached) $ECHO_C" >&6 4188 echo $ECHO_N "(cached) $ECHO_C" >&6
4209 else 4189 else
4210 cat >conftest.$ac_ext <<_ACEOF 4190 cat >conftest.$ac_ext <<_ACEOF
4211 #line 4205 "configure" 4191 #line 4191 "configure"
4212 #include "confdefs.h" 4192 #include "confdefs.h"
4213 #include <sys/types.h> 4193 #include <sys/types.h>
4214 #include <sys/time.h> 4194 #include <sys/time.h>
4215 #include <time.h> 4195 #include <time.h>
4216 4196
4222 ; 4202 ;
4223 return 0; 4203 return 0;
4224 } 4204 }
4225 _ACEOF 4205 _ACEOF
4226 rm -f conftest.$ac_objext 4206 rm -f conftest.$ac_objext
4227 if { (eval echo "$as_me:4226: \"$ac_compile\"") >&5 4207 if { (eval echo "$as_me:4207: \"$ac_compile\"") >&5
4228 (eval $ac_compile) 2>&5 4208 (eval $ac_compile) 2>&5
4229 ac_status=$? 4209 ac_status=$?
4230 echo "$as_me:4229: \$? = $ac_status" >&5 4210 echo "$as_me:4210: \$? = $ac_status" >&5
4231 (exit $ac_status); } && 4211 (exit $ac_status); } &&
4232 { ac_try='test -s conftest.$ac_objext' 4212 { ac_try='test -s conftest.$ac_objext'
4233 { (eval echo "$as_me:4232: \"$ac_try\"") >&5 4213 { (eval echo "$as_me:4213: \"$ac_try\"") >&5
4234 (eval $ac_try) 2>&5 4214 (eval $ac_try) 2>&5
4235 ac_status=$? 4215 ac_status=$?
4236 echo "$as_me:4235: \$? = $ac_status" >&5 4216 echo "$as_me:4216: \$? = $ac_status" >&5
4237 (exit $ac_status); }; }; then 4217 (exit $ac_status); }; }; then
4238 ac_cv_header_time=yes 4218 ac_cv_header_time=yes
4239 else 4219 else
4240 echo "$as_me: failed program was:" >&5 4220 echo "$as_me: failed program was:" >&5
4241 cat conftest.$ac_ext >&5 4221 cat conftest.$ac_ext >&5
4242 ac_cv_header_time=no 4222 ac_cv_header_time=no
4243 fi 4223 fi
4244 rm -f conftest.$ac_objext conftest.$ac_ext 4224 rm -f conftest.$ac_objext conftest.$ac_ext
4245 fi 4225 fi
4246 echo "$as_me:4245: result: $ac_cv_header_time" >&5 4226 echo "$as_me:4226: result: $ac_cv_header_time" >&5
4247 echo "${ECHO_T}$ac_cv_header_time" >&6 4227 echo "${ECHO_T}$ac_cv_header_time" >&6
4248 if test $ac_cv_header_time = yes; then 4228 if test $ac_cv_header_time = yes; then
4249 4229
4250 cat >>confdefs.h <<\EOF 4230 cat >>confdefs.h <<\EOF
4251 #define TIME_WITH_SYS_TIME 1 4231 #define TIME_WITH_SYS_TIME 1
4252 EOF 4232 EOF
4253 4233
4254 fi 4234 fi
4255 4235
4256 echo "$as_me:4255: checking for sys_siglist declaration in signal.h or unistd.h" >&5 4236 echo "$as_me:4236: checking for sys_siglist declaration in signal.h or unistd.h" >&5
4257 echo $ECHO_N "checking for sys_siglist declaration in signal.h or unistd.h... $ECHO_C" >&6 4237 echo $ECHO_N "checking for sys_siglist declaration in signal.h or unistd.h... $ECHO_C" >&6
4258 if test "${ac_cv_decl_sys_siglist+set}" = set; then 4238 if test "${ac_cv_decl_sys_siglist+set}" = set; then
4259 echo $ECHO_N "(cached) $ECHO_C" >&6 4239 echo $ECHO_N "(cached) $ECHO_C" >&6
4260 else 4240 else
4261 cat >conftest.$ac_ext <<_ACEOF 4241 cat >conftest.$ac_ext <<_ACEOF
4262 #line 4256 "configure" 4242 #line 4242 "configure"
4263 #include "confdefs.h" 4243 #include "confdefs.h"
4264 #include <sys/types.h> 4244 #include <sys/types.h>
4265 #include <signal.h> 4245 #include <signal.h>
4266 /* NetBSD declares sys_siglist in unistd.h. */ 4246 /* NetBSD declares sys_siglist in unistd.h. */
4267 #if HAVE_UNISTD_H 4247 #if HAVE_UNISTD_H
4275 ; 4255 ;
4276 return 0; 4256 return 0;
4277 } 4257 }
4278 _ACEOF 4258 _ACEOF
4279 rm -f conftest.$ac_objext 4259 rm -f conftest.$ac_objext
4280 if { (eval echo "$as_me:4279: \"$ac_compile\"") >&5 4260 if { (eval echo "$as_me:4260: \"$ac_compile\"") >&5
4281 (eval $ac_compile) 2>&5 4261 (eval $ac_compile) 2>&5
4282 ac_status=$? 4262 ac_status=$?
4283 echo "$as_me:4282: \$? = $ac_status" >&5 4263 echo "$as_me:4263: \$? = $ac_status" >&5
4284 (exit $ac_status); } && 4264 (exit $ac_status); } &&
4285 { ac_try='test -s conftest.$ac_objext' 4265 { ac_try='test -s conftest.$ac_objext'
4286 { (eval echo "$as_me:4285: \"$ac_try\"") >&5 4266 { (eval echo "$as_me:4266: \"$ac_try\"") >&5
4287 (eval $ac_try) 2>&5 4267 (eval $ac_try) 2>&5
4288 ac_status=$? 4268 ac_status=$?
4289 echo "$as_me:4288: \$? = $ac_status" >&5 4269 echo "$as_me:4269: \$? = $ac_status" >&5
4290 (exit $ac_status); }; }; then 4270 (exit $ac_status); }; }; then
4291 ac_cv_decl_sys_siglist=yes 4271 ac_cv_decl_sys_siglist=yes
4292 else 4272 else
4293 echo "$as_me: failed program was:" >&5 4273 echo "$as_me: failed program was:" >&5
4294 cat conftest.$ac_ext >&5 4274 cat conftest.$ac_ext >&5
4295 ac_cv_decl_sys_siglist=no 4275 ac_cv_decl_sys_siglist=no
4296 fi 4276 fi
4297 rm -f conftest.$ac_objext conftest.$ac_ext 4277 rm -f conftest.$ac_objext conftest.$ac_ext
4298 fi 4278 fi
4299 echo "$as_me:4298: result: $ac_cv_decl_sys_siglist" >&5 4279 echo "$as_me:4279: result: $ac_cv_decl_sys_siglist" >&5
4300 echo "${ECHO_T}$ac_cv_decl_sys_siglist" >&6 4280 echo "${ECHO_T}$ac_cv_decl_sys_siglist" >&6
4301 if test $ac_cv_decl_sys_siglist = yes; then 4281 if test $ac_cv_decl_sys_siglist = yes; then
4302 4282
4303 cat >>confdefs.h <<\EOF 4283 cat >>confdefs.h <<\EOF
4304 #define SYS_SIGLIST_DECLARED 1 4284 #define SYS_SIGLIST_DECLARED 1
4305 EOF 4285 EOF
4306 4286
4307 fi 4287 fi
4308 4288
4309 echo "$as_me:4308: checking for sys/wait.h that is POSIX.1 compatible" >&5 4289 echo "$as_me:4289: checking for sys/wait.h that is POSIX.1 compatible" >&5
4310 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6 4290 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
4311 if test "${ac_cv_header_sys_wait_h+set}" = set; then 4291 if test "${ac_cv_header_sys_wait_h+set}" = set; then
4312 echo $ECHO_N "(cached) $ECHO_C" >&6 4292 echo $ECHO_N "(cached) $ECHO_C" >&6
4313 else 4293 else
4314 cat >conftest.$ac_ext <<_ACEOF 4294 cat >conftest.$ac_ext <<_ACEOF
4315 #line 4309 "configure" 4295 #line 4295 "configure"
4316 #include "confdefs.h" 4296 #include "confdefs.h"
4317 #include <sys/types.h> 4297 #include <sys/types.h>
4318 #include <sys/wait.h> 4298 #include <sys/wait.h>
4319 #ifndef WEXITSTATUS 4299 #ifndef WEXITSTATUS
4320 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) 4300 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
4332 ; 4312 ;
4333 return 0; 4313 return 0;
4334 } 4314 }
4335 _ACEOF 4315 _ACEOF
4336 rm -f conftest.$ac_objext 4316 rm -f conftest.$ac_objext
4337 if { (eval echo "$as_me:4336: \"$ac_compile\"") >&5 4317 if { (eval echo "$as_me:4317: \"$ac_compile\"") >&5
4338 (eval $ac_compile) 2>&5 4318 (eval $ac_compile) 2>&5
4339 ac_status=$? 4319 ac_status=$?
4340 echo "$as_me:4339: \$? = $ac_status" >&5 4320 echo "$as_me:4320: \$? = $ac_status" >&5
4341 (exit $ac_status); } && 4321 (exit $ac_status); } &&
4342 { ac_try='test -s conftest.$ac_objext' 4322 { ac_try='test -s conftest.$ac_objext'
4343 { (eval echo "$as_me:4342: \"$ac_try\"") >&5 4323 { (eval echo "$as_me:4323: \"$ac_try\"") >&5
4344 (eval $ac_try) 2>&5 4324 (eval $ac_try) 2>&5
4345 ac_status=$? 4325 ac_status=$?
4346 echo "$as_me:4345: \$? = $ac_status" >&5 4326 echo "$as_me:4326: \$? = $ac_status" >&5
4347 (exit $ac_status); }; }; then 4327 (exit $ac_status); }; }; then
4348 ac_cv_header_sys_wait_h=yes 4328 ac_cv_header_sys_wait_h=yes
4349 else 4329 else
4350 echo "$as_me: failed program was:" >&5 4330 echo "$as_me: failed program was:" >&5
4351 cat conftest.$ac_ext >&5 4331 cat conftest.$ac_ext >&5
4352 ac_cv_header_sys_wait_h=no 4332 ac_cv_header_sys_wait_h=no
4353 fi 4333 fi
4354 rm -f conftest.$ac_objext conftest.$ac_ext 4334 rm -f conftest.$ac_objext conftest.$ac_ext
4355 fi 4335 fi
4356 echo "$as_me:4355: result: $ac_cv_header_sys_wait_h" >&5 4336 echo "$as_me:4336: result: $ac_cv_header_sys_wait_h" >&5
4357 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6 4337 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
4358 if test $ac_cv_header_sys_wait_h = yes; then 4338 if test $ac_cv_header_sys_wait_h = yes; then
4359 4339
4360 cat >>confdefs.h <<\EOF 4340 cat >>confdefs.h <<\EOF
4361 #define HAVE_SYS_WAIT_H 1 4341 #define HAVE_SYS_WAIT_H 1
4362 EOF 4342 EOF
4363 4343
4364 fi 4344 fi
4365 4345
4366 echo "$as_me:4365: checking for struct utimbuf" >&5 4346 echo "$as_me:4346: checking for struct utimbuf" >&5
4367 echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6 4347 echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6
4368 if test "${emacs_cv_struct_utimbuf+set}" = set; then 4348 if test "${emacs_cv_struct_utimbuf+set}" = set; then
4369 echo $ECHO_N "(cached) $ECHO_C" >&6 4349 echo $ECHO_N "(cached) $ECHO_C" >&6
4370 else 4350 else
4371 cat >conftest.$ac_ext <<_ACEOF 4351 cat >conftest.$ac_ext <<_ACEOF
4372 #line 4366 "configure" 4352 #line 4352 "configure"
4373 #include "confdefs.h" 4353 #include "confdefs.h"
4374 #ifdef TIME_WITH_SYS_TIME 4354 #ifdef TIME_WITH_SYS_TIME
4375 #include <sys/time.h> 4355 #include <sys/time.h>
4376 #include <time.h> 4356 #include <time.h>
4377 #else 4357 #else
4391 ; 4371 ;
4392 return 0; 4372 return 0;
4393 } 4373 }
4394 _ACEOF 4374 _ACEOF
4395 rm -f conftest.$ac_objext 4375 rm -f conftest.$ac_objext
4396 if { (eval echo "$as_me:4395: \"$ac_compile\"") >&5 4376 if { (eval echo "$as_me:4376: \"$ac_compile\"") >&5
4397 (eval $ac_compile) 2>&5 4377 (eval $ac_compile) 2>&5
4398 ac_status=$? 4378 ac_status=$?
4399 echo "$as_me:4398: \$? = $ac_status" >&5 4379 echo "$as_me:4379: \$? = $ac_status" >&5
4400 (exit $ac_status); } && 4380 (exit $ac_status); } &&
4401 { ac_try='test -s conftest.$ac_objext' 4381 { ac_try='test -s conftest.$ac_objext'
4402 { (eval echo "$as_me:4401: \"$ac_try\"") >&5 4382 { (eval echo "$as_me:4382: \"$ac_try\"") >&5
4403 (eval $ac_try) 2>&5 4383 (eval $ac_try) 2>&5
4404 ac_status=$? 4384 ac_status=$?
4405 echo "$as_me:4404: \$? = $ac_status" >&5 4385 echo "$as_me:4385: \$? = $ac_status" >&5
4406 (exit $ac_status); }; }; then 4386 (exit $ac_status); }; }; then
4407 emacs_cv_struct_utimbuf=yes 4387 emacs_cv_struct_utimbuf=yes
4408 else 4388 else
4409 echo "$as_me: failed program was:" >&5 4389 echo "$as_me: failed program was:" >&5
4410 cat conftest.$ac_ext >&5 4390 cat conftest.$ac_ext >&5
4411 emacs_cv_struct_utimbuf=no 4391 emacs_cv_struct_utimbuf=no
4412 fi 4392 fi
4413 rm -f conftest.$ac_objext conftest.$ac_ext 4393 rm -f conftest.$ac_objext conftest.$ac_ext
4414 fi 4394 fi
4415 echo "$as_me:4414: result: $emacs_cv_struct_utimbuf" >&5 4395 echo "$as_me:4395: result: $emacs_cv_struct_utimbuf" >&5
4416 echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6 4396 echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6
4417 if test $emacs_cv_struct_utimbuf = yes; then 4397 if test $emacs_cv_struct_utimbuf = yes; then
4418 4398
4419 cat >>confdefs.h <<\EOF 4399 cat >>confdefs.h <<\EOF
4420 #define HAVE_STRUCT_UTIMBUF 1 4400 #define HAVE_STRUCT_UTIMBUF 1
4421 EOF 4401 EOF
4422 4402
4423 fi 4403 fi
4424 4404
4425 echo "$as_me:4424: checking return type of signal handlers" >&5 4405 echo "$as_me:4405: checking return type of signal handlers" >&5
4426 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 4406 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
4427 if test "${ac_cv_type_signal+set}" = set; then 4407 if test "${ac_cv_type_signal+set}" = set; then
4428 echo $ECHO_N "(cached) $ECHO_C" >&6 4408 echo $ECHO_N "(cached) $ECHO_C" >&6
4429 else 4409 else
4430 cat >conftest.$ac_ext <<_ACEOF 4410 cat >conftest.$ac_ext <<_ACEOF
4431 #line 4425 "configure" 4411 #line 4411 "configure"
4432 #include "confdefs.h" 4412 #include "confdefs.h"
4433 #include <sys/types.h> 4413 #include <sys/types.h>
4434 #include <signal.h> 4414 #include <signal.h>
4435 #ifdef signal 4415 #ifdef signal
4436 # undef signal 4416 # undef signal
4448 ; 4428 ;
4449 return 0; 4429 return 0;
4450 } 4430 }
4451 _ACEOF 4431 _ACEOF
4452 rm -f conftest.$ac_objext 4432 rm -f conftest.$ac_objext
4453 if { (eval echo "$as_me:4452: \"$ac_compile\"") >&5 4433 if { (eval echo "$as_me:4433: \"$ac_compile\"") >&5
4454 (eval $ac_compile) 2>&5 4434 (eval $ac_compile) 2>&5
4455 ac_status=$? 4435 ac_status=$?
4456 echo "$as_me:4455: \$? = $ac_status" >&5 4436 echo "$as_me:4436: \$? = $ac_status" >&5
4457 (exit $ac_status); } && 4437 (exit $ac_status); } &&
4458 { ac_try='test -s conftest.$ac_objext' 4438 { ac_try='test -s conftest.$ac_objext'
4459 { (eval echo "$as_me:4458: \"$ac_try\"") >&5 4439 { (eval echo "$as_me:4439: \"$ac_try\"") >&5
4460 (eval $ac_try) 2>&5 4440 (eval $ac_try) 2>&5
4461 ac_status=$? 4441 ac_status=$?
4462 echo "$as_me:4461: \$? = $ac_status" >&5 4442 echo "$as_me:4442: \$? = $ac_status" >&5
4463 (exit $ac_status); }; }; then 4443 (exit $ac_status); }; }; then
4464 ac_cv_type_signal=void 4444 ac_cv_type_signal=void
4465 else 4445 else
4466 echo "$as_me: failed program was:" >&5 4446 echo "$as_me: failed program was:" >&5
4467 cat conftest.$ac_ext >&5 4447 cat conftest.$ac_ext >&5
4468 ac_cv_type_signal=int 4448 ac_cv_type_signal=int
4469 fi 4449 fi
4470 rm -f conftest.$ac_objext conftest.$ac_ext 4450 rm -f conftest.$ac_objext conftest.$ac_ext
4471 fi 4451 fi
4472 echo "$as_me:4471: result: $ac_cv_type_signal" >&5 4452 echo "$as_me:4452: result: $ac_cv_type_signal" >&5
4473 echo "${ECHO_T}$ac_cv_type_signal" >&6 4453 echo "${ECHO_T}$ac_cv_type_signal" >&6
4474 4454
4475 cat >>confdefs.h <<EOF 4455 cat >>confdefs.h <<EOF
4476 #define RETSIGTYPE $ac_cv_type_signal 4456 #define RETSIGTYPE $ac_cv_type_signal
4477 EOF 4457 EOF
4478 4458
4479 echo "$as_me:4478: checking for speed_t" >&5 4459 echo "$as_me:4459: checking for speed_t" >&5
4480 echo $ECHO_N "checking for speed_t... $ECHO_C" >&6 4460 echo $ECHO_N "checking for speed_t... $ECHO_C" >&6
4481 if test "${emacs_cv_speed_t+set}" = set; then 4461 if test "${emacs_cv_speed_t+set}" = set; then
4482 echo $ECHO_N "(cached) $ECHO_C" >&6 4462 echo $ECHO_N "(cached) $ECHO_C" >&6
4483 else 4463 else
4484 cat >conftest.$ac_ext <<_ACEOF 4464 cat >conftest.$ac_ext <<_ACEOF
4485 #line 4479 "configure" 4465 #line 4465 "configure"
4486 #include "confdefs.h" 4466 #include "confdefs.h"
4487 #include <termios.h> 4467 #include <termios.h>
4488 int 4468 int
4489 main () 4469 main ()
4490 { 4470 {
4492 ; 4472 ;
4493 return 0; 4473 return 0;
4494 } 4474 }
4495 _ACEOF 4475 _ACEOF
4496 rm -f conftest.$ac_objext 4476 rm -f conftest.$ac_objext
4497 if { (eval echo "$as_me:4496: \"$ac_compile\"") >&5 4477 if { (eval echo "$as_me:4477: \"$ac_compile\"") >&5
4498 (eval $ac_compile) 2>&5 4478 (eval $ac_compile) 2>&5
4499 ac_status=$? 4479 ac_status=$?
4500 echo "$as_me:4499: \$? = $ac_status" >&5 4480 echo "$as_me:4480: \$? = $ac_status" >&5
4501 (exit $ac_status); } && 4481 (exit $ac_status); } &&
4502 { ac_try='test -s conftest.$ac_objext' 4482 { ac_try='test -s conftest.$ac_objext'
4503 { (eval echo "$as_me:4502: \"$ac_try\"") >&5 4483 { (eval echo "$as_me:4483: \"$ac_try\"") >&5
4504 (eval $ac_try) 2>&5 4484 (eval $ac_try) 2>&5
4505 ac_status=$? 4485 ac_status=$?
4506 echo "$as_me:4505: \$? = $ac_status" >&5 4486 echo "$as_me:4486: \$? = $ac_status" >&5
4507 (exit $ac_status); }; }; then 4487 (exit $ac_status); }; }; then
4508 emacs_cv_speed_t=yes 4488 emacs_cv_speed_t=yes
4509 else 4489 else
4510 echo "$as_me: failed program was:" >&5 4490 echo "$as_me: failed program was:" >&5
4511 cat conftest.$ac_ext >&5 4491 cat conftest.$ac_ext >&5
4512 emacs_cv_speed_t=no 4492 emacs_cv_speed_t=no
4513 fi 4493 fi
4514 rm -f conftest.$ac_objext conftest.$ac_ext 4494 rm -f conftest.$ac_objext conftest.$ac_ext
4515 fi 4495 fi
4516 echo "$as_me:4515: result: $emacs_cv_speed_t" >&5 4496 echo "$as_me:4496: result: $emacs_cv_speed_t" >&5
4517 echo "${ECHO_T}$emacs_cv_speed_t" >&6 4497 echo "${ECHO_T}$emacs_cv_speed_t" >&6
4518 if test $emacs_cv_speed_t = yes; then 4498 if test $emacs_cv_speed_t = yes; then
4519 4499
4520 cat >>confdefs.h <<\EOF 4500 cat >>confdefs.h <<\EOF
4521 #define HAVE_SPEED_T 1 4501 #define HAVE_SPEED_T 1
4522 EOF 4502 EOF
4523 4503
4524 fi 4504 fi
4525 4505
4526 echo "$as_me:4525: checking for struct timeval" >&5 4506 echo "$as_me:4506: checking for struct timeval" >&5
4527 echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6 4507 echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6
4528 if test "${emacs_cv_struct_timeval+set}" = set; then 4508 if test "${emacs_cv_struct_timeval+set}" = set; then
4529 echo $ECHO_N "(cached) $ECHO_C" >&6 4509 echo $ECHO_N "(cached) $ECHO_C" >&6
4530 else 4510 else
4531 cat >conftest.$ac_ext <<_ACEOF 4511 cat >conftest.$ac_ext <<_ACEOF
4532 #line 4526 "configure" 4512 #line 4512 "configure"
4533 #include "confdefs.h" 4513 #include "confdefs.h"
4534 #ifdef TIME_WITH_SYS_TIME 4514 #ifdef TIME_WITH_SYS_TIME
4535 #include <sys/time.h> 4515 #include <sys/time.h>
4536 #include <time.h> 4516 #include <time.h>
4537 #else 4517 #else
4548 ; 4528 ;
4549 return 0; 4529 return 0;
4550 } 4530 }
4551 _ACEOF 4531 _ACEOF
4552 rm -f conftest.$ac_objext 4532 rm -f conftest.$ac_objext
4553 if { (eval echo "$as_me:4552: \"$ac_compile\"") >&5 4533 if { (eval echo "$as_me:4533: \"$ac_compile\"") >&5
4554 (eval $ac_compile) 2>&5 4534 (eval $ac_compile) 2>&5
4555 ac_status=$? 4535 ac_status=$?
4556 echo "$as_me:4555: \$? = $ac_status" >&5 4536 echo "$as_me:4536: \$? = $ac_status" >&5
4557 (exit $ac_status); } && 4537 (exit $ac_status); } &&
4558 { ac_try='test -s conftest.$ac_objext' 4538 { ac_try='test -s conftest.$ac_objext'
4559 { (eval echo "$as_me:4558: \"$ac_try\"") >&5 4539 { (eval echo "$as_me:4539: \"$ac_try\"") >&5
4560 (eval $ac_try) 2>&5 4540 (eval $ac_try) 2>&5
4561 ac_status=$? 4541 ac_status=$?
4562 echo "$as_me:4561: \$? = $ac_status" >&5 4542 echo "$as_me:4542: \$? = $ac_status" >&5
4563 (exit $ac_status); }; }; then 4543 (exit $ac_status); }; }; then
4564 emacs_cv_struct_timeval=yes 4544 emacs_cv_struct_timeval=yes
4565 else 4545 else
4566 echo "$as_me: failed program was:" >&5 4546 echo "$as_me: failed program was:" >&5
4567 cat conftest.$ac_ext >&5 4547 cat conftest.$ac_ext >&5
4568 emacs_cv_struct_timeval=no 4548 emacs_cv_struct_timeval=no
4569 fi 4549 fi
4570 rm -f conftest.$ac_objext conftest.$ac_ext 4550 rm -f conftest.$ac_objext conftest.$ac_ext
4571 fi 4551 fi
4572 echo "$as_me:4571: result: $emacs_cv_struct_timeval" >&5 4552 echo "$as_me:4552: result: $emacs_cv_struct_timeval" >&5
4573 echo "${ECHO_T}$emacs_cv_struct_timeval" >&6 4553 echo "${ECHO_T}$emacs_cv_struct_timeval" >&6
4574 HAVE_TIMEVAL=$emacs_cv_struct_timeval 4554 HAVE_TIMEVAL=$emacs_cv_struct_timeval
4575 if test $emacs_cv_struct_timeval = yes; then 4555 if test $emacs_cv_struct_timeval = yes; then
4576 4556
4577 cat >>confdefs.h <<\EOF 4557 cat >>confdefs.h <<\EOF
4578 #define HAVE_TIMEVAL 1 4558 #define HAVE_TIMEVAL 1
4579 EOF 4559 EOF
4580 4560
4581 fi 4561 fi
4582 4562
4583 echo "$as_me:4582: checking for struct exception" >&5 4563 echo "$as_me:4563: checking for struct exception" >&5
4584 echo $ECHO_N "checking for struct exception... $ECHO_C" >&6 4564 echo $ECHO_N "checking for struct exception... $ECHO_C" >&6
4585 if test "${emacs_cv_struct_exception+set}" = set; then 4565 if test "${emacs_cv_struct_exception+set}" = set; then
4586 echo $ECHO_N "(cached) $ECHO_C" >&6 4566 echo $ECHO_N "(cached) $ECHO_C" >&6
4587 else 4567 else
4588 cat >conftest.$ac_ext <<_ACEOF 4568 cat >conftest.$ac_ext <<_ACEOF
4589 #line 4583 "configure" 4569 #line 4569 "configure"
4590 #include "confdefs.h" 4570 #include "confdefs.h"
4591 #include <math.h> 4571 #include <math.h>
4592 int 4572 int
4593 main () 4573 main ()
4594 { 4574 {
4596 ; 4576 ;
4597 return 0; 4577 return 0;
4598 } 4578 }
4599 _ACEOF 4579 _ACEOF
4600 rm -f conftest.$ac_objext 4580 rm -f conftest.$ac_objext
4601 if { (eval echo "$as_me:4600: \"$ac_compile\"") >&5 4581 if { (eval echo "$as_me:4581: \"$ac_compile\"") >&5
4602 (eval $ac_compile) 2>&5 4582 (eval $ac_compile) 2>&5
4603 ac_status=$? 4583 ac_status=$?
4604 echo "$as_me:4603: \$? = $ac_status" >&5 4584 echo "$as_me:4584: \$? = $ac_status" >&5
4605 (exit $ac_status); } && 4585 (exit $ac_status); } &&
4606 { ac_try='test -s conftest.$ac_objext' 4586 { ac_try='test -s conftest.$ac_objext'
4607 { (eval echo "$as_me:4606: \"$ac_try\"") >&5 4587 { (eval echo "$as_me:4587: \"$ac_try\"") >&5
4608 (eval $ac_try) 2>&5 4588 (eval $ac_try) 2>&5
4609 ac_status=$? 4589 ac_status=$?
4610 echo "$as_me:4609: \$? = $ac_status" >&5 4590 echo "$as_me:4590: \$? = $ac_status" >&5
4611 (exit $ac_status); }; }; then 4591 (exit $ac_status); }; }; then
4612 emacs_cv_struct_exception=yes 4592 emacs_cv_struct_exception=yes
4613 else 4593 else
4614 echo "$as_me: failed program was:" >&5 4594 echo "$as_me: failed program was:" >&5
4615 cat conftest.$ac_ext >&5 4595 cat conftest.$ac_ext >&5
4616 emacs_cv_struct_exception=no 4596 emacs_cv_struct_exception=no
4617 fi 4597 fi
4618 rm -f conftest.$ac_objext conftest.$ac_ext 4598 rm -f conftest.$ac_objext conftest.$ac_ext
4619 fi 4599 fi
4620 echo "$as_me:4619: result: $emacs_cv_struct_exception" >&5 4600 echo "$as_me:4600: result: $emacs_cv_struct_exception" >&5
4621 echo "${ECHO_T}$emacs_cv_struct_exception" >&6 4601 echo "${ECHO_T}$emacs_cv_struct_exception" >&6
4622 HAVE_EXCEPTION=$emacs_cv_struct_exception 4602 HAVE_EXCEPTION=$emacs_cv_struct_exception
4623 if test $emacs_cv_struct_exception != yes; then 4603 if test $emacs_cv_struct_exception != yes; then
4624 4604
4625 cat >>confdefs.h <<\EOF 4605 cat >>confdefs.h <<\EOF
4626 #define NO_MATHERR 1 4606 #define NO_MATHERR 1
4627 EOF 4607 EOF
4628 4608
4629 fi 4609 fi
4630 4610
4631 echo "$as_me:4630: checking whether struct tm is in sys/time.h or time.h" >&5 4611 echo "$as_me:4611: checking whether struct tm is in sys/time.h or time.h" >&5
4632 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 4612 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
4633 if test "${ac_cv_struct_tm+set}" = set; then 4613 if test "${ac_cv_struct_tm+set}" = set; then
4634 echo $ECHO_N "(cached) $ECHO_C" >&6 4614 echo $ECHO_N "(cached) $ECHO_C" >&6
4635 else 4615 else
4636 cat >conftest.$ac_ext <<_ACEOF 4616 cat >conftest.$ac_ext <<_ACEOF
4637 #line 4631 "configure" 4617 #line 4617 "configure"
4638 #include "confdefs.h" 4618 #include "confdefs.h"
4639 #include <sys/types.h> 4619 #include <sys/types.h>
4640 #include <time.h> 4620 #include <time.h>
4641 4621
4642 int 4622 int
4646 ; 4626 ;
4647 return 0; 4627 return 0;
4648 } 4628 }
4649 _ACEOF 4629 _ACEOF
4650 rm -f conftest.$ac_objext 4630 rm -f conftest.$ac_objext
4651 if { (eval echo "$as_me:4650: \"$ac_compile\"") >&5 4631 if { (eval echo "$as_me:4631: \"$ac_compile\"") >&5
4652 (eval $ac_compile) 2>&5 4632 (eval $ac_compile) 2>&5
4653 ac_status=$? 4633 ac_status=$?
4654 echo "$as_me:4653: \$? = $ac_status" >&5 4634 echo "$as_me:4634: \$? = $ac_status" >&5
4655 (exit $ac_status); } && 4635 (exit $ac_status); } &&
4656 { ac_try='test -s conftest.$ac_objext' 4636 { ac_try='test -s conftest.$ac_objext'
4657 { (eval echo "$as_me:4656: \"$ac_try\"") >&5 4637 { (eval echo "$as_me:4637: \"$ac_try\"") >&5
4658 (eval $ac_try) 2>&5 4638 (eval $ac_try) 2>&5
4659 ac_status=$? 4639 ac_status=$?
4660 echo "$as_me:4659: \$? = $ac_status" >&5 4640 echo "$as_me:4640: \$? = $ac_status" >&5
4661 (exit $ac_status); }; }; then 4641 (exit $ac_status); }; }; then
4662 ac_cv_struct_tm=time.h 4642 ac_cv_struct_tm=time.h
4663 else 4643 else
4664 echo "$as_me: failed program was:" >&5 4644 echo "$as_me: failed program was:" >&5
4665 cat conftest.$ac_ext >&5 4645 cat conftest.$ac_ext >&5
4666 ac_cv_struct_tm=sys/time.h 4646 ac_cv_struct_tm=sys/time.h
4667 fi 4647 fi
4668 rm -f conftest.$ac_objext conftest.$ac_ext 4648 rm -f conftest.$ac_objext conftest.$ac_ext
4669 fi 4649 fi
4670 echo "$as_me:4669: result: $ac_cv_struct_tm" >&5 4650 echo "$as_me:4650: result: $ac_cv_struct_tm" >&5
4671 echo "${ECHO_T}$ac_cv_struct_tm" >&6 4651 echo "${ECHO_T}$ac_cv_struct_tm" >&6
4672 if test $ac_cv_struct_tm = sys/time.h; then 4652 if test $ac_cv_struct_tm = sys/time.h; then
4673 4653
4674 cat >>confdefs.h <<\EOF 4654 cat >>confdefs.h <<\EOF
4675 #define TM_IN_SYS_TIME 1 4655 #define TM_IN_SYS_TIME 1
4676 EOF 4656 EOF
4677 4657
4678 fi 4658 fi
4679 4659
4680 echo "$as_me:4679: checking for struct tm.tm_zone" >&5 4660 echo "$as_me:4660: checking for struct tm.tm_zone" >&5
4681 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6 4661 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
4682 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then 4662 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
4683 echo $ECHO_N "(cached) $ECHO_C" >&6 4663 echo $ECHO_N "(cached) $ECHO_C" >&6
4684 else 4664 else
4685 cat >conftest.$ac_ext <<_ACEOF 4665 cat >conftest.$ac_ext <<_ACEOF
4686 #line 4680 "configure" 4666 #line 4666 "configure"
4687 #include "confdefs.h" 4667 #include "confdefs.h"
4688 #include <sys/types.h> 4668 #include <sys/types.h>
4689 #include <$ac_cv_struct_tm> 4669 #include <$ac_cv_struct_tm>
4690 4670
4691 int 4671 int
4697 ; 4677 ;
4698 return 0; 4678 return 0;
4699 } 4679 }
4700 _ACEOF 4680 _ACEOF
4701 rm -f conftest.$ac_objext 4681 rm -f conftest.$ac_objext
4702 if { (eval echo "$as_me:4701: \"$ac_compile\"") >&5 4682 if { (eval echo "$as_me:4682: \"$ac_compile\"") >&5
4703 (eval $ac_compile) 2>&5 4683 (eval $ac_compile) 2>&5
4704 ac_status=$? 4684 ac_status=$?
4705 echo "$as_me:4704: \$? = $ac_status" >&5 4685 echo "$as_me:4685: \$? = $ac_status" >&5
4706 (exit $ac_status); } && 4686 (exit $ac_status); } &&
4707 { ac_try='test -s conftest.$ac_objext' 4687 { ac_try='test -s conftest.$ac_objext'
4708 { (eval echo "$as_me:4707: \"$ac_try\"") >&5 4688 { (eval echo "$as_me:4688: \"$ac_try\"") >&5
4709 (eval $ac_try) 2>&5 4689 (eval $ac_try) 2>&5
4710 ac_status=$? 4690 ac_status=$?
4711 echo "$as_me:4710: \$? = $ac_status" >&5 4691 echo "$as_me:4691: \$? = $ac_status" >&5
4712 (exit $ac_status); }; }; then 4692 (exit $ac_status); }; }; then
4713 ac_cv_member_struct_tm_tm_zone=yes 4693 ac_cv_member_struct_tm_tm_zone=yes
4714 else 4694 else
4715 echo "$as_me: failed program was:" >&5 4695 echo "$as_me: failed program was:" >&5
4716 cat conftest.$ac_ext >&5 4696 cat conftest.$ac_ext >&5
4717 ac_cv_member_struct_tm_tm_zone=no 4697 ac_cv_member_struct_tm_tm_zone=no
4718 fi 4698 fi
4719 rm -f conftest.$ac_objext conftest.$ac_ext 4699 rm -f conftest.$ac_objext conftest.$ac_ext
4720 fi 4700 fi
4721 echo "$as_me:4720: result: $ac_cv_member_struct_tm_tm_zone" >&5 4701 echo "$as_me:4701: result: $ac_cv_member_struct_tm_tm_zone" >&5
4722 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6 4702 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
4723 if test $ac_cv_member_struct_tm_tm_zone = yes; then 4703 if test $ac_cv_member_struct_tm_tm_zone = yes; then
4724 4704
4725 cat >>confdefs.h <<EOF 4705 cat >>confdefs.h <<EOF
4726 #define HAVE_STRUCT_TM_TM_ZONE 1 4706 #define HAVE_STRUCT_TM_TM_ZONE 1
4733 cat >>confdefs.h <<\EOF 4713 cat >>confdefs.h <<\EOF
4734 #define HAVE_TM_ZONE 1 4714 #define HAVE_TM_ZONE 1
4735 EOF 4715 EOF
4736 4716
4737 else 4717 else
4738 echo "$as_me:4737: checking for tzname" >&5 4718 echo "$as_me:4718: checking for tzname" >&5
4739 echo $ECHO_N "checking for tzname... $ECHO_C" >&6 4719 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
4740 if test "${ac_cv_var_tzname+set}" = set; then 4720 if test "${ac_cv_var_tzname+set}" = set; then
4741 echo $ECHO_N "(cached) $ECHO_C" >&6 4721 echo $ECHO_N "(cached) $ECHO_C" >&6
4742 else 4722 else
4743 cat >conftest.$ac_ext <<_ACEOF 4723 cat >conftest.$ac_ext <<_ACEOF
4744 #line 4738 "configure" 4724 #line 4724 "configure"
4745 #include "confdefs.h" 4725 #include "confdefs.h"
4746 #include <time.h> 4726 #include <time.h>
4747 #ifndef tzname /* For SGI. */ 4727 #ifndef tzname /* For SGI. */
4748 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ 4728 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
4749 #endif 4729 #endif
4755 ; 4735 ;
4756 return 0; 4736 return 0;
4757 } 4737 }
4758 _ACEOF 4738 _ACEOF
4759 rm -f conftest.$ac_objext conftest$ac_exeext 4739 rm -f conftest.$ac_objext conftest$ac_exeext
4760 if { (eval echo "$as_me:4759: \"$ac_link\"") >&5 4740 if { (eval echo "$as_me:4740: \"$ac_link\"") >&5
4761 (eval $ac_link) 2>&5 4741 (eval $ac_link) 2>&5
4762 ac_status=$? 4742 ac_status=$?
4763 echo "$as_me:4762: \$? = $ac_status" >&5 4743 echo "$as_me:4743: \$? = $ac_status" >&5
4764 (exit $ac_status); } && 4744 (exit $ac_status); } &&
4765 { ac_try='test -s conftest$ac_exeext' 4745 { ac_try='test -s conftest$ac_exeext'
4766 { (eval echo "$as_me:4765: \"$ac_try\"") >&5 4746 { (eval echo "$as_me:4746: \"$ac_try\"") >&5
4767 (eval $ac_try) 2>&5 4747 (eval $ac_try) 2>&5
4768 ac_status=$? 4748 ac_status=$?
4769 echo "$as_me:4768: \$? = $ac_status" >&5 4749 echo "$as_me:4749: \$? = $ac_status" >&5
4770 (exit $ac_status); }; }; then 4750 (exit $ac_status); }; }; then
4771 ac_cv_var_tzname=yes 4751 ac_cv_var_tzname=yes
4772 else 4752 else
4773 echo "$as_me: failed program was:" >&5 4753 echo "$as_me: failed program was:" >&5
4774 cat conftest.$ac_ext >&5 4754 cat conftest.$ac_ext >&5
4775 ac_cv_var_tzname=no 4755 ac_cv_var_tzname=no
4776 fi 4756 fi
4777 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4757 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4778 fi 4758 fi
4779 echo "$as_me:4778: result: $ac_cv_var_tzname" >&5 4759 echo "$as_me:4759: result: $ac_cv_var_tzname" >&5
4780 echo "${ECHO_T}$ac_cv_var_tzname" >&6 4760 echo "${ECHO_T}$ac_cv_var_tzname" >&6
4781 if test $ac_cv_var_tzname = yes; then 4761 if test $ac_cv_var_tzname = yes; then
4782 4762
4783 cat >>confdefs.h <<\EOF 4763 cat >>confdefs.h <<\EOF
4784 #define HAVE_TZNAME 1 4764 #define HAVE_TZNAME 1
4785 EOF 4765 EOF
4786 4766
4787 fi 4767 fi
4788 fi 4768 fi
4789 4769
4790 echo "$as_me:4789: checking for struct tm.tm_gmtoff" >&5 4770 echo "$as_me:4770: checking for struct tm.tm_gmtoff" >&5
4791 echo $ECHO_N "checking for struct tm.tm_gmtoff... $ECHO_C" >&6 4771 echo $ECHO_N "checking for struct tm.tm_gmtoff... $ECHO_C" >&6
4792 if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then 4772 if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then
4793 echo $ECHO_N "(cached) $ECHO_C" >&6 4773 echo $ECHO_N "(cached) $ECHO_C" >&6
4794 else 4774 else
4795 cat >conftest.$ac_ext <<_ACEOF 4775 cat >conftest.$ac_ext <<_ACEOF
4796 #line 4790 "configure" 4776 #line 4776 "configure"
4797 #include "confdefs.h" 4777 #include "confdefs.h"
4798 #include <time.h> 4778 #include <time.h>
4799 4779
4800 int 4780 int
4801 main () 4781 main ()
4806 ; 4786 ;
4807 return 0; 4787 return 0;
4808 } 4788 }
4809 _ACEOF 4789 _ACEOF
4810 rm -f conftest.$ac_objext 4790 rm -f conftest.$ac_objext
4811 if { (eval echo "$as_me:4810: \"$ac_compile\"") >&5 4791 if { (eval echo "$as_me:4791: \"$ac_compile\"") >&5
4812 (eval $ac_compile) 2>&5 4792 (eval $ac_compile) 2>&5
4813 ac_status=$? 4793 ac_status=$?
4814 echo "$as_me:4813: \$? = $ac_status" >&5 4794 echo "$as_me:4794: \$? = $ac_status" >&5
4815 (exit $ac_status); } && 4795 (exit $ac_status); } &&
4816 { ac_try='test -s conftest.$ac_objext' 4796 { ac_try='test -s conftest.$ac_objext'
4817 { (eval echo "$as_me:4816: \"$ac_try\"") >&5 4797 { (eval echo "$as_me:4797: \"$ac_try\"") >&5
4818 (eval $ac_try) 2>&5 4798 (eval $ac_try) 2>&5
4819 ac_status=$? 4799 ac_status=$?
4820 echo "$as_me:4819: \$? = $ac_status" >&5 4800 echo "$as_me:4800: \$? = $ac_status" >&5
4821 (exit $ac_status); }; }; then 4801 (exit $ac_status); }; }; then
4822 ac_cv_member_struct_tm_tm_gmtoff=yes 4802 ac_cv_member_struct_tm_tm_gmtoff=yes
4823 else 4803 else
4824 echo "$as_me: failed program was:" >&5 4804 echo "$as_me: failed program was:" >&5
4825 cat conftest.$ac_ext >&5 4805 cat conftest.$ac_ext >&5
4826 ac_cv_member_struct_tm_tm_gmtoff=no 4806 ac_cv_member_struct_tm_tm_gmtoff=no
4827 fi 4807 fi
4828 rm -f conftest.$ac_objext conftest.$ac_ext 4808 rm -f conftest.$ac_objext conftest.$ac_ext
4829 fi 4809 fi
4830 echo "$as_me:4829: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5 4810 echo "$as_me:4810: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5
4831 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6 4811 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6
4832 if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then 4812 if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then
4833 4813
4834 cat >>confdefs.h <<\EOF 4814 cat >>confdefs.h <<\EOF
4835 #define HAVE_TM_GMTOFF 1 4815 #define HAVE_TM_GMTOFF 1
4836 EOF 4816 EOF
4837 4817
4838 fi 4818 fi
4839 4819
4840 echo "$as_me:4839: checking for $CC option to accept ANSI C" >&5 4820 echo "$as_me:4820: checking for $CC option to accept ANSI C" >&5
4841 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 4821 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
4842 if test "${ac_cv_prog_cc_stdc+set}" = set; then 4822 if test "${ac_cv_prog_cc_stdc+set}" = set; then
4843 echo $ECHO_N "(cached) $ECHO_C" >&6 4823 echo $ECHO_N "(cached) $ECHO_C" >&6
4844 else 4824 else
4845 ac_cv_prog_cc_stdc=no 4825 ac_cv_prog_cc_stdc=no
4846 ac_save_CC=$CC 4826 ac_save_CC=$CC
4847 cat >conftest.$ac_ext <<_ACEOF 4827 cat >conftest.$ac_ext <<_ACEOF
4848 #line 4842 "configure" 4828 #line 4828 "configure"
4849 #include "confdefs.h" 4829 #include "confdefs.h"
4850 #include <stdarg.h> 4830 #include <stdarg.h>
4851 #include <stdio.h> 4831 #include <stdio.h>
4852 #include <sys/types.h> 4832 #include <sys/types.h>
4853 #include <sys/stat.h> 4833 #include <sys/stat.h>
4892 # SVR4 -Xc -D__EXTENSIONS__ 4872 # SVR4 -Xc -D__EXTENSIONS__
4893 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4873 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4894 do 4874 do
4895 CC="$ac_save_CC $ac_arg" 4875 CC="$ac_save_CC $ac_arg"
4896 rm -f conftest.$ac_objext 4876 rm -f conftest.$ac_objext
4897 if { (eval echo "$as_me:4896: \"$ac_compile\"") >&5 4877 if { (eval echo "$as_me:4877: \"$ac_compile\"") >&5
4898 (eval $ac_compile) 2>&5 4878 (eval $ac_compile) 2>&5
4899 ac_status=$? 4879 ac_status=$?
4900 echo "$as_me:4899: \$? = $ac_status" >&5 4880 echo "$as_me:4880: \$? = $ac_status" >&5
4901 (exit $ac_status); } && 4881 (exit $ac_status); } &&
4902 { ac_try='test -s conftest.$ac_objext' 4882 { ac_try='test -s conftest.$ac_objext'
4903 { (eval echo "$as_me:4902: \"$ac_try\"") >&5 4883 { (eval echo "$as_me:4883: \"$ac_try\"") >&5
4904 (eval $ac_try) 2>&5 4884 (eval $ac_try) 2>&5
4905 ac_status=$? 4885 ac_status=$?
4906 echo "$as_me:4905: \$? = $ac_status" >&5 4886 echo "$as_me:4886: \$? = $ac_status" >&5
4907 (exit $ac_status); }; }; then 4887 (exit $ac_status); }; }; then
4908 ac_cv_prog_cc_stdc=$ac_arg 4888 ac_cv_prog_cc_stdc=$ac_arg
4909 break 4889 break
4910 else 4890 else
4911 echo "$as_me: failed program was:" >&5 4891 echo "$as_me: failed program was:" >&5
4918 4898
4919 fi 4899 fi
4920 4900
4921 case "x$ac_cv_prog_cc_stdc" in 4901 case "x$ac_cv_prog_cc_stdc" in
4922 x|xno) 4902 x|xno)
4923 echo "$as_me:4922: result: none needed" >&5 4903 echo "$as_me:4903: result: none needed" >&5
4924 echo "${ECHO_T}none needed" >&6 ;; 4904 echo "${ECHO_T}none needed" >&6 ;;
4925 *) 4905 *)
4926 echo "$as_me:4925: result: $ac_cv_prog_cc_stdc" >&5 4906 echo "$as_me:4906: result: $ac_cv_prog_cc_stdc" >&5
4927 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 4907 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
4928 CC="$CC $ac_cv_prog_cc_stdc" ;; 4908 CC="$CC $ac_cv_prog_cc_stdc" ;;
4929 esac 4909 esac
4930 4910
4931 echo "$as_me:4930: checking for function prototypes" >&5 4911 echo "$as_me:4911: checking for function prototypes" >&5
4932 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6 4912 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
4933 if test "$ac_cv_prog_cc_stdc" != no; then 4913 if test "$ac_cv_prog_cc_stdc" != no; then
4934 echo "$as_me:4933: result: yes" >&5 4914 echo "$as_me:4914: result: yes" >&5
4935 echo "${ECHO_T}yes" >&6 4915 echo "${ECHO_T}yes" >&6
4936 4916
4937 cat >>confdefs.h <<\EOF 4917 cat >>confdefs.h <<\EOF
4938 #define PROTOTYPES 1 4918 #define PROTOTYPES 1
4939 EOF 4919 EOF
4940 4920
4941 else 4921 else
4942 echo "$as_me:4941: result: no" >&5 4922 echo "$as_me:4922: result: no" >&5
4943 echo "${ECHO_T}no" >&6 4923 echo "${ECHO_T}no" >&6
4944 fi 4924 fi
4945 4925
4946 echo "$as_me:4945: checking for working volatile" >&5 4926 echo "$as_me:4926: checking for working volatile" >&5
4947 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6 4927 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6
4948 if test "${ac_cv_c_volatile+set}" = set; then 4928 if test "${ac_cv_c_volatile+set}" = set; then
4949 echo $ECHO_N "(cached) $ECHO_C" >&6 4929 echo $ECHO_N "(cached) $ECHO_C" >&6
4950 else 4930 else
4951 cat >conftest.$ac_ext <<_ACEOF 4931 cat >conftest.$ac_ext <<_ACEOF
4952 #line 4946 "configure" 4932 #line 4932 "configure"
4953 #include "confdefs.h" 4933 #include "confdefs.h"
4954 4934
4955 int 4935 int
4956 main () 4936 main ()
4957 { 4937 {
4961 ; 4941 ;
4962 return 0; 4942 return 0;
4963 } 4943 }
4964 _ACEOF 4944 _ACEOF
4965 rm -f conftest.$ac_objext 4945 rm -f conftest.$ac_objext
4966 if { (eval echo "$as_me:4965: \"$ac_compile\"") >&5 4946 if { (eval echo "$as_me:4946: \"$ac_compile\"") >&5
4967 (eval $ac_compile) 2>&5 4947 (eval $ac_compile) 2>&5
4968 ac_status=$? 4948 ac_status=$?
4969 echo "$as_me:4968: \$? = $ac_status" >&5 4949 echo "$as_me:4949: \$? = $ac_status" >&5
4970 (exit $ac_status); } && 4950 (exit $ac_status); } &&
4971 { ac_try='test -s conftest.$ac_objext' 4951 { ac_try='test -s conftest.$ac_objext'
4972 { (eval echo "$as_me:4971: \"$ac_try\"") >&5 4952 { (eval echo "$as_me:4952: \"$ac_try\"") >&5
4973 (eval $ac_try) 2>&5 4953 (eval $ac_try) 2>&5
4974 ac_status=$? 4954 ac_status=$?
4975 echo "$as_me:4974: \$? = $ac_status" >&5 4955 echo "$as_me:4955: \$? = $ac_status" >&5
4976 (exit $ac_status); }; }; then 4956 (exit $ac_status); }; }; then
4977 ac_cv_c_volatile=yes 4957 ac_cv_c_volatile=yes
4978 else 4958 else
4979 echo "$as_me: failed program was:" >&5 4959 echo "$as_me: failed program was:" >&5
4980 cat conftest.$ac_ext >&5 4960 cat conftest.$ac_ext >&5
4981 ac_cv_c_volatile=no 4961 ac_cv_c_volatile=no
4982 fi 4962 fi
4983 rm -f conftest.$ac_objext conftest.$ac_ext 4963 rm -f conftest.$ac_objext conftest.$ac_ext
4984 fi 4964 fi
4985 echo "$as_me:4984: result: $ac_cv_c_volatile" >&5 4965 echo "$as_me:4965: result: $ac_cv_c_volatile" >&5
4986 echo "${ECHO_T}$ac_cv_c_volatile" >&6 4966 echo "${ECHO_T}$ac_cv_c_volatile" >&6
4987 if test $ac_cv_c_volatile = no; then 4967 if test $ac_cv_c_volatile = no; then
4988 4968
4989 cat >>confdefs.h <<\EOF 4969 cat >>confdefs.h <<\EOF
4990 #define volatile 4970 #define volatile
4991 EOF 4971 EOF
4992 4972
4993 fi 4973 fi
4994 4974
4995 echo "$as_me:4994: checking for an ANSI C-conforming const" >&5 4975 echo "$as_me:4975: checking for an ANSI C-conforming const" >&5
4996 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 4976 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
4997 if test "${ac_cv_c_const+set}" = set; then 4977 if test "${ac_cv_c_const+set}" = set; then
4998 echo $ECHO_N "(cached) $ECHO_C" >&6 4978 echo $ECHO_N "(cached) $ECHO_C" >&6
4999 else 4979 else
5000 cat >conftest.$ac_ext <<_ACEOF 4980 cat >conftest.$ac_ext <<_ACEOF
5001 #line 4995 "configure" 4981 #line 4981 "configure"
5002 #include "confdefs.h" 4982 #include "confdefs.h"
5003 4983
5004 int 4984 int
5005 main () 4985 main ()
5006 { 4986 {
5054 ; 5034 ;
5055 return 0; 5035 return 0;
5056 } 5036 }
5057 _ACEOF 5037 _ACEOF
5058 rm -f conftest.$ac_objext 5038 rm -f conftest.$ac_objext
5059 if { (eval echo "$as_me:5058: \"$ac_compile\"") >&5 5039 if { (eval echo "$as_me:5039: \"$ac_compile\"") >&5
5060 (eval $ac_compile) 2>&5 5040 (eval $ac_compile) 2>&5
5061 ac_status=$? 5041 ac_status=$?
5062 echo "$as_me:5061: \$? = $ac_status" >&5 5042 echo "$as_me:5042: \$? = $ac_status" >&5
5063 (exit $ac_status); } && 5043 (exit $ac_status); } &&
5064 { ac_try='test -s conftest.$ac_objext' 5044 { ac_try='test -s conftest.$ac_objext'
5065 { (eval echo "$as_me:5064: \"$ac_try\"") >&5 5045 { (eval echo "$as_me:5045: \"$ac_try\"") >&5
5066 (eval $ac_try) 2>&5 5046 (eval $ac_try) 2>&5
5067 ac_status=$? 5047 ac_status=$?
5068 echo "$as_me:5067: \$? = $ac_status" >&5 5048 echo "$as_me:5048: \$? = $ac_status" >&5
5069 (exit $ac_status); }; }; then 5049 (exit $ac_status); }; }; then
5070 ac_cv_c_const=yes 5050 ac_cv_c_const=yes
5071 else 5051 else
5072 echo "$as_me: failed program was:" >&5 5052 echo "$as_me: failed program was:" >&5
5073 cat conftest.$ac_ext >&5 5053 cat conftest.$ac_ext >&5
5074 ac_cv_c_const=no 5054 ac_cv_c_const=no
5075 fi 5055 fi
5076 rm -f conftest.$ac_objext conftest.$ac_ext 5056 rm -f conftest.$ac_objext conftest.$ac_ext
5077 fi 5057 fi
5078 echo "$as_me:5077: result: $ac_cv_c_const" >&5 5058 echo "$as_me:5058: result: $ac_cv_c_const" >&5
5079 echo "${ECHO_T}$ac_cv_c_const" >&6 5059 echo "${ECHO_T}$ac_cv_c_const" >&6
5080 if test $ac_cv_c_const = no; then 5060 if test $ac_cv_c_const = no; then
5081 5061
5082 cat >>confdefs.h <<\EOF 5062 cat >>confdefs.h <<\EOF
5083 #define const 5063 #define const
5084 EOF 5064 EOF
5085 5065
5086 fi 5066 fi
5087 5067
5088 echo "$as_me:5087: checking for void * support" >&5 5068 echo "$as_me:5068: checking for void * support" >&5
5089 echo $ECHO_N "checking for void * support... $ECHO_C" >&6 5069 echo $ECHO_N "checking for void * support... $ECHO_C" >&6
5090 if test "${emacs_cv_void_star+set}" = set; then 5070 if test "${emacs_cv_void_star+set}" = set; then
5091 echo $ECHO_N "(cached) $ECHO_C" >&6 5071 echo $ECHO_N "(cached) $ECHO_C" >&6
5092 else 5072 else
5093 cat >conftest.$ac_ext <<_ACEOF 5073 cat >conftest.$ac_ext <<_ACEOF
5094 #line 5088 "configure" 5074 #line 5074 "configure"
5095 #include "confdefs.h" 5075 #include "confdefs.h"
5096 5076
5097 int 5077 int
5098 main () 5078 main ()
5099 { 5079 {
5101 ; 5081 ;
5102 return 0; 5082 return 0;
5103 } 5083 }
5104 _ACEOF 5084 _ACEOF
5105 rm -f conftest.$ac_objext 5085 rm -f conftest.$ac_objext
5106 if { (eval echo "$as_me:5105: \"$ac_compile\"") >&5 5086 if { (eval echo "$as_me:5086: \"$ac_compile\"") >&5
5107 (eval $ac_compile) 2>&5 5087 (eval $ac_compile) 2>&5
5108 ac_status=$? 5088 ac_status=$?
5109 echo "$as_me:5108: \$? = $ac_status" >&5 5089 echo "$as_me:5089: \$? = $ac_status" >&5
5110 (exit $ac_status); } && 5090 (exit $ac_status); } &&
5111 { ac_try='test -s conftest.$ac_objext' 5091 { ac_try='test -s conftest.$ac_objext'
5112 { (eval echo "$as_me:5111: \"$ac_try\"") >&5 5092 { (eval echo "$as_me:5092: \"$ac_try\"") >&5
5113 (eval $ac_try) 2>&5 5093 (eval $ac_try) 2>&5
5114 ac_status=$? 5094 ac_status=$?
5115 echo "$as_me:5114: \$? = $ac_status" >&5 5095 echo "$as_me:5095: \$? = $ac_status" >&5
5116 (exit $ac_status); }; }; then 5096 (exit $ac_status); }; }; then
5117 emacs_cv_void_star=yes 5097 emacs_cv_void_star=yes
5118 else 5098 else
5119 echo "$as_me: failed program was:" >&5 5099 echo "$as_me: failed program was:" >&5
5120 cat conftest.$ac_ext >&5 5100 cat conftest.$ac_ext >&5
5121 emacs_cv_void_star=no 5101 emacs_cv_void_star=no
5122 fi 5102 fi
5123 rm -f conftest.$ac_objext conftest.$ac_ext 5103 rm -f conftest.$ac_objext conftest.$ac_ext
5124 fi 5104 fi
5125 echo "$as_me:5124: result: $emacs_cv_void_star" >&5 5105 echo "$as_me:5105: result: $emacs_cv_void_star" >&5
5126 echo "${ECHO_T}$emacs_cv_void_star" >&6 5106 echo "${ECHO_T}$emacs_cv_void_star" >&6
5127 if test $emacs_cv_void_star = yes; then 5107 if test $emacs_cv_void_star = yes; then
5128 cat >>confdefs.h <<\EOF 5108 cat >>confdefs.h <<\EOF
5129 #define POINTER_TYPE void 5109 #define POINTER_TYPE void
5130 EOF 5110 EOF
5134 #define POINTER_TYPE char 5114 #define POINTER_TYPE char
5135 EOF 5115 EOF
5136 5116
5137 fi 5117 fi
5138 5118
5139 echo "$as_me:5138: checking whether ${MAKE-make} sets \${MAKE}" >&5 5119 echo "$as_me:5119: checking whether ${MAKE-make} sets \${MAKE}" >&5
5140 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6 5120 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
5141 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` 5121 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
5142 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 5122 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
5143 echo $ECHO_N "(cached) $ECHO_C" >&6 5123 echo $ECHO_N "(cached) $ECHO_C" >&6
5144 else 5124 else
5154 eval ac_cv_prog_make_${ac_make}_set=no 5134 eval ac_cv_prog_make_${ac_make}_set=no
5155 fi 5135 fi
5156 rm -f conftest.make 5136 rm -f conftest.make
5157 fi 5137 fi
5158 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 5138 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
5159 echo "$as_me:5158: result: yes" >&5 5139 echo "$as_me:5139: result: yes" >&5
5160 echo "${ECHO_T}yes" >&6 5140 echo "${ECHO_T}yes" >&6
5161 SET_MAKE= 5141 SET_MAKE=
5162 else 5142 else
5163 echo "$as_me:5162: result: no" >&5 5143 echo "$as_me:5143: result: no" >&5
5164 echo "${ECHO_T}no" >&6 5144 echo "${ECHO_T}no" >&6
5165 SET_MAKE="MAKE=${MAKE-make}" 5145 SET_MAKE="MAKE=${MAKE-make}"
5166 fi 5146 fi
5167 5147
5168 echo "$as_me:5167: checking for long file names" >&5 5148 echo "$as_me:5148: checking for long file names" >&5
5169 echo $ECHO_N "checking for long file names... $ECHO_C" >&6 5149 echo $ECHO_N "checking for long file names... $ECHO_C" >&6
5170 if test "${ac_cv_sys_long_file_names+set}" = set; then 5150 if test "${ac_cv_sys_long_file_names+set}" = set; then
5171 echo $ECHO_N "(cached) $ECHO_C" >&6 5151 echo $ECHO_N "(cached) $ECHO_C" >&6
5172 else 5152 else
5173 ac_cv_sys_long_file_names=yes 5153 ac_cv_sys_long_file_names=yes
5202 break 5182 break
5203 fi 5183 fi
5204 rm -rf $ac_xdir 2>/dev/null 5184 rm -rf $ac_xdir 2>/dev/null
5205 done 5185 done
5206 fi 5186 fi
5207 echo "$as_me:5206: result: $ac_cv_sys_long_file_names" >&5 5187 echo "$as_me:5187: result: $ac_cv_sys_long_file_names" >&5
5208 echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6 5188 echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6
5209 if test $ac_cv_sys_long_file_names = yes; then 5189 if test $ac_cv_sys_long_file_names = yes; then
5210 5190
5211 cat >>confdefs.h <<\EOF 5191 cat >>confdefs.h <<\EOF
5212 #define HAVE_LONG_FILE_NAMES 1 5192 #define HAVE_LONG_FILE_NAMES 1
5214 5194
5215 fi 5195 fi
5216 5196
5217 #### Choose a window system. 5197 #### Choose a window system.
5218 5198
5219 echo "$as_me:5218: checking for X" >&5 5199 echo "$as_me:5199: checking for X" >&5
5220 echo $ECHO_N "checking for X... $ECHO_C" >&6 5200 echo $ECHO_N "checking for X... $ECHO_C" >&6
5221 5201
5222 # Check whether --with-x or --without-x was given. 5202 # Check whether --with-x or --without-x was given.
5223 if test "${with_x+set}" = set; then 5203 if test "${with_x+set}" = set; then
5224 withval="$with_x" 5204 withval="$with_x"
5311 5291
5312 if test "$ac_x_includes" = no; then 5292 if test "$ac_x_includes" = no; then
5313 # Guess where to find include files, by looking for Intrinsic.h. 5293 # Guess where to find include files, by looking for Intrinsic.h.
5314 # First, try using that file with no special directory specified. 5294 # First, try using that file with no special directory specified.
5315 cat >conftest.$ac_ext <<_ACEOF 5295 cat >conftest.$ac_ext <<_ACEOF
5316 #line 5310 "configure" 5296 #line 5296 "configure"
5317 #include "confdefs.h" 5297 #include "confdefs.h"
5318 #include <X11/Intrinsic.h> 5298 #include <X11/Intrinsic.h>
5319 _ACEOF 5299 _ACEOF
5320 if { (eval echo "$as_me:5319: \"$ac_cpp conftest.$ac_ext\"") >&5 5300 if { (eval echo "$as_me:5300: \"$ac_cpp conftest.$ac_ext\"") >&5
5321 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5301 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5322 ac_status=$? 5302 ac_status=$?
5323 egrep -v '^ *\+' conftest.er1 >conftest.err 5303 egrep -v '^ *\+' conftest.er1 >conftest.err
5324 rm -f conftest.er1 5304 rm -f conftest.er1
5325 cat conftest.err >&5 5305 cat conftest.err >&5
5326 echo "$as_me:5325: \$? = $ac_status" >&5 5306 echo "$as_me:5306: \$? = $ac_status" >&5
5327 (exit $ac_status); } >/dev/null; then 5307 (exit $ac_status); } >/dev/null; then
5328 if test -s conftest.err; then 5308 if test -s conftest.err; then
5329 ac_cpp_err=$ac_c_preproc_warn_flag 5309 ac_cpp_err=$ac_c_preproc_warn_flag
5330 else 5310 else
5331 ac_cpp_err= 5311 ac_cpp_err=
5354 # See if we find them without any special options. 5334 # See if we find them without any special options.
5355 # Don't add to $LIBS permanently. 5335 # Don't add to $LIBS permanently.
5356 ac_save_LIBS=$LIBS 5336 ac_save_LIBS=$LIBS
5357 LIBS="-lXt $LIBS" 5337 LIBS="-lXt $LIBS"
5358 cat >conftest.$ac_ext <<_ACEOF 5338 cat >conftest.$ac_ext <<_ACEOF
5359 #line 5353 "configure" 5339 #line 5339 "configure"
5360 #include "confdefs.h" 5340 #include "confdefs.h"
5361 #include <X11/Intrinsic.h> 5341 #include <X11/Intrinsic.h>
5362 int 5342 int
5363 main () 5343 main ()
5364 { 5344 {
5366 ; 5346 ;
5367 return 0; 5347 return 0;
5368 } 5348 }
5369 _ACEOF 5349 _ACEOF
5370 rm -f conftest.$ac_objext conftest$ac_exeext 5350 rm -f conftest.$ac_objext conftest$ac_exeext
5371 if { (eval echo "$as_me:5370: \"$ac_link\"") >&5 5351 if { (eval echo "$as_me:5351: \"$ac_link\"") >&5
5372 (eval $ac_link) 2>&5 5352 (eval $ac_link) 2>&5
5373 ac_status=$? 5353 ac_status=$?
5374 echo "$as_me:5373: \$? = $ac_status" >&5 5354 echo "$as_me:5354: \$? = $ac_status" >&5
5375 (exit $ac_status); } && 5355 (exit $ac_status); } &&
5376 { ac_try='test -s conftest$ac_exeext' 5356 { ac_try='test -s conftest$ac_exeext'
5377 { (eval echo "$as_me:5376: \"$ac_try\"") >&5 5357 { (eval echo "$as_me:5357: \"$ac_try\"") >&5
5378 (eval $ac_try) 2>&5 5358 (eval $ac_try) 2>&5
5379 ac_status=$? 5359 ac_status=$?
5380 echo "$as_me:5379: \$? = $ac_status" >&5 5360 echo "$as_me:5360: \$? = $ac_status" >&5
5381 (exit $ac_status); }; }; then 5361 (exit $ac_status); }; }; then
5382 LIBS=$ac_save_LIBS 5362 LIBS=$ac_save_LIBS
5383 # We can link X programs with no special library path. 5363 # We can link X programs with no special library path.
5384 ac_x_libraries= 5364 ac_x_libraries=
5385 else 5365 else
5413 fi 5393 fi
5414 eval "$ac_cv_have_x" 5394 eval "$ac_cv_have_x"
5415 fi # $with_x != no 5395 fi # $with_x != no
5416 5396
5417 if test "$have_x" != yes; then 5397 if test "$have_x" != yes; then
5418 echo "$as_me:5417: result: $have_x" >&5 5398 echo "$as_me:5398: result: $have_x" >&5
5419 echo "${ECHO_T}$have_x" >&6 5399 echo "${ECHO_T}$have_x" >&6
5420 no_x=yes 5400 no_x=yes
5421 else 5401 else
5422 # If each of the values was on the command line, it overrides each guess. 5402 # If each of the values was on the command line, it overrides each guess.
5423 test "x$x_includes" = xNONE && x_includes=$ac_x_includes 5403 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
5424 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries 5404 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
5425 # Update the cache value to reflect the command line values. 5405 # Update the cache value to reflect the command line values.
5426 ac_cv_have_x="have_x=yes \ 5406 ac_cv_have_x="have_x=yes \
5427 ac_x_includes=$x_includes ac_x_libraries=$x_libraries" 5407 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
5428 echo "$as_me:5427: result: libraries $x_libraries, headers $x_includes" >&5 5408 echo "$as_me:5408: result: libraries $x_libraries, headers $x_includes" >&5
5429 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6 5409 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
5430 fi 5410 fi
5431 5411
5432 if test "$no_x" = yes; then 5412 if test "$no_x" = yes; then
5433 window_system=none 5413 window_system=none
5521 5501
5522 # Do the opsystem or machine files prohibit the use of the GNU malloc? 5502 # Do the opsystem or machine files prohibit the use of the GNU malloc?
5523 # Assume not, until told otherwise. 5503 # Assume not, until told otherwise.
5524 GNU_MALLOC=yes 5504 GNU_MALLOC=yes
5525 doug_lea_malloc=yes 5505 doug_lea_malloc=yes
5526 echo "$as_me:5525: checking for malloc_get_state" >&5 5506 echo "$as_me:5506: checking for malloc_get_state" >&5
5527 echo $ECHO_N "checking for malloc_get_state... $ECHO_C" >&6 5507 echo $ECHO_N "checking for malloc_get_state... $ECHO_C" >&6
5528 if test "${ac_cv_func_malloc_get_state+set}" = set; then 5508 if test "${ac_cv_func_malloc_get_state+set}" = set; then
5529 echo $ECHO_N "(cached) $ECHO_C" >&6 5509 echo $ECHO_N "(cached) $ECHO_C" >&6
5530 else 5510 else
5531 cat >conftest.$ac_ext <<_ACEOF 5511 cat >conftest.$ac_ext <<_ACEOF
5532 #line 5526 "configure" 5512 #line 5512 "configure"
5533 #include "confdefs.h" 5513 #include "confdefs.h"
5534 /* System header to define __stub macros and hopefully few prototypes, 5514 /* System header to define __stub macros and hopefully few prototypes,
5535 which can conflict with char malloc_get_state (); below. */ 5515 which can conflict with char malloc_get_state (); below. */
5536 #include <assert.h> 5516 #include <assert.h>
5537 /* Override any gcc2 internal prototype to avoid an error. */ 5517 /* Override any gcc2 internal prototype to avoid an error. */
5558 ; 5538 ;
5559 return 0; 5539 return 0;
5560 } 5540 }
5561 _ACEOF 5541 _ACEOF
5562 rm -f conftest.$ac_objext conftest$ac_exeext 5542 rm -f conftest.$ac_objext conftest$ac_exeext
5563 if { (eval echo "$as_me:5562: \"$ac_link\"") >&5 5543 if { (eval echo "$as_me:5543: \"$ac_link\"") >&5
5564 (eval $ac_link) 2>&5 5544 (eval $ac_link) 2>&5
5565 ac_status=$? 5545 ac_status=$?
5566 echo "$as_me:5565: \$? = $ac_status" >&5 5546 echo "$as_me:5546: \$? = $ac_status" >&5
5567 (exit $ac_status); } && 5547 (exit $ac_status); } &&
5568 { ac_try='test -s conftest$ac_exeext' 5548 { ac_try='test -s conftest$ac_exeext'
5569 { (eval echo "$as_me:5568: \"$ac_try\"") >&5 5549 { (eval echo "$as_me:5549: \"$ac_try\"") >&5
5570 (eval $ac_try) 2>&5 5550 (eval $ac_try) 2>&5
5571 ac_status=$? 5551 ac_status=$?
5572 echo "$as_me:5571: \$? = $ac_status" >&5 5552 echo "$as_me:5552: \$? = $ac_status" >&5
5573 (exit $ac_status); }; }; then 5553 (exit $ac_status); }; }; then
5574 ac_cv_func_malloc_get_state=yes 5554 ac_cv_func_malloc_get_state=yes
5575 else 5555 else
5576 echo "$as_me: failed program was:" >&5 5556 echo "$as_me: failed program was:" >&5
5577 cat conftest.$ac_ext >&5 5557 cat conftest.$ac_ext >&5
5578 ac_cv_func_malloc_get_state=no 5558 ac_cv_func_malloc_get_state=no
5579 fi 5559 fi
5580 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5560 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5581 fi 5561 fi
5582 echo "$as_me:5581: result: $ac_cv_func_malloc_get_state" >&5 5562 echo "$as_me:5562: result: $ac_cv_func_malloc_get_state" >&5
5583 echo "${ECHO_T}$ac_cv_func_malloc_get_state" >&6 5563 echo "${ECHO_T}$ac_cv_func_malloc_get_state" >&6
5584 if test $ac_cv_func_malloc_get_state = yes; then 5564 if test $ac_cv_func_malloc_get_state = yes; then
5585 : 5565 :
5586 else 5566 else
5587 doug_lea_malloc=no 5567 doug_lea_malloc=no
5588 fi 5568 fi
5589 5569
5590 echo "$as_me:5589: checking for malloc_set_state" >&5 5570 echo "$as_me:5570: checking for malloc_set_state" >&5
5591 echo $ECHO_N "checking for malloc_set_state... $ECHO_C" >&6 5571 echo $ECHO_N "checking for malloc_set_state... $ECHO_C" >&6
5592 if test "${ac_cv_func_malloc_set_state+set}" = set; then 5572 if test "${ac_cv_func_malloc_set_state+set}" = set; then
5593 echo $ECHO_N "(cached) $ECHO_C" >&6 5573 echo $ECHO_N "(cached) $ECHO_C" >&6
5594 else 5574 else
5595 cat >conftest.$ac_ext <<_ACEOF 5575 cat >conftest.$ac_ext <<_ACEOF
5596 #line 5590 "configure" 5576 #line 5576 "configure"
5597 #include "confdefs.h" 5577 #include "confdefs.h"
5598 /* System header to define __stub macros and hopefully few prototypes, 5578 /* System header to define __stub macros and hopefully few prototypes,
5599 which can conflict with char malloc_set_state (); below. */ 5579 which can conflict with char malloc_set_state (); below. */
5600 #include <assert.h> 5580 #include <assert.h>
5601 /* Override any gcc2 internal prototype to avoid an error. */ 5581 /* Override any gcc2 internal prototype to avoid an error. */
5622 ; 5602 ;
5623 return 0; 5603 return 0;
5624 } 5604 }
5625 _ACEOF 5605 _ACEOF
5626 rm -f conftest.$ac_objext conftest$ac_exeext 5606 rm -f conftest.$ac_objext conftest$ac_exeext
5627 if { (eval echo "$as_me:5626: \"$ac_link\"") >&5 5607 if { (eval echo "$as_me:5607: \"$ac_link\"") >&5
5628 (eval $ac_link) 2>&5 5608 (eval $ac_link) 2>&5
5629 ac_status=$? 5609 ac_status=$?
5630 echo "$as_me:5629: \$? = $ac_status" >&5 5610 echo "$as_me:5610: \$? = $ac_status" >&5
5631 (exit $ac_status); } && 5611 (exit $ac_status); } &&
5632 { ac_try='test -s conftest$ac_exeext' 5612 { ac_try='test -s conftest$ac_exeext'
5633 { (eval echo "$as_me:5632: \"$ac_try\"") >&5 5613 { (eval echo "$as_me:5613: \"$ac_try\"") >&5
5634 (eval $ac_try) 2>&5 5614 (eval $ac_try) 2>&5
5635 ac_status=$? 5615 ac_status=$?
5636 echo "$as_me:5635: \$? = $ac_status" >&5 5616 echo "$as_me:5616: \$? = $ac_status" >&5
5637 (exit $ac_status); }; }; then 5617 (exit $ac_status); }; }; then
5638 ac_cv_func_malloc_set_state=yes 5618 ac_cv_func_malloc_set_state=yes
5639 else 5619 else
5640 echo "$as_me: failed program was:" >&5 5620 echo "$as_me: failed program was:" >&5
5641 cat conftest.$ac_ext >&5 5621 cat conftest.$ac_ext >&5
5642 ac_cv_func_malloc_set_state=no 5622 ac_cv_func_malloc_set_state=no
5643 fi 5623 fi
5644 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5624 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5645 fi 5625 fi
5646 echo "$as_me:5645: result: $ac_cv_func_malloc_set_state" >&5 5626 echo "$as_me:5626: result: $ac_cv_func_malloc_set_state" >&5
5647 echo "${ECHO_T}$ac_cv_func_malloc_set_state" >&6 5627 echo "${ECHO_T}$ac_cv_func_malloc_set_state" >&6
5648 if test $ac_cv_func_malloc_set_state = yes; then 5628 if test $ac_cv_func_malloc_set_state = yes; then
5649 : 5629 :
5650 else 5630 else
5651 doug_lea_malloc=no 5631 doug_lea_malloc=no
5652 fi 5632 fi
5653 5633
5654 echo "$as_me:5653: checking whether __after_morecore_hook exists" >&5 5634 echo "$as_me:5634: checking whether __after_morecore_hook exists" >&5
5655 echo $ECHO_N "checking whether __after_morecore_hook exists... $ECHO_C" >&6 5635 echo $ECHO_N "checking whether __after_morecore_hook exists... $ECHO_C" >&6
5656 if test "${emacs_cv_var___after_morecore_hook+set}" = set; then 5636 if test "${emacs_cv_var___after_morecore_hook+set}" = set; then
5657 echo $ECHO_N "(cached) $ECHO_C" >&6 5637 echo $ECHO_N "(cached) $ECHO_C" >&6
5658 else 5638 else
5659 cat >conftest.$ac_ext <<_ACEOF 5639 cat >conftest.$ac_ext <<_ACEOF
5660 #line 5654 "configure" 5640 #line 5640 "configure"
5661 #include "confdefs.h" 5641 #include "confdefs.h"
5662 extern void (* __after_morecore_hook)(); 5642 extern void (* __after_morecore_hook)();
5663 int 5643 int
5664 main () 5644 main ()
5665 { 5645 {
5667 ; 5647 ;
5668 return 0; 5648 return 0;
5669 } 5649 }
5670 _ACEOF 5650 _ACEOF
5671 rm -f conftest.$ac_objext conftest$ac_exeext 5651 rm -f conftest.$ac_objext conftest$ac_exeext
5672 if { (eval echo "$as_me:5671: \"$ac_link\"") >&5 5652 if { (eval echo "$as_me:5652: \"$ac_link\"") >&5
5673 (eval $ac_link) 2>&5 5653 (eval $ac_link) 2>&5
5674 ac_status=$? 5654 ac_status=$?
5675 echo "$as_me:5674: \$? = $ac_status" >&5 5655 echo "$as_me:5655: \$? = $ac_status" >&5
5676 (exit $ac_status); } && 5656 (exit $ac_status); } &&
5677 { ac_try='test -s conftest$ac_exeext' 5657 { ac_try='test -s conftest$ac_exeext'
5678 { (eval echo "$as_me:5677: \"$ac_try\"") >&5 5658 { (eval echo "$as_me:5658: \"$ac_try\"") >&5
5679 (eval $ac_try) 2>&5 5659 (eval $ac_try) 2>&5
5680 ac_status=$? 5660 ac_status=$?
5681 echo "$as_me:5680: \$? = $ac_status" >&5 5661 echo "$as_me:5661: \$? = $ac_status" >&5
5682 (exit $ac_status); }; }; then 5662 (exit $ac_status); }; }; then
5683 emacs_cv_var___after_morecore_hook=yes 5663 emacs_cv_var___after_morecore_hook=yes
5684 else 5664 else
5685 echo "$as_me: failed program was:" >&5 5665 echo "$as_me: failed program was:" >&5
5686 cat conftest.$ac_ext >&5 5666 cat conftest.$ac_ext >&5
5687 emacs_cv_var___after_morecore_hook=no 5667 emacs_cv_var___after_morecore_hook=no
5688 fi 5668 fi
5689 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5669 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5690 fi 5670 fi
5691 echo "$as_me:5690: result: $emacs_cv_var___after_morecore_hook" >&5 5671 echo "$as_me:5671: result: $emacs_cv_var___after_morecore_hook" >&5
5692 echo "${ECHO_T}$emacs_cv_var___after_morecore_hook" >&6 5672 echo "${ECHO_T}$emacs_cv_var___after_morecore_hook" >&6
5693 if test $emacs_cv_var___after_morecore_hook = no; then 5673 if test $emacs_cv_var___after_morecore_hook = no; then
5694 doug_lea_malloc=no 5674 doug_lea_malloc=no
5695 fi 5675 fi
5696 if test "${system_malloc}" = "yes"; then 5676 if test "${system_malloc}" = "yes"; then
5718 5698
5719 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 5699 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5720 inttypes.h stdint.h unistd.h 5700 inttypes.h stdint.h unistd.h
5721 do 5701 do
5722 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5702 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5723 echo "$as_me:5722: checking for $ac_header" >&5 5703 echo "$as_me:5703: checking for $ac_header" >&5
5724 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5704 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5725 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5705 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5726 echo $ECHO_N "(cached) $ECHO_C" >&6 5706 echo $ECHO_N "(cached) $ECHO_C" >&6
5727 else 5707 else
5728 cat >conftest.$ac_ext <<_ACEOF 5708 cat >conftest.$ac_ext <<_ACEOF
5729 #line 5723 "configure" 5709 #line 5709 "configure"
5730 #include "confdefs.h" 5710 #include "confdefs.h"
5731 $ac_includes_default 5711 $ac_includes_default
5732 #include <$ac_header> 5712 #include <$ac_header>
5733 _ACEOF 5713 _ACEOF
5734 rm -f conftest.$ac_objext 5714 rm -f conftest.$ac_objext
5735 if { (eval echo "$as_me:5734: \"$ac_compile\"") >&5 5715 if { (eval echo "$as_me:5715: \"$ac_compile\"") >&5
5736 (eval $ac_compile) 2>&5 5716 (eval $ac_compile) 2>&5
5737 ac_status=$? 5717 ac_status=$?
5738 echo "$as_me:5737: \$? = $ac_status" >&5 5718 echo "$as_me:5718: \$? = $ac_status" >&5
5739 (exit $ac_status); } && 5719 (exit $ac_status); } &&
5740 { ac_try='test -s conftest.$ac_objext' 5720 { ac_try='test -s conftest.$ac_objext'
5741 { (eval echo "$as_me:5740: \"$ac_try\"") >&5 5721 { (eval echo "$as_me:5721: \"$ac_try\"") >&5
5742 (eval $ac_try) 2>&5 5722 (eval $ac_try) 2>&5
5743 ac_status=$? 5723 ac_status=$?
5744 echo "$as_me:5743: \$? = $ac_status" >&5 5724 echo "$as_me:5724: \$? = $ac_status" >&5
5745 (exit $ac_status); }; }; then 5725 (exit $ac_status); }; }; then
5746 eval "$as_ac_Header=yes" 5726 eval "$as_ac_Header=yes"
5747 else 5727 else
5748 echo "$as_me: failed program was:" >&5 5728 echo "$as_me: failed program was:" >&5
5749 cat conftest.$ac_ext >&5 5729 cat conftest.$ac_ext >&5
5750 eval "$as_ac_Header=no" 5730 eval "$as_ac_Header=no"
5751 fi 5731 fi
5752 rm -f conftest.$ac_objext conftest.$ac_ext 5732 rm -f conftest.$ac_objext conftest.$ac_ext
5753 fi 5733 fi
5754 echo "$as_me:5753: result: `eval echo '${'$as_ac_Header'}'`" >&5 5734 echo "$as_me:5734: result: `eval echo '${'$as_ac_Header'}'`" >&5
5755 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5735 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5756 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5736 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5757 cat >>confdefs.h <<EOF 5737 cat >>confdefs.h <<EOF
5758 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5738 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5759 EOF 5739 EOF
5762 done 5742 done
5763 5743
5764 for ac_header in stdlib.h unistd.h 5744 for ac_header in stdlib.h unistd.h
5765 do 5745 do
5766 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5746 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5767 echo "$as_me:5766: checking for $ac_header" >&5 5747 echo "$as_me:5747: checking for $ac_header" >&5
5768 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5748 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5769 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5749 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5770 echo $ECHO_N "(cached) $ECHO_C" >&6 5750 echo $ECHO_N "(cached) $ECHO_C" >&6
5771 else 5751 else
5772 cat >conftest.$ac_ext <<_ACEOF 5752 cat >conftest.$ac_ext <<_ACEOF
5773 #line 5767 "configure" 5753 #line 5753 "configure"
5774 #include "confdefs.h" 5754 #include "confdefs.h"
5775 #include <$ac_header> 5755 #include <$ac_header>
5776 _ACEOF 5756 _ACEOF
5777 if { (eval echo "$as_me:5776: \"$ac_cpp conftest.$ac_ext\"") >&5 5757 if { (eval echo "$as_me:5757: \"$ac_cpp conftest.$ac_ext\"") >&5
5778 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5758 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5779 ac_status=$? 5759 ac_status=$?
5780 egrep -v '^ *\+' conftest.er1 >conftest.err 5760 egrep -v '^ *\+' conftest.er1 >conftest.err
5781 rm -f conftest.er1 5761 rm -f conftest.er1
5782 cat conftest.err >&5 5762 cat conftest.err >&5
5783 echo "$as_me:5782: \$? = $ac_status" >&5 5763 echo "$as_me:5763: \$? = $ac_status" >&5
5784 (exit $ac_status); } >/dev/null; then 5764 (exit $ac_status); } >/dev/null; then
5785 if test -s conftest.err; then 5765 if test -s conftest.err; then
5786 ac_cpp_err=$ac_c_preproc_warn_flag 5766 ac_cpp_err=$ac_c_preproc_warn_flag
5787 else 5767 else
5788 ac_cpp_err= 5768 ac_cpp_err=
5797 cat conftest.$ac_ext >&5 5777 cat conftest.$ac_ext >&5
5798 eval "$as_ac_Header=no" 5778 eval "$as_ac_Header=no"
5799 fi 5779 fi
5800 rm -f conftest.err conftest.$ac_ext 5780 rm -f conftest.err conftest.$ac_ext
5801 fi 5781 fi
5802 echo "$as_me:5801: result: `eval echo '${'$as_ac_Header'}'`" >&5 5782 echo "$as_me:5782: result: `eval echo '${'$as_ac_Header'}'`" >&5
5803 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5783 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5804 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5784 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5805 cat >>confdefs.h <<EOF 5785 cat >>confdefs.h <<EOF
5806 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5786 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5807 EOF 5787 EOF
5810 done 5790 done
5811 5791
5812 for ac_func in getpagesize 5792 for ac_func in getpagesize
5813 do 5793 do
5814 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 5794 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5815 echo "$as_me:5814: checking for $ac_func" >&5 5795 echo "$as_me:5795: checking for $ac_func" >&5
5816 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 5796 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5817 if eval "test \"\${$as_ac_var+set}\" = set"; then 5797 if eval "test \"\${$as_ac_var+set}\" = set"; then
5818 echo $ECHO_N "(cached) $ECHO_C" >&6 5798 echo $ECHO_N "(cached) $ECHO_C" >&6
5819 else 5799 else
5820 cat >conftest.$ac_ext <<_ACEOF 5800 cat >conftest.$ac_ext <<_ACEOF
5821 #line 5815 "configure" 5801 #line 5801 "configure"
5822 #include "confdefs.h" 5802 #include "confdefs.h"
5823 /* System header to define __stub macros and hopefully few prototypes, 5803 /* System header to define __stub macros and hopefully few prototypes,
5824 which can conflict with char $ac_func (); below. */ 5804 which can conflict with char $ac_func (); below. */
5825 #include <assert.h> 5805 #include <assert.h>
5826 /* Override any gcc2 internal prototype to avoid an error. */ 5806 /* Override any gcc2 internal prototype to avoid an error. */
5847 ; 5827 ;
5848 return 0; 5828 return 0;
5849 } 5829 }
5850 _ACEOF 5830 _ACEOF
5851 rm -f conftest.$ac_objext conftest$ac_exeext 5831 rm -f conftest.$ac_objext conftest$ac_exeext
5852 if { (eval echo "$as_me:5851: \"$ac_link\"") >&5 5832 if { (eval echo "$as_me:5832: \"$ac_link\"") >&5
5853 (eval $ac_link) 2>&5 5833 (eval $ac_link) 2>&5
5854 ac_status=$? 5834 ac_status=$?
5855 echo "$as_me:5854: \$? = $ac_status" >&5 5835 echo "$as_me:5835: \$? = $ac_status" >&5
5856 (exit $ac_status); } && 5836 (exit $ac_status); } &&
5857 { ac_try='test -s conftest$ac_exeext' 5837 { ac_try='test -s conftest$ac_exeext'
5858 { (eval echo "$as_me:5857: \"$ac_try\"") >&5 5838 { (eval echo "$as_me:5838: \"$ac_try\"") >&5
5859 (eval $ac_try) 2>&5 5839 (eval $ac_try) 2>&5
5860 ac_status=$? 5840 ac_status=$?
5861 echo "$as_me:5860: \$? = $ac_status" >&5 5841 echo "$as_me:5841: \$? = $ac_status" >&5
5862 (exit $ac_status); }; }; then 5842 (exit $ac_status); }; }; then
5863 eval "$as_ac_var=yes" 5843 eval "$as_ac_var=yes"
5864 else 5844 else
5865 echo "$as_me: failed program was:" >&5 5845 echo "$as_me: failed program was:" >&5
5866 cat conftest.$ac_ext >&5 5846 cat conftest.$ac_ext >&5
5867 eval "$as_ac_var=no" 5847 eval "$as_ac_var=no"
5868 fi 5848 fi
5869 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5849 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5870 fi 5850 fi
5871 echo "$as_me:5870: result: `eval echo '${'$as_ac_var'}'`" >&5 5851 echo "$as_me:5851: result: `eval echo '${'$as_ac_var'}'`" >&5
5872 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 5852 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5873 if test `eval echo '${'$as_ac_var'}'` = yes; then 5853 if test `eval echo '${'$as_ac_var'}'` = yes; then
5874 cat >>confdefs.h <<EOF 5854 cat >>confdefs.h <<EOF
5875 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 5855 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5876 EOF 5856 EOF
5877 5857
5878 fi 5858 fi
5879 done 5859 done
5880 5860
5881 echo "$as_me:5880: checking for working mmap" >&5 5861 echo "$as_me:5861: checking for working mmap" >&5
5882 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6 5862 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
5883 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then 5863 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
5884 echo $ECHO_N "(cached) $ECHO_C" >&6 5864 echo $ECHO_N "(cached) $ECHO_C" >&6
5885 else 5865 else
5886 if test "$cross_compiling" = yes; then 5866 if test "$cross_compiling" = yes; then
5887 ac_cv_func_mmap_fixed_mapped=no 5867 ac_cv_func_mmap_fixed_mapped=no
5888 else 5868 else
5889 cat >conftest.$ac_ext <<_ACEOF 5869 cat >conftest.$ac_ext <<_ACEOF
5890 #line 5884 "configure" 5870 #line 5870 "configure"
5891 #include "confdefs.h" 5871 #include "confdefs.h"
5892 $ac_includes_default 5872 $ac_includes_default
5893 /* Thanks to Mike Haertel and Jim Avera for this test. 5873 /* Thanks to Mike Haertel and Jim Avera for this test.
5894 Here is a matrix of mmap possibilities: 5874 Here is a matrix of mmap possibilities:
5895 mmap private not fixed 5875 mmap private not fixed
6012 close (fd); 5992 close (fd);
6013 exit (0); 5993 exit (0);
6014 } 5994 }
6015 _ACEOF 5995 _ACEOF
6016 rm -f conftest$ac_exeext 5996 rm -f conftest$ac_exeext
6017 if { (eval echo "$as_me:6016: \"$ac_link\"") >&5 5997 if { (eval echo "$as_me:5997: \"$ac_link\"") >&5
6018 (eval $ac_link) 2>&5 5998 (eval $ac_link) 2>&5
6019 ac_status=$? 5999 ac_status=$?
6020 echo "$as_me:6019: \$? = $ac_status" >&5 6000 echo "$as_me:6000: \$? = $ac_status" >&5
6021 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 6001 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6022 { (eval echo "$as_me:6021: \"$ac_try\"") >&5 6002 { (eval echo "$as_me:6002: \"$ac_try\"") >&5
6023 (eval $ac_try) 2>&5 6003 (eval $ac_try) 2>&5
6024 ac_status=$? 6004 ac_status=$?
6025 echo "$as_me:6024: \$? = $ac_status" >&5 6005 echo "$as_me:6005: \$? = $ac_status" >&5
6026 (exit $ac_status); }; }; then 6006 (exit $ac_status); }; }; then
6027 ac_cv_func_mmap_fixed_mapped=yes 6007 ac_cv_func_mmap_fixed_mapped=yes
6028 else 6008 else
6029 echo "$as_me: program exited with status $ac_status" >&5 6009 echo "$as_me: program exited with status $ac_status" >&5
6030 echo "$as_me: failed program was:" >&5 6010 echo "$as_me: failed program was:" >&5
6032 ac_cv_func_mmap_fixed_mapped=no 6012 ac_cv_func_mmap_fixed_mapped=no
6033 fi 6013 fi
6034 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6014 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6035 fi 6015 fi
6036 fi 6016 fi
6037 echo "$as_me:6036: result: $ac_cv_func_mmap_fixed_mapped" >&5 6017 echo "$as_me:6017: result: $ac_cv_func_mmap_fixed_mapped" >&5
6038 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6 6018 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
6039 if test $ac_cv_func_mmap_fixed_mapped = yes; then 6019 if test $ac_cv_func_mmap_fixed_mapped = yes; then
6040 6020
6041 cat >>confdefs.h <<\EOF 6021 cat >>confdefs.h <<\EOF
6042 #define HAVE_MMAP 1 6022 #define HAVE_MMAP 1
6049 REL_ALLOC=no 6029 REL_ALLOC=no
6050 fi 6030 fi
6051 6031
6052 LIBS="$libsrc_libs $LIBS" 6032 LIBS="$libsrc_libs $LIBS"
6053 6033
6054 echo "$as_me:6053: checking for dnet_ntoa in -ldnet" >&5 6034 echo "$as_me:6034: checking for dnet_ntoa in -ldnet" >&5
6055 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6 6035 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
6056 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then 6036 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
6057 echo $ECHO_N "(cached) $ECHO_C" >&6 6037 echo $ECHO_N "(cached) $ECHO_C" >&6
6058 else 6038 else
6059 ac_check_lib_save_LIBS=$LIBS 6039 ac_check_lib_save_LIBS=$LIBS
6060 LIBS="-ldnet $LIBS" 6040 LIBS="-ldnet $LIBS"
6061 cat >conftest.$ac_ext <<_ACEOF 6041 cat >conftest.$ac_ext <<_ACEOF
6062 #line 6056 "configure" 6042 #line 6042 "configure"
6063 #include "confdefs.h" 6043 #include "confdefs.h"
6064 6044
6065 /* Override any gcc2 internal prototype to avoid an error. */ 6045 /* Override any gcc2 internal prototype to avoid an error. */
6066 #ifdef __cplusplus 6046 #ifdef __cplusplus
6067 extern "C" 6047 extern "C"
6076 ; 6056 ;
6077 return 0; 6057 return 0;
6078 } 6058 }
6079 _ACEOF 6059 _ACEOF
6080 rm -f conftest.$ac_objext conftest$ac_exeext 6060 rm -f conftest.$ac_objext conftest$ac_exeext
6081 if { (eval echo "$as_me:6080: \"$ac_link\"") >&5 6061 if { (eval echo "$as_me:6061: \"$ac_link\"") >&5
6082 (eval $ac_link) 2>&5 6062 (eval $ac_link) 2>&5
6083 ac_status=$? 6063 ac_status=$?
6084 echo "$as_me:6083: \$? = $ac_status" >&5 6064 echo "$as_me:6064: \$? = $ac_status" >&5
6085 (exit $ac_status); } && 6065 (exit $ac_status); } &&
6086 { ac_try='test -s conftest$ac_exeext' 6066 { ac_try='test -s conftest$ac_exeext'
6087 { (eval echo "$as_me:6086: \"$ac_try\"") >&5 6067 { (eval echo "$as_me:6067: \"$ac_try\"") >&5
6088 (eval $ac_try) 2>&5 6068 (eval $ac_try) 2>&5
6089 ac_status=$? 6069 ac_status=$?
6090 echo "$as_me:6089: \$? = $ac_status" >&5 6070 echo "$as_me:6070: \$? = $ac_status" >&5
6091 (exit $ac_status); }; }; then 6071 (exit $ac_status); }; }; then
6092 ac_cv_lib_dnet_dnet_ntoa=yes 6072 ac_cv_lib_dnet_dnet_ntoa=yes
6093 else 6073 else
6094 echo "$as_me: failed program was:" >&5 6074 echo "$as_me: failed program was:" >&5
6095 cat conftest.$ac_ext >&5 6075 cat conftest.$ac_ext >&5
6096 ac_cv_lib_dnet_dnet_ntoa=no 6076 ac_cv_lib_dnet_dnet_ntoa=no
6097 fi 6077 fi
6098 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6078 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6099 LIBS=$ac_check_lib_save_LIBS 6079 LIBS=$ac_check_lib_save_LIBS
6100 fi 6080 fi
6101 echo "$as_me:6100: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 6081 echo "$as_me:6081: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
6102 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6 6082 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
6103 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then 6083 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
6104 cat >>confdefs.h <<EOF 6084 cat >>confdefs.h <<EOF
6105 #define HAVE_LIBDNET 1 6085 #define HAVE_LIBDNET 1
6106 EOF 6086 EOF
6107 6087
6108 LIBS="-ldnet $LIBS" 6088 LIBS="-ldnet $LIBS"
6109 6089
6110 fi 6090 fi
6111 6091
6112 echo "$as_me:6111: checking for main in -lXbsd" >&5 6092 echo "$as_me:6092: checking for main in -lXbsd" >&5
6113 echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6 6093 echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6
6114 if test "${ac_cv_lib_Xbsd_main+set}" = set; then 6094 if test "${ac_cv_lib_Xbsd_main+set}" = set; then
6115 echo $ECHO_N "(cached) $ECHO_C" >&6 6095 echo $ECHO_N "(cached) $ECHO_C" >&6
6116 else 6096 else
6117 ac_check_lib_save_LIBS=$LIBS 6097 ac_check_lib_save_LIBS=$LIBS
6118 LIBS="-lXbsd $LIBS" 6098 LIBS="-lXbsd $LIBS"
6119 cat >conftest.$ac_ext <<_ACEOF 6099 cat >conftest.$ac_ext <<_ACEOF
6120 #line 6114 "configure" 6100 #line 6100 "configure"
6121 #include "confdefs.h" 6101 #include "confdefs.h"
6122 6102
6123 int 6103 int
6124 main () 6104 main ()
6125 { 6105 {
6127 ; 6107 ;
6128 return 0; 6108 return 0;
6129 } 6109 }
6130 _ACEOF 6110 _ACEOF
6131 rm -f conftest.$ac_objext conftest$ac_exeext 6111 rm -f conftest.$ac_objext conftest$ac_exeext
6132 if { (eval echo "$as_me:6131: \"$ac_link\"") >&5 6112 if { (eval echo "$as_me:6112: \"$ac_link\"") >&5
6133 (eval $ac_link) 2>&5 6113 (eval $ac_link) 2>&5
6134 ac_status=$? 6114 ac_status=$?
6135 echo "$as_me:6134: \$? = $ac_status" >&5 6115 echo "$as_me:6115: \$? = $ac_status" >&5
6136 (exit $ac_status); } && 6116 (exit $ac_status); } &&
6137 { ac_try='test -s conftest$ac_exeext' 6117 { ac_try='test -s conftest$ac_exeext'
6138 { (eval echo "$as_me:6137: \"$ac_try\"") >&5 6118 { (eval echo "$as_me:6118: \"$ac_try\"") >&5
6139 (eval $ac_try) 2>&5 6119 (eval $ac_try) 2>&5
6140 ac_status=$? 6120 ac_status=$?
6141 echo "$as_me:6140: \$? = $ac_status" >&5 6121 echo "$as_me:6121: \$? = $ac_status" >&5
6142 (exit $ac_status); }; }; then 6122 (exit $ac_status); }; }; then
6143 ac_cv_lib_Xbsd_main=yes 6123 ac_cv_lib_Xbsd_main=yes
6144 else 6124 else
6145 echo "$as_me: failed program was:" >&5 6125 echo "$as_me: failed program was:" >&5
6146 cat conftest.$ac_ext >&5 6126 cat conftest.$ac_ext >&5
6147 ac_cv_lib_Xbsd_main=no 6127 ac_cv_lib_Xbsd_main=no
6148 fi 6128 fi
6149 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6129 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6150 LIBS=$ac_check_lib_save_LIBS 6130 LIBS=$ac_check_lib_save_LIBS
6151 fi 6131 fi
6152 echo "$as_me:6151: result: $ac_cv_lib_Xbsd_main" >&5 6132 echo "$as_me:6132: result: $ac_cv_lib_Xbsd_main" >&5
6153 echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6 6133 echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6
6154 if test $ac_cv_lib_Xbsd_main = yes; then 6134 if test $ac_cv_lib_Xbsd_main = yes; then
6155 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd" 6135 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd"
6156 fi 6136 fi
6157 6137
6158 echo "$as_me:6157: checking for cma_open in -lpthreads" >&5 6138 echo "$as_me:6138: checking for cma_open in -lpthreads" >&5
6159 echo $ECHO_N "checking for cma_open in -lpthreads... $ECHO_C" >&6 6139 echo $ECHO_N "checking for cma_open in -lpthreads... $ECHO_C" >&6
6160 if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then 6140 if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then
6161 echo $ECHO_N "(cached) $ECHO_C" >&6 6141 echo $ECHO_N "(cached) $ECHO_C" >&6
6162 else 6142 else
6163 ac_check_lib_save_LIBS=$LIBS 6143 ac_check_lib_save_LIBS=$LIBS
6164 LIBS="-lpthreads $LIBS" 6144 LIBS="-lpthreads $LIBS"
6165 cat >conftest.$ac_ext <<_ACEOF 6145 cat >conftest.$ac_ext <<_ACEOF
6166 #line 6160 "configure" 6146 #line 6146 "configure"
6167 #include "confdefs.h" 6147 #include "confdefs.h"
6168 6148
6169 /* Override any gcc2 internal prototype to avoid an error. */ 6149 /* Override any gcc2 internal prototype to avoid an error. */
6170 #ifdef __cplusplus 6150 #ifdef __cplusplus
6171 extern "C" 6151 extern "C"
6180 ; 6160 ;
6181 return 0; 6161 return 0;
6182 } 6162 }
6183 _ACEOF 6163 _ACEOF
6184 rm -f conftest.$ac_objext conftest$ac_exeext 6164 rm -f conftest.$ac_objext conftest$ac_exeext
6185 if { (eval echo "$as_me:6184: \"$ac_link\"") >&5 6165 if { (eval echo "$as_me:6165: \"$ac_link\"") >&5
6186 (eval $ac_link) 2>&5 6166 (eval $ac_link) 2>&5
6187 ac_status=$? 6167 ac_status=$?
6188 echo "$as_me:6187: \$? = $ac_status" >&5 6168 echo "$as_me:6168: \$? = $ac_status" >&5
6189 (exit $ac_status); } && 6169 (exit $ac_status); } &&
6190 { ac_try='test -s conftest$ac_exeext' 6170 { ac_try='test -s conftest$ac_exeext'
6191 { (eval echo "$as_me:6190: \"$ac_try\"") >&5 6171 { (eval echo "$as_me:6171: \"$ac_try\"") >&5
6192 (eval $ac_try) 2>&5 6172 (eval $ac_try) 2>&5
6193 ac_status=$? 6173 ac_status=$?
6194 echo "$as_me:6193: \$? = $ac_status" >&5 6174 echo "$as_me:6174: \$? = $ac_status" >&5
6195 (exit $ac_status); }; }; then 6175 (exit $ac_status); }; }; then
6196 ac_cv_lib_pthreads_cma_open=yes 6176 ac_cv_lib_pthreads_cma_open=yes
6197 else 6177 else
6198 echo "$as_me: failed program was:" >&5 6178 echo "$as_me: failed program was:" >&5
6199 cat conftest.$ac_ext >&5 6179 cat conftest.$ac_ext >&5
6200 ac_cv_lib_pthreads_cma_open=no 6180 ac_cv_lib_pthreads_cma_open=no
6201 fi 6181 fi
6202 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6182 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6203 LIBS=$ac_check_lib_save_LIBS 6183 LIBS=$ac_check_lib_save_LIBS
6204 fi 6184 fi
6205 echo "$as_me:6204: result: $ac_cv_lib_pthreads_cma_open" >&5 6185 echo "$as_me:6185: result: $ac_cv_lib_pthreads_cma_open" >&5
6206 echo "${ECHO_T}$ac_cv_lib_pthreads_cma_open" >&6 6186 echo "${ECHO_T}$ac_cv_lib_pthreads_cma_open" >&6
6207 if test $ac_cv_lib_pthreads_cma_open = yes; then 6187 if test $ac_cv_lib_pthreads_cma_open = yes; then
6208 cat >>confdefs.h <<EOF 6188 cat >>confdefs.h <<EOF
6209 #define HAVE_LIBPTHREADS 1 6189 #define HAVE_LIBPTHREADS 1
6210 EOF 6190 EOF
6211 6191
6212 LIBS="-lpthreads $LIBS" 6192 LIBS="-lpthreads $LIBS"
6213 6193
6214 fi 6194 fi
6215 6195
6216 echo "$as_me:6215: checking for XFree86 in /usr/X386" >&5 6196 echo "$as_me:6196: checking for XFree86 in /usr/X386" >&5
6217 echo $ECHO_N "checking for XFree86 in /usr/X386... $ECHO_C" >&6 6197 echo $ECHO_N "checking for XFree86 in /usr/X386... $ECHO_C" >&6
6218 if test -d /usr/X386/include; then 6198 if test -d /usr/X386/include; then
6219 HAVE_XFREE386=yes 6199 HAVE_XFREE386=yes
6220 : ${C_SWITCH_X_SITE="-I/usr/X386/include"} 6200 : ${C_SWITCH_X_SITE="-I/usr/X386/include"}
6221 else 6201 else
6222 HAVE_XFREE386=no 6202 HAVE_XFREE386=no
6223 fi 6203 fi
6224 echo "$as_me:6223: result: $HAVE_XFREE386" >&5 6204 echo "$as_me:6204: result: $HAVE_XFREE386" >&5
6225 echo "${ECHO_T}$HAVE_XFREE386" >&6 6205 echo "${ECHO_T}$HAVE_XFREE386" >&6
6226 6206
6227 # Change CFLAGS temporarily so that C_SWITCH_X_SITE gets used 6207 # Change CFLAGS temporarily so that C_SWITCH_X_SITE gets used
6228 # for the tests that follow. We set it back to REAL_CFLAGS later on. 6208 # for the tests that follow. We set it back to REAL_CFLAGS later on.
6229 6209
6244 LD_RUN_PATH=$x_libraries${LD_RUN_PATH+:}$LD_RUN_PATH 6224 LD_RUN_PATH=$x_libraries${LD_RUN_PATH+:}$LD_RUN_PATH
6245 export LD_RUN_PATH 6225 export LD_RUN_PATH
6246 fi 6226 fi
6247 6227
6248 if test "${opsys}" = "gnu-linux"; then 6228 if test "${opsys}" = "gnu-linux"; then
6249 echo "$as_me:6248: checking whether X on GNU/Linux needs -b to link" >&5 6229 echo "$as_me:6229: checking whether X on GNU/Linux needs -b to link" >&5
6250 echo $ECHO_N "checking whether X on GNU/Linux needs -b to link... $ECHO_C" >&6 6230 echo $ECHO_N "checking whether X on GNU/Linux needs -b to link... $ECHO_C" >&6
6251 cat >conftest.$ac_ext <<_ACEOF 6231 cat >conftest.$ac_ext <<_ACEOF
6252 #line 6246 "configure" 6232 #line 6232 "configure"
6253 #include "confdefs.h" 6233 #include "confdefs.h"
6254 6234
6255 int 6235 int
6256 main () 6236 main ()
6257 { 6237 {
6259 ; 6239 ;
6260 return 0; 6240 return 0;
6261 } 6241 }
6262 _ACEOF 6242 _ACEOF
6263 rm -f conftest.$ac_objext conftest$ac_exeext 6243 rm -f conftest.$ac_objext conftest$ac_exeext
6264 if { (eval echo "$as_me:6263: \"$ac_link\"") >&5 6244 if { (eval echo "$as_me:6244: \"$ac_link\"") >&5
6265 (eval $ac_link) 2>&5 6245 (eval $ac_link) 2>&5
6266 ac_status=$? 6246 ac_status=$?
6267 echo "$as_me:6266: \$? = $ac_status" >&5 6247 echo "$as_me:6247: \$? = $ac_status" >&5
6268 (exit $ac_status); } && 6248 (exit $ac_status); } &&
6269 { ac_try='test -s conftest$ac_exeext' 6249 { ac_try='test -s conftest$ac_exeext'
6270 { (eval echo "$as_me:6269: \"$ac_try\"") >&5 6250 { (eval echo "$as_me:6250: \"$ac_try\"") >&5
6271 (eval $ac_try) 2>&5 6251 (eval $ac_try) 2>&5
6272 ac_status=$? 6252 ac_status=$?
6273 echo "$as_me:6272: \$? = $ac_status" >&5 6253 echo "$as_me:6253: \$? = $ac_status" >&5
6274 (exit $ac_status); }; }; then 6254 (exit $ac_status); }; }; then
6275 xlinux_first_failure=no 6255 xlinux_first_failure=no
6276 else 6256 else
6277 echo "$as_me: failed program was:" >&5 6257 echo "$as_me: failed program was:" >&5
6278 cat conftest.$ac_ext >&5 6258 cat conftest.$ac_ext >&5
6287 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -b i486-linuxaout" 6267 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -b i486-linuxaout"
6288 C_SWITCH_X_SITE="$C_SWITCH_X_SITE -b i486-linuxaout" 6268 C_SWITCH_X_SITE="$C_SWITCH_X_SITE -b i486-linuxaout"
6289 CPPFLAGS="$CPPFLAGS -b i486-linuxaout" 6269 CPPFLAGS="$CPPFLAGS -b i486-linuxaout"
6290 LIBS="$LIBS -b i486-linuxaout" 6270 LIBS="$LIBS -b i486-linuxaout"
6291 cat >conftest.$ac_ext <<_ACEOF 6271 cat >conftest.$ac_ext <<_ACEOF
6292 #line 6286 "configure" 6272 #line 6272 "configure"
6293 #include "confdefs.h" 6273 #include "confdefs.h"
6294 6274
6295 int 6275 int
6296 main () 6276 main ()
6297 { 6277 {
6299 ; 6279 ;
6300 return 0; 6280 return 0;
6301 } 6281 }
6302 _ACEOF 6282 _ACEOF
6303 rm -f conftest.$ac_objext conftest$ac_exeext 6283 rm -f conftest.$ac_objext conftest$ac_exeext
6304 if { (eval echo "$as_me:6303: \"$ac_link\"") >&5 6284 if { (eval echo "$as_me:6284: \"$ac_link\"") >&5
6305 (eval $ac_link) 2>&5 6285 (eval $ac_link) 2>&5
6306 ac_status=$? 6286 ac_status=$?
6307 echo "$as_me:6306: \$? = $ac_status" >&5 6287 echo "$as_me:6287: \$? = $ac_status" >&5
6308 (exit $ac_status); } && 6288 (exit $ac_status); } &&
6309 { ac_try='test -s conftest$ac_exeext' 6289 { ac_try='test -s conftest$ac_exeext'
6310 { (eval echo "$as_me:6309: \"$ac_try\"") >&5 6290 { (eval echo "$as_me:6290: \"$ac_try\"") >&5
6311 (eval $ac_try) 2>&5 6291 (eval $ac_try) 2>&5
6312 ac_status=$? 6292 ac_status=$?
6313 echo "$as_me:6312: \$? = $ac_status" >&5 6293 echo "$as_me:6293: \$? = $ac_status" >&5
6314 (exit $ac_status); }; }; then 6294 (exit $ac_status); }; }; then
6315 xlinux_second_failure=no 6295 xlinux_second_failure=no
6316 else 6296 else
6317 echo "$as_me: failed program was:" >&5 6297 echo "$as_me: failed program was:" >&5
6318 cat conftest.$ac_ext >&5 6298 cat conftest.$ac_ext >&5
6324 # So take it out. This plays safe. 6304 # So take it out. This plays safe.
6325 LD_SWITCH_X_SITE="$OLD_LD_SWITCH_X_SITE" 6305 LD_SWITCH_X_SITE="$OLD_LD_SWITCH_X_SITE"
6326 C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE" 6306 C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE"
6327 CPPFLAGS="$OLD_CPPFLAGS" 6307 CPPFLAGS="$OLD_CPPFLAGS"
6328 LIBS="$OLD_LIBS" 6308 LIBS="$OLD_LIBS"
6329 echo "$as_me:6328: result: no" >&5 6309 echo "$as_me:6309: result: no" >&5
6330 echo "${ECHO_T}no" >&6 6310 echo "${ECHO_T}no" >&6
6331 else 6311 else
6332 echo "$as_me:6331: result: yes" >&5 6312 echo "$as_me:6312: result: yes" >&5
6333 echo "${ECHO_T}yes" >&6 6313 echo "${ECHO_T}yes" >&6
6334 fi 6314 fi
6335 else 6315 else
6336 echo "$as_me:6335: result: no" >&5 6316 echo "$as_me:6316: result: no" >&5
6337 echo "${ECHO_T}no" >&6 6317 echo "${ECHO_T}no" >&6
6338 fi 6318 fi
6339 fi 6319 fi
6340 6320
6341 # Reportedly, some broken Solaris systems have XKBlib.h but are missing 6321 # Reportedly, some broken Solaris systems have XKBlib.h but are missing
6342 # header files included from there. 6322 # header files included from there.
6343 echo "$as_me:6342: checking for Xkb" >&5 6323 echo "$as_me:6323: checking for Xkb" >&5
6344 echo $ECHO_N "checking for Xkb... $ECHO_C" >&6 6324 echo $ECHO_N "checking for Xkb... $ECHO_C" >&6
6345 cat >conftest.$ac_ext <<_ACEOF 6325 cat >conftest.$ac_ext <<_ACEOF
6346 #line 6340 "configure" 6326 #line 6326 "configure"
6347 #include "confdefs.h" 6327 #include "confdefs.h"
6348 #include <X11/Xlib.h> 6328 #include <X11/Xlib.h>
6349 #include <X11/XKBlib.h> 6329 #include <X11/XKBlib.h>
6350 int 6330 int
6351 main () 6331 main ()
6354 ; 6334 ;
6355 return 0; 6335 return 0;
6356 } 6336 }
6357 _ACEOF 6337 _ACEOF
6358 rm -f conftest.$ac_objext conftest$ac_exeext 6338 rm -f conftest.$ac_objext conftest$ac_exeext
6359 if { (eval echo "$as_me:6358: \"$ac_link\"") >&5 6339 if { (eval echo "$as_me:6339: \"$ac_link\"") >&5
6360 (eval $ac_link) 2>&5 6340 (eval $ac_link) 2>&5
6361 ac_status=$? 6341 ac_status=$?
6362 echo "$as_me:6361: \$? = $ac_status" >&5 6342 echo "$as_me:6342: \$? = $ac_status" >&5
6363 (exit $ac_status); } && 6343 (exit $ac_status); } &&
6364 { ac_try='test -s conftest$ac_exeext' 6344 { ac_try='test -s conftest$ac_exeext'
6365 { (eval echo "$as_me:6364: \"$ac_try\"") >&5 6345 { (eval echo "$as_me:6345: \"$ac_try\"") >&5
6366 (eval $ac_try) 2>&5 6346 (eval $ac_try) 2>&5
6367 ac_status=$? 6347 ac_status=$?
6368 echo "$as_me:6367: \$? = $ac_status" >&5 6348 echo "$as_me:6348: \$? = $ac_status" >&5
6369 (exit $ac_status); }; }; then 6349 (exit $ac_status); }; }; then
6370 emacs_xkb=yes 6350 emacs_xkb=yes
6371 else 6351 else
6372 echo "$as_me: failed program was:" >&5 6352 echo "$as_me: failed program was:" >&5
6373 cat conftest.$ac_ext >&5 6353 cat conftest.$ac_ext >&5
6374 emacs_xkb=no 6354 emacs_xkb=no
6375 fi 6355 fi
6376 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6356 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6377 echo "$as_me:6376: result: $emacs_xkb" >&5 6357 echo "$as_me:6357: result: $emacs_xkb" >&5
6378 echo "${ECHO_T}$emacs_xkb" >&6 6358 echo "${ECHO_T}$emacs_xkb" >&6
6379 if test $emacs_xkb = yes; then 6359 if test $emacs_xkb = yes; then
6380 6360
6381 cat >>confdefs.h <<\EOF 6361 cat >>confdefs.h <<\EOF
6382 #define HAVE_XKBGETKEYBOARD 1 6362 #define HAVE_XKBGETKEYBOARD 1
6386 6366
6387 for ac_func in XrmSetDatabase XScreenResourceString \ 6367 for ac_func in XrmSetDatabase XScreenResourceString \
6388 XScreenNumberOfScreen XSetWMProtocols 6368 XScreenNumberOfScreen XSetWMProtocols
6389 do 6369 do
6390 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 6370 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6391 echo "$as_me:6390: checking for $ac_func" >&5 6371 echo "$as_me:6371: checking for $ac_func" >&5
6392 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6372 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6393 if eval "test \"\${$as_ac_var+set}\" = set"; then 6373 if eval "test \"\${$as_ac_var+set}\" = set"; then
6394 echo $ECHO_N "(cached) $ECHO_C" >&6 6374 echo $ECHO_N "(cached) $ECHO_C" >&6
6395 else 6375 else
6396 cat >conftest.$ac_ext <<_ACEOF 6376 cat >conftest.$ac_ext <<_ACEOF
6397 #line 6391 "configure" 6377 #line 6377 "configure"
6398 #include "confdefs.h" 6378 #include "confdefs.h"
6399 /* System header to define __stub macros and hopefully few prototypes, 6379 /* System header to define __stub macros and hopefully few prototypes,
6400 which can conflict with char $ac_func (); below. */ 6380 which can conflict with char $ac_func (); below. */
6401 #include <assert.h> 6381 #include <assert.h>
6402 /* Override any gcc2 internal prototype to avoid an error. */ 6382 /* Override any gcc2 internal prototype to avoid an error. */
6423 ; 6403 ;
6424 return 0; 6404 return 0;
6425 } 6405 }
6426 _ACEOF 6406 _ACEOF
6427 rm -f conftest.$ac_objext conftest$ac_exeext 6407 rm -f conftest.$ac_objext conftest$ac_exeext
6428 if { (eval echo "$as_me:6427: \"$ac_link\"") >&5 6408 if { (eval echo "$as_me:6408: \"$ac_link\"") >&5
6429 (eval $ac_link) 2>&5 6409 (eval $ac_link) 2>&5
6430 ac_status=$? 6410 ac_status=$?
6431 echo "$as_me:6430: \$? = $ac_status" >&5 6411 echo "$as_me:6411: \$? = $ac_status" >&5
6432 (exit $ac_status); } && 6412 (exit $ac_status); } &&
6433 { ac_try='test -s conftest$ac_exeext' 6413 { ac_try='test -s conftest$ac_exeext'
6434 { (eval echo "$as_me:6433: \"$ac_try\"") >&5 6414 { (eval echo "$as_me:6414: \"$ac_try\"") >&5
6435 (eval $ac_try) 2>&5 6415 (eval $ac_try) 2>&5
6436 ac_status=$? 6416 ac_status=$?
6437 echo "$as_me:6436: \$? = $ac_status" >&5 6417 echo "$as_me:6417: \$? = $ac_status" >&5
6438 (exit $ac_status); }; }; then 6418 (exit $ac_status); }; }; then
6439 eval "$as_ac_var=yes" 6419 eval "$as_ac_var=yes"
6440 else 6420 else
6441 echo "$as_me: failed program was:" >&5 6421 echo "$as_me: failed program was:" >&5
6442 cat conftest.$ac_ext >&5 6422 cat conftest.$ac_ext >&5
6443 eval "$as_ac_var=no" 6423 eval "$as_ac_var=no"
6444 fi 6424 fi
6445 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6425 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6446 fi 6426 fi
6447 echo "$as_me:6446: result: `eval echo '${'$as_ac_var'}'`" >&5 6427 echo "$as_me:6427: result: `eval echo '${'$as_ac_var'}'`" >&5
6448 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6428 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6449 if test `eval echo '${'$as_ac_var'}'` = yes; then 6429 if test `eval echo '${'$as_ac_var'}'` = yes; then
6450 cat >>confdefs.h <<EOF 6430 cat >>confdefs.h <<EOF
6451 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 6431 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6452 EOF 6432 EOF
6455 done 6435 done
6456 6436
6457 fi 6437 fi
6458 6438
6459 if test "${window_system}" = "x11"; then 6439 if test "${window_system}" = "x11"; then
6460 echo "$as_me:6459: checking X11 version 6" >&5 6440 echo "$as_me:6440: checking X11 version 6" >&5
6461 echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6 6441 echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6
6462 if test "${emacs_cv_x11_version_6+set}" = set; then 6442 if test "${emacs_cv_x11_version_6+set}" = set; then
6463 echo $ECHO_N "(cached) $ECHO_C" >&6 6443 echo $ECHO_N "(cached) $ECHO_C" >&6
6464 else 6444 else
6465 cat >conftest.$ac_ext <<_ACEOF 6445 cat >conftest.$ac_ext <<_ACEOF
6466 #line 6460 "configure" 6446 #line 6446 "configure"
6467 #include "confdefs.h" 6447 #include "confdefs.h"
6468 #include <X11/Xlib.h> 6448 #include <X11/Xlib.h>
6469 int 6449 int
6470 main () 6450 main ()
6471 { 6451 {
6476 ; 6456 ;
6477 return 0; 6457 return 0;
6478 } 6458 }
6479 _ACEOF 6459 _ACEOF
6480 rm -f conftest.$ac_objext conftest$ac_exeext 6460 rm -f conftest.$ac_objext conftest$ac_exeext
6481 if { (eval echo "$as_me:6480: \"$ac_link\"") >&5 6461 if { (eval echo "$as_me:6461: \"$ac_link\"") >&5
6482 (eval $ac_link) 2>&5 6462 (eval $ac_link) 2>&5
6483 ac_status=$? 6463 ac_status=$?
6484 echo "$as_me:6483: \$? = $ac_status" >&5 6464 echo "$as_me:6464: \$? = $ac_status" >&5
6485 (exit $ac_status); } && 6465 (exit $ac_status); } &&
6486 { ac_try='test -s conftest$ac_exeext' 6466 { ac_try='test -s conftest$ac_exeext'
6487 { (eval echo "$as_me:6486: \"$ac_try\"") >&5 6467 { (eval echo "$as_me:6467: \"$ac_try\"") >&5
6488 (eval $ac_try) 2>&5 6468 (eval $ac_try) 2>&5
6489 ac_status=$? 6469 ac_status=$?
6490 echo "$as_me:6489: \$? = $ac_status" >&5 6470 echo "$as_me:6470: \$? = $ac_status" >&5
6491 (exit $ac_status); }; }; then 6471 (exit $ac_status); }; }; then
6492 emacs_cv_x11_version_6=yes 6472 emacs_cv_x11_version_6=yes
6493 else 6473 else
6494 echo "$as_me: failed program was:" >&5 6474 echo "$as_me: failed program was:" >&5
6495 cat conftest.$ac_ext >&5 6475 cat conftest.$ac_ext >&5
6497 fi 6477 fi
6498 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6478 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6499 fi 6479 fi
6500 6480
6501 if test $emacs_cv_x11_version_6 = yes; then 6481 if test $emacs_cv_x11_version_6 = yes; then
6502 echo "$as_me:6501: result: 6 or newer" >&5 6482 echo "$as_me:6482: result: 6 or newer" >&5
6503 echo "${ECHO_T}6 or newer" >&6 6483 echo "${ECHO_T}6 or newer" >&6
6504 6484
6505 cat >>confdefs.h <<\EOF 6485 cat >>confdefs.h <<\EOF
6506 #define HAVE_X11R6 1 6486 #define HAVE_X11R6 1
6507 EOF 6487 EOF
6508 6488
6509 else 6489 else
6510 echo "$as_me:6509: result: before 6" >&5 6490 echo "$as_me:6490: result: before 6" >&5
6511 echo "${ECHO_T}before 6" >&6 6491 echo "${ECHO_T}before 6" >&6
6512 fi 6492 fi
6513 fi 6493 fi
6514 6494
6515 if test "${window_system}" = "x11"; then 6495 if test "${window_system}" = "x11"; then
6516 echo "$as_me:6515: checking X11 version 5" >&5 6496 echo "$as_me:6496: checking X11 version 5" >&5
6517 echo $ECHO_N "checking X11 version 5... $ECHO_C" >&6 6497 echo $ECHO_N "checking X11 version 5... $ECHO_C" >&6
6518 if test "${emacs_cv_x11_version_5+set}" = set; then 6498 if test "${emacs_cv_x11_version_5+set}" = set; then
6519 echo $ECHO_N "(cached) $ECHO_C" >&6 6499 echo $ECHO_N "(cached) $ECHO_C" >&6
6520 else 6500 else
6521 cat >conftest.$ac_ext <<_ACEOF 6501 cat >conftest.$ac_ext <<_ACEOF
6522 #line 6516 "configure" 6502 #line 6502 "configure"
6523 #include "confdefs.h" 6503 #include "confdefs.h"
6524 #include <X11/Xlib.h> 6504 #include <X11/Xlib.h>
6525 int 6505 int
6526 main () 6506 main ()
6527 { 6507 {
6532 ; 6512 ;
6533 return 0; 6513 return 0;
6534 } 6514 }
6535 _ACEOF 6515 _ACEOF
6536 rm -f conftest.$ac_objext conftest$ac_exeext 6516 rm -f conftest.$ac_objext conftest$ac_exeext
6537 if { (eval echo "$as_me:6536: \"$ac_link\"") >&5 6517 if { (eval echo "$as_me:6517: \"$ac_link\"") >&5
6538 (eval $ac_link) 2>&5 6518 (eval $ac_link) 2>&5
6539 ac_status=$? 6519 ac_status=$?
6540 echo "$as_me:6539: \$? = $ac_status" >&5 6520 echo "$as_me:6520: \$? = $ac_status" >&5
6541 (exit $ac_status); } && 6521 (exit $ac_status); } &&
6542 { ac_try='test -s conftest$ac_exeext' 6522 { ac_try='test -s conftest$ac_exeext'
6543 { (eval echo "$as_me:6542: \"$ac_try\"") >&5 6523 { (eval echo "$as_me:6523: \"$ac_try\"") >&5
6544 (eval $ac_try) 2>&5 6524 (eval $ac_try) 2>&5
6545 ac_status=$? 6525 ac_status=$?
6546 echo "$as_me:6545: \$? = $ac_status" >&5 6526 echo "$as_me:6526: \$? = $ac_status" >&5
6547 (exit $ac_status); }; }; then 6527 (exit $ac_status); }; }; then
6548 emacs_cv_x11_version_5=yes 6528 emacs_cv_x11_version_5=yes
6549 else 6529 else
6550 echo "$as_me: failed program was:" >&5 6530 echo "$as_me: failed program was:" >&5
6551 cat conftest.$ac_ext >&5 6531 cat conftest.$ac_ext >&5
6553 fi 6533 fi
6554 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6534 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6555 fi 6535 fi
6556 6536
6557 if test $emacs_cv_x11_version_5 = yes; then 6537 if test $emacs_cv_x11_version_5 = yes; then
6558 echo "$as_me:6557: result: 5 or newer" >&5 6538 echo "$as_me:6538: result: 5 or newer" >&5
6559 echo "${ECHO_T}5 or newer" >&6 6539 echo "${ECHO_T}5 or newer" >&6
6560 HAVE_X11R5=yes 6540 HAVE_X11R5=yes
6561 6541
6562 cat >>confdefs.h <<\EOF 6542 cat >>confdefs.h <<\EOF
6563 #define HAVE_X11R5 1 6543 #define HAVE_X11R5 1
6564 EOF 6544 EOF
6565 6545
6566 else 6546 else
6567 HAVE_X11R5=no 6547 HAVE_X11R5=no
6568 echo "$as_me:6567: result: before 5" >&5 6548 echo "$as_me:6548: result: before 5" >&5
6569 echo "${ECHO_T}before 5" >&6 6549 echo "${ECHO_T}before 5" >&6
6570 fi 6550 fi
6571 fi 6551 fi
6572 6552
6573 if test x"${USE_X_TOOLKIT}" = xmaybe; then 6553 if test x"${USE_X_TOOLKIT}" = xmaybe; then
6574 if test x"${HAVE_X11R5}" = xyes; then 6554 if test x"${HAVE_X11R5}" = xyes; then
6575 echo "$as_me:6574: checking X11 version 5 with Xaw" >&5 6555 echo "$as_me:6555: checking X11 version 5 with Xaw" >&5
6576 echo $ECHO_N "checking X11 version 5 with Xaw... $ECHO_C" >&6 6556 echo $ECHO_N "checking X11 version 5 with Xaw... $ECHO_C" >&6
6577 if test "${emacs_cv_x11_version_5_with_xaw+set}" = set; then 6557 if test "${emacs_cv_x11_version_5_with_xaw+set}" = set; then
6578 echo $ECHO_N "(cached) $ECHO_C" >&6 6558 echo $ECHO_N "(cached) $ECHO_C" >&6
6579 else 6559 else
6580 cat >conftest.$ac_ext <<_ACEOF 6560 cat >conftest.$ac_ext <<_ACEOF
6581 #line 6575 "configure" 6561 #line 6561 "configure"
6582 #include "confdefs.h" 6562 #include "confdefs.h"
6583 6563
6584 #include <X11/Intrinsic.h> 6564 #include <X11/Intrinsic.h>
6585 #include <X11/Xaw/Simple.h> 6565 #include <X11/Xaw/Simple.h>
6586 int 6566 int
6590 ; 6570 ;
6591 return 0; 6571 return 0;
6592 } 6572 }
6593 _ACEOF 6573 _ACEOF
6594 rm -f conftest.$ac_objext conftest$ac_exeext 6574 rm -f conftest.$ac_objext conftest$ac_exeext
6595 if { (eval echo "$as_me:6594: \"$ac_link\"") >&5 6575 if { (eval echo "$as_me:6575: \"$ac_link\"") >&5
6596 (eval $ac_link) 2>&5 6576 (eval $ac_link) 2>&5
6597 ac_status=$? 6577 ac_status=$?
6598 echo "$as_me:6597: \$? = $ac_status" >&5 6578 echo "$as_me:6578: \$? = $ac_status" >&5
6599 (exit $ac_status); } && 6579 (exit $ac_status); } &&
6600 { ac_try='test -s conftest$ac_exeext' 6580 { ac_try='test -s conftest$ac_exeext'
6601 { (eval echo "$as_me:6600: \"$ac_try\"") >&5 6581 { (eval echo "$as_me:6581: \"$ac_try\"") >&5
6602 (eval $ac_try) 2>&5 6582 (eval $ac_try) 2>&5
6603 ac_status=$? 6583 ac_status=$?
6604 echo "$as_me:6603: \$? = $ac_status" >&5 6584 echo "$as_me:6584: \$? = $ac_status" >&5
6605 (exit $ac_status); }; }; then 6585 (exit $ac_status); }; }; then
6606 emacs_cv_x11_version_5_with_xaw=yes 6586 emacs_cv_x11_version_5_with_xaw=yes
6607 else 6587 else
6608 echo "$as_me: failed program was:" >&5 6588 echo "$as_me: failed program was:" >&5
6609 cat conftest.$ac_ext >&5 6589 cat conftest.$ac_ext >&5
6611 fi 6591 fi
6612 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6592 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6613 fi 6593 fi
6614 6594
6615 if test $emacs_cv_x11_version_5_with_xaw = yes; then 6595 if test $emacs_cv_x11_version_5_with_xaw = yes; then
6616 echo "$as_me:6615: result: 5 or newer, with Xaw; use toolkit by default" >&5 6596 echo "$as_me:6596: result: 5 or newer, with Xaw; use toolkit by default" >&5
6617 echo "${ECHO_T}5 or newer, with Xaw; use toolkit by default" >&6 6597 echo "${ECHO_T}5 or newer, with Xaw; use toolkit by default" >&6
6618 USE_X_TOOLKIT=LUCID 6598 USE_X_TOOLKIT=LUCID
6619 else 6599 else
6620 echo "$as_me:6619: result: before 5 or no Xaw; do not use toolkit by default" >&5 6600 echo "$as_me:6600: result: before 5 or no Xaw; do not use toolkit by default" >&5
6621 echo "${ECHO_T}before 5 or no Xaw; do not use toolkit by default" >&6 6601 echo "${ECHO_T}before 5 or no Xaw; do not use toolkit by default" >&6
6622 USE_X_TOOLKIT=none 6602 USE_X_TOOLKIT=none
6623 fi 6603 fi
6624 else 6604 else
6625 USE_X_TOOLKIT=none 6605 USE_X_TOOLKIT=none
6627 fi 6607 fi
6628 6608
6629 X_TOOLKIT_TYPE=$USE_X_TOOLKIT 6609 X_TOOLKIT_TYPE=$USE_X_TOOLKIT
6630 6610
6631 if test "${USE_X_TOOLKIT}" != "none"; then 6611 if test "${USE_X_TOOLKIT}" != "none"; then
6632 echo "$as_me:6631: checking X11 toolkit version" >&5 6612 echo "$as_me:6612: checking X11 toolkit version" >&5
6633 echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6 6613 echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6
6634 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then 6614 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then
6635 echo $ECHO_N "(cached) $ECHO_C" >&6 6615 echo $ECHO_N "(cached) $ECHO_C" >&6
6636 else 6616 else
6637 cat >conftest.$ac_ext <<_ACEOF 6617 cat >conftest.$ac_ext <<_ACEOF
6638 #line 6632 "configure" 6618 #line 6618 "configure"
6639 #include "confdefs.h" 6619 #include "confdefs.h"
6640 #include <X11/Intrinsic.h> 6620 #include <X11/Intrinsic.h>
6641 int 6621 int
6642 main () 6622 main ()
6643 { 6623 {
6648 ; 6628 ;
6649 return 0; 6629 return 0;
6650 } 6630 }
6651 _ACEOF 6631 _ACEOF
6652 rm -f conftest.$ac_objext conftest$ac_exeext 6632 rm -f conftest.$ac_objext conftest$ac_exeext
6653 if { (eval echo "$as_me:6652: \"$ac_link\"") >&5 6633 if { (eval echo "$as_me:6633: \"$ac_link\"") >&5
6654 (eval $ac_link) 2>&5 6634 (eval $ac_link) 2>&5
6655 ac_status=$? 6635 ac_status=$?
6656 echo "$as_me:6655: \$? = $ac_status" >&5 6636 echo "$as_me:6636: \$? = $ac_status" >&5
6657 (exit $ac_status); } && 6637 (exit $ac_status); } &&
6658 { ac_try='test -s conftest$ac_exeext' 6638 { ac_try='test -s conftest$ac_exeext'
6659 { (eval echo "$as_me:6658: \"$ac_try\"") >&5 6639 { (eval echo "$as_me:6639: \"$ac_try\"") >&5
6660 (eval $ac_try) 2>&5 6640 (eval $ac_try) 2>&5
6661 ac_status=$? 6641 ac_status=$?
6662 echo "$as_me:6661: \$? = $ac_status" >&5 6642 echo "$as_me:6642: \$? = $ac_status" >&5
6663 (exit $ac_status); }; }; then 6643 (exit $ac_status); }; }; then
6664 emacs_cv_x11_toolkit_version_6=yes 6644 emacs_cv_x11_toolkit_version_6=yes
6665 else 6645 else
6666 echo "$as_me: failed program was:" >&5 6646 echo "$as_me: failed program was:" >&5
6667 cat conftest.$ac_ext >&5 6647 cat conftest.$ac_ext >&5
6670 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6650 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6671 fi 6651 fi
6672 6652
6673 HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6 6653 HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6
6674 if test $emacs_cv_x11_toolkit_version_6 = yes; then 6654 if test $emacs_cv_x11_toolkit_version_6 = yes; then
6675 echo "$as_me:6674: result: 6 or newer" >&5 6655 echo "$as_me:6655: result: 6 or newer" >&5
6676 echo "${ECHO_T}6 or newer" >&6 6656 echo "${ECHO_T}6 or newer" >&6
6677 6657
6678 cat >>confdefs.h <<\EOF 6658 cat >>confdefs.h <<\EOF
6679 #define HAVE_X11XTR6 1 6659 #define HAVE_X11XTR6 1
6680 EOF 6660 EOF
6681 6661
6682 else 6662 else
6683 echo "$as_me:6682: result: before 6" >&5 6663 echo "$as_me:6663: result: before 6" >&5
6684 echo "${ECHO_T}before 6" >&6 6664 echo "${ECHO_T}before 6" >&6
6685 fi 6665 fi
6686 6666
6687 OLDLIBS="$LIBS" 6667 OLDLIBS="$LIBS"
6688 if test x$HAVE_X11XTR6 = xyes; then 6668 if test x$HAVE_X11XTR6 = xyes; then
6689 LIBS="-lXt -lSM -lICE $LIBS" 6669 LIBS="-lXt -lSM -lICE $LIBS"
6690 else 6670 else
6691 LIBS="-lXt $LIBS" 6671 LIBS="-lXt $LIBS"
6692 fi 6672 fi
6693 6673
6694 echo "$as_me:6693: checking for XmuConvertStandardSelection in -lXmu" >&5 6674 echo "$as_me:6674: checking for XmuConvertStandardSelection in -lXmu" >&5
6695 echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C" >&6 6675 echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C" >&6
6696 if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then 6676 if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then
6697 echo $ECHO_N "(cached) $ECHO_C" >&6 6677 echo $ECHO_N "(cached) $ECHO_C" >&6
6698 else 6678 else
6699 ac_check_lib_save_LIBS=$LIBS 6679 ac_check_lib_save_LIBS=$LIBS
6700 LIBS="-lXmu $LIBS" 6680 LIBS="-lXmu $LIBS"
6701 cat >conftest.$ac_ext <<_ACEOF 6681 cat >conftest.$ac_ext <<_ACEOF
6702 #line 6696 "configure" 6682 #line 6682 "configure"
6703 #include "confdefs.h" 6683 #include "confdefs.h"
6704 6684
6705 /* Override any gcc2 internal prototype to avoid an error. */ 6685 /* Override any gcc2 internal prototype to avoid an error. */
6706 #ifdef __cplusplus 6686 #ifdef __cplusplus
6707 extern "C" 6687 extern "C"
6716 ; 6696 ;
6717 return 0; 6697 return 0;
6718 } 6698 }
6719 _ACEOF 6699 _ACEOF
6720 rm -f conftest.$ac_objext conftest$ac_exeext 6700 rm -f conftest.$ac_objext conftest$ac_exeext
6721 if { (eval echo "$as_me:6720: \"$ac_link\"") >&5 6701 if { (eval echo "$as_me:6701: \"$ac_link\"") >&5
6722 (eval $ac_link) 2>&5 6702 (eval $ac_link) 2>&5
6723 ac_status=$? 6703 ac_status=$?
6724 echo "$as_me:6723: \$? = $ac_status" >&5 6704 echo "$as_me:6704: \$? = $ac_status" >&5
6725 (exit $ac_status); } && 6705 (exit $ac_status); } &&
6726 { ac_try='test -s conftest$ac_exeext' 6706 { ac_try='test -s conftest$ac_exeext'
6727 { (eval echo "$as_me:6726: \"$ac_try\"") >&5 6707 { (eval echo "$as_me:6707: \"$ac_try\"") >&5
6728 (eval $ac_try) 2>&5 6708 (eval $ac_try) 2>&5
6729 ac_status=$? 6709 ac_status=$?
6730 echo "$as_me:6729: \$? = $ac_status" >&5 6710 echo "$as_me:6710: \$? = $ac_status" >&5
6731 (exit $ac_status); }; }; then 6711 (exit $ac_status); }; }; then
6732 ac_cv_lib_Xmu_XmuConvertStandardSelection=yes 6712 ac_cv_lib_Xmu_XmuConvertStandardSelection=yes
6733 else 6713 else
6734 echo "$as_me: failed program was:" >&5 6714 echo "$as_me: failed program was:" >&5
6735 cat conftest.$ac_ext >&5 6715 cat conftest.$ac_ext >&5
6736 ac_cv_lib_Xmu_XmuConvertStandardSelection=no 6716 ac_cv_lib_Xmu_XmuConvertStandardSelection=no
6737 fi 6717 fi
6738 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6718 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6739 LIBS=$ac_check_lib_save_LIBS 6719 LIBS=$ac_check_lib_save_LIBS
6740 fi 6720 fi
6741 echo "$as_me:6740: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5 6721 echo "$as_me:6721: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5
6742 echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6 6722 echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6
6743 if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then 6723 if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then
6744 cat >>confdefs.h <<EOF 6724 cat >>confdefs.h <<EOF
6745 #define HAVE_LIBXMU 1 6725 #define HAVE_LIBXMU 1
6746 EOF 6726 EOF
6754 6734
6755 # On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D. 6735 # On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D.
6756 if test "${HAVE_X11}" = "yes"; then 6736 if test "${HAVE_X11}" = "yes"; then
6757 if test "${USE_X_TOOLKIT}" != "none"; then 6737 if test "${USE_X_TOOLKIT}" != "none"; then
6758 6738
6759 echo "$as_me:6758: checking for XShapeQueryExtension in -lXext" >&5 6739 echo "$as_me:6739: checking for XShapeQueryExtension in -lXext" >&5
6760 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6 6740 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
6761 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then 6741 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
6762 echo $ECHO_N "(cached) $ECHO_C" >&6 6742 echo $ECHO_N "(cached) $ECHO_C" >&6
6763 else 6743 else
6764 ac_check_lib_save_LIBS=$LIBS 6744 ac_check_lib_save_LIBS=$LIBS
6765 LIBS="-lXext $LIBS" 6745 LIBS="-lXext $LIBS"
6766 cat >conftest.$ac_ext <<_ACEOF 6746 cat >conftest.$ac_ext <<_ACEOF
6767 #line 6761 "configure" 6747 #line 6747 "configure"
6768 #include "confdefs.h" 6748 #include "confdefs.h"
6769 6749
6770 /* Override any gcc2 internal prototype to avoid an error. */ 6750 /* Override any gcc2 internal prototype to avoid an error. */
6771 #ifdef __cplusplus 6751 #ifdef __cplusplus
6772 extern "C" 6752 extern "C"
6781 ; 6761 ;
6782 return 0; 6762 return 0;
6783 } 6763 }
6784 _ACEOF 6764 _ACEOF
6785 rm -f conftest.$ac_objext conftest$ac_exeext 6765 rm -f conftest.$ac_objext conftest$ac_exeext
6786 if { (eval echo "$as_me:6785: \"$ac_link\"") >&5 6766 if { (eval echo "$as_me:6766: \"$ac_link\"") >&5
6787 (eval $ac_link) 2>&5 6767 (eval $ac_link) 2>&5
6788 ac_status=$? 6768 ac_status=$?
6789 echo "$as_me:6788: \$? = $ac_status" >&5 6769 echo "$as_me:6769: \$? = $ac_status" >&5
6790 (exit $ac_status); } && 6770 (exit $ac_status); } &&
6791 { ac_try='test -s conftest$ac_exeext' 6771 { ac_try='test -s conftest$ac_exeext'
6792 { (eval echo "$as_me:6791: \"$ac_try\"") >&5 6772 { (eval echo "$as_me:6772: \"$ac_try\"") >&5
6793 (eval $ac_try) 2>&5 6773 (eval $ac_try) 2>&5
6794 ac_status=$? 6774 ac_status=$?
6795 echo "$as_me:6794: \$? = $ac_status" >&5 6775 echo "$as_me:6775: \$? = $ac_status" >&5
6796 (exit $ac_status); }; }; then 6776 (exit $ac_status); }; }; then
6797 ac_cv_lib_Xext_XShapeQueryExtension=yes 6777 ac_cv_lib_Xext_XShapeQueryExtension=yes
6798 else 6778 else
6799 echo "$as_me: failed program was:" >&5 6779 echo "$as_me: failed program was:" >&5
6800 cat conftest.$ac_ext >&5 6780 cat conftest.$ac_ext >&5
6801 ac_cv_lib_Xext_XShapeQueryExtension=no 6781 ac_cv_lib_Xext_XShapeQueryExtension=no
6802 fi 6782 fi
6803 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6783 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6804 LIBS=$ac_check_lib_save_LIBS 6784 LIBS=$ac_check_lib_save_LIBS
6805 fi 6785 fi
6806 echo "$as_me:6805: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5 6786 echo "$as_me:6786: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
6807 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6 6787 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
6808 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then 6788 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
6809 cat >>confdefs.h <<EOF 6789 cat >>confdefs.h <<EOF
6810 #define HAVE_LIBXEXT 1 6790 #define HAVE_LIBXEXT 1
6811 EOF 6791 EOF
6816 6796
6817 fi 6797 fi
6818 fi 6798 fi
6819 6799
6820 if test "${USE_X_TOOLKIT}" = "MOTIF"; then 6800 if test "${USE_X_TOOLKIT}" = "MOTIF"; then
6821 echo "$as_me:6820: checking for Motif version 2.1" >&5 6801 echo "$as_me:6801: checking for Motif version 2.1" >&5
6822 echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6 6802 echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6
6823 if test "${emacs_cv_motif_version_2_1+set}" = set; then 6803 if test "${emacs_cv_motif_version_2_1+set}" = set; then
6824 echo $ECHO_N "(cached) $ECHO_C" >&6 6804 echo $ECHO_N "(cached) $ECHO_C" >&6
6825 else 6805 else
6826 cat >conftest.$ac_ext <<_ACEOF 6806 cat >conftest.$ac_ext <<_ACEOF
6827 #line 6821 "configure" 6807 #line 6807 "configure"
6828 #include "confdefs.h" 6808 #include "confdefs.h"
6829 #include <Xm/Xm.h> 6809 #include <Xm/Xm.h>
6830 int 6810 int
6831 main () 6811 main ()
6832 { 6812 {
6838 ; 6818 ;
6839 return 0; 6819 return 0;
6840 } 6820 }
6841 _ACEOF 6821 _ACEOF
6842 rm -f conftest.$ac_objext 6822 rm -f conftest.$ac_objext
6843 if { (eval echo "$as_me:6842: \"$ac_compile\"") >&5 6823 if { (eval echo "$as_me:6823: \"$ac_compile\"") >&5
6844 (eval $ac_compile) 2>&5 6824 (eval $ac_compile) 2>&5
6845 ac_status=$? 6825 ac_status=$?
6846 echo "$as_me:6845: \$? = $ac_status" >&5 6826 echo "$as_me:6826: \$? = $ac_status" >&5
6847 (exit $ac_status); } && 6827 (exit $ac_status); } &&
6848 { ac_try='test -s conftest.$ac_objext' 6828 { ac_try='test -s conftest.$ac_objext'
6849 { (eval echo "$as_me:6848: \"$ac_try\"") >&5 6829 { (eval echo "$as_me:6829: \"$ac_try\"") >&5
6850 (eval $ac_try) 2>&5 6830 (eval $ac_try) 2>&5
6851 ac_status=$? 6831 ac_status=$?
6852 echo "$as_me:6851: \$? = $ac_status" >&5 6832 echo "$as_me:6832: \$? = $ac_status" >&5
6853 (exit $ac_status); }; }; then 6833 (exit $ac_status); }; }; then
6854 emacs_cv_motif_version_2_1=yes 6834 emacs_cv_motif_version_2_1=yes
6855 else 6835 else
6856 echo "$as_me: failed program was:" >&5 6836 echo "$as_me: failed program was:" >&5
6857 cat conftest.$ac_ext >&5 6837 cat conftest.$ac_ext >&5
6858 emacs_cv_motif_version_2_1=no 6838 emacs_cv_motif_version_2_1=no
6859 fi 6839 fi
6860 rm -f conftest.$ac_objext conftest.$ac_ext 6840 rm -f conftest.$ac_objext conftest.$ac_ext
6861 fi 6841 fi
6862 echo "$as_me:6861: result: $emacs_cv_motif_version_2_1" >&5 6842 echo "$as_me:6842: result: $emacs_cv_motif_version_2_1" >&5
6863 echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6 6843 echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6
6864 HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1 6844 HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1
6865 if test $emacs_cv_motif_version_2_1 = yes; then 6845 if test $emacs_cv_motif_version_2_1 = yes; then
6866 HAVE_LIBXP=no 6846 HAVE_LIBXP=no
6867 6847
6868 cat >>confdefs.h <<\EOF 6848 cat >>confdefs.h <<\EOF
6869 #define HAVE_MOTIF_2_1 1 6849 #define HAVE_MOTIF_2_1 1
6870 EOF 6850 EOF
6871 6851
6872 echo "$as_me:6871: checking for XpCreateContext in -lXp" >&5 6852 echo "$as_me:6852: checking for XpCreateContext in -lXp" >&5
6873 echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6 6853 echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6
6874 if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then 6854 if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then
6875 echo $ECHO_N "(cached) $ECHO_C" >&6 6855 echo $ECHO_N "(cached) $ECHO_C" >&6
6876 else 6856 else
6877 ac_check_lib_save_LIBS=$LIBS 6857 ac_check_lib_save_LIBS=$LIBS
6878 LIBS="-lXp $LIBS" 6858 LIBS="-lXp $LIBS"
6879 cat >conftest.$ac_ext <<_ACEOF 6859 cat >conftest.$ac_ext <<_ACEOF
6880 #line 6874 "configure" 6860 #line 6860 "configure"
6881 #include "confdefs.h" 6861 #include "confdefs.h"
6882 6862
6883 /* Override any gcc2 internal prototype to avoid an error. */ 6863 /* Override any gcc2 internal prototype to avoid an error. */
6884 #ifdef __cplusplus 6864 #ifdef __cplusplus
6885 extern "C" 6865 extern "C"
6894 ; 6874 ;
6895 return 0; 6875 return 0;
6896 } 6876 }
6897 _ACEOF 6877 _ACEOF
6898 rm -f conftest.$ac_objext conftest$ac_exeext 6878 rm -f conftest.$ac_objext conftest$ac_exeext
6899 if { (eval echo "$as_me:6898: \"$ac_link\"") >&5 6879 if { (eval echo "$as_me:6879: \"$ac_link\"") >&5
6900 (eval $ac_link) 2>&5 6880 (eval $ac_link) 2>&5
6901 ac_status=$? 6881 ac_status=$?
6902 echo "$as_me:6901: \$? = $ac_status" >&5 6882 echo "$as_me:6882: \$? = $ac_status" >&5
6903 (exit $ac_status); } && 6883 (exit $ac_status); } &&
6904 { ac_try='test -s conftest$ac_exeext' 6884 { ac_try='test -s conftest$ac_exeext'
6905 { (eval echo "$as_me:6904: \"$ac_try\"") >&5 6885 { (eval echo "$as_me:6885: \"$ac_try\"") >&5
6906 (eval $ac_try) 2>&5 6886 (eval $ac_try) 2>&5
6907 ac_status=$? 6887 ac_status=$?
6908 echo "$as_me:6907: \$? = $ac_status" >&5 6888 echo "$as_me:6888: \$? = $ac_status" >&5
6909 (exit $ac_status); }; }; then 6889 (exit $ac_status); }; }; then
6910 ac_cv_lib_Xp_XpCreateContext=yes 6890 ac_cv_lib_Xp_XpCreateContext=yes
6911 else 6891 else
6912 echo "$as_me: failed program was:" >&5 6892 echo "$as_me: failed program was:" >&5
6913 cat conftest.$ac_ext >&5 6893 cat conftest.$ac_ext >&5
6914 ac_cv_lib_Xp_XpCreateContext=no 6894 ac_cv_lib_Xp_XpCreateContext=no
6915 fi 6895 fi
6916 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6896 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6917 LIBS=$ac_check_lib_save_LIBS 6897 LIBS=$ac_check_lib_save_LIBS
6918 fi 6898 fi
6919 echo "$as_me:6918: result: $ac_cv_lib_Xp_XpCreateContext" >&5 6899 echo "$as_me:6899: result: $ac_cv_lib_Xp_XpCreateContext" >&5
6920 echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6 6900 echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6
6921 if test $ac_cv_lib_Xp_XpCreateContext = yes; then 6901 if test $ac_cv_lib_Xp_XpCreateContext = yes; then
6922 HAVE_LIBXP=yes 6902 HAVE_LIBXP=yes
6923 fi 6903 fi
6924 6904
6934 6914
6935 ### Is -lXaw3d available? 6915 ### Is -lXaw3d available?
6936 HAVE_XAW3D=no 6916 HAVE_XAW3D=no
6937 if test "${HAVE_X11}" = "yes"; then 6917 if test "${HAVE_X11}" = "yes"; then
6938 if test "${USE_X_TOOLKIT}" != "none"; then 6918 if test "${USE_X_TOOLKIT}" != "none"; then
6939 echo "$as_me:6938: checking for X11/Xaw3d/Scrollbar.h" >&5 6919 echo "$as_me:6919: checking for X11/Xaw3d/Scrollbar.h" >&5
6940 echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6 6920 echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6
6941 if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then 6921 if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then
6942 echo $ECHO_N "(cached) $ECHO_C" >&6 6922 echo $ECHO_N "(cached) $ECHO_C" >&6
6943 else 6923 else
6944 cat >conftest.$ac_ext <<_ACEOF 6924 cat >conftest.$ac_ext <<_ACEOF
6945 #line 6939 "configure" 6925 #line 6925 "configure"
6946 #include "confdefs.h" 6926 #include "confdefs.h"
6947 #include <X11/Xaw3d/Scrollbar.h> 6927 #include <X11/Xaw3d/Scrollbar.h>
6948 _ACEOF 6928 _ACEOF
6949 if { (eval echo "$as_me:6948: \"$ac_cpp conftest.$ac_ext\"") >&5 6929 if { (eval echo "$as_me:6929: \"$ac_cpp conftest.$ac_ext\"") >&5
6950 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6930 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6951 ac_status=$? 6931 ac_status=$?
6952 egrep -v '^ *\+' conftest.er1 >conftest.err 6932 egrep -v '^ *\+' conftest.er1 >conftest.err
6953 rm -f conftest.er1 6933 rm -f conftest.er1
6954 cat conftest.err >&5 6934 cat conftest.err >&5
6955 echo "$as_me:6954: \$? = $ac_status" >&5 6935 echo "$as_me:6935: \$? = $ac_status" >&5
6956 (exit $ac_status); } >/dev/null; then 6936 (exit $ac_status); } >/dev/null; then
6957 if test -s conftest.err; then 6937 if test -s conftest.err; then
6958 ac_cpp_err=$ac_c_preproc_warn_flag 6938 ac_cpp_err=$ac_c_preproc_warn_flag
6959 else 6939 else
6960 ac_cpp_err= 6940 ac_cpp_err=
6969 cat conftest.$ac_ext >&5 6949 cat conftest.$ac_ext >&5
6970 ac_cv_header_X11_Xaw3d_Scrollbar_h=no 6950 ac_cv_header_X11_Xaw3d_Scrollbar_h=no
6971 fi 6951 fi
6972 rm -f conftest.err conftest.$ac_ext 6952 rm -f conftest.err conftest.$ac_ext
6973 fi 6953 fi
6974 echo "$as_me:6973: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5 6954 echo "$as_me:6954: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5
6975 echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6 6955 echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6
6976 if test $ac_cv_header_X11_Xaw3d_Scrollbar_h = yes; then 6956 if test $ac_cv_header_X11_Xaw3d_Scrollbar_h = yes; then
6977 echo "$as_me:6976: checking for XawScrollbarSetThumb in -lXaw3d" >&5 6957 echo "$as_me:6957: checking for XawScrollbarSetThumb in -lXaw3d" >&5
6978 echo $ECHO_N "checking for XawScrollbarSetThumb in -lXaw3d... $ECHO_C" >&6 6958 echo $ECHO_N "checking for XawScrollbarSetThumb in -lXaw3d... $ECHO_C" >&6
6979 if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then 6959 if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then
6980 echo $ECHO_N "(cached) $ECHO_C" >&6 6960 echo $ECHO_N "(cached) $ECHO_C" >&6
6981 else 6961 else
6982 ac_check_lib_save_LIBS=$LIBS 6962 ac_check_lib_save_LIBS=$LIBS
6983 LIBS="-lXaw3d $LIBS" 6963 LIBS="-lXaw3d $LIBS"
6984 cat >conftest.$ac_ext <<_ACEOF 6964 cat >conftest.$ac_ext <<_ACEOF
6985 #line 6979 "configure" 6965 #line 6965 "configure"
6986 #include "confdefs.h" 6966 #include "confdefs.h"
6987 6967
6988 /* Override any gcc2 internal prototype to avoid an error. */ 6968 /* Override any gcc2 internal prototype to avoid an error. */
6989 #ifdef __cplusplus 6969 #ifdef __cplusplus
6990 extern "C" 6970 extern "C"
6999 ; 6979 ;
7000 return 0; 6980 return 0;
7001 } 6981 }
7002 _ACEOF 6982 _ACEOF
7003 rm -f conftest.$ac_objext conftest$ac_exeext 6983 rm -f conftest.$ac_objext conftest$ac_exeext
7004 if { (eval echo "$as_me:7003: \"$ac_link\"") >&5 6984 if { (eval echo "$as_me:6984: \"$ac_link\"") >&5
7005 (eval $ac_link) 2>&5 6985 (eval $ac_link) 2>&5
7006 ac_status=$? 6986 ac_status=$?
7007 echo "$as_me:7006: \$? = $ac_status" >&5 6987 echo "$as_me:6987: \$? = $ac_status" >&5
7008 (exit $ac_status); } && 6988 (exit $ac_status); } &&
7009 { ac_try='test -s conftest$ac_exeext' 6989 { ac_try='test -s conftest$ac_exeext'
7010 { (eval echo "$as_me:7009: \"$ac_try\"") >&5 6990 { (eval echo "$as_me:6990: \"$ac_try\"") >&5
7011 (eval $ac_try) 2>&5 6991 (eval $ac_try) 2>&5
7012 ac_status=$? 6992 ac_status=$?
7013 echo "$as_me:7012: \$? = $ac_status" >&5 6993 echo "$as_me:6993: \$? = $ac_status" >&5
7014 (exit $ac_status); }; }; then 6994 (exit $ac_status); }; }; then
7015 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=yes 6995 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=yes
7016 else 6996 else
7017 echo "$as_me: failed program was:" >&5 6997 echo "$as_me: failed program was:" >&5
7018 cat conftest.$ac_ext >&5 6998 cat conftest.$ac_ext >&5
7019 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=no 6999 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=no
7020 fi 7000 fi
7021 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7001 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7022 LIBS=$ac_check_lib_save_LIBS 7002 LIBS=$ac_check_lib_save_LIBS
7023 fi 7003 fi
7024 echo "$as_me:7023: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5 7004 echo "$as_me:7004: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5
7025 echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6 7005 echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6
7026 if test $ac_cv_lib_Xaw3d_XawScrollbarSetThumb = yes; then 7006 if test $ac_cv_lib_Xaw3d_XawScrollbarSetThumb = yes; then
7027 HAVE_XAW3D=yes 7007 HAVE_XAW3D=yes
7028 fi 7008 fi
7029 7009
7069 7049
7070 ### Use -lXpm if available, unless `--with-xpm=no'. 7050 ### Use -lXpm if available, unless `--with-xpm=no'.
7071 HAVE_XPM=no 7051 HAVE_XPM=no
7072 if test "${HAVE_X11}" = "yes"; then 7052 if test "${HAVE_X11}" = "yes"; then
7073 if test "${with_xpm}" != "no"; then 7053 if test "${with_xpm}" != "no"; then
7074 echo "$as_me:7073: checking for X11/xpm.h" >&5 7054 echo "$as_me:7054: checking for X11/xpm.h" >&5
7075 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6 7055 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
7076 if test "${ac_cv_header_X11_xpm_h+set}" = set; then 7056 if test "${ac_cv_header_X11_xpm_h+set}" = set; then
7077 echo $ECHO_N "(cached) $ECHO_C" >&6 7057 echo $ECHO_N "(cached) $ECHO_C" >&6
7078 else 7058 else
7079 cat >conftest.$ac_ext <<_ACEOF 7059 cat >conftest.$ac_ext <<_ACEOF
7080 #line 7074 "configure" 7060 #line 7060 "configure"
7081 #include "confdefs.h" 7061 #include "confdefs.h"
7082 #include <X11/xpm.h> 7062 #include <X11/xpm.h>
7083 _ACEOF 7063 _ACEOF
7084 if { (eval echo "$as_me:7083: \"$ac_cpp conftest.$ac_ext\"") >&5 7064 if { (eval echo "$as_me:7064: \"$ac_cpp conftest.$ac_ext\"") >&5
7085 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7065 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7086 ac_status=$? 7066 ac_status=$?
7087 egrep -v '^ *\+' conftest.er1 >conftest.err 7067 egrep -v '^ *\+' conftest.er1 >conftest.err
7088 rm -f conftest.er1 7068 rm -f conftest.er1
7089 cat conftest.err >&5 7069 cat conftest.err >&5
7090 echo "$as_me:7089: \$? = $ac_status" >&5 7070 echo "$as_me:7070: \$? = $ac_status" >&5
7091 (exit $ac_status); } >/dev/null; then 7071 (exit $ac_status); } >/dev/null; then
7092 if test -s conftest.err; then 7072 if test -s conftest.err; then
7093 ac_cpp_err=$ac_c_preproc_warn_flag 7073 ac_cpp_err=$ac_c_preproc_warn_flag
7094 else 7074 else
7095 ac_cpp_err= 7075 ac_cpp_err=
7104 cat conftest.$ac_ext >&5 7084 cat conftest.$ac_ext >&5
7105 ac_cv_header_X11_xpm_h=no 7085 ac_cv_header_X11_xpm_h=no
7106 fi 7086 fi
7107 rm -f conftest.err conftest.$ac_ext 7087 rm -f conftest.err conftest.$ac_ext
7108 fi 7088 fi
7109 echo "$as_me:7108: result: $ac_cv_header_X11_xpm_h" >&5 7089 echo "$as_me:7089: result: $ac_cv_header_X11_xpm_h" >&5
7110 echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6 7090 echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6
7111 if test $ac_cv_header_X11_xpm_h = yes; then 7091 if test $ac_cv_header_X11_xpm_h = yes; then
7112 echo "$as_me:7111: checking for XpmReadFileToPixmap in -lXpm" >&5 7092 echo "$as_me:7092: checking for XpmReadFileToPixmap in -lXpm" >&5
7113 echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6 7093 echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6
7114 if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then 7094 if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then
7115 echo $ECHO_N "(cached) $ECHO_C" >&6 7095 echo $ECHO_N "(cached) $ECHO_C" >&6
7116 else 7096 else
7117 ac_check_lib_save_LIBS=$LIBS 7097 ac_check_lib_save_LIBS=$LIBS
7118 LIBS="-lXpm -lX11 $LIBS" 7098 LIBS="-lXpm -lX11 $LIBS"
7119 cat >conftest.$ac_ext <<_ACEOF 7099 cat >conftest.$ac_ext <<_ACEOF
7120 #line 7114 "configure" 7100 #line 7100 "configure"
7121 #include "confdefs.h" 7101 #include "confdefs.h"
7122 7102
7123 /* Override any gcc2 internal prototype to avoid an error. */ 7103 /* Override any gcc2 internal prototype to avoid an error. */
7124 #ifdef __cplusplus 7104 #ifdef __cplusplus
7125 extern "C" 7105 extern "C"
7134 ; 7114 ;
7135 return 0; 7115 return 0;
7136 } 7116 }
7137 _ACEOF 7117 _ACEOF
7138 rm -f conftest.$ac_objext conftest$ac_exeext 7118 rm -f conftest.$ac_objext conftest$ac_exeext
7139 if { (eval echo "$as_me:7138: \"$ac_link\"") >&5 7119 if { (eval echo "$as_me:7119: \"$ac_link\"") >&5
7140 (eval $ac_link) 2>&5 7120 (eval $ac_link) 2>&5
7141 ac_status=$? 7121 ac_status=$?
7142 echo "$as_me:7141: \$? = $ac_status" >&5 7122 echo "$as_me:7122: \$? = $ac_status" >&5
7143 (exit $ac_status); } && 7123 (exit $ac_status); } &&
7144 { ac_try='test -s conftest$ac_exeext' 7124 { ac_try='test -s conftest$ac_exeext'
7145 { (eval echo "$as_me:7144: \"$ac_try\"") >&5 7125 { (eval echo "$as_me:7125: \"$ac_try\"") >&5
7146 (eval $ac_try) 2>&5 7126 (eval $ac_try) 2>&5
7147 ac_status=$? 7127 ac_status=$?
7148 echo "$as_me:7147: \$? = $ac_status" >&5 7128 echo "$as_me:7128: \$? = $ac_status" >&5
7149 (exit $ac_status); }; }; then 7129 (exit $ac_status); }; }; then
7150 ac_cv_lib_Xpm_XpmReadFileToPixmap=yes 7130 ac_cv_lib_Xpm_XpmReadFileToPixmap=yes
7151 else 7131 else
7152 echo "$as_me: failed program was:" >&5 7132 echo "$as_me: failed program was:" >&5
7153 cat conftest.$ac_ext >&5 7133 cat conftest.$ac_ext >&5
7154 ac_cv_lib_Xpm_XpmReadFileToPixmap=no 7134 ac_cv_lib_Xpm_XpmReadFileToPixmap=no
7155 fi 7135 fi
7156 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7136 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7157 LIBS=$ac_check_lib_save_LIBS 7137 LIBS=$ac_check_lib_save_LIBS
7158 fi 7138 fi
7159 echo "$as_me:7158: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5 7139 echo "$as_me:7139: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5
7160 echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6 7140 echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6
7161 if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then 7141 if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then
7162 HAVE_XPM=yes 7142 HAVE_XPM=yes
7163 fi 7143 fi
7164 7144
7165 fi 7145 fi
7166 7146
7167 if test "${HAVE_XPM}" = "yes"; then 7147 if test "${HAVE_XPM}" = "yes"; then
7168 echo "$as_me:7167: checking for XpmReturnAllocPixels preprocessor define" >&5 7148 echo "$as_me:7148: checking for XpmReturnAllocPixels preprocessor define" >&5
7169 echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define... $ECHO_C" >&6 7149 echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define... $ECHO_C" >&6
7170 cat >conftest.$ac_ext <<_ACEOF 7150 cat >conftest.$ac_ext <<_ACEOF
7171 #line 7165 "configure" 7151 #line 7151 "configure"
7172 #include "confdefs.h" 7152 #include "confdefs.h"
7173 #include "X11/xpm.h" 7153 #include "X11/xpm.h"
7174 #ifndef XpmReturnAllocPixels 7154 #ifndef XpmReturnAllocPixels
7175 no_return_alloc_pixels 7155 no_return_alloc_pixels
7176 #endif 7156 #endif
7183 HAVE_XPM=yes 7163 HAVE_XPM=yes
7184 fi 7164 fi
7185 rm -f conftest* 7165 rm -f conftest*
7186 7166
7187 if test "${HAVE_XPM}" = "yes"; then 7167 if test "${HAVE_XPM}" = "yes"; then
7188 echo "$as_me:7187: result: yes" >&5 7168 echo "$as_me:7168: result: yes" >&5
7189 echo "${ECHO_T}yes" >&6 7169 echo "${ECHO_T}yes" >&6
7190 else 7170 else
7191 echo "$as_me:7190: result: no" >&5 7171 echo "$as_me:7171: result: no" >&5
7192 echo "${ECHO_T}no" >&6 7172 echo "${ECHO_T}no" >&6
7193 fi 7173 fi
7194 fi 7174 fi
7195 fi 7175 fi
7196 7176
7205 7185
7206 ### Use -ljpeg if available, unless `--with-jpeg=no'. 7186 ### Use -ljpeg if available, unless `--with-jpeg=no'.
7207 HAVE_JPEG=no 7187 HAVE_JPEG=no
7208 if test "${HAVE_X11}" = "yes"; then 7188 if test "${HAVE_X11}" = "yes"; then
7209 if test "${with_jpeg}" != "no"; then 7189 if test "${with_jpeg}" != "no"; then
7210 echo "$as_me:7209: checking for jerror.h" >&5 7190 echo "$as_me:7190: checking for jerror.h" >&5
7211 echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6 7191 echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6
7212 if test "${ac_cv_header_jerror_h+set}" = set; then 7192 if test "${ac_cv_header_jerror_h+set}" = set; then
7213 echo $ECHO_N "(cached) $ECHO_C" >&6 7193 echo $ECHO_N "(cached) $ECHO_C" >&6
7214 else 7194 else
7215 cat >conftest.$ac_ext <<_ACEOF 7195 cat >conftest.$ac_ext <<_ACEOF
7216 #line 7210 "configure" 7196 #line 7196 "configure"
7217 #include "confdefs.h" 7197 #include "confdefs.h"
7218 #include <jerror.h> 7198 #include <jerror.h>
7219 _ACEOF 7199 _ACEOF
7220 if { (eval echo "$as_me:7219: \"$ac_cpp conftest.$ac_ext\"") >&5 7200 if { (eval echo "$as_me:7200: \"$ac_cpp conftest.$ac_ext\"") >&5
7221 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7201 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7222 ac_status=$? 7202 ac_status=$?
7223 egrep -v '^ *\+' conftest.er1 >conftest.err 7203 egrep -v '^ *\+' conftest.er1 >conftest.err
7224 rm -f conftest.er1 7204 rm -f conftest.er1
7225 cat conftest.err >&5 7205 cat conftest.err >&5
7226 echo "$as_me:7225: \$? = $ac_status" >&5 7206 echo "$as_me:7206: \$? = $ac_status" >&5
7227 (exit $ac_status); } >/dev/null; then 7207 (exit $ac_status); } >/dev/null; then
7228 if test -s conftest.err; then 7208 if test -s conftest.err; then
7229 ac_cpp_err=$ac_c_preproc_warn_flag 7209 ac_cpp_err=$ac_c_preproc_warn_flag
7230 else 7210 else
7231 ac_cpp_err= 7211 ac_cpp_err=
7240 cat conftest.$ac_ext >&5 7220 cat conftest.$ac_ext >&5
7241 ac_cv_header_jerror_h=no 7221 ac_cv_header_jerror_h=no
7242 fi 7222 fi
7243 rm -f conftest.err conftest.$ac_ext 7223 rm -f conftest.err conftest.$ac_ext
7244 fi 7224 fi
7245 echo "$as_me:7244: result: $ac_cv_header_jerror_h" >&5 7225 echo "$as_me:7225: result: $ac_cv_header_jerror_h" >&5
7246 echo "${ECHO_T}$ac_cv_header_jerror_h" >&6 7226 echo "${ECHO_T}$ac_cv_header_jerror_h" >&6
7247 if test $ac_cv_header_jerror_h = yes; then 7227 if test $ac_cv_header_jerror_h = yes; then
7248 echo "$as_me:7247: checking for jpeg_destroy_compress in -ljpeg" >&5 7228 echo "$as_me:7228: checking for jpeg_destroy_compress in -ljpeg" >&5
7249 echo $ECHO_N "checking for jpeg_destroy_compress in -ljpeg... $ECHO_C" >&6 7229 echo $ECHO_N "checking for jpeg_destroy_compress in -ljpeg... $ECHO_C" >&6
7250 if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then 7230 if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then
7251 echo $ECHO_N "(cached) $ECHO_C" >&6 7231 echo $ECHO_N "(cached) $ECHO_C" >&6
7252 else 7232 else
7253 ac_check_lib_save_LIBS=$LIBS 7233 ac_check_lib_save_LIBS=$LIBS
7254 LIBS="-ljpeg $LIBS" 7234 LIBS="-ljpeg $LIBS"
7255 cat >conftest.$ac_ext <<_ACEOF 7235 cat >conftest.$ac_ext <<_ACEOF
7256 #line 7250 "configure" 7236 #line 7236 "configure"
7257 #include "confdefs.h" 7237 #include "confdefs.h"
7258 7238
7259 /* Override any gcc2 internal prototype to avoid an error. */ 7239 /* Override any gcc2 internal prototype to avoid an error. */
7260 #ifdef __cplusplus 7240 #ifdef __cplusplus
7261 extern "C" 7241 extern "C"
7270 ; 7250 ;
7271 return 0; 7251 return 0;
7272 } 7252 }
7273 _ACEOF 7253 _ACEOF
7274 rm -f conftest.$ac_objext conftest$ac_exeext 7254 rm -f conftest.$ac_objext conftest$ac_exeext
7275 if { (eval echo "$as_me:7274: \"$ac_link\"") >&5 7255 if { (eval echo "$as_me:7255: \"$ac_link\"") >&5
7276 (eval $ac_link) 2>&5 7256 (eval $ac_link) 2>&5
7277 ac_status=$? 7257 ac_status=$?
7278 echo "$as_me:7277: \$? = $ac_status" >&5 7258 echo "$as_me:7258: \$? = $ac_status" >&5
7279 (exit $ac_status); } && 7259 (exit $ac_status); } &&
7280 { ac_try='test -s conftest$ac_exeext' 7260 { ac_try='test -s conftest$ac_exeext'
7281 { (eval echo "$as_me:7280: \"$ac_try\"") >&5 7261 { (eval echo "$as_me:7261: \"$ac_try\"") >&5
7282 (eval $ac_try) 2>&5 7262 (eval $ac_try) 2>&5
7283 ac_status=$? 7263 ac_status=$?
7284 echo "$as_me:7283: \$? = $ac_status" >&5 7264 echo "$as_me:7264: \$? = $ac_status" >&5
7285 (exit $ac_status); }; }; then 7265 (exit $ac_status); }; }; then
7286 ac_cv_lib_jpeg_jpeg_destroy_compress=yes 7266 ac_cv_lib_jpeg_jpeg_destroy_compress=yes
7287 else 7267 else
7288 echo "$as_me: failed program was:" >&5 7268 echo "$as_me: failed program was:" >&5
7289 cat conftest.$ac_ext >&5 7269 cat conftest.$ac_ext >&5
7290 ac_cv_lib_jpeg_jpeg_destroy_compress=no 7270 ac_cv_lib_jpeg_jpeg_destroy_compress=no
7291 fi 7271 fi
7292 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7272 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7293 LIBS=$ac_check_lib_save_LIBS 7273 LIBS=$ac_check_lib_save_LIBS
7294 fi 7274 fi
7295 echo "$as_me:7294: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5 7275 echo "$as_me:7275: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5
7296 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6 7276 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6
7297 if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then 7277 if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then
7298 HAVE_JPEG=yes 7278 HAVE_JPEG=yes
7299 fi 7279 fi
7300 7280
7306 cat >>confdefs.h <<\EOF 7286 cat >>confdefs.h <<\EOF
7307 #define HAVE_JPEG 1 7287 #define HAVE_JPEG 1
7308 EOF 7288 EOF
7309 7289
7310 cat >conftest.$ac_ext <<_ACEOF 7290 cat >conftest.$ac_ext <<_ACEOF
7311 #line 7305 "configure" 7291 #line 7291 "configure"
7312 #include "confdefs.h" 7292 #include "confdefs.h"
7313 #include <jpeglib.h> 7293 #include <jpeglib.h>
7314 version=JPEG_LIB_VERSION 7294 version=JPEG_LIB_VERSION
7315 7295
7316 _ACEOF 7296 _ACEOF
7319 cat >>confdefs.h <<\EOF 7299 cat >>confdefs.h <<\EOF
7320 #define HAVE_JPEG 1 7300 #define HAVE_JPEG 1
7321 EOF 7301 EOF
7322 7302
7323 else 7303 else
7324 { echo "$as_me:7323: WARNING: libjpeg found, but not version 6b or later" >&5 7304 { echo "$as_me:7304: WARNING: libjpeg found, but not version 6b or later" >&5
7325 echo "$as_me: WARNING: libjpeg found, but not version 6b or later" >&2;} 7305 echo "$as_me: WARNING: libjpeg found, but not version 6b or later" >&2;}
7326 HAVE_JPEG=no 7306 HAVE_JPEG=no
7327 fi 7307 fi
7328 rm -f conftest* 7308 rm -f conftest*
7329 7309
7332 7312
7333 ### Use -lpng if available, unless `--with-png=no'. 7313 ### Use -lpng if available, unless `--with-png=no'.
7334 HAVE_PNG=no 7314 HAVE_PNG=no
7335 if test "${HAVE_X11}" = "yes"; then 7315 if test "${HAVE_X11}" = "yes"; then
7336 if test "${with_png}" != "no"; then 7316 if test "${with_png}" != "no"; then
7337 echo "$as_me:7336: checking for png.h" >&5 7317 echo "$as_me:7317: checking for png.h" >&5
7338 echo $ECHO_N "checking for png.h... $ECHO_C" >&6 7318 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
7339 if test "${ac_cv_header_png_h+set}" = set; then 7319 if test "${ac_cv_header_png_h+set}" = set; then
7340 echo $ECHO_N "(cached) $ECHO_C" >&6 7320 echo $ECHO_N "(cached) $ECHO_C" >&6
7341 else 7321 else
7342 cat >conftest.$ac_ext <<_ACEOF 7322 cat >conftest.$ac_ext <<_ACEOF
7343 #line 7337 "configure" 7323 #line 7323 "configure"
7344 #include "confdefs.h" 7324 #include "confdefs.h"
7345 #include <png.h> 7325 #include <png.h>
7346 _ACEOF 7326 _ACEOF
7347 if { (eval echo "$as_me:7346: \"$ac_cpp conftest.$ac_ext\"") >&5 7327 if { (eval echo "$as_me:7327: \"$ac_cpp conftest.$ac_ext\"") >&5
7348 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7328 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7349 ac_status=$? 7329 ac_status=$?
7350 egrep -v '^ *\+' conftest.er1 >conftest.err 7330 egrep -v '^ *\+' conftest.er1 >conftest.err
7351 rm -f conftest.er1 7331 rm -f conftest.er1
7352 cat conftest.err >&5 7332 cat conftest.err >&5
7353 echo "$as_me:7352: \$? = $ac_status" >&5 7333 echo "$as_me:7333: \$? = $ac_status" >&5
7354 (exit $ac_status); } >/dev/null; then 7334 (exit $ac_status); } >/dev/null; then
7355 if test -s conftest.err; then 7335 if test -s conftest.err; then
7356 ac_cpp_err=$ac_c_preproc_warn_flag 7336 ac_cpp_err=$ac_c_preproc_warn_flag
7357 else 7337 else
7358 ac_cpp_err= 7338 ac_cpp_err=
7367 cat conftest.$ac_ext >&5 7347 cat conftest.$ac_ext >&5
7368 ac_cv_header_png_h=no 7348 ac_cv_header_png_h=no
7369 fi 7349 fi
7370 rm -f conftest.err conftest.$ac_ext 7350 rm -f conftest.err conftest.$ac_ext
7371 fi 7351 fi
7372 echo "$as_me:7371: result: $ac_cv_header_png_h" >&5 7352 echo "$as_me:7352: result: $ac_cv_header_png_h" >&5
7373 echo "${ECHO_T}$ac_cv_header_png_h" >&6 7353 echo "${ECHO_T}$ac_cv_header_png_h" >&6
7374 if test $ac_cv_header_png_h = yes; then 7354 if test $ac_cv_header_png_h = yes; then
7375 echo "$as_me:7374: checking for png_get_channels in -lpng" >&5 7355 echo "$as_me:7355: checking for png_get_channels in -lpng" >&5
7376 echo $ECHO_N "checking for png_get_channels in -lpng... $ECHO_C" >&6 7356 echo $ECHO_N "checking for png_get_channels in -lpng... $ECHO_C" >&6
7377 if test "${ac_cv_lib_png_png_get_channels+set}" = set; then 7357 if test "${ac_cv_lib_png_png_get_channels+set}" = set; then
7378 echo $ECHO_N "(cached) $ECHO_C" >&6 7358 echo $ECHO_N "(cached) $ECHO_C" >&6
7379 else 7359 else
7380 ac_check_lib_save_LIBS=$LIBS 7360 ac_check_lib_save_LIBS=$LIBS
7381 LIBS="-lpng -lz -lm $LIBS" 7361 LIBS="-lpng -lz -lm $LIBS"
7382 cat >conftest.$ac_ext <<_ACEOF 7362 cat >conftest.$ac_ext <<_ACEOF
7383 #line 7377 "configure" 7363 #line 7363 "configure"
7384 #include "confdefs.h" 7364 #include "confdefs.h"
7385 7365
7386 /* Override any gcc2 internal prototype to avoid an error. */ 7366 /* Override any gcc2 internal prototype to avoid an error. */
7387 #ifdef __cplusplus 7367 #ifdef __cplusplus
7388 extern "C" 7368 extern "C"
7397 ; 7377 ;
7398 return 0; 7378 return 0;
7399 } 7379 }
7400 _ACEOF 7380 _ACEOF
7401 rm -f conftest.$ac_objext conftest$ac_exeext 7381 rm -f conftest.$ac_objext conftest$ac_exeext
7402 if { (eval echo "$as_me:7401: \"$ac_link\"") >&5 7382 if { (eval echo "$as_me:7382: \"$ac_link\"") >&5
7403 (eval $ac_link) 2>&5 7383 (eval $ac_link) 2>&5
7404 ac_status=$? 7384 ac_status=$?
7405 echo "$as_me:7404: \$? = $ac_status" >&5 7385 echo "$as_me:7385: \$? = $ac_status" >&5
7406 (exit $ac_status); } && 7386 (exit $ac_status); } &&
7407 { ac_try='test -s conftest$ac_exeext' 7387 { ac_try='test -s conftest$ac_exeext'
7408 { (eval echo "$as_me:7407: \"$ac_try\"") >&5 7388 { (eval echo "$as_me:7388: \"$ac_try\"") >&5
7409 (eval $ac_try) 2>&5 7389 (eval $ac_try) 2>&5
7410 ac_status=$? 7390 ac_status=$?
7411 echo "$as_me:7410: \$? = $ac_status" >&5 7391 echo "$as_me:7391: \$? = $ac_status" >&5
7412 (exit $ac_status); }; }; then 7392 (exit $ac_status); }; }; then
7413 ac_cv_lib_png_png_get_channels=yes 7393 ac_cv_lib_png_png_get_channels=yes
7414 else 7394 else
7415 echo "$as_me: failed program was:" >&5 7395 echo "$as_me: failed program was:" >&5
7416 cat conftest.$ac_ext >&5 7396 cat conftest.$ac_ext >&5
7417 ac_cv_lib_png_png_get_channels=no 7397 ac_cv_lib_png_png_get_channels=no
7418 fi 7398 fi
7419 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7399 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7420 LIBS=$ac_check_lib_save_LIBS 7400 LIBS=$ac_check_lib_save_LIBS
7421 fi 7401 fi
7422 echo "$as_me:7421: result: $ac_cv_lib_png_png_get_channels" >&5 7402 echo "$as_me:7402: result: $ac_cv_lib_png_png_get_channels" >&5
7423 echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6 7403 echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6
7424 if test $ac_cv_lib_png_png_get_channels = yes; then 7404 if test $ac_cv_lib_png_png_get_channels = yes; then
7425 HAVE_PNG=yes 7405 HAVE_PNG=yes
7426 fi 7406 fi
7427 7407
7440 7420
7441 ### Use -ltiff if available, unless `--with-tiff=no'. 7421 ### Use -ltiff if available, unless `--with-tiff=no'.
7442 HAVE_TIFF=no 7422 HAVE_TIFF=no
7443 if test "${HAVE_X11}" = "yes"; then 7423 if test "${HAVE_X11}" = "yes"; then
7444 if test "${with_tiff}" != "no"; then 7424 if test "${with_tiff}" != "no"; then
7445 echo "$as_me:7444: checking for tiffio.h" >&5 7425 echo "$as_me:7425: checking for tiffio.h" >&5
7446 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6 7426 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
7447 if test "${ac_cv_header_tiffio_h+set}" = set; then 7427 if test "${ac_cv_header_tiffio_h+set}" = set; then
7448 echo $ECHO_N "(cached) $ECHO_C" >&6 7428 echo $ECHO_N "(cached) $ECHO_C" >&6
7449 else 7429 else
7450 cat >conftest.$ac_ext <<_ACEOF 7430 cat >conftest.$ac_ext <<_ACEOF
7451 #line 7445 "configure" 7431 #line 7431 "configure"
7452 #include "confdefs.h" 7432 #include "confdefs.h"
7453 #include <tiffio.h> 7433 #include <tiffio.h>
7454 _ACEOF 7434 _ACEOF
7455 if { (eval echo "$as_me:7454: \"$ac_cpp conftest.$ac_ext\"") >&5 7435 if { (eval echo "$as_me:7435: \"$ac_cpp conftest.$ac_ext\"") >&5
7456 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7436 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7457 ac_status=$? 7437 ac_status=$?
7458 egrep -v '^ *\+' conftest.er1 >conftest.err 7438 egrep -v '^ *\+' conftest.er1 >conftest.err
7459 rm -f conftest.er1 7439 rm -f conftest.er1
7460 cat conftest.err >&5 7440 cat conftest.err >&5
7461 echo "$as_me:7460: \$? = $ac_status" >&5 7441 echo "$as_me:7441: \$? = $ac_status" >&5
7462 (exit $ac_status); } >/dev/null; then 7442 (exit $ac_status); } >/dev/null; then
7463 if test -s conftest.err; then 7443 if test -s conftest.err; then
7464 ac_cpp_err=$ac_c_preproc_warn_flag 7444 ac_cpp_err=$ac_c_preproc_warn_flag
7465 else 7445 else
7466 ac_cpp_err= 7446 ac_cpp_err=
7475 cat conftest.$ac_ext >&5 7455 cat conftest.$ac_ext >&5
7476 ac_cv_header_tiffio_h=no 7456 ac_cv_header_tiffio_h=no
7477 fi 7457 fi
7478 rm -f conftest.err conftest.$ac_ext 7458 rm -f conftest.err conftest.$ac_ext
7479 fi 7459 fi
7480 echo "$as_me:7479: result: $ac_cv_header_tiffio_h" >&5 7460 echo "$as_me:7460: result: $ac_cv_header_tiffio_h" >&5
7481 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6 7461 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
7482 if test $ac_cv_header_tiffio_h = yes; then 7462 if test $ac_cv_header_tiffio_h = yes; then
7483 tifflibs="-lz -lm" 7463 tifflibs="-lz -lm"
7484 # At least one tiff package requires the jpeg library. 7464 # At least one tiff package requires the jpeg library.
7485 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi 7465 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi
7486 echo "$as_me:7485: checking for TIFFGetVersion in -ltiff" >&5 7466 echo "$as_me:7466: checking for TIFFGetVersion in -ltiff" >&5
7487 echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6 7467 echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6
7488 if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then 7468 if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then
7489 echo $ECHO_N "(cached) $ECHO_C" >&6 7469 echo $ECHO_N "(cached) $ECHO_C" >&6
7490 else 7470 else
7491 ac_check_lib_save_LIBS=$LIBS 7471 ac_check_lib_save_LIBS=$LIBS
7492 LIBS="-ltiff $tifflibs $LIBS" 7472 LIBS="-ltiff $tifflibs $LIBS"
7493 cat >conftest.$ac_ext <<_ACEOF 7473 cat >conftest.$ac_ext <<_ACEOF
7494 #line 7488 "configure" 7474 #line 7474 "configure"
7495 #include "confdefs.h" 7475 #include "confdefs.h"
7496 7476
7497 /* Override any gcc2 internal prototype to avoid an error. */ 7477 /* Override any gcc2 internal prototype to avoid an error. */
7498 #ifdef __cplusplus 7478 #ifdef __cplusplus
7499 extern "C" 7479 extern "C"
7508 ; 7488 ;
7509 return 0; 7489 return 0;
7510 } 7490 }
7511 _ACEOF 7491 _ACEOF
7512 rm -f conftest.$ac_objext conftest$ac_exeext 7492 rm -f conftest.$ac_objext conftest$ac_exeext
7513 if { (eval echo "$as_me:7512: \"$ac_link\"") >&5 7493 if { (eval echo "$as_me:7493: \"$ac_link\"") >&5
7514 (eval $ac_link) 2>&5 7494 (eval $ac_link) 2>&5
7515 ac_status=$? 7495 ac_status=$?
7516 echo "$as_me:7515: \$? = $ac_status" >&5 7496 echo "$as_me:7496: \$? = $ac_status" >&5
7517 (exit $ac_status); } && 7497 (exit $ac_status); } &&
7518 { ac_try='test -s conftest$ac_exeext' 7498 { ac_try='test -s conftest$ac_exeext'
7519 { (eval echo "$as_me:7518: \"$ac_try\"") >&5 7499 { (eval echo "$as_me:7499: \"$ac_try\"") >&5
7520 (eval $ac_try) 2>&5 7500 (eval $ac_try) 2>&5
7521 ac_status=$? 7501 ac_status=$?
7522 echo "$as_me:7521: \$? = $ac_status" >&5 7502 echo "$as_me:7502: \$? = $ac_status" >&5
7523 (exit $ac_status); }; }; then 7503 (exit $ac_status); }; }; then
7524 ac_cv_lib_tiff_TIFFGetVersion=yes 7504 ac_cv_lib_tiff_TIFFGetVersion=yes
7525 else 7505 else
7526 echo "$as_me: failed program was:" >&5 7506 echo "$as_me: failed program was:" >&5
7527 cat conftest.$ac_ext >&5 7507 cat conftest.$ac_ext >&5
7528 ac_cv_lib_tiff_TIFFGetVersion=no 7508 ac_cv_lib_tiff_TIFFGetVersion=no
7529 fi 7509 fi
7530 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7510 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7531 LIBS=$ac_check_lib_save_LIBS 7511 LIBS=$ac_check_lib_save_LIBS
7532 fi 7512 fi
7533 echo "$as_me:7532: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5 7513 echo "$as_me:7513: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5
7534 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6 7514 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6
7535 if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then 7515 if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then
7536 HAVE_TIFF=yes 7516 HAVE_TIFF=yes
7537 fi 7517 fi
7538 7518
7551 7531
7552 ### Use -lgif if available, unless `--with-gif=no'. 7532 ### Use -lgif if available, unless `--with-gif=no'.
7553 HAVE_GIF=no 7533 HAVE_GIF=no
7554 if test "${HAVE_X11}" = "yes"; then 7534 if test "${HAVE_X11}" = "yes"; then
7555 if test "${with_gif}" != "no"; then 7535 if test "${with_gif}" != "no"; then
7556 echo "$as_me:7555: checking for gif_lib.h" >&5 7536 echo "$as_me:7536: checking for gif_lib.h" >&5
7557 echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6 7537 echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6
7558 if test "${ac_cv_header_gif_lib_h+set}" = set; then 7538 if test "${ac_cv_header_gif_lib_h+set}" = set; then
7559 echo $ECHO_N "(cached) $ECHO_C" >&6 7539 echo $ECHO_N "(cached) $ECHO_C" >&6
7560 else 7540 else
7561 cat >conftest.$ac_ext <<_ACEOF 7541 cat >conftest.$ac_ext <<_ACEOF
7562 #line 7556 "configure" 7542 #line 7542 "configure"
7563 #include "confdefs.h" 7543 #include "confdefs.h"
7564 #include <gif_lib.h> 7544 #include <gif_lib.h>
7565 _ACEOF 7545 _ACEOF
7566 if { (eval echo "$as_me:7565: \"$ac_cpp conftest.$ac_ext\"") >&5 7546 if { (eval echo "$as_me:7546: \"$ac_cpp conftest.$ac_ext\"") >&5
7567 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7547 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7568 ac_status=$? 7548 ac_status=$?
7569 egrep -v '^ *\+' conftest.er1 >conftest.err 7549 egrep -v '^ *\+' conftest.er1 >conftest.err
7570 rm -f conftest.er1 7550 rm -f conftest.er1
7571 cat conftest.err >&5 7551 cat conftest.err >&5
7572 echo "$as_me:7571: \$? = $ac_status" >&5 7552 echo "$as_me:7552: \$? = $ac_status" >&5
7573 (exit $ac_status); } >/dev/null; then 7553 (exit $ac_status); } >/dev/null; then
7574 if test -s conftest.err; then 7554 if test -s conftest.err; then
7575 ac_cpp_err=$ac_c_preproc_warn_flag 7555 ac_cpp_err=$ac_c_preproc_warn_flag
7576 else 7556 else
7577 ac_cpp_err= 7557 ac_cpp_err=
7586 cat conftest.$ac_ext >&5 7566 cat conftest.$ac_ext >&5
7587 ac_cv_header_gif_lib_h=no 7567 ac_cv_header_gif_lib_h=no
7588 fi 7568 fi
7589 rm -f conftest.err conftest.$ac_ext 7569 rm -f conftest.err conftest.$ac_ext
7590 fi 7570 fi
7591 echo "$as_me:7590: result: $ac_cv_header_gif_lib_h" >&5 7571 echo "$as_me:7571: result: $ac_cv_header_gif_lib_h" >&5
7592 echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6 7572 echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6
7593 if test $ac_cv_header_gif_lib_h = yes; then 7573 if test $ac_cv_header_gif_lib_h = yes; then
7594 # EGifPutExtensionLast only exists from version libungif-4.1.0b1. 7574 # EGifPutExtensionLast only exists from version libungif-4.1.0b1.
7595 # Earlier versions can crash Emacs. 7575 # Earlier versions can crash Emacs.
7596 echo "$as_me:7595: checking for EGifPutExtensionLast in -lungif" >&5 7576 echo "$as_me:7576: checking for EGifPutExtensionLast in -lungif" >&5
7597 echo $ECHO_N "checking for EGifPutExtensionLast in -lungif... $ECHO_C" >&6 7577 echo $ECHO_N "checking for EGifPutExtensionLast in -lungif... $ECHO_C" >&6
7598 if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then 7578 if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then
7599 echo $ECHO_N "(cached) $ECHO_C" >&6 7579 echo $ECHO_N "(cached) $ECHO_C" >&6
7600 else 7580 else
7601 ac_check_lib_save_LIBS=$LIBS 7581 ac_check_lib_save_LIBS=$LIBS
7602 LIBS="-lungif $LIBS" 7582 LIBS="-lungif $LIBS"
7603 cat >conftest.$ac_ext <<_ACEOF 7583 cat >conftest.$ac_ext <<_ACEOF
7604 #line 7598 "configure" 7584 #line 7584 "configure"
7605 #include "confdefs.h" 7585 #include "confdefs.h"
7606 7586
7607 /* Override any gcc2 internal prototype to avoid an error. */ 7587 /* Override any gcc2 internal prototype to avoid an error. */
7608 #ifdef __cplusplus 7588 #ifdef __cplusplus
7609 extern "C" 7589 extern "C"
7618 ; 7598 ;
7619 return 0; 7599 return 0;
7620 } 7600 }
7621 _ACEOF 7601 _ACEOF
7622 rm -f conftest.$ac_objext conftest$ac_exeext 7602 rm -f conftest.$ac_objext conftest$ac_exeext
7623 if { (eval echo "$as_me:7622: \"$ac_link\"") >&5 7603 if { (eval echo "$as_me:7603: \"$ac_link\"") >&5
7624 (eval $ac_link) 2>&5 7604 (eval $ac_link) 2>&5
7625 ac_status=$? 7605 ac_status=$?
7626 echo "$as_me:7625: \$? = $ac_status" >&5 7606 echo "$as_me:7606: \$? = $ac_status" >&5
7627 (exit $ac_status); } && 7607 (exit $ac_status); } &&
7628 { ac_try='test -s conftest$ac_exeext' 7608 { ac_try='test -s conftest$ac_exeext'
7629 { (eval echo "$as_me:7628: \"$ac_try\"") >&5 7609 { (eval echo "$as_me:7609: \"$ac_try\"") >&5
7630 (eval $ac_try) 2>&5 7610 (eval $ac_try) 2>&5
7631 ac_status=$? 7611 ac_status=$?
7632 echo "$as_me:7631: \$? = $ac_status" >&5 7612 echo "$as_me:7612: \$? = $ac_status" >&5
7633 (exit $ac_status); }; }; then 7613 (exit $ac_status); }; }; then
7634 ac_cv_lib_ungif_EGifPutExtensionLast=yes 7614 ac_cv_lib_ungif_EGifPutExtensionLast=yes
7635 else 7615 else
7636 echo "$as_me: failed program was:" >&5 7616 echo "$as_me: failed program was:" >&5
7637 cat conftest.$ac_ext >&5 7617 cat conftest.$ac_ext >&5
7638 ac_cv_lib_ungif_EGifPutExtensionLast=no 7618 ac_cv_lib_ungif_EGifPutExtensionLast=no
7639 fi 7619 fi
7640 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7620 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7641 LIBS=$ac_check_lib_save_LIBS 7621 LIBS=$ac_check_lib_save_LIBS
7642 fi 7622 fi
7643 echo "$as_me:7642: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5 7623 echo "$as_me:7623: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5
7644 echo "${ECHO_T}$ac_cv_lib_ungif_EGifPutExtensionLast" >&6 7624 echo "${ECHO_T}$ac_cv_lib_ungif_EGifPutExtensionLast" >&6
7645 if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then 7625 if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then
7646 HAVE_GIF=yes 7626 HAVE_GIF=yes
7647 fi 7627 fi
7648 7628
7660 fi 7640 fi
7661 7641
7662 ### Use Mac OS X Carbon API to implement GUI. 7642 ### Use Mac OS X Carbon API to implement GUI.
7663 HAVE_CARBON=no 7643 HAVE_CARBON=no
7664 if test "${with_carbon}" != "no"; then 7644 if test "${with_carbon}" != "no"; then
7665 echo "$as_me:7664: checking for Carbon/Carbon.h" >&5 7645 echo "$as_me:7645: checking for Carbon/Carbon.h" >&5
7666 echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6 7646 echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6
7667 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then 7647 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
7668 echo $ECHO_N "(cached) $ECHO_C" >&6 7648 echo $ECHO_N "(cached) $ECHO_C" >&6
7669 else 7649 else
7670 cat >conftest.$ac_ext <<_ACEOF 7650 cat >conftest.$ac_ext <<_ACEOF
7671 #line 7665 "configure" 7651 #line 7651 "configure"
7672 #include "confdefs.h" 7652 #include "confdefs.h"
7673 #include <Carbon/Carbon.h> 7653 #include <Carbon/Carbon.h>
7674 _ACEOF 7654 _ACEOF
7675 if { (eval echo "$as_me:7674: \"$ac_cpp conftest.$ac_ext\"") >&5 7655 if { (eval echo "$as_me:7655: \"$ac_cpp conftest.$ac_ext\"") >&5
7676 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7656 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7677 ac_status=$? 7657 ac_status=$?
7678 egrep -v '^ *\+' conftest.er1 >conftest.err 7658 egrep -v '^ *\+' conftest.er1 >conftest.err
7679 rm -f conftest.er1 7659 rm -f conftest.er1
7680 cat conftest.err >&5 7660 cat conftest.err >&5
7681 echo "$as_me:7680: \$? = $ac_status" >&5 7661 echo "$as_me:7661: \$? = $ac_status" >&5
7682 (exit $ac_status); } >/dev/null; then 7662 (exit $ac_status); } >/dev/null; then
7683 if test -s conftest.err; then 7663 if test -s conftest.err; then
7684 ac_cpp_err=$ac_c_preproc_warn_flag 7664 ac_cpp_err=$ac_c_preproc_warn_flag
7685 else 7665 else
7686 ac_cpp_err= 7666 ac_cpp_err=
7695 cat conftest.$ac_ext >&5 7675 cat conftest.$ac_ext >&5
7696 ac_cv_header_Carbon_Carbon_h=no 7676 ac_cv_header_Carbon_Carbon_h=no
7697 fi 7677 fi
7698 rm -f conftest.err conftest.$ac_ext 7678 rm -f conftest.err conftest.$ac_ext
7699 fi 7679 fi
7700 echo "$as_me:7699: result: $ac_cv_header_Carbon_Carbon_h" >&5 7680 echo "$as_me:7680: result: $ac_cv_header_Carbon_Carbon_h" >&5
7701 echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6 7681 echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6
7702 if test $ac_cv_header_Carbon_Carbon_h = yes; then 7682 if test $ac_cv_header_Carbon_Carbon_h = yes; then
7703 HAVE_CARBON=yes 7683 HAVE_CARBON=yes
7704 fi 7684 fi
7705 7685
7714 fi 7694 fi
7715 7695
7716 ### Use session management (-lSM -lICE) if available 7696 ### Use session management (-lSM -lICE) if available
7717 HAVE_X_SM=no 7697 HAVE_X_SM=no
7718 if test "${HAVE_X11}" = "yes"; then 7698 if test "${HAVE_X11}" = "yes"; then
7719 echo "$as_me:7718: checking for X11/SM/SMlib.h" >&5 7699 echo "$as_me:7699: checking for X11/SM/SMlib.h" >&5
7720 echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6 7700 echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6
7721 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then 7701 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
7722 echo $ECHO_N "(cached) $ECHO_C" >&6 7702 echo $ECHO_N "(cached) $ECHO_C" >&6
7723 else 7703 else
7724 cat >conftest.$ac_ext <<_ACEOF 7704 cat >conftest.$ac_ext <<_ACEOF
7725 #line 7719 "configure" 7705 #line 7705 "configure"
7726 #include "confdefs.h" 7706 #include "confdefs.h"
7727 #include <X11/SM/SMlib.h> 7707 #include <X11/SM/SMlib.h>
7728 _ACEOF 7708 _ACEOF
7729 if { (eval echo "$as_me:7728: \"$ac_cpp conftest.$ac_ext\"") >&5 7709 if { (eval echo "$as_me:7709: \"$ac_cpp conftest.$ac_ext\"") >&5
7730 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7710 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7731 ac_status=$? 7711 ac_status=$?
7732 egrep -v '^ *\+' conftest.er1 >conftest.err 7712 egrep -v '^ *\+' conftest.er1 >conftest.err
7733 rm -f conftest.er1 7713 rm -f conftest.er1
7734 cat conftest.err >&5 7714 cat conftest.err >&5
7735 echo "$as_me:7734: \$? = $ac_status" >&5 7715 echo "$as_me:7715: \$? = $ac_status" >&5
7736 (exit $ac_status); } >/dev/null; then 7716 (exit $ac_status); } >/dev/null; then
7737 if test -s conftest.err; then 7717 if test -s conftest.err; then
7738 ac_cpp_err=$ac_c_preproc_warn_flag 7718 ac_cpp_err=$ac_c_preproc_warn_flag
7739 else 7719 else
7740 ac_cpp_err= 7720 ac_cpp_err=
7749 cat conftest.$ac_ext >&5 7729 cat conftest.$ac_ext >&5
7750 ac_cv_header_X11_SM_SMlib_h=no 7730 ac_cv_header_X11_SM_SMlib_h=no
7751 fi 7731 fi
7752 rm -f conftest.err conftest.$ac_ext 7732 rm -f conftest.err conftest.$ac_ext
7753 fi 7733 fi
7754 echo "$as_me:7753: result: $ac_cv_header_X11_SM_SMlib_h" >&5 7734 echo "$as_me:7734: result: $ac_cv_header_X11_SM_SMlib_h" >&5
7755 echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6 7735 echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6
7756 if test $ac_cv_header_X11_SM_SMlib_h = yes; then 7736 if test $ac_cv_header_X11_SM_SMlib_h = yes; then
7757 echo "$as_me:7756: checking for SmcOpenConnection in -lSM" >&5 7737 echo "$as_me:7737: checking for SmcOpenConnection in -lSM" >&5
7758 echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6 7738 echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6
7759 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then 7739 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then
7760 echo $ECHO_N "(cached) $ECHO_C" >&6 7740 echo $ECHO_N "(cached) $ECHO_C" >&6
7761 else 7741 else
7762 ac_check_lib_save_LIBS=$LIBS 7742 ac_check_lib_save_LIBS=$LIBS
7763 LIBS="-lSM $LIBS" 7743 LIBS="-lSM $LIBS"
7764 cat >conftest.$ac_ext <<_ACEOF 7744 cat >conftest.$ac_ext <<_ACEOF
7765 #line 7759 "configure" 7745 #line 7745 "configure"
7766 #include "confdefs.h" 7746 #include "confdefs.h"
7767 7747
7768 /* Override any gcc2 internal prototype to avoid an error. */ 7748 /* Override any gcc2 internal prototype to avoid an error. */
7769 #ifdef __cplusplus 7749 #ifdef __cplusplus
7770 extern "C" 7750 extern "C"
7779 ; 7759 ;
7780 return 0; 7760 return 0;
7781 } 7761 }
7782 _ACEOF 7762 _ACEOF
7783 rm -f conftest.$ac_objext conftest$ac_exeext 7763 rm -f conftest.$ac_objext conftest$ac_exeext
7784 if { (eval echo "$as_me:7783: \"$ac_link\"") >&5 7764 if { (eval echo "$as_me:7764: \"$ac_link\"") >&5
7785 (eval $ac_link) 2>&5 7765 (eval $ac_link) 2>&5
7786 ac_status=$? 7766 ac_status=$?
7787 echo "$as_me:7786: \$? = $ac_status" >&5 7767 echo "$as_me:7767: \$? = $ac_status" >&5
7788 (exit $ac_status); } && 7768 (exit $ac_status); } &&
7789 { ac_try='test -s conftest$ac_exeext' 7769 { ac_try='test -s conftest$ac_exeext'
7790 { (eval echo "$as_me:7789: \"$ac_try\"") >&5 7770 { (eval echo "$as_me:7770: \"$ac_try\"") >&5
7791 (eval $ac_try) 2>&5 7771 (eval $ac_try) 2>&5
7792 ac_status=$? 7772 ac_status=$?
7793 echo "$as_me:7792: \$? = $ac_status" >&5 7773 echo "$as_me:7773: \$? = $ac_status" >&5
7794 (exit $ac_status); }; }; then 7774 (exit $ac_status); }; }; then
7795 ac_cv_lib_SM_SmcOpenConnection=yes 7775 ac_cv_lib_SM_SmcOpenConnection=yes
7796 else 7776 else
7797 echo "$as_me: failed program was:" >&5 7777 echo "$as_me: failed program was:" >&5
7798 cat conftest.$ac_ext >&5 7778 cat conftest.$ac_ext >&5
7799 ac_cv_lib_SM_SmcOpenConnection=no 7779 ac_cv_lib_SM_SmcOpenConnection=no
7800 fi 7780 fi
7801 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7781 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7802 LIBS=$ac_check_lib_save_LIBS 7782 LIBS=$ac_check_lib_save_LIBS
7803 fi 7783 fi
7804 echo "$as_me:7803: result: $ac_cv_lib_SM_SmcOpenConnection" >&5 7784 echo "$as_me:7784: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
7805 echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6 7785 echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6
7806 if test $ac_cv_lib_SM_SmcOpenConnection = yes; then 7786 if test $ac_cv_lib_SM_SmcOpenConnection = yes; then
7807 HAVE_X_SM=yes 7787 HAVE_X_SM=yes
7808 else 7788 else
7809 -lICE 7789 -lICE
7823 esac 7803 esac
7824 fi 7804 fi
7825 fi 7805 fi
7826 7806
7827 # If netdb.h doesn't declare h_errno, we must declare it by hand. 7807 # If netdb.h doesn't declare h_errno, we must declare it by hand.
7828 echo "$as_me:7827: checking whether netdb declares h_errno" >&5 7808 echo "$as_me:7808: checking whether netdb declares h_errno" >&5
7829 echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6 7809 echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6
7830 if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then 7810 if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then
7831 echo $ECHO_N "(cached) $ECHO_C" >&6 7811 echo $ECHO_N "(cached) $ECHO_C" >&6
7832 else 7812 else
7833 cat >conftest.$ac_ext <<_ACEOF 7813 cat >conftest.$ac_ext <<_ACEOF
7834 #line 7828 "configure" 7814 #line 7814 "configure"
7835 #include "confdefs.h" 7815 #include "confdefs.h"
7836 #include <netdb.h> 7816 #include <netdb.h>
7837 int 7817 int
7838 main () 7818 main ()
7839 { 7819 {
7841 ; 7821 ;
7842 return 0; 7822 return 0;
7843 } 7823 }
7844 _ACEOF 7824 _ACEOF
7845 rm -f conftest.$ac_objext conftest$ac_exeext 7825 rm -f conftest.$ac_objext conftest$ac_exeext
7846 if { (eval echo "$as_me:7845: \"$ac_link\"") >&5 7826 if { (eval echo "$as_me:7826: \"$ac_link\"") >&5
7847 (eval $ac_link) 2>&5 7827 (eval $ac_link) 2>&5
7848 ac_status=$? 7828 ac_status=$?
7849 echo "$as_me:7848: \$? = $ac_status" >&5 7829 echo "$as_me:7829: \$? = $ac_status" >&5
7850 (exit $ac_status); } && 7830 (exit $ac_status); } &&
7851 { ac_try='test -s conftest$ac_exeext' 7831 { ac_try='test -s conftest$ac_exeext'
7852 { (eval echo "$as_me:7851: \"$ac_try\"") >&5 7832 { (eval echo "$as_me:7832: \"$ac_try\"") >&5
7853 (eval $ac_try) 2>&5 7833 (eval $ac_try) 2>&5
7854 ac_status=$? 7834 ac_status=$?
7855 echo "$as_me:7854: \$? = $ac_status" >&5 7835 echo "$as_me:7835: \$? = $ac_status" >&5
7856 (exit $ac_status); }; }; then 7836 (exit $ac_status); }; }; then
7857 emacs_cv_netdb_declares_h_errno=yes 7837 emacs_cv_netdb_declares_h_errno=yes
7858 else 7838 else
7859 echo "$as_me: failed program was:" >&5 7839 echo "$as_me: failed program was:" >&5
7860 cat conftest.$ac_ext >&5 7840 cat conftest.$ac_ext >&5
7861 emacs_cv_netdb_declares_h_errno=no 7841 emacs_cv_netdb_declares_h_errno=no
7862 fi 7842 fi
7863 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7843 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7864 fi 7844 fi
7865 echo "$as_me:7864: result: $emacs_cv_netdb_declares_h_errno" >&5 7845 echo "$as_me:7845: result: $emacs_cv_netdb_declares_h_errno" >&5
7866 echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6 7846 echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6
7867 if test $emacs_cv_netdb_declares_h_errno = yes; then 7847 if test $emacs_cv_netdb_declares_h_errno = yes; then
7868 7848
7869 cat >>confdefs.h <<\EOF 7849 cat >>confdefs.h <<\EOF
7870 #define HAVE_H_ERRNO 1 7850 #define HAVE_H_ERRNO 1
7872 7852
7873 fi 7853 fi
7874 7854
7875 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 7855 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
7876 # for constant arguments. Useless! 7856 # for constant arguments. Useless!
7877 echo "$as_me:7876: checking for working alloca.h" >&5 7857 echo "$as_me:7857: checking for working alloca.h" >&5
7878 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 7858 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
7879 if test "${ac_cv_working_alloca_h+set}" = set; then 7859 if test "${ac_cv_working_alloca_h+set}" = set; then
7880 echo $ECHO_N "(cached) $ECHO_C" >&6 7860 echo $ECHO_N "(cached) $ECHO_C" >&6
7881 else 7861 else
7882 cat >conftest.$ac_ext <<_ACEOF 7862 cat >conftest.$ac_ext <<_ACEOF
7883 #line 7877 "configure" 7863 #line 7863 "configure"
7884 #include "confdefs.h" 7864 #include "confdefs.h"
7885 #include <alloca.h> 7865 #include <alloca.h>
7886 int 7866 int
7887 main () 7867 main ()
7888 { 7868 {
7890 ; 7870 ;
7891 return 0; 7871 return 0;
7892 } 7872 }
7893 _ACEOF 7873 _ACEOF
7894 rm -f conftest.$ac_objext conftest$ac_exeext 7874 rm -f conftest.$ac_objext conftest$ac_exeext
7895 if { (eval echo "$as_me:7894: \"$ac_link\"") >&5 7875 if { (eval echo "$as_me:7875: \"$ac_link\"") >&5
7896 (eval $ac_link) 2>&5 7876 (eval $ac_link) 2>&5
7897 ac_status=$? 7877 ac_status=$?
7898 echo "$as_me:7897: \$? = $ac_status" >&5 7878 echo "$as_me:7878: \$? = $ac_status" >&5
7899 (exit $ac_status); } && 7879 (exit $ac_status); } &&
7900 { ac_try='test -s conftest$ac_exeext' 7880 { ac_try='test -s conftest$ac_exeext'
7901 { (eval echo "$as_me:7900: \"$ac_try\"") >&5 7881 { (eval echo "$as_me:7881: \"$ac_try\"") >&5
7902 (eval $ac_try) 2>&5 7882 (eval $ac_try) 2>&5
7903 ac_status=$? 7883 ac_status=$?
7904 echo "$as_me:7903: \$? = $ac_status" >&5 7884 echo "$as_me:7884: \$? = $ac_status" >&5
7905 (exit $ac_status); }; }; then 7885 (exit $ac_status); }; }; then
7906 ac_cv_working_alloca_h=yes 7886 ac_cv_working_alloca_h=yes
7907 else 7887 else
7908 echo "$as_me: failed program was:" >&5 7888 echo "$as_me: failed program was:" >&5
7909 cat conftest.$ac_ext >&5 7889 cat conftest.$ac_ext >&5
7910 ac_cv_working_alloca_h=no 7890 ac_cv_working_alloca_h=no
7911 fi 7891 fi
7912 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7892 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7913 fi 7893 fi
7914 echo "$as_me:7913: result: $ac_cv_working_alloca_h" >&5 7894 echo "$as_me:7894: result: $ac_cv_working_alloca_h" >&5
7915 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 7895 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
7916 if test $ac_cv_working_alloca_h = yes; then 7896 if test $ac_cv_working_alloca_h = yes; then
7917 7897
7918 cat >>confdefs.h <<\EOF 7898 cat >>confdefs.h <<\EOF
7919 #define HAVE_ALLOCA_H 1 7899 #define HAVE_ALLOCA_H 1
7920 EOF 7900 EOF
7921 7901
7922 fi 7902 fi
7923 7903
7924 echo "$as_me:7923: checking for alloca" >&5 7904 echo "$as_me:7904: checking for alloca" >&5
7925 echo $ECHO_N "checking for alloca... $ECHO_C" >&6 7905 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
7926 if test "${ac_cv_func_alloca_works+set}" = set; then 7906 if test "${ac_cv_func_alloca_works+set}" = set; then
7927 echo $ECHO_N "(cached) $ECHO_C" >&6 7907 echo $ECHO_N "(cached) $ECHO_C" >&6
7928 else 7908 else
7929 cat >conftest.$ac_ext <<_ACEOF 7909 cat >conftest.$ac_ext <<_ACEOF
7930 #line 7924 "configure" 7910 #line 7910 "configure"
7931 #include "confdefs.h" 7911 #include "confdefs.h"
7932 #ifdef __GNUC__ 7912 #ifdef __GNUC__
7933 # define alloca __builtin_alloca 7913 # define alloca __builtin_alloca
7934 #else 7914 #else
7935 # ifdef _MSC_VER 7915 # ifdef _MSC_VER
7957 ; 7937 ;
7958 return 0; 7938 return 0;
7959 } 7939 }
7960 _ACEOF 7940 _ACEOF
7961 rm -f conftest.$ac_objext conftest$ac_exeext 7941 rm -f conftest.$ac_objext conftest$ac_exeext
7962 if { (eval echo "$as_me:7961: \"$ac_link\"") >&5 7942 if { (eval echo "$as_me:7942: \"$ac_link\"") >&5
7963 (eval $ac_link) 2>&5 7943 (eval $ac_link) 2>&5
7964 ac_status=$? 7944 ac_status=$?
7965 echo "$as_me:7964: \$? = $ac_status" >&5 7945 echo "$as_me:7945: \$? = $ac_status" >&5
7966 (exit $ac_status); } && 7946 (exit $ac_status); } &&
7967 { ac_try='test -s conftest$ac_exeext' 7947 { ac_try='test -s conftest$ac_exeext'
7968 { (eval echo "$as_me:7967: \"$ac_try\"") >&5 7948 { (eval echo "$as_me:7948: \"$ac_try\"") >&5
7969 (eval $ac_try) 2>&5 7949 (eval $ac_try) 2>&5
7970 ac_status=$? 7950 ac_status=$?
7971 echo "$as_me:7970: \$? = $ac_status" >&5 7951 echo "$as_me:7951: \$? = $ac_status" >&5
7972 (exit $ac_status); }; }; then 7952 (exit $ac_status); }; }; then
7973 ac_cv_func_alloca_works=yes 7953 ac_cv_func_alloca_works=yes
7974 else 7954 else
7975 echo "$as_me: failed program was:" >&5 7955 echo "$as_me: failed program was:" >&5
7976 cat conftest.$ac_ext >&5 7956 cat conftest.$ac_ext >&5
7977 ac_cv_func_alloca_works=no 7957 ac_cv_func_alloca_works=no
7978 fi 7958 fi
7979 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7959 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7980 fi 7960 fi
7981 echo "$as_me:7980: result: $ac_cv_func_alloca_works" >&5 7961 echo "$as_me:7961: result: $ac_cv_func_alloca_works" >&5
7982 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 7962 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
7983 7963
7984 if test $ac_cv_func_alloca_works = yes; then 7964 if test $ac_cv_func_alloca_works = yes; then
7985 7965
7986 cat >>confdefs.h <<\EOF 7966 cat >>confdefs.h <<\EOF
7997 7977
7998 cat >>confdefs.h <<\EOF 7978 cat >>confdefs.h <<\EOF
7999 #define C_ALLOCA 1 7979 #define C_ALLOCA 1
8000 EOF 7980 EOF
8001 7981
8002 echo "$as_me:8001: checking whether \`alloca.c' needs Cray hooks" >&5 7982 echo "$as_me:7982: checking whether \`alloca.c' needs Cray hooks" >&5
8003 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 7983 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
8004 if test "${ac_cv_os_cray+set}" = set; then 7984 if test "${ac_cv_os_cray+set}" = set; then
8005 echo $ECHO_N "(cached) $ECHO_C" >&6 7985 echo $ECHO_N "(cached) $ECHO_C" >&6
8006 else 7986 else
8007 cat >conftest.$ac_ext <<_ACEOF 7987 cat >conftest.$ac_ext <<_ACEOF
8008 #line 8002 "configure" 7988 #line 7988 "configure"
8009 #include "confdefs.h" 7989 #include "confdefs.h"
8010 #if defined(CRAY) && ! defined(CRAY2) 7990 #if defined(CRAY) && ! defined(CRAY2)
8011 webecray 7991 webecray
8012 #else 7992 #else
8013 wenotbecray 7993 wenotbecray
8021 ac_cv_os_cray=no 8001 ac_cv_os_cray=no
8022 fi 8002 fi
8023 rm -f conftest* 8003 rm -f conftest*
8024 8004
8025 fi 8005 fi
8026 echo "$as_me:8025: result: $ac_cv_os_cray" >&5 8006 echo "$as_me:8006: result: $ac_cv_os_cray" >&5
8027 echo "${ECHO_T}$ac_cv_os_cray" >&6 8007 echo "${ECHO_T}$ac_cv_os_cray" >&6
8028 if test $ac_cv_os_cray = yes; then 8008 if test $ac_cv_os_cray = yes; then
8029 for ac_func in _getb67 GETB67 getb67; do 8009 for ac_func in _getb67 GETB67 getb67; do
8030 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 8010 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8031 echo "$as_me:8030: checking for $ac_func" >&5 8011 echo "$as_me:8011: checking for $ac_func" >&5
8032 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8012 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8033 if eval "test \"\${$as_ac_var+set}\" = set"; then 8013 if eval "test \"\${$as_ac_var+set}\" = set"; then
8034 echo $ECHO_N "(cached) $ECHO_C" >&6 8014 echo $ECHO_N "(cached) $ECHO_C" >&6
8035 else 8015 else
8036 cat >conftest.$ac_ext <<_ACEOF 8016 cat >conftest.$ac_ext <<_ACEOF
8037 #line 8031 "configure" 8017 #line 8017 "configure"
8038 #include "confdefs.h" 8018 #include "confdefs.h"
8039 /* System header to define __stub macros and hopefully few prototypes, 8019 /* System header to define __stub macros and hopefully few prototypes,
8040 which can conflict with char $ac_func (); below. */ 8020 which can conflict with char $ac_func (); below. */
8041 #include <assert.h> 8021 #include <assert.h>
8042 /* Override any gcc2 internal prototype to avoid an error. */ 8022 /* Override any gcc2 internal prototype to avoid an error. */
8063 ; 8043 ;
8064 return 0; 8044 return 0;
8065 } 8045 }
8066 _ACEOF 8046 _ACEOF
8067 rm -f conftest.$ac_objext conftest$ac_exeext 8047 rm -f conftest.$ac_objext conftest$ac_exeext
8068 if { (eval echo "$as_me:8067: \"$ac_link\"") >&5 8048 if { (eval echo "$as_me:8048: \"$ac_link\"") >&5
8069 (eval $ac_link) 2>&5 8049 (eval $ac_link) 2>&5
8070 ac_status=$? 8050 ac_status=$?
8071 echo "$as_me:8070: \$? = $ac_status" >&5 8051 echo "$as_me:8051: \$? = $ac_status" >&5
8072 (exit $ac_status); } && 8052 (exit $ac_status); } &&
8073 { ac_try='test -s conftest$ac_exeext' 8053 { ac_try='test -s conftest$ac_exeext'
8074 { (eval echo "$as_me:8073: \"$ac_try\"") >&5 8054 { (eval echo "$as_me:8054: \"$ac_try\"") >&5
8075 (eval $ac_try) 2>&5 8055 (eval $ac_try) 2>&5
8076 ac_status=$? 8056 ac_status=$?
8077 echo "$as_me:8076: \$? = $ac_status" >&5 8057 echo "$as_me:8057: \$? = $ac_status" >&5
8078 (exit $ac_status); }; }; then 8058 (exit $ac_status); }; }; then
8079 eval "$as_ac_var=yes" 8059 eval "$as_ac_var=yes"
8080 else 8060 else
8081 echo "$as_me: failed program was:" >&5 8061 echo "$as_me: failed program was:" >&5
8082 cat conftest.$ac_ext >&5 8062 cat conftest.$ac_ext >&5
8083 eval "$as_ac_var=no" 8063 eval "$as_ac_var=no"
8084 fi 8064 fi
8085 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8065 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8086 fi 8066 fi
8087 echo "$as_me:8086: result: `eval echo '${'$as_ac_var'}'`" >&5 8067 echo "$as_me:8067: result: `eval echo '${'$as_ac_var'}'`" >&5
8088 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8068 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8089 if test `eval echo '${'$as_ac_var'}'` = yes; then 8069 if test `eval echo '${'$as_ac_var'}'` = yes; then
8090 8070
8091 cat >>confdefs.h <<EOF 8071 cat >>confdefs.h <<EOF
8092 #define CRAY_STACKSEG_END $ac_func 8072 #define CRAY_STACKSEG_END $ac_func
8096 fi 8076 fi
8097 8077
8098 done 8078 done
8099 fi 8079 fi
8100 8080
8101 echo "$as_me:8100: checking stack direction for C alloca" >&5 8081 echo "$as_me:8081: checking stack direction for C alloca" >&5
8102 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 8082 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
8103 if test "${ac_cv_c_stack_direction+set}" = set; then 8083 if test "${ac_cv_c_stack_direction+set}" = set; then
8104 echo $ECHO_N "(cached) $ECHO_C" >&6 8084 echo $ECHO_N "(cached) $ECHO_C" >&6
8105 else 8085 else
8106 if test "$cross_compiling" = yes; then 8086 if test "$cross_compiling" = yes; then
8107 ac_cv_c_stack_direction=0 8087 ac_cv_c_stack_direction=0
8108 else 8088 else
8109 cat >conftest.$ac_ext <<_ACEOF 8089 cat >conftest.$ac_ext <<_ACEOF
8110 #line 8104 "configure" 8090 #line 8090 "configure"
8111 #include "confdefs.h" 8091 #include "confdefs.h"
8112 int 8092 int
8113 find_stack_direction () 8093 find_stack_direction ()
8114 { 8094 {
8115 static char *addr = 0; 8095 static char *addr = 0;
8128 { 8108 {
8129 exit (find_stack_direction () < 0); 8109 exit (find_stack_direction () < 0);
8130 } 8110 }
8131 _ACEOF 8111 _ACEOF
8132 rm -f conftest$ac_exeext 8112 rm -f conftest$ac_exeext
8133 if { (eval echo "$as_me:8132: \"$ac_link\"") >&5 8113 if { (eval echo "$as_me:8113: \"$ac_link\"") >&5
8134 (eval $ac_link) 2>&5 8114 (eval $ac_link) 2>&5
8135 ac_status=$? 8115 ac_status=$?
8136 echo "$as_me:8135: \$? = $ac_status" >&5 8116 echo "$as_me:8116: \$? = $ac_status" >&5
8137 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 8117 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8138 { (eval echo "$as_me:8137: \"$ac_try\"") >&5 8118 { (eval echo "$as_me:8118: \"$ac_try\"") >&5
8139 (eval $ac_try) 2>&5 8119 (eval $ac_try) 2>&5
8140 ac_status=$? 8120 ac_status=$?
8141 echo "$as_me:8140: \$? = $ac_status" >&5 8121 echo "$as_me:8121: \$? = $ac_status" >&5
8142 (exit $ac_status); }; }; then 8122 (exit $ac_status); }; }; then
8143 ac_cv_c_stack_direction=1 8123 ac_cv_c_stack_direction=1
8144 else 8124 else
8145 echo "$as_me: program exited with status $ac_status" >&5 8125 echo "$as_me: program exited with status $ac_status" >&5
8146 echo "$as_me: failed program was:" >&5 8126 echo "$as_me: failed program was:" >&5
8148 ac_cv_c_stack_direction=-1 8128 ac_cv_c_stack_direction=-1
8149 fi 8129 fi
8150 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 8130 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8151 fi 8131 fi
8152 fi 8132 fi
8153 echo "$as_me:8152: result: $ac_cv_c_stack_direction" >&5 8133 echo "$as_me:8133: result: $ac_cv_c_stack_direction" >&5
8154 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 8134 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
8155 8135
8156 cat >>confdefs.h <<EOF 8136 cat >>confdefs.h <<EOF
8157 #define STACK_DIRECTION $ac_cv_c_stack_direction 8137 #define STACK_DIRECTION $ac_cv_c_stack_direction
8158 EOF 8138 EOF
8160 fi 8140 fi
8161 8141
8162 # fmod, logb, and frexp are found in -lm on most systems. 8142 # fmod, logb, and frexp are found in -lm on most systems.
8163 # On HPUX 9.01, -lm does not contain logb, so check for sqrt. 8143 # On HPUX 9.01, -lm does not contain logb, so check for sqrt.
8164 8144
8165 echo "$as_me:8164: checking for sqrt in -lm" >&5 8145 echo "$as_me:8145: checking for sqrt in -lm" >&5
8166 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6 8146 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
8167 if test "${ac_cv_lib_m_sqrt+set}" = set; then 8147 if test "${ac_cv_lib_m_sqrt+set}" = set; then
8168 echo $ECHO_N "(cached) $ECHO_C" >&6 8148 echo $ECHO_N "(cached) $ECHO_C" >&6
8169 else 8149 else
8170 ac_check_lib_save_LIBS=$LIBS 8150 ac_check_lib_save_LIBS=$LIBS
8171 LIBS="-lm $LIBS" 8151 LIBS="-lm $LIBS"
8172 cat >conftest.$ac_ext <<_ACEOF 8152 cat >conftest.$ac_ext <<_ACEOF
8173 #line 8167 "configure" 8153 #line 8153 "configure"
8174 #include "confdefs.h" 8154 #include "confdefs.h"
8175 8155
8176 /* Override any gcc2 internal prototype to avoid an error. */ 8156 /* Override any gcc2 internal prototype to avoid an error. */
8177 #ifdef __cplusplus 8157 #ifdef __cplusplus
8178 extern "C" 8158 extern "C"
8187 ; 8167 ;
8188 return 0; 8168 return 0;
8189 } 8169 }
8190 _ACEOF 8170 _ACEOF
8191 rm -f conftest.$ac_objext conftest$ac_exeext 8171 rm -f conftest.$ac_objext conftest$ac_exeext
8192 if { (eval echo "$as_me:8191: \"$ac_link\"") >&5 8172 if { (eval echo "$as_me:8172: \"$ac_link\"") >&5
8193 (eval $ac_link) 2>&5 8173 (eval $ac_link) 2>&5
8194 ac_status=$? 8174 ac_status=$?
8195 echo "$as_me:8194: \$? = $ac_status" >&5 8175 echo "$as_me:8175: \$? = $ac_status" >&5
8196 (exit $ac_status); } && 8176 (exit $ac_status); } &&
8197 { ac_try='test -s conftest$ac_exeext' 8177 { ac_try='test -s conftest$ac_exeext'
8198 { (eval echo "$as_me:8197: \"$ac_try\"") >&5 8178 { (eval echo "$as_me:8178: \"$ac_try\"") >&5
8199 (eval $ac_try) 2>&5 8179 (eval $ac_try) 2>&5
8200 ac_status=$? 8180 ac_status=$?
8201 echo "$as_me:8200: \$? = $ac_status" >&5 8181 echo "$as_me:8181: \$? = $ac_status" >&5
8202 (exit $ac_status); }; }; then 8182 (exit $ac_status); }; }; then
8203 ac_cv_lib_m_sqrt=yes 8183 ac_cv_lib_m_sqrt=yes
8204 else 8184 else
8205 echo "$as_me: failed program was:" >&5 8185 echo "$as_me: failed program was:" >&5
8206 cat conftest.$ac_ext >&5 8186 cat conftest.$ac_ext >&5
8207 ac_cv_lib_m_sqrt=no 8187 ac_cv_lib_m_sqrt=no
8208 fi 8188 fi
8209 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8189 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8210 LIBS=$ac_check_lib_save_LIBS 8190 LIBS=$ac_check_lib_save_LIBS
8211 fi 8191 fi
8212 echo "$as_me:8211: result: $ac_cv_lib_m_sqrt" >&5 8192 echo "$as_me:8192: result: $ac_cv_lib_m_sqrt" >&5
8213 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6 8193 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
8214 if test $ac_cv_lib_m_sqrt = yes; then 8194 if test $ac_cv_lib_m_sqrt = yes; then
8215 cat >>confdefs.h <<EOF 8195 cat >>confdefs.h <<EOF
8216 #define HAVE_LIBM 1 8196 #define HAVE_LIBM 1
8217 EOF 8197 EOF
8220 8200
8221 fi 8201 fi
8222 8202
8223 # Check for mail-locking functions in a "mail" library 8203 # Check for mail-locking functions in a "mail" library
8224 8204
8225 echo "$as_me:8224: checking for maillock in -lmail" >&5 8205 echo "$as_me:8205: checking for maillock in -lmail" >&5
8226 echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6 8206 echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6
8227 if test "${ac_cv_lib_mail_maillock+set}" = set; then 8207 if test "${ac_cv_lib_mail_maillock+set}" = set; then
8228 echo $ECHO_N "(cached) $ECHO_C" >&6 8208 echo $ECHO_N "(cached) $ECHO_C" >&6
8229 else 8209 else
8230 ac_check_lib_save_LIBS=$LIBS 8210 ac_check_lib_save_LIBS=$LIBS
8231 LIBS="-lmail $LIBS" 8211 LIBS="-lmail $LIBS"
8232 cat >conftest.$ac_ext <<_ACEOF 8212 cat >conftest.$ac_ext <<_ACEOF
8233 #line 8227 "configure" 8213 #line 8213 "configure"
8234 #include "confdefs.h" 8214 #include "confdefs.h"
8235 8215
8236 /* Override any gcc2 internal prototype to avoid an error. */ 8216 /* Override any gcc2 internal prototype to avoid an error. */
8237 #ifdef __cplusplus 8217 #ifdef __cplusplus
8238 extern "C" 8218 extern "C"
8247 ; 8227 ;
8248 return 0; 8228 return 0;
8249 } 8229 }
8250 _ACEOF 8230 _ACEOF
8251 rm -f conftest.$ac_objext conftest$ac_exeext 8231 rm -f conftest.$ac_objext conftest$ac_exeext
8252 if { (eval echo "$as_me:8251: \"$ac_link\"") >&5 8232 if { (eval echo "$as_me:8232: \"$ac_link\"") >&5
8253 (eval $ac_link) 2>&5 8233 (eval $ac_link) 2>&5
8254 ac_status=$? 8234 ac_status=$?
8255 echo "$as_me:8254: \$? = $ac_status" >&5 8235 echo "$as_me:8235: \$? = $ac_status" >&5
8256 (exit $ac_status); } && 8236 (exit $ac_status); } &&
8257 { ac_try='test -s conftest$ac_exeext' 8237 { ac_try='test -s conftest$ac_exeext'
8258 { (eval echo "$as_me:8257: \"$ac_try\"") >&5 8238 { (eval echo "$as_me:8238: \"$ac_try\"") >&5
8259 (eval $ac_try) 2>&5 8239 (eval $ac_try) 2>&5
8260 ac_status=$? 8240 ac_status=$?
8261 echo "$as_me:8260: \$? = $ac_status" >&5 8241 echo "$as_me:8241: \$? = $ac_status" >&5
8262 (exit $ac_status); }; }; then 8242 (exit $ac_status); }; }; then
8263 ac_cv_lib_mail_maillock=yes 8243 ac_cv_lib_mail_maillock=yes
8264 else 8244 else
8265 echo "$as_me: failed program was:" >&5 8245 echo "$as_me: failed program was:" >&5
8266 cat conftest.$ac_ext >&5 8246 cat conftest.$ac_ext >&5
8267 ac_cv_lib_mail_maillock=no 8247 ac_cv_lib_mail_maillock=no
8268 fi 8248 fi
8269 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8249 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8270 LIBS=$ac_check_lib_save_LIBS 8250 LIBS=$ac_check_lib_save_LIBS
8271 fi 8251 fi
8272 echo "$as_me:8271: result: $ac_cv_lib_mail_maillock" >&5 8252 echo "$as_me:8252: result: $ac_cv_lib_mail_maillock" >&5
8273 echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6 8253 echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6
8274 if test $ac_cv_lib_mail_maillock = yes; then 8254 if test $ac_cv_lib_mail_maillock = yes; then
8275 cat >>confdefs.h <<EOF 8255 cat >>confdefs.h <<EOF
8276 #define HAVE_LIBMAIL 1 8256 #define HAVE_LIBMAIL 1
8277 EOF 8257 EOF
8278 8258
8279 LIBS="-lmail $LIBS" 8259 LIBS="-lmail $LIBS"
8280 8260
8281 fi 8261 fi
8282 8262
8283 echo "$as_me:8282: checking for maillock in -llockfile" >&5 8263 echo "$as_me:8263: checking for maillock in -llockfile" >&5
8284 echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6 8264 echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6
8285 if test "${ac_cv_lib_lockfile_maillock+set}" = set; then 8265 if test "${ac_cv_lib_lockfile_maillock+set}" = set; then
8286 echo $ECHO_N "(cached) $ECHO_C" >&6 8266 echo $ECHO_N "(cached) $ECHO_C" >&6
8287 else 8267 else
8288 ac_check_lib_save_LIBS=$LIBS 8268 ac_check_lib_save_LIBS=$LIBS
8289 LIBS="-llockfile $LIBS" 8269 LIBS="-llockfile $LIBS"
8290 cat >conftest.$ac_ext <<_ACEOF 8270 cat >conftest.$ac_ext <<_ACEOF
8291 #line 8285 "configure" 8271 #line 8271 "configure"
8292 #include "confdefs.h" 8272 #include "confdefs.h"
8293 8273
8294 /* Override any gcc2 internal prototype to avoid an error. */ 8274 /* Override any gcc2 internal prototype to avoid an error. */
8295 #ifdef __cplusplus 8275 #ifdef __cplusplus
8296 extern "C" 8276 extern "C"
8305 ; 8285 ;
8306 return 0; 8286 return 0;
8307 } 8287 }
8308 _ACEOF 8288 _ACEOF
8309 rm -f conftest.$ac_objext conftest$ac_exeext 8289 rm -f conftest.$ac_objext conftest$ac_exeext
8310 if { (eval echo "$as_me:8309: \"$ac_link\"") >&5 8290 if { (eval echo "$as_me:8290: \"$ac_link\"") >&5
8311 (eval $ac_link) 2>&5 8291 (eval $ac_link) 2>&5
8312 ac_status=$? 8292 ac_status=$?
8313 echo "$as_me:8312: \$? = $ac_status" >&5 8293 echo "$as_me:8293: \$? = $ac_status" >&5
8314 (exit $ac_status); } && 8294 (exit $ac_status); } &&
8315 { ac_try='test -s conftest$ac_exeext' 8295 { ac_try='test -s conftest$ac_exeext'
8316 { (eval echo "$as_me:8315: \"$ac_try\"") >&5 8296 { (eval echo "$as_me:8296: \"$ac_try\"") >&5
8317 (eval $ac_try) 2>&5 8297 (eval $ac_try) 2>&5
8318 ac_status=$? 8298 ac_status=$?
8319 echo "$as_me:8318: \$? = $ac_status" >&5 8299 echo "$as_me:8299: \$? = $ac_status" >&5
8320 (exit $ac_status); }; }; then 8300 (exit $ac_status); }; }; then
8321 ac_cv_lib_lockfile_maillock=yes 8301 ac_cv_lib_lockfile_maillock=yes
8322 else 8302 else
8323 echo "$as_me: failed program was:" >&5 8303 echo "$as_me: failed program was:" >&5
8324 cat conftest.$ac_ext >&5 8304 cat conftest.$ac_ext >&5
8325 ac_cv_lib_lockfile_maillock=no 8305 ac_cv_lib_lockfile_maillock=no
8326 fi 8306 fi
8327 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8307 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8328 LIBS=$ac_check_lib_save_LIBS 8308 LIBS=$ac_check_lib_save_LIBS
8329 fi 8309 fi
8330 echo "$as_me:8329: result: $ac_cv_lib_lockfile_maillock" >&5 8310 echo "$as_me:8310: result: $ac_cv_lib_lockfile_maillock" >&5
8331 echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6 8311 echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6
8332 if test $ac_cv_lib_lockfile_maillock = yes; then 8312 if test $ac_cv_lib_lockfile_maillock = yes; then
8333 cat >>confdefs.h <<EOF 8313 cat >>confdefs.h <<EOF
8334 #define HAVE_LIBLOCKFILE 1 8314 #define HAVE_LIBLOCKFILE 1
8335 EOF 8315 EOF
8342 # locking (e.g. Debian). If we couldn't link against liblockfile 8322 # locking (e.g. Debian). If we couldn't link against liblockfile
8343 # (no liblockfile.a installed), ensure that we don't need to. 8323 # (no liblockfile.a installed), ensure that we don't need to.
8344 if test "$ac_cv_lib_lockfile_maillock" = no; then 8324 if test "$ac_cv_lib_lockfile_maillock" = no; then
8345 # Extract the first word of "liblockfile.so", so it can be a program name with args. 8325 # Extract the first word of "liblockfile.so", so it can be a program name with args.
8346 set dummy liblockfile.so; ac_word=$2 8326 set dummy liblockfile.so; ac_word=$2
8347 echo "$as_me:8346: checking for $ac_word" >&5 8327 echo "$as_me:8327: checking for $ac_word" >&5
8348 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 8328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8349 if test "${ac_cv_prog_liblockfile+set}" = set; then 8329 if test "${ac_cv_prog_liblockfile+set}" = set; then
8350 echo $ECHO_N "(cached) $ECHO_C" >&6 8330 echo $ECHO_N "(cached) $ECHO_C" >&6
8351 else 8331 else
8352 if test -n "$liblockfile"; then 8332 if test -n "$liblockfile"; then
8357 for ac_dir in $ac_dummy; do 8337 for ac_dir in $ac_dummy; do
8358 IFS=$ac_save_IFS 8338 IFS=$ac_save_IFS
8359 test -z "$ac_dir" && ac_dir=. 8339 test -z "$ac_dir" && ac_dir=.
8360 $as_executable_p "$ac_dir/$ac_word" || continue 8340 $as_executable_p "$ac_dir/$ac_word" || continue
8361 ac_cv_prog_liblockfile="yes" 8341 ac_cv_prog_liblockfile="yes"
8362 echo "$as_me:8361: found $ac_dir/$ac_word" >&5 8342 echo "$as_me:8342: found $ac_dir/$ac_word" >&5
8363 break 8343 break
8364 done 8344 done
8365 8345
8366 test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no" 8346 test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no"
8367 fi 8347 fi
8368 fi 8348 fi
8369 liblockfile=$ac_cv_prog_liblockfile 8349 liblockfile=$ac_cv_prog_liblockfile
8370 if test -n "$liblockfile"; then 8350 if test -n "$liblockfile"; then
8371 echo "$as_me:8370: result: $liblockfile" >&5 8351 echo "$as_me:8351: result: $liblockfile" >&5
8372 echo "${ECHO_T}$liblockfile" >&6 8352 echo "${ECHO_T}$liblockfile" >&6
8373 else 8353 else
8374 echo "$as_me:8373: result: no" >&5 8354 echo "$as_me:8354: result: no" >&5
8375 echo "${ECHO_T}no" >&6 8355 echo "${ECHO_T}no" >&6
8376 fi 8356 fi
8377 8357
8378 if test $ac_cv_prog_liblockfile = yes; then 8358 if test $ac_cv_prog_liblockfile = yes; then
8379 { { echo "$as_me:8378: error: Shared liblockfile found but can't link against it. 8359 { { echo "$as_me:8359: error: Shared liblockfile found but can't link against it.
8380 This probably means that movemail could lose mail. 8360 This probably means that movemail could lose mail.
8381 There may be a \`development' package to install containing liblockfile." >&5 8361 There may be a \`development' package to install containing liblockfile." >&5
8382 echo "$as_me: error: Shared liblockfile found but can't link against it. 8362 echo "$as_me: error: Shared liblockfile found but can't link against it.
8383 This probably means that movemail could lose mail. 8363 This probably means that movemail could lose mail.
8384 There may be a \`development' package to install containing liblockfile." >&2;} 8364 There may be a \`development' package to install containing liblockfile." >&2;}
8393 fi 8373 fi
8394 8374
8395 for ac_func in touchlock 8375 for ac_func in touchlock
8396 do 8376 do
8397 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 8377 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8398 echo "$as_me:8397: checking for $ac_func" >&5 8378 echo "$as_me:8378: checking for $ac_func" >&5
8399 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8379 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8400 if eval "test \"\${$as_ac_var+set}\" = set"; then 8380 if eval "test \"\${$as_ac_var+set}\" = set"; then
8401 echo $ECHO_N "(cached) $ECHO_C" >&6 8381 echo $ECHO_N "(cached) $ECHO_C" >&6
8402 else 8382 else
8403 cat >conftest.$ac_ext <<_ACEOF 8383 cat >conftest.$ac_ext <<_ACEOF
8404 #line 8398 "configure" 8384 #line 8384 "configure"
8405 #include "confdefs.h" 8385 #include "confdefs.h"
8406 /* System header to define __stub macros and hopefully few prototypes, 8386 /* System header to define __stub macros and hopefully few prototypes,
8407 which can conflict with char $ac_func (); below. */ 8387 which can conflict with char $ac_func (); below. */
8408 #include <assert.h> 8388 #include <assert.h>
8409 /* Override any gcc2 internal prototype to avoid an error. */ 8389 /* Override any gcc2 internal prototype to avoid an error. */
8430 ; 8410 ;
8431 return 0; 8411 return 0;
8432 } 8412 }
8433 _ACEOF 8413 _ACEOF
8434 rm -f conftest.$ac_objext conftest$ac_exeext 8414 rm -f conftest.$ac_objext conftest$ac_exeext
8435 if { (eval echo "$as_me:8434: \"$ac_link\"") >&5 8415 if { (eval echo "$as_me:8415: \"$ac_link\"") >&5
8436 (eval $ac_link) 2>&5 8416 (eval $ac_link) 2>&5
8437 ac_status=$? 8417 ac_status=$?
8438 echo "$as_me:8437: \$? = $ac_status" >&5 8418 echo "$as_me:8418: \$? = $ac_status" >&5
8439 (exit $ac_status); } && 8419 (exit $ac_status); } &&
8440 { ac_try='test -s conftest$ac_exeext' 8420 { ac_try='test -s conftest$ac_exeext'
8441 { (eval echo "$as_me:8440: \"$ac_try\"") >&5 8421 { (eval echo "$as_me:8421: \"$ac_try\"") >&5
8442 (eval $ac_try) 2>&5 8422 (eval $ac_try) 2>&5
8443 ac_status=$? 8423 ac_status=$?
8444 echo "$as_me:8443: \$? = $ac_status" >&5 8424 echo "$as_me:8424: \$? = $ac_status" >&5
8445 (exit $ac_status); }; }; then 8425 (exit $ac_status); }; }; then
8446 eval "$as_ac_var=yes" 8426 eval "$as_ac_var=yes"
8447 else 8427 else
8448 echo "$as_me: failed program was:" >&5 8428 echo "$as_me: failed program was:" >&5
8449 cat conftest.$ac_ext >&5 8429 cat conftest.$ac_ext >&5
8450 eval "$as_ac_var=no" 8430 eval "$as_ac_var=no"
8451 fi 8431 fi
8452 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8432 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8453 fi 8433 fi
8454 echo "$as_me:8453: result: `eval echo '${'$as_ac_var'}'`" >&5 8434 echo "$as_me:8434: result: `eval echo '${'$as_ac_var'}'`" >&5
8455 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8435 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8456 if test `eval echo '${'$as_ac_var'}'` = yes; then 8436 if test `eval echo '${'$as_ac_var'}'` = yes; then
8457 cat >>confdefs.h <<EOF 8437 cat >>confdefs.h <<EOF
8458 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 8438 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8459 EOF 8439 EOF
8462 done 8442 done
8463 8443
8464 for ac_header in maillock.h 8444 for ac_header in maillock.h
8465 do 8445 do
8466 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8446 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8467 echo "$as_me:8466: checking for $ac_header" >&5 8447 echo "$as_me:8447: checking for $ac_header" >&5
8468 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 8448 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8469 if eval "test \"\${$as_ac_Header+set}\" = set"; then 8449 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8470 echo $ECHO_N "(cached) $ECHO_C" >&6 8450 echo $ECHO_N "(cached) $ECHO_C" >&6
8471 else 8451 else
8472 cat >conftest.$ac_ext <<_ACEOF 8452 cat >conftest.$ac_ext <<_ACEOF
8473 #line 8467 "configure" 8453 #line 8453 "configure"
8474 #include "confdefs.h" 8454 #include "confdefs.h"
8475 #include <$ac_header> 8455 #include <$ac_header>
8476 _ACEOF 8456 _ACEOF
8477 if { (eval echo "$as_me:8476: \"$ac_cpp conftest.$ac_ext\"") >&5 8457 if { (eval echo "$as_me:8457: \"$ac_cpp conftest.$ac_ext\"") >&5
8478 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 8458 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8479 ac_status=$? 8459 ac_status=$?
8480 egrep -v '^ *\+' conftest.er1 >conftest.err 8460 egrep -v '^ *\+' conftest.er1 >conftest.err
8481 rm -f conftest.er1 8461 rm -f conftest.er1
8482 cat conftest.err >&5 8462 cat conftest.err >&5
8483 echo "$as_me:8482: \$? = $ac_status" >&5 8463 echo "$as_me:8463: \$? = $ac_status" >&5
8484 (exit $ac_status); } >/dev/null; then 8464 (exit $ac_status); } >/dev/null; then
8485 if test -s conftest.err; then 8465 if test -s conftest.err; then
8486 ac_cpp_err=$ac_c_preproc_warn_flag 8466 ac_cpp_err=$ac_c_preproc_warn_flag
8487 else 8467 else
8488 ac_cpp_err= 8468 ac_cpp_err=
8497 cat conftest.$ac_ext >&5 8477 cat conftest.$ac_ext >&5
8498 eval "$as_ac_Header=no" 8478 eval "$as_ac_Header=no"
8499 fi 8479 fi
8500 rm -f conftest.err conftest.$ac_ext 8480 rm -f conftest.err conftest.$ac_ext
8501 fi 8481 fi
8502 echo "$as_me:8501: result: `eval echo '${'$as_ac_Header'}'`" >&5 8482 echo "$as_me:8482: result: `eval echo '${'$as_ac_Header'}'`" >&5
8503 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 8483 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8504 if test `eval echo '${'$as_ac_Header'}'` = yes; then 8484 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8505 cat >>confdefs.h <<EOF 8485 cat >>confdefs.h <<EOF
8506 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8486 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8507 EOF 8487 EOF
8517 __fpending mblen mbrlen mbsinit strsignal setitimer ualarm index rindex \ 8497 __fpending mblen mbrlen mbsinit strsignal setitimer ualarm index rindex \
8518 sendto recvfrom getsockopt setsockopt getsockname getpeername \ 8498 sendto recvfrom getsockopt setsockopt getsockname getpeername \
8519 gai_strerror mkstemp getline getdelim 8499 gai_strerror mkstemp getline getdelim
8520 do 8500 do
8521 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 8501 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8522 echo "$as_me:8521: checking for $ac_func" >&5 8502 echo "$as_me:8502: checking for $ac_func" >&5
8523 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8503 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8524 if eval "test \"\${$as_ac_var+set}\" = set"; then 8504 if eval "test \"\${$as_ac_var+set}\" = set"; then
8525 echo $ECHO_N "(cached) $ECHO_C" >&6 8505 echo $ECHO_N "(cached) $ECHO_C" >&6
8526 else 8506 else
8527 cat >conftest.$ac_ext <<_ACEOF 8507 cat >conftest.$ac_ext <<_ACEOF
8528 #line 8522 "configure" 8508 #line 8508 "configure"
8529 #include "confdefs.h" 8509 #include "confdefs.h"
8530 /* System header to define __stub macros and hopefully few prototypes, 8510 /* System header to define __stub macros and hopefully few prototypes,
8531 which can conflict with char $ac_func (); below. */ 8511 which can conflict with char $ac_func (); below. */
8532 #include <assert.h> 8512 #include <assert.h>
8533 /* Override any gcc2 internal prototype to avoid an error. */ 8513 /* Override any gcc2 internal prototype to avoid an error. */
8554 ; 8534 ;
8555 return 0; 8535 return 0;
8556 } 8536 }
8557 _ACEOF 8537 _ACEOF
8558 rm -f conftest.$ac_objext conftest$ac_exeext 8538 rm -f conftest.$ac_objext conftest$ac_exeext
8559 if { (eval echo "$as_me:8558: \"$ac_link\"") >&5 8539 if { (eval echo "$as_me:8539: \"$ac_link\"") >&5
8560 (eval $ac_link) 2>&5 8540 (eval $ac_link) 2>&5
8561 ac_status=$? 8541 ac_status=$?
8562 echo "$as_me:8561: \$? = $ac_status" >&5 8542 echo "$as_me:8542: \$? = $ac_status" >&5
8563 (exit $ac_status); } && 8543 (exit $ac_status); } &&
8564 { ac_try='test -s conftest$ac_exeext' 8544 { ac_try='test -s conftest$ac_exeext'
8565 { (eval echo "$as_me:8564: \"$ac_try\"") >&5 8545 { (eval echo "$as_me:8545: \"$ac_try\"") >&5
8566 (eval $ac_try) 2>&5 8546 (eval $ac_try) 2>&5
8567 ac_status=$? 8547 ac_status=$?
8568 echo "$as_me:8567: \$? = $ac_status" >&5 8548 echo "$as_me:8548: \$? = $ac_status" >&5
8569 (exit $ac_status); }; }; then 8549 (exit $ac_status); }; }; then
8570 eval "$as_ac_var=yes" 8550 eval "$as_ac_var=yes"
8571 else 8551 else
8572 echo "$as_me: failed program was:" >&5 8552 echo "$as_me: failed program was:" >&5
8573 cat conftest.$ac_ext >&5 8553 cat conftest.$ac_ext >&5
8574 eval "$as_ac_var=no" 8554 eval "$as_ac_var=no"
8575 fi 8555 fi
8576 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8556 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8577 fi 8557 fi
8578 echo "$as_me:8577: result: `eval echo '${'$as_ac_var'}'`" >&5 8558 echo "$as_me:8558: result: `eval echo '${'$as_ac_var'}'`" >&5
8579 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8559 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8580 if test `eval echo '${'$as_ac_var'}'` = yes; then 8560 if test `eval echo '${'$as_ac_var'}'` = yes; then
8581 cat >>confdefs.h <<EOF 8561 cat >>confdefs.h <<EOF
8582 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 8562 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8583 EOF 8563 EOF
8586 done 8566 done
8587 8567
8588 for ac_header in sys/un.h 8568 for ac_header in sys/un.h
8589 do 8569 do
8590 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8570 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8591 echo "$as_me:8590: checking for $ac_header" >&5 8571 echo "$as_me:8571: checking for $ac_header" >&5
8592 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 8572 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8593 if eval "test \"\${$as_ac_Header+set}\" = set"; then 8573 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8594 echo $ECHO_N "(cached) $ECHO_C" >&6 8574 echo $ECHO_N "(cached) $ECHO_C" >&6
8595 else 8575 else
8596 cat >conftest.$ac_ext <<_ACEOF 8576 cat >conftest.$ac_ext <<_ACEOF
8597 #line 8591 "configure" 8577 #line 8577 "configure"
8598 #include "confdefs.h" 8578 #include "confdefs.h"
8599 #include <$ac_header> 8579 #include <$ac_header>
8600 _ACEOF 8580 _ACEOF
8601 if { (eval echo "$as_me:8600: \"$ac_cpp conftest.$ac_ext\"") >&5 8581 if { (eval echo "$as_me:8581: \"$ac_cpp conftest.$ac_ext\"") >&5
8602 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 8582 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8603 ac_status=$? 8583 ac_status=$?
8604 egrep -v '^ *\+' conftest.er1 >conftest.err 8584 egrep -v '^ *\+' conftest.er1 >conftest.err
8605 rm -f conftest.er1 8585 rm -f conftest.er1
8606 cat conftest.err >&5 8586 cat conftest.err >&5
8607 echo "$as_me:8606: \$? = $ac_status" >&5 8587 echo "$as_me:8587: \$? = $ac_status" >&5
8608 (exit $ac_status); } >/dev/null; then 8588 (exit $ac_status); } >/dev/null; then
8609 if test -s conftest.err; then 8589 if test -s conftest.err; then
8610 ac_cpp_err=$ac_c_preproc_warn_flag 8590 ac_cpp_err=$ac_c_preproc_warn_flag
8611 else 8591 else
8612 ac_cpp_err= 8592 ac_cpp_err=
8621 cat conftest.$ac_ext >&5 8601 cat conftest.$ac_ext >&5
8622 eval "$as_ac_Header=no" 8602 eval "$as_ac_Header=no"
8623 fi 8603 fi
8624 rm -f conftest.err conftest.$ac_ext 8604 rm -f conftest.err conftest.$ac_ext
8625 fi 8605 fi
8626 echo "$as_me:8625: result: `eval echo '${'$as_ac_Header'}'`" >&5 8606 echo "$as_me:8606: result: `eval echo '${'$as_ac_Header'}'`" >&5
8627 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 8607 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8628 if test `eval echo '${'$as_ac_Header'}'` = yes; then 8608 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8629 cat >>confdefs.h <<EOF 8609 cat >>confdefs.h <<EOF
8630 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8610 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8631 EOF 8611 EOF
8634 done 8614 done
8635 8615
8636 for ac_header in sys/time.h unistd.h 8616 for ac_header in sys/time.h unistd.h
8637 do 8617 do
8638 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8618 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8639 echo "$as_me:8638: checking for $ac_header" >&5 8619 echo "$as_me:8619: checking for $ac_header" >&5
8640 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 8620 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8641 if eval "test \"\${$as_ac_Header+set}\" = set"; then 8621 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8642 echo $ECHO_N "(cached) $ECHO_C" >&6 8622 echo $ECHO_N "(cached) $ECHO_C" >&6
8643 else 8623 else
8644 cat >conftest.$ac_ext <<_ACEOF 8624 cat >conftest.$ac_ext <<_ACEOF
8645 #line 8639 "configure" 8625 #line 8625 "configure"
8646 #include "confdefs.h" 8626 #include "confdefs.h"
8647 #include <$ac_header> 8627 #include <$ac_header>
8648 _ACEOF 8628 _ACEOF
8649 if { (eval echo "$as_me:8648: \"$ac_cpp conftest.$ac_ext\"") >&5 8629 if { (eval echo "$as_me:8629: \"$ac_cpp conftest.$ac_ext\"") >&5
8650 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 8630 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8651 ac_status=$? 8631 ac_status=$?
8652 egrep -v '^ *\+' conftest.er1 >conftest.err 8632 egrep -v '^ *\+' conftest.er1 >conftest.err
8653 rm -f conftest.er1 8633 rm -f conftest.er1
8654 cat conftest.err >&5 8634 cat conftest.err >&5
8655 echo "$as_me:8654: \$? = $ac_status" >&5 8635 echo "$as_me:8635: \$? = $ac_status" >&5
8656 (exit $ac_status); } >/dev/null; then 8636 (exit $ac_status); } >/dev/null; then
8657 if test -s conftest.err; then 8637 if test -s conftest.err; then
8658 ac_cpp_err=$ac_c_preproc_warn_flag 8638 ac_cpp_err=$ac_c_preproc_warn_flag
8659 else 8639 else
8660 ac_cpp_err= 8640 ac_cpp_err=
8669 cat conftest.$ac_ext >&5 8649 cat conftest.$ac_ext >&5
8670 eval "$as_ac_Header=no" 8650 eval "$as_ac_Header=no"
8671 fi 8651 fi
8672 rm -f conftest.err conftest.$ac_ext 8652 rm -f conftest.err conftest.$ac_ext
8673 fi 8653 fi
8674 echo "$as_me:8673: result: `eval echo '${'$as_ac_Header'}'`" >&5 8654 echo "$as_me:8654: result: `eval echo '${'$as_ac_Header'}'`" >&5
8675 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 8655 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8676 if test `eval echo '${'$as_ac_Header'}'` = yes; then 8656 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8677 cat >>confdefs.h <<EOF 8657 cat >>confdefs.h <<EOF
8678 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8658 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8679 EOF 8659 EOF
8682 done 8662 done
8683 8663
8684 for ac_func in alarm 8664 for ac_func in alarm
8685 do 8665 do
8686 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 8666 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8687 echo "$as_me:8686: checking for $ac_func" >&5 8667 echo "$as_me:8667: checking for $ac_func" >&5
8688 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8668 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8689 if eval "test \"\${$as_ac_var+set}\" = set"; then 8669 if eval "test \"\${$as_ac_var+set}\" = set"; then
8690 echo $ECHO_N "(cached) $ECHO_C" >&6 8670 echo $ECHO_N "(cached) $ECHO_C" >&6
8691 else 8671 else
8692 cat >conftest.$ac_ext <<_ACEOF 8672 cat >conftest.$ac_ext <<_ACEOF
8693 #line 8687 "configure" 8673 #line 8673 "configure"
8694 #include "confdefs.h" 8674 #include "confdefs.h"
8695 /* System header to define __stub macros and hopefully few prototypes, 8675 /* System header to define __stub macros and hopefully few prototypes,
8696 which can conflict with char $ac_func (); below. */ 8676 which can conflict with char $ac_func (); below. */
8697 #include <assert.h> 8677 #include <assert.h>
8698 /* Override any gcc2 internal prototype to avoid an error. */ 8678 /* Override any gcc2 internal prototype to avoid an error. */
8719 ; 8699 ;
8720 return 0; 8700 return 0;
8721 } 8701 }
8722 _ACEOF 8702 _ACEOF
8723 rm -f conftest.$ac_objext conftest$ac_exeext 8703 rm -f conftest.$ac_objext conftest$ac_exeext
8724 if { (eval echo "$as_me:8723: \"$ac_link\"") >&5 8704 if { (eval echo "$as_me:8704: \"$ac_link\"") >&5
8725 (eval $ac_link) 2>&5 8705 (eval $ac_link) 2>&5
8726 ac_status=$? 8706 ac_status=$?
8727 echo "$as_me:8726: \$? = $ac_status" >&5 8707 echo "$as_me:8707: \$? = $ac_status" >&5
8728 (exit $ac_status); } && 8708 (exit $ac_status); } &&
8729 { ac_try='test -s conftest$ac_exeext' 8709 { ac_try='test -s conftest$ac_exeext'
8730 { (eval echo "$as_me:8729: \"$ac_try\"") >&5 8710 { (eval echo "$as_me:8710: \"$ac_try\"") >&5
8731 (eval $ac_try) 2>&5 8711 (eval $ac_try) 2>&5
8732 ac_status=$? 8712 ac_status=$?
8733 echo "$as_me:8732: \$? = $ac_status" >&5 8713 echo "$as_me:8713: \$? = $ac_status" >&5
8734 (exit $ac_status); }; }; then 8714 (exit $ac_status); }; }; then
8735 eval "$as_ac_var=yes" 8715 eval "$as_ac_var=yes"
8736 else 8716 else
8737 echo "$as_me: failed program was:" >&5 8717 echo "$as_me: failed program was:" >&5
8738 cat conftest.$ac_ext >&5 8718 cat conftest.$ac_ext >&5
8739 eval "$as_ac_var=no" 8719 eval "$as_ac_var=no"
8740 fi 8720 fi
8741 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8721 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8742 fi 8722 fi
8743 echo "$as_me:8742: result: `eval echo '${'$as_ac_var'}'`" >&5 8723 echo "$as_me:8723: result: `eval echo '${'$as_ac_var'}'`" >&5
8744 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8724 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8745 if test `eval echo '${'$as_ac_var'}'` = yes; then 8725 if test `eval echo '${'$as_ac_var'}'` = yes; then
8746 cat >>confdefs.h <<EOF 8726 cat >>confdefs.h <<EOF
8747 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 8727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8748 EOF 8728 EOF
8749 8729
8750 fi 8730 fi
8751 done 8731 done
8752 8732
8753 echo "$as_me:8752: checking for working mktime" >&5 8733 echo "$as_me:8733: checking for working mktime" >&5
8754 echo $ECHO_N "checking for working mktime... $ECHO_C" >&6 8734 echo $ECHO_N "checking for working mktime... $ECHO_C" >&6
8755 if test "${ac_cv_func_working_mktime+set}" = set; then 8735 if test "${ac_cv_func_working_mktime+set}" = set; then
8756 echo $ECHO_N "(cached) $ECHO_C" >&6 8736 echo $ECHO_N "(cached) $ECHO_C" >&6
8757 else 8737 else
8758 if test "$cross_compiling" = yes; then 8738 if test "$cross_compiling" = yes; then
8759 ac_cv_func_working_mktime=no 8739 ac_cv_func_working_mktime=no
8760 else 8740 else
8761 cat >conftest.$ac_ext <<_ACEOF 8741 cat >conftest.$ac_ext <<_ACEOF
8762 #line 8756 "configure" 8742 #line 8742 "configure"
8763 #include "confdefs.h" 8743 #include "confdefs.h"
8764 /* Test program from Paul Eggert and Tony Leneis. */ 8744 /* Test program from Paul Eggert and Tony Leneis. */
8765 #if TIME_WITH_SYS_TIME 8745 #if TIME_WITH_SYS_TIME
8766 # include <sys/time.h> 8746 # include <sys/time.h>
8767 # include <time.h> 8747 # include <time.h>
8906 spring_forward_gap (); 8886 spring_forward_gap ();
8907 exit (0); 8887 exit (0);
8908 } 8888 }
8909 _ACEOF 8889 _ACEOF
8910 rm -f conftest$ac_exeext 8890 rm -f conftest$ac_exeext
8911 if { (eval echo "$as_me:8910: \"$ac_link\"") >&5 8891 if { (eval echo "$as_me:8891: \"$ac_link\"") >&5
8912 (eval $ac_link) 2>&5 8892 (eval $ac_link) 2>&5
8913 ac_status=$? 8893 ac_status=$?
8914 echo "$as_me:8913: \$? = $ac_status" >&5 8894 echo "$as_me:8894: \$? = $ac_status" >&5
8915 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 8895 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8916 { (eval echo "$as_me:8915: \"$ac_try\"") >&5 8896 { (eval echo "$as_me:8896: \"$ac_try\"") >&5
8917 (eval $ac_try) 2>&5 8897 (eval $ac_try) 2>&5
8918 ac_status=$? 8898 ac_status=$?
8919 echo "$as_me:8918: \$? = $ac_status" >&5 8899 echo "$as_me:8899: \$? = $ac_status" >&5
8920 (exit $ac_status); }; }; then 8900 (exit $ac_status); }; }; then
8921 ac_cv_func_working_mktime=yes 8901 ac_cv_func_working_mktime=yes
8922 else 8902 else
8923 echo "$as_me: program exited with status $ac_status" >&5 8903 echo "$as_me: program exited with status $ac_status" >&5
8924 echo "$as_me: failed program was:" >&5 8904 echo "$as_me: failed program was:" >&5
8926 ac_cv_func_working_mktime=no 8906 ac_cv_func_working_mktime=no
8927 fi 8907 fi
8928 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 8908 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8929 fi 8909 fi
8930 fi 8910 fi
8931 echo "$as_me:8930: result: $ac_cv_func_working_mktime" >&5 8911 echo "$as_me:8911: result: $ac_cv_func_working_mktime" >&5
8932 echo "${ECHO_T}$ac_cv_func_working_mktime" >&6 8912 echo "${ECHO_T}$ac_cv_func_working_mktime" >&6
8933 if test $ac_cv_func_working_mktime = no; then 8913 if test $ac_cv_func_working_mktime = no; then
8934 LIBOBJS="$LIBOBJS mktime.$ac_objext" 8914 LIBOBJS="$LIBOBJS mktime.$ac_objext"
8935 fi 8915 fi
8936 8916
8945 ac_have_func=no # yes means we've found a way to get the load average. 8925 ac_have_func=no # yes means we've found a way to get the load average.
8946 8926
8947 ac_save_LIBS=$LIBS 8927 ac_save_LIBS=$LIBS
8948 8928
8949 # Check for getloadavg, but be sure not to touch the cache variable. 8929 # Check for getloadavg, but be sure not to touch the cache variable.
8950 (echo "$as_me:8949: checking for getloadavg" >&5 8930 (echo "$as_me:8930: checking for getloadavg" >&5
8951 echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6 8931 echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6
8952 if test "${ac_cv_func_getloadavg+set}" = set; then 8932 if test "${ac_cv_func_getloadavg+set}" = set; then
8953 echo $ECHO_N "(cached) $ECHO_C" >&6 8933 echo $ECHO_N "(cached) $ECHO_C" >&6
8954 else 8934 else
8955 cat >conftest.$ac_ext <<_ACEOF 8935 cat >conftest.$ac_ext <<_ACEOF
8956 #line 8950 "configure" 8936 #line 8936 "configure"
8957 #include "confdefs.h" 8937 #include "confdefs.h"
8958 /* System header to define __stub macros and hopefully few prototypes, 8938 /* System header to define __stub macros and hopefully few prototypes,
8959 which can conflict with char getloadavg (); below. */ 8939 which can conflict with char getloadavg (); below. */
8960 #include <assert.h> 8940 #include <assert.h>
8961 /* Override any gcc2 internal prototype to avoid an error. */ 8941 /* Override any gcc2 internal prototype to avoid an error. */
8982 ; 8962 ;
8983 return 0; 8963 return 0;
8984 } 8964 }
8985 _ACEOF 8965 _ACEOF
8986 rm -f conftest.$ac_objext conftest$ac_exeext 8966 rm -f conftest.$ac_objext conftest$ac_exeext
8987 if { (eval echo "$as_me:8986: \"$ac_link\"") >&5 8967 if { (eval echo "$as_me:8967: \"$ac_link\"") >&5
8988 (eval $ac_link) 2>&5 8968 (eval $ac_link) 2>&5
8989 ac_status=$? 8969 ac_status=$?
8990 echo "$as_me:8989: \$? = $ac_status" >&5 8970 echo "$as_me:8970: \$? = $ac_status" >&5
8991 (exit $ac_status); } && 8971 (exit $ac_status); } &&
8992 { ac_try='test -s conftest$ac_exeext' 8972 { ac_try='test -s conftest$ac_exeext'
8993 { (eval echo "$as_me:8992: \"$ac_try\"") >&5 8973 { (eval echo "$as_me:8973: \"$ac_try\"") >&5
8994 (eval $ac_try) 2>&5 8974 (eval $ac_try) 2>&5
8995 ac_status=$? 8975 ac_status=$?
8996 echo "$as_me:8995: \$? = $ac_status" >&5 8976 echo "$as_me:8976: \$? = $ac_status" >&5
8997 (exit $ac_status); }; }; then 8977 (exit $ac_status); }; }; then
8998 ac_cv_func_getloadavg=yes 8978 ac_cv_func_getloadavg=yes
8999 else 8979 else
9000 echo "$as_me: failed program was:" >&5 8980 echo "$as_me: failed program was:" >&5
9001 cat conftest.$ac_ext >&5 8981 cat conftest.$ac_ext >&5
9002 ac_cv_func_getloadavg=no 8982 ac_cv_func_getloadavg=no
9003 fi 8983 fi
9004 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8984 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9005 fi 8985 fi
9006 echo "$as_me:9005: result: $ac_cv_func_getloadavg" >&5 8986 echo "$as_me:8986: result: $ac_cv_func_getloadavg" >&5
9007 echo "${ECHO_T}$ac_cv_func_getloadavg" >&6 8987 echo "${ECHO_T}$ac_cv_func_getloadavg" >&6
9008 if test $ac_cv_func_getloadavg = yes; then 8988 if test $ac_cv_func_getloadavg = yes; then
9009 exit 0 8989 exit 0
9010 else 8990 else
9011 exit 1 8991 exit 1
9015 # On HPUX9, an unprivileged user can get load averages through this function. 8995 # On HPUX9, an unprivileged user can get load averages through this function.
9016 8996
9017 for ac_func in pstat_getdynamic 8997 for ac_func in pstat_getdynamic
9018 do 8998 do
9019 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 8999 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9020 echo "$as_me:9019: checking for $ac_func" >&5 9000 echo "$as_me:9000: checking for $ac_func" >&5
9021 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 9001 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9022 if eval "test \"\${$as_ac_var+set}\" = set"; then 9002 if eval "test \"\${$as_ac_var+set}\" = set"; then
9023 echo $ECHO_N "(cached) $ECHO_C" >&6 9003 echo $ECHO_N "(cached) $ECHO_C" >&6
9024 else 9004 else
9025 cat >conftest.$ac_ext <<_ACEOF 9005 cat >conftest.$ac_ext <<_ACEOF
9026 #line 9020 "configure" 9006 #line 9006 "configure"
9027 #include "confdefs.h" 9007 #include "confdefs.h"
9028 /* System header to define __stub macros and hopefully few prototypes, 9008 /* System header to define __stub macros and hopefully few prototypes,
9029 which can conflict with char $ac_func (); below. */ 9009 which can conflict with char $ac_func (); below. */
9030 #include <assert.h> 9010 #include <assert.h>
9031 /* Override any gcc2 internal prototype to avoid an error. */ 9011 /* Override any gcc2 internal prototype to avoid an error. */
9052 ; 9032 ;
9053 return 0; 9033 return 0;
9054 } 9034 }
9055 _ACEOF 9035 _ACEOF
9056 rm -f conftest.$ac_objext conftest$ac_exeext 9036 rm -f conftest.$ac_objext conftest$ac_exeext
9057 if { (eval echo "$as_me:9056: \"$ac_link\"") >&5 9037 if { (eval echo "$as_me:9037: \"$ac_link\"") >&5
9058 (eval $ac_link) 2>&5 9038 (eval $ac_link) 2>&5
9059 ac_status=$? 9039 ac_status=$?
9060 echo "$as_me:9059: \$? = $ac_status" >&5 9040 echo "$as_me:9040: \$? = $ac_status" >&5
9061 (exit $ac_status); } && 9041 (exit $ac_status); } &&
9062 { ac_try='test -s conftest$ac_exeext' 9042 { ac_try='test -s conftest$ac_exeext'
9063 { (eval echo "$as_me:9062: \"$ac_try\"") >&5 9043 { (eval echo "$as_me:9043: \"$ac_try\"") >&5
9064 (eval $ac_try) 2>&5 9044 (eval $ac_try) 2>&5
9065 ac_status=$? 9045 ac_status=$?
9066 echo "$as_me:9065: \$? = $ac_status" >&5 9046 echo "$as_me:9046: \$? = $ac_status" >&5
9067 (exit $ac_status); }; }; then 9047 (exit $ac_status); }; }; then
9068 eval "$as_ac_var=yes" 9048 eval "$as_ac_var=yes"
9069 else 9049 else
9070 echo "$as_me: failed program was:" >&5 9050 echo "$as_me: failed program was:" >&5
9071 cat conftest.$ac_ext >&5 9051 cat conftest.$ac_ext >&5
9072 eval "$as_ac_var=no" 9052 eval "$as_ac_var=no"
9073 fi 9053 fi
9074 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9054 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9075 fi 9055 fi
9076 echo "$as_me:9075: result: `eval echo '${'$as_ac_var'}'`" >&5 9056 echo "$as_me:9056: result: `eval echo '${'$as_ac_var'}'`" >&5
9077 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 9057 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9078 if test `eval echo '${'$as_ac_var'}'` = yes; then 9058 if test `eval echo '${'$as_ac_var'}'` = yes; then
9079 cat >>confdefs.h <<EOF 9059 cat >>confdefs.h <<EOF
9080 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 9060 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9081 EOF 9061 EOF
9083 fi 9063 fi
9084 done 9064 done
9085 9065
9086 # Solaris has libkstat which does not require root. 9066 # Solaris has libkstat which does not require root.
9087 9067
9088 echo "$as_me:9087: checking for kstat_open in -lkstat" >&5 9068 echo "$as_me:9068: checking for kstat_open in -lkstat" >&5
9089 echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6 9069 echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6
9090 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then 9070 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then
9091 echo $ECHO_N "(cached) $ECHO_C" >&6 9071 echo $ECHO_N "(cached) $ECHO_C" >&6
9092 else 9072 else
9093 ac_check_lib_save_LIBS=$LIBS 9073 ac_check_lib_save_LIBS=$LIBS
9094 LIBS="-lkstat $LIBS" 9074 LIBS="-lkstat $LIBS"
9095 cat >conftest.$ac_ext <<_ACEOF 9075 cat >conftest.$ac_ext <<_ACEOF
9096 #line 9090 "configure" 9076 #line 9076 "configure"
9097 #include "confdefs.h" 9077 #include "confdefs.h"
9098 9078
9099 /* Override any gcc2 internal prototype to avoid an error. */ 9079 /* Override any gcc2 internal prototype to avoid an error. */
9100 #ifdef __cplusplus 9080 #ifdef __cplusplus
9101 extern "C" 9081 extern "C"
9110 ; 9090 ;
9111 return 0; 9091 return 0;
9112 } 9092 }
9113 _ACEOF 9093 _ACEOF
9114 rm -f conftest.$ac_objext conftest$ac_exeext 9094 rm -f conftest.$ac_objext conftest$ac_exeext
9115 if { (eval echo "$as_me:9114: \"$ac_link\"") >&5 9095 if { (eval echo "$as_me:9095: \"$ac_link\"") >&5
9116 (eval $ac_link) 2>&5 9096 (eval $ac_link) 2>&5
9117 ac_status=$? 9097 ac_status=$?
9118 echo "$as_me:9117: \$? = $ac_status" >&5 9098 echo "$as_me:9098: \$? = $ac_status" >&5
9119 (exit $ac_status); } && 9099 (exit $ac_status); } &&
9120 { ac_try='test -s conftest$ac_exeext' 9100 { ac_try='test -s conftest$ac_exeext'
9121 { (eval echo "$as_me:9120: \"$ac_try\"") >&5 9101 { (eval echo "$as_me:9101: \"$ac_try\"") >&5
9122 (eval $ac_try) 2>&5 9102 (eval $ac_try) 2>&5
9123 ac_status=$? 9103 ac_status=$?
9124 echo "$as_me:9123: \$? = $ac_status" >&5 9104 echo "$as_me:9104: \$? = $ac_status" >&5
9125 (exit $ac_status); }; }; then 9105 (exit $ac_status); }; }; then
9126 ac_cv_lib_kstat_kstat_open=yes 9106 ac_cv_lib_kstat_kstat_open=yes
9127 else 9107 else
9128 echo "$as_me: failed program was:" >&5 9108 echo "$as_me: failed program was:" >&5
9129 cat conftest.$ac_ext >&5 9109 cat conftest.$ac_ext >&5
9130 ac_cv_lib_kstat_kstat_open=no 9110 ac_cv_lib_kstat_kstat_open=no
9131 fi 9111 fi
9132 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9112 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9133 LIBS=$ac_check_lib_save_LIBS 9113 LIBS=$ac_check_lib_save_LIBS
9134 fi 9114 fi
9135 echo "$as_me:9134: result: $ac_cv_lib_kstat_kstat_open" >&5 9115 echo "$as_me:9115: result: $ac_cv_lib_kstat_kstat_open" >&5
9136 echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6 9116 echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6
9137 if test $ac_cv_lib_kstat_kstat_open = yes; then 9117 if test $ac_cv_lib_kstat_kstat_open = yes; then
9138 cat >>confdefs.h <<EOF 9118 cat >>confdefs.h <<EOF
9139 #define HAVE_LIBKSTAT 1 9119 #define HAVE_LIBKSTAT 1
9140 EOF 9120 EOF
9148 # Some systems with -lutil have (and need) -lkvm as well, some do not. 9128 # Some systems with -lutil have (and need) -lkvm as well, some do not.
9149 # On Solaris, -lkvm requires nlist from -lelf, so check that first 9129 # On Solaris, -lkvm requires nlist from -lelf, so check that first
9150 # to get the right answer into the cache. 9130 # to get the right answer into the cache.
9151 # For kstat on solaris, we need libelf to force the definition of SVR4 below. 9131 # For kstat on solaris, we need libelf to force the definition of SVR4 below.
9152 if test $ac_have_func = no; then 9132 if test $ac_have_func = no; then
9153 echo "$as_me:9152: checking for elf_begin in -lelf" >&5 9133 echo "$as_me:9133: checking for elf_begin in -lelf" >&5
9154 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6 9134 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
9155 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then 9135 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
9156 echo $ECHO_N "(cached) $ECHO_C" >&6 9136 echo $ECHO_N "(cached) $ECHO_C" >&6
9157 else 9137 else
9158 ac_check_lib_save_LIBS=$LIBS 9138 ac_check_lib_save_LIBS=$LIBS
9159 LIBS="-lelf $LIBS" 9139 LIBS="-lelf $LIBS"
9160 cat >conftest.$ac_ext <<_ACEOF 9140 cat >conftest.$ac_ext <<_ACEOF
9161 #line 9155 "configure" 9141 #line 9141 "configure"
9162 #include "confdefs.h" 9142 #include "confdefs.h"
9163 9143
9164 /* Override any gcc2 internal prototype to avoid an error. */ 9144 /* Override any gcc2 internal prototype to avoid an error. */
9165 #ifdef __cplusplus 9145 #ifdef __cplusplus
9166 extern "C" 9146 extern "C"
9175 ; 9155 ;
9176 return 0; 9156 return 0;
9177 } 9157 }
9178 _ACEOF 9158 _ACEOF
9179 rm -f conftest.$ac_objext conftest$ac_exeext 9159 rm -f conftest.$ac_objext conftest$ac_exeext
9180 if { (eval echo "$as_me:9179: \"$ac_link\"") >&5 9160 if { (eval echo "$as_me:9160: \"$ac_link\"") >&5
9181 (eval $ac_link) 2>&5 9161 (eval $ac_link) 2>&5
9182 ac_status=$? 9162 ac_status=$?
9183 echo "$as_me:9182: \$? = $ac_status" >&5 9163 echo "$as_me:9163: \$? = $ac_status" >&5
9184 (exit $ac_status); } && 9164 (exit $ac_status); } &&
9185 { ac_try='test -s conftest$ac_exeext' 9165 { ac_try='test -s conftest$ac_exeext'
9186 { (eval echo "$as_me:9185: \"$ac_try\"") >&5 9166 { (eval echo "$as_me:9166: \"$ac_try\"") >&5
9187 (eval $ac_try) 2>&5 9167 (eval $ac_try) 2>&5
9188 ac_status=$? 9168 ac_status=$?
9189 echo "$as_me:9188: \$? = $ac_status" >&5 9169 echo "$as_me:9169: \$? = $ac_status" >&5
9190 (exit $ac_status); }; }; then 9170 (exit $ac_status); }; }; then
9191 ac_cv_lib_elf_elf_begin=yes 9171 ac_cv_lib_elf_elf_begin=yes
9192 else 9172 else
9193 echo "$as_me: failed program was:" >&5 9173 echo "$as_me: failed program was:" >&5
9194 cat conftest.$ac_ext >&5 9174 cat conftest.$ac_ext >&5
9195 ac_cv_lib_elf_elf_begin=no 9175 ac_cv_lib_elf_elf_begin=no
9196 fi 9176 fi
9197 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9177 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9198 LIBS=$ac_check_lib_save_LIBS 9178 LIBS=$ac_check_lib_save_LIBS
9199 fi 9179 fi
9200 echo "$as_me:9199: result: $ac_cv_lib_elf_elf_begin" >&5 9180 echo "$as_me:9180: result: $ac_cv_lib_elf_elf_begin" >&5
9201 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6 9181 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
9202 if test $ac_cv_lib_elf_elf_begin = yes; then 9182 if test $ac_cv_lib_elf_elf_begin = yes; then
9203 LIBS="-lelf $LIBS" 9183 LIBS="-lelf $LIBS"
9204 fi 9184 fi
9205 9185
9206 fi 9186 fi
9207 if test $ac_have_func = no; then 9187 if test $ac_have_func = no; then
9208 echo "$as_me:9207: checking for kvm_open in -lkvm" >&5 9188 echo "$as_me:9188: checking for kvm_open in -lkvm" >&5
9209 echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6 9189 echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6
9210 if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then 9190 if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then
9211 echo $ECHO_N "(cached) $ECHO_C" >&6 9191 echo $ECHO_N "(cached) $ECHO_C" >&6
9212 else 9192 else
9213 ac_check_lib_save_LIBS=$LIBS 9193 ac_check_lib_save_LIBS=$LIBS
9214 LIBS="-lkvm $LIBS" 9194 LIBS="-lkvm $LIBS"
9215 cat >conftest.$ac_ext <<_ACEOF 9195 cat >conftest.$ac_ext <<_ACEOF
9216 #line 9210 "configure" 9196 #line 9196 "configure"
9217 #include "confdefs.h" 9197 #include "confdefs.h"
9218 9198
9219 /* Override any gcc2 internal prototype to avoid an error. */ 9199 /* Override any gcc2 internal prototype to avoid an error. */
9220 #ifdef __cplusplus 9200 #ifdef __cplusplus
9221 extern "C" 9201 extern "C"
9230 ; 9210 ;
9231 return 0; 9211 return 0;
9232 } 9212 }
9233 _ACEOF 9213 _ACEOF
9234 rm -f conftest.$ac_objext conftest$ac_exeext 9214 rm -f conftest.$ac_objext conftest$ac_exeext
9235 if { (eval echo "$as_me:9234: \"$ac_link\"") >&5 9215 if { (eval echo "$as_me:9215: \"$ac_link\"") >&5
9236 (eval $ac_link) 2>&5 9216 (eval $ac_link) 2>&5
9237 ac_status=$? 9217 ac_status=$?
9238 echo "$as_me:9237: \$? = $ac_status" >&5 9218 echo "$as_me:9218: \$? = $ac_status" >&5
9239 (exit $ac_status); } && 9219 (exit $ac_status); } &&
9240 { ac_try='test -s conftest$ac_exeext' 9220 { ac_try='test -s conftest$ac_exeext'
9241 { (eval echo "$as_me:9240: \"$ac_try\"") >&5 9221 { (eval echo "$as_me:9221: \"$ac_try\"") >&5
9242 (eval $ac_try) 2>&5 9222 (eval $ac_try) 2>&5
9243 ac_status=$? 9223 ac_status=$?
9244 echo "$as_me:9243: \$? = $ac_status" >&5 9224 echo "$as_me:9224: \$? = $ac_status" >&5
9245 (exit $ac_status); }; }; then 9225 (exit $ac_status); }; }; then
9246 ac_cv_lib_kvm_kvm_open=yes 9226 ac_cv_lib_kvm_kvm_open=yes
9247 else 9227 else
9248 echo "$as_me: failed program was:" >&5 9228 echo "$as_me: failed program was:" >&5
9249 cat conftest.$ac_ext >&5 9229 cat conftest.$ac_ext >&5
9250 ac_cv_lib_kvm_kvm_open=no 9230 ac_cv_lib_kvm_kvm_open=no
9251 fi 9231 fi
9252 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9232 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9253 LIBS=$ac_check_lib_save_LIBS 9233 LIBS=$ac_check_lib_save_LIBS
9254 fi 9234 fi
9255 echo "$as_me:9254: result: $ac_cv_lib_kvm_kvm_open" >&5 9235 echo "$as_me:9235: result: $ac_cv_lib_kvm_kvm_open" >&5
9256 echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6 9236 echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6
9257 if test $ac_cv_lib_kvm_kvm_open = yes; then 9237 if test $ac_cv_lib_kvm_kvm_open = yes; then
9258 LIBS="-lkvm $LIBS" 9238 LIBS="-lkvm $LIBS"
9259 fi 9239 fi
9260 9240
9261 # Check for the 4.4BSD definition of getloadavg. 9241 # Check for the 4.4BSD definition of getloadavg.
9262 echo "$as_me:9261: checking for getloadavg in -lutil" >&5 9242 echo "$as_me:9242: checking for getloadavg in -lutil" >&5
9263 echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6 9243 echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6
9264 if test "${ac_cv_lib_util_getloadavg+set}" = set; then 9244 if test "${ac_cv_lib_util_getloadavg+set}" = set; then
9265 echo $ECHO_N "(cached) $ECHO_C" >&6 9245 echo $ECHO_N "(cached) $ECHO_C" >&6
9266 else 9246 else
9267 ac_check_lib_save_LIBS=$LIBS 9247 ac_check_lib_save_LIBS=$LIBS
9268 LIBS="-lutil $LIBS" 9248 LIBS="-lutil $LIBS"
9269 cat >conftest.$ac_ext <<_ACEOF 9249 cat >conftest.$ac_ext <<_ACEOF
9270 #line 9264 "configure" 9250 #line 9250 "configure"
9271 #include "confdefs.h" 9251 #include "confdefs.h"
9272 9252
9273 /* Override any gcc2 internal prototype to avoid an error. */ 9253 /* Override any gcc2 internal prototype to avoid an error. */
9274 #ifdef __cplusplus 9254 #ifdef __cplusplus
9275 extern "C" 9255 extern "C"
9284 ; 9264 ;
9285 return 0; 9265 return 0;
9286 } 9266 }
9287 _ACEOF 9267 _ACEOF
9288 rm -f conftest.$ac_objext conftest$ac_exeext 9268 rm -f conftest.$ac_objext conftest$ac_exeext
9289 if { (eval echo "$as_me:9288: \"$ac_link\"") >&5 9269 if { (eval echo "$as_me:9269: \"$ac_link\"") >&5
9290 (eval $ac_link) 2>&5 9270 (eval $ac_link) 2>&5
9291 ac_status=$? 9271 ac_status=$?
9292 echo "$as_me:9291: \$? = $ac_status" >&5 9272 echo "$as_me:9272: \$? = $ac_status" >&5
9293 (exit $ac_status); } && 9273 (exit $ac_status); } &&
9294 { ac_try='test -s conftest$ac_exeext' 9274 { ac_try='test -s conftest$ac_exeext'
9295 { (eval echo "$as_me:9294: \"$ac_try\"") >&5 9275 { (eval echo "$as_me:9275: \"$ac_try\"") >&5
9296 (eval $ac_try) 2>&5 9276 (eval $ac_try) 2>&5
9297 ac_status=$? 9277 ac_status=$?
9298 echo "$as_me:9297: \$? = $ac_status" >&5 9278 echo "$as_me:9278: \$? = $ac_status" >&5
9299 (exit $ac_status); }; }; then 9279 (exit $ac_status); }; }; then
9300 ac_cv_lib_util_getloadavg=yes 9280 ac_cv_lib_util_getloadavg=yes
9301 else 9281 else
9302 echo "$as_me: failed program was:" >&5 9282 echo "$as_me: failed program was:" >&5
9303 cat conftest.$ac_ext >&5 9283 cat conftest.$ac_ext >&5
9304 ac_cv_lib_util_getloadavg=no 9284 ac_cv_lib_util_getloadavg=no
9305 fi 9285 fi
9306 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9286 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9307 LIBS=$ac_check_lib_save_LIBS 9287 LIBS=$ac_check_lib_save_LIBS
9308 fi 9288 fi
9309 echo "$as_me:9308: result: $ac_cv_lib_util_getloadavg" >&5 9289 echo "$as_me:9289: result: $ac_cv_lib_util_getloadavg" >&5
9310 echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6 9290 echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6
9311 if test $ac_cv_lib_util_getloadavg = yes; then 9291 if test $ac_cv_lib_util_getloadavg = yes; then
9312 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes 9292 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes
9313 fi 9293 fi
9314 9294
9317 if test $ac_have_func = no; then 9297 if test $ac_have_func = no; then
9318 # There is a commonly available library for RS/6000 AIX. 9298 # There is a commonly available library for RS/6000 AIX.
9319 # Since it is not a standard part of AIX, it might be installed locally. 9299 # Since it is not a standard part of AIX, it might be installed locally.
9320 ac_getloadavg_LIBS=$LIBS 9300 ac_getloadavg_LIBS=$LIBS
9321 LIBS="-L/usr/local/lib $LIBS" 9301 LIBS="-L/usr/local/lib $LIBS"
9322 echo "$as_me:9321: checking for getloadavg in -lgetloadavg" >&5 9302 echo "$as_me:9302: checking for getloadavg in -lgetloadavg" >&5
9323 echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6 9303 echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6
9324 if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then 9304 if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then
9325 echo $ECHO_N "(cached) $ECHO_C" >&6 9305 echo $ECHO_N "(cached) $ECHO_C" >&6
9326 else 9306 else
9327 ac_check_lib_save_LIBS=$LIBS 9307 ac_check_lib_save_LIBS=$LIBS
9328 LIBS="-lgetloadavg $LIBS" 9308 LIBS="-lgetloadavg $LIBS"
9329 cat >conftest.$ac_ext <<_ACEOF 9309 cat >conftest.$ac_ext <<_ACEOF
9330 #line 9324 "configure" 9310 #line 9310 "configure"
9331 #include "confdefs.h" 9311 #include "confdefs.h"
9332 9312
9333 /* Override any gcc2 internal prototype to avoid an error. */ 9313 /* Override any gcc2 internal prototype to avoid an error. */
9334 #ifdef __cplusplus 9314 #ifdef __cplusplus
9335 extern "C" 9315 extern "C"
9344 ; 9324 ;
9345 return 0; 9325 return 0;
9346 } 9326 }
9347 _ACEOF 9327 _ACEOF
9348 rm -f conftest.$ac_objext conftest$ac_exeext 9328 rm -f conftest.$ac_objext conftest$ac_exeext
9349 if { (eval echo "$as_me:9348: \"$ac_link\"") >&5 9329 if { (eval echo "$as_me:9329: \"$ac_link\"") >&5
9350 (eval $ac_link) 2>&5 9330 (eval $ac_link) 2>&5
9351 ac_status=$? 9331 ac_status=$?
9352 echo "$as_me:9351: \$? = $ac_status" >&5 9332 echo "$as_me:9332: \$? = $ac_status" >&5
9353 (exit $ac_status); } && 9333 (exit $ac_status); } &&
9354 { ac_try='test -s conftest$ac_exeext' 9334 { ac_try='test -s conftest$ac_exeext'
9355 { (eval echo "$as_me:9354: \"$ac_try\"") >&5 9335 { (eval echo "$as_me:9335: \"$ac_try\"") >&5
9356 (eval $ac_try) 2>&5 9336 (eval $ac_try) 2>&5
9357 ac_status=$? 9337 ac_status=$?
9358 echo "$as_me:9357: \$? = $ac_status" >&5 9338 echo "$as_me:9338: \$? = $ac_status" >&5
9359 (exit $ac_status); }; }; then 9339 (exit $ac_status); }; }; then
9360 ac_cv_lib_getloadavg_getloadavg=yes 9340 ac_cv_lib_getloadavg_getloadavg=yes
9361 else 9341 else
9362 echo "$as_me: failed program was:" >&5 9342 echo "$as_me: failed program was:" >&5
9363 cat conftest.$ac_ext >&5 9343 cat conftest.$ac_ext >&5
9364 ac_cv_lib_getloadavg_getloadavg=no 9344 ac_cv_lib_getloadavg_getloadavg=no
9365 fi 9345 fi
9366 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9346 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9367 LIBS=$ac_check_lib_save_LIBS 9347 LIBS=$ac_check_lib_save_LIBS
9368 fi 9348 fi
9369 echo "$as_me:9368: result: $ac_cv_lib_getloadavg_getloadavg" >&5 9349 echo "$as_me:9349: result: $ac_cv_lib_getloadavg_getloadavg" >&5
9370 echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6 9350 echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6
9371 if test $ac_cv_lib_getloadavg_getloadavg = yes; then 9351 if test $ac_cv_lib_getloadavg_getloadavg = yes; then
9372 LIBS="-lgetloadavg $LIBS" 9352 LIBS="-lgetloadavg $LIBS"
9373 else 9353 else
9374 LIBS=$ac_getloadavg_LIBS 9354 LIBS=$ac_getloadavg_LIBS
9380 # otherwise set up the replacement function. 9360 # otherwise set up the replacement function.
9381 9361
9382 for ac_func in getloadavg 9362 for ac_func in getloadavg
9383 do 9363 do
9384 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9364 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9385 echo "$as_me:9384: checking for $ac_func" >&5 9365 echo "$as_me:9365: checking for $ac_func" >&5
9386 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 9366 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9387 if eval "test \"\${$as_ac_var+set}\" = set"; then 9367 if eval "test \"\${$as_ac_var+set}\" = set"; then
9388 echo $ECHO_N "(cached) $ECHO_C" >&6 9368 echo $ECHO_N "(cached) $ECHO_C" >&6
9389 else 9369 else
9390 cat >conftest.$ac_ext <<_ACEOF 9370 cat >conftest.$ac_ext <<_ACEOF
9391 #line 9385 "configure" 9371 #line 9371 "configure"
9392 #include "confdefs.h" 9372 #include "confdefs.h"
9393 /* System header to define __stub macros and hopefully few prototypes, 9373 /* System header to define __stub macros and hopefully few prototypes,
9394 which can conflict with char $ac_func (); below. */ 9374 which can conflict with char $ac_func (); below. */
9395 #include <assert.h> 9375 #include <assert.h>
9396 /* Override any gcc2 internal prototype to avoid an error. */ 9376 /* Override any gcc2 internal prototype to avoid an error. */
9417 ; 9397 ;
9418 return 0; 9398 return 0;
9419 } 9399 }
9420 _ACEOF 9400 _ACEOF
9421 rm -f conftest.$ac_objext conftest$ac_exeext 9401 rm -f conftest.$ac_objext conftest$ac_exeext
9422 if { (eval echo "$as_me:9421: \"$ac_link\"") >&5 9402 if { (eval echo "$as_me:9402: \"$ac_link\"") >&5
9423 (eval $ac_link) 2>&5 9403 (eval $ac_link) 2>&5
9424 ac_status=$? 9404 ac_status=$?
9425 echo "$as_me:9424: \$? = $ac_status" >&5 9405 echo "$as_me:9405: \$? = $ac_status" >&5
9426 (exit $ac_status); } && 9406 (exit $ac_status); } &&
9427 { ac_try='test -s conftest$ac_exeext' 9407 { ac_try='test -s conftest$ac_exeext'
9428 { (eval echo "$as_me:9427: \"$ac_try\"") >&5 9408 { (eval echo "$as_me:9408: \"$ac_try\"") >&5
9429 (eval $ac_try) 2>&5 9409 (eval $ac_try) 2>&5
9430 ac_status=$? 9410 ac_status=$?
9431 echo "$as_me:9430: \$? = $ac_status" >&5 9411 echo "$as_me:9411: \$? = $ac_status" >&5
9432 (exit $ac_status); }; }; then 9412 (exit $ac_status); }; }; then
9433 eval "$as_ac_var=yes" 9413 eval "$as_ac_var=yes"
9434 else 9414 else
9435 echo "$as_me: failed program was:" >&5 9415 echo "$as_me: failed program was:" >&5
9436 cat conftest.$ac_ext >&5 9416 cat conftest.$ac_ext >&5
9437 eval "$as_ac_var=no" 9417 eval "$as_ac_var=no"
9438 fi 9418 fi
9439 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9419 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9440 fi 9420 fi
9441 echo "$as_me:9440: result: `eval echo '${'$as_ac_var'}'`" >&5 9421 echo "$as_me:9421: result: `eval echo '${'$as_ac_var'}'`" >&5
9442 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 9422 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9443 if test `eval echo '${'$as_ac_var'}'` = yes; then 9423 if test `eval echo '${'$as_ac_var'}'` = yes; then
9444 cat >>confdefs.h <<EOF 9424 cat >>confdefs.h <<EOF
9445 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 9425 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9446 EOF 9426 EOF
9452 #define C_GETLOADAVG 1 9432 #define C_GETLOADAVG 1
9453 EOF 9433 EOF
9454 9434
9455 # Figure out what our getloadavg.c needs. 9435 # Figure out what our getloadavg.c needs.
9456 ac_have_func=no 9436 ac_have_func=no
9457 echo "$as_me:9456: checking for sys/dg_sys_info.h" >&5 9437 echo "$as_me:9437: checking for sys/dg_sys_info.h" >&5
9458 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6 9438 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
9459 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then 9439 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
9460 echo $ECHO_N "(cached) $ECHO_C" >&6 9440 echo $ECHO_N "(cached) $ECHO_C" >&6
9461 else 9441 else
9462 cat >conftest.$ac_ext <<_ACEOF 9442 cat >conftest.$ac_ext <<_ACEOF
9463 #line 9457 "configure" 9443 #line 9443 "configure"
9464 #include "confdefs.h" 9444 #include "confdefs.h"
9465 #include <sys/dg_sys_info.h> 9445 #include <sys/dg_sys_info.h>
9466 _ACEOF 9446 _ACEOF
9467 if { (eval echo "$as_me:9466: \"$ac_cpp conftest.$ac_ext\"") >&5 9447 if { (eval echo "$as_me:9447: \"$ac_cpp conftest.$ac_ext\"") >&5
9468 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9448 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9469 ac_status=$? 9449 ac_status=$?
9470 egrep -v '^ *\+' conftest.er1 >conftest.err 9450 egrep -v '^ *\+' conftest.er1 >conftest.err
9471 rm -f conftest.er1 9451 rm -f conftest.er1
9472 cat conftest.err >&5 9452 cat conftest.err >&5
9473 echo "$as_me:9472: \$? = $ac_status" >&5 9453 echo "$as_me:9453: \$? = $ac_status" >&5
9474 (exit $ac_status); } >/dev/null; then 9454 (exit $ac_status); } >/dev/null; then
9475 if test -s conftest.err; then 9455 if test -s conftest.err; then
9476 ac_cpp_err=$ac_c_preproc_warn_flag 9456 ac_cpp_err=$ac_c_preproc_warn_flag
9477 else 9457 else
9478 ac_cpp_err= 9458 ac_cpp_err=
9487 cat conftest.$ac_ext >&5 9467 cat conftest.$ac_ext >&5
9488 ac_cv_header_sys_dg_sys_info_h=no 9468 ac_cv_header_sys_dg_sys_info_h=no
9489 fi 9469 fi
9490 rm -f conftest.err conftest.$ac_ext 9470 rm -f conftest.err conftest.$ac_ext
9491 fi 9471 fi
9492 echo "$as_me:9491: result: $ac_cv_header_sys_dg_sys_info_h" >&5 9472 echo "$as_me:9472: result: $ac_cv_header_sys_dg_sys_info_h" >&5
9493 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6 9473 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
9494 if test $ac_cv_header_sys_dg_sys_info_h = yes; then 9474 if test $ac_cv_header_sys_dg_sys_info_h = yes; then
9495 ac_have_func=yes 9475 ac_have_func=yes
9496 9476
9497 cat >>confdefs.h <<\EOF 9477 cat >>confdefs.h <<\EOF
9498 #define DGUX 1 9478 #define DGUX 1
9499 EOF 9479 EOF
9500 9480
9501 echo "$as_me:9500: checking for dg_sys_info in -ldgc" >&5 9481 echo "$as_me:9481: checking for dg_sys_info in -ldgc" >&5
9502 echo $ECHO_N "checking for dg_sys_info in -ldgc... $ECHO_C" >&6 9482 echo $ECHO_N "checking for dg_sys_info in -ldgc... $ECHO_C" >&6
9503 if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then 9483 if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then
9504 echo $ECHO_N "(cached) $ECHO_C" >&6 9484 echo $ECHO_N "(cached) $ECHO_C" >&6
9505 else 9485 else
9506 ac_check_lib_save_LIBS=$LIBS 9486 ac_check_lib_save_LIBS=$LIBS
9507 LIBS="-ldgc $LIBS" 9487 LIBS="-ldgc $LIBS"
9508 cat >conftest.$ac_ext <<_ACEOF 9488 cat >conftest.$ac_ext <<_ACEOF
9509 #line 9503 "configure" 9489 #line 9489 "configure"
9510 #include "confdefs.h" 9490 #include "confdefs.h"
9511 9491
9512 /* Override any gcc2 internal prototype to avoid an error. */ 9492 /* Override any gcc2 internal prototype to avoid an error. */
9513 #ifdef __cplusplus 9493 #ifdef __cplusplus
9514 extern "C" 9494 extern "C"
9523 ; 9503 ;
9524 return 0; 9504 return 0;
9525 } 9505 }
9526 _ACEOF 9506 _ACEOF
9527 rm -f conftest.$ac_objext conftest$ac_exeext 9507 rm -f conftest.$ac_objext conftest$ac_exeext
9528 if { (eval echo "$as_me:9527: \"$ac_link\"") >&5 9508 if { (eval echo "$as_me:9508: \"$ac_link\"") >&5
9529 (eval $ac_link) 2>&5 9509 (eval $ac_link) 2>&5
9530 ac_status=$? 9510 ac_status=$?
9531 echo "$as_me:9530: \$? = $ac_status" >&5 9511 echo "$as_me:9511: \$? = $ac_status" >&5
9532 (exit $ac_status); } && 9512 (exit $ac_status); } &&
9533 { ac_try='test -s conftest$ac_exeext' 9513 { ac_try='test -s conftest$ac_exeext'
9534 { (eval echo "$as_me:9533: \"$ac_try\"") >&5 9514 { (eval echo "$as_me:9514: \"$ac_try\"") >&5
9535 (eval $ac_try) 2>&5 9515 (eval $ac_try) 2>&5
9536 ac_status=$? 9516 ac_status=$?
9537 echo "$as_me:9536: \$? = $ac_status" >&5 9517 echo "$as_me:9517: \$? = $ac_status" >&5
9538 (exit $ac_status); }; }; then 9518 (exit $ac_status); }; }; then
9539 ac_cv_lib_dgc_dg_sys_info=yes 9519 ac_cv_lib_dgc_dg_sys_info=yes
9540 else 9520 else
9541 echo "$as_me: failed program was:" >&5 9521 echo "$as_me: failed program was:" >&5
9542 cat conftest.$ac_ext >&5 9522 cat conftest.$ac_ext >&5
9543 ac_cv_lib_dgc_dg_sys_info=no 9523 ac_cv_lib_dgc_dg_sys_info=no
9544 fi 9524 fi
9545 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9525 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9546 LIBS=$ac_check_lib_save_LIBS 9526 LIBS=$ac_check_lib_save_LIBS
9547 fi 9527 fi
9548 echo "$as_me:9547: result: $ac_cv_lib_dgc_dg_sys_info" >&5 9528 echo "$as_me:9528: result: $ac_cv_lib_dgc_dg_sys_info" >&5
9549 echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6 9529 echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6
9550 if test $ac_cv_lib_dgc_dg_sys_info = yes; then 9530 if test $ac_cv_lib_dgc_dg_sys_info = yes; then
9551 cat >>confdefs.h <<EOF 9531 cat >>confdefs.h <<EOF
9552 #define HAVE_LIBDGC 1 9532 #define HAVE_LIBDGC 1
9553 EOF 9533 EOF
9556 9536
9557 fi 9537 fi
9558 9538
9559 fi 9539 fi
9560 9540
9561 echo "$as_me:9560: checking for locale.h" >&5 9541 echo "$as_me:9541: checking for locale.h" >&5
9562 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6 9542 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
9563 if test "${ac_cv_header_locale_h+set}" = set; then 9543 if test "${ac_cv_header_locale_h+set}" = set; then
9564 echo $ECHO_N "(cached) $ECHO_C" >&6 9544 echo $ECHO_N "(cached) $ECHO_C" >&6
9565 else 9545 else
9566 cat >conftest.$ac_ext <<_ACEOF 9546 cat >conftest.$ac_ext <<_ACEOF
9567 #line 9561 "configure" 9547 #line 9547 "configure"
9568 #include "confdefs.h" 9548 #include "confdefs.h"
9569 #include <locale.h> 9549 #include <locale.h>
9570 _ACEOF 9550 _ACEOF
9571 if { (eval echo "$as_me:9570: \"$ac_cpp conftest.$ac_ext\"") >&5 9551 if { (eval echo "$as_me:9551: \"$ac_cpp conftest.$ac_ext\"") >&5
9572 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9552 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9573 ac_status=$? 9553 ac_status=$?
9574 egrep -v '^ *\+' conftest.er1 >conftest.err 9554 egrep -v '^ *\+' conftest.er1 >conftest.err
9575 rm -f conftest.er1 9555 rm -f conftest.er1
9576 cat conftest.err >&5 9556 cat conftest.err >&5
9577 echo "$as_me:9576: \$? = $ac_status" >&5 9557 echo "$as_me:9557: \$? = $ac_status" >&5
9578 (exit $ac_status); } >/dev/null; then 9558 (exit $ac_status); } >/dev/null; then
9579 if test -s conftest.err; then 9559 if test -s conftest.err; then
9580 ac_cpp_err=$ac_c_preproc_warn_flag 9560 ac_cpp_err=$ac_c_preproc_warn_flag
9581 else 9561 else
9582 ac_cpp_err= 9562 ac_cpp_err=
9591 cat conftest.$ac_ext >&5 9571 cat conftest.$ac_ext >&5
9592 ac_cv_header_locale_h=no 9572 ac_cv_header_locale_h=no
9593 fi 9573 fi
9594 rm -f conftest.err conftest.$ac_ext 9574 rm -f conftest.err conftest.$ac_ext
9595 fi 9575 fi
9596 echo "$as_me:9595: result: $ac_cv_header_locale_h" >&5 9576 echo "$as_me:9576: result: $ac_cv_header_locale_h" >&5
9597 echo "${ECHO_T}$ac_cv_header_locale_h" >&6 9577 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
9598 9578
9599 for ac_func in setlocale 9579 for ac_func in setlocale
9600 do 9580 do
9601 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9581 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9602 echo "$as_me:9601: checking for $ac_func" >&5 9582 echo "$as_me:9582: checking for $ac_func" >&5
9603 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 9583 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9604 if eval "test \"\${$as_ac_var+set}\" = set"; then 9584 if eval "test \"\${$as_ac_var+set}\" = set"; then
9605 echo $ECHO_N "(cached) $ECHO_C" >&6 9585 echo $ECHO_N "(cached) $ECHO_C" >&6
9606 else 9586 else
9607 cat >conftest.$ac_ext <<_ACEOF 9587 cat >conftest.$ac_ext <<_ACEOF
9608 #line 9602 "configure" 9588 #line 9588 "configure"
9609 #include "confdefs.h" 9589 #include "confdefs.h"
9610 /* System header to define __stub macros and hopefully few prototypes, 9590 /* System header to define __stub macros and hopefully few prototypes,
9611 which can conflict with char $ac_func (); below. */ 9591 which can conflict with char $ac_func (); below. */
9612 #include <assert.h> 9592 #include <assert.h>
9613 /* Override any gcc2 internal prototype to avoid an error. */ 9593 /* Override any gcc2 internal prototype to avoid an error. */
9634 ; 9614 ;
9635 return 0; 9615 return 0;
9636 } 9616 }
9637 _ACEOF 9617 _ACEOF
9638 rm -f conftest.$ac_objext conftest$ac_exeext 9618 rm -f conftest.$ac_objext conftest$ac_exeext
9639 if { (eval echo "$as_me:9638: \"$ac_link\"") >&5 9619 if { (eval echo "$as_me:9619: \"$ac_link\"") >&5
9640 (eval $ac_link) 2>&5 9620 (eval $ac_link) 2>&5
9641 ac_status=$? 9621 ac_status=$?
9642 echo "$as_me:9641: \$? = $ac_status" >&5 9622 echo "$as_me:9622: \$? = $ac_status" >&5
9643 (exit $ac_status); } && 9623 (exit $ac_status); } &&
9644 { ac_try='test -s conftest$ac_exeext' 9624 { ac_try='test -s conftest$ac_exeext'
9645 { (eval echo "$as_me:9644: \"$ac_try\"") >&5 9625 { (eval echo "$as_me:9625: \"$ac_try\"") >&5
9646 (eval $ac_try) 2>&5 9626 (eval $ac_try) 2>&5
9647 ac_status=$? 9627 ac_status=$?
9648 echo "$as_me:9647: \$? = $ac_status" >&5 9628 echo "$as_me:9628: \$? = $ac_status" >&5
9649 (exit $ac_status); }; }; then 9629 (exit $ac_status); }; }; then
9650 eval "$as_ac_var=yes" 9630 eval "$as_ac_var=yes"
9651 else 9631 else
9652 echo "$as_me: failed program was:" >&5 9632 echo "$as_me: failed program was:" >&5
9653 cat conftest.$ac_ext >&5 9633 cat conftest.$ac_ext >&5
9654 eval "$as_ac_var=no" 9634 eval "$as_ac_var=no"
9655 fi 9635 fi
9656 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9636 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9657 fi 9637 fi
9658 echo "$as_me:9657: result: `eval echo '${'$as_ac_var'}'`" >&5 9638 echo "$as_me:9638: result: `eval echo '${'$as_ac_var'}'`" >&5
9659 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 9639 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9660 if test `eval echo '${'$as_ac_var'}'` = yes; then 9640 if test `eval echo '${'$as_ac_var'}'` = yes; then
9661 cat >>confdefs.h <<EOF 9641 cat >>confdefs.h <<EOF
9662 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 9642 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9663 EOF 9643 EOF
9676 EOF 9656 EOF
9677 9657
9678 fi 9658 fi
9679 9659
9680 if test $ac_have_func = no; then 9660 if test $ac_have_func = no; then
9681 echo "$as_me:9680: checking for inq_stats/cpustats.h" >&5 9661 echo "$as_me:9661: checking for inq_stats/cpustats.h" >&5
9682 echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6 9662 echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6
9683 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then 9663 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
9684 echo $ECHO_N "(cached) $ECHO_C" >&6 9664 echo $ECHO_N "(cached) $ECHO_C" >&6
9685 else 9665 else
9686 cat >conftest.$ac_ext <<_ACEOF 9666 cat >conftest.$ac_ext <<_ACEOF
9687 #line 9681 "configure" 9667 #line 9667 "configure"
9688 #include "confdefs.h" 9668 #include "confdefs.h"
9689 #include <inq_stats/cpustats.h> 9669 #include <inq_stats/cpustats.h>
9690 _ACEOF 9670 _ACEOF
9691 if { (eval echo "$as_me:9690: \"$ac_cpp conftest.$ac_ext\"") >&5 9671 if { (eval echo "$as_me:9671: \"$ac_cpp conftest.$ac_ext\"") >&5
9692 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9672 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9693 ac_status=$? 9673 ac_status=$?
9694 egrep -v '^ *\+' conftest.er1 >conftest.err 9674 egrep -v '^ *\+' conftest.er1 >conftest.err
9695 rm -f conftest.er1 9675 rm -f conftest.er1
9696 cat conftest.err >&5 9676 cat conftest.err >&5
9697 echo "$as_me:9696: \$? = $ac_status" >&5 9677 echo "$as_me:9677: \$? = $ac_status" >&5
9698 (exit $ac_status); } >/dev/null; then 9678 (exit $ac_status); } >/dev/null; then
9699 if test -s conftest.err; then 9679 if test -s conftest.err; then
9700 ac_cpp_err=$ac_c_preproc_warn_flag 9680 ac_cpp_err=$ac_c_preproc_warn_flag
9701 else 9681 else
9702 ac_cpp_err= 9682 ac_cpp_err=
9711 cat conftest.$ac_ext >&5 9691 cat conftest.$ac_ext >&5
9712 ac_cv_header_inq_stats_cpustats_h=no 9692 ac_cv_header_inq_stats_cpustats_h=no
9713 fi 9693 fi
9714 rm -f conftest.err conftest.$ac_ext 9694 rm -f conftest.err conftest.$ac_ext
9715 fi 9695 fi
9716 echo "$as_me:9715: result: $ac_cv_header_inq_stats_cpustats_h" >&5 9696 echo "$as_me:9696: result: $ac_cv_header_inq_stats_cpustats_h" >&5
9717 echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6 9697 echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6
9718 if test $ac_cv_header_inq_stats_cpustats_h = yes; then 9698 if test $ac_cv_header_inq_stats_cpustats_h = yes; then
9719 ac_have_func=yes 9699 ac_have_func=yes
9720 9700
9721 cat >>confdefs.h <<\EOF 9701 cat >>confdefs.h <<\EOF
9729 fi 9709 fi
9730 9710
9731 fi 9711 fi
9732 9712
9733 if test $ac_have_func = no; then 9713 if test $ac_have_func = no; then
9734 echo "$as_me:9733: checking for sys/cpustats.h" >&5 9714 echo "$as_me:9714: checking for sys/cpustats.h" >&5
9735 echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6 9715 echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6
9736 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then 9716 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
9737 echo $ECHO_N "(cached) $ECHO_C" >&6 9717 echo $ECHO_N "(cached) $ECHO_C" >&6
9738 else 9718 else
9739 cat >conftest.$ac_ext <<_ACEOF 9719 cat >conftest.$ac_ext <<_ACEOF
9740 #line 9734 "configure" 9720 #line 9720 "configure"
9741 #include "confdefs.h" 9721 #include "confdefs.h"
9742 #include <sys/cpustats.h> 9722 #include <sys/cpustats.h>
9743 _ACEOF 9723 _ACEOF
9744 if { (eval echo "$as_me:9743: \"$ac_cpp conftest.$ac_ext\"") >&5 9724 if { (eval echo "$as_me:9724: \"$ac_cpp conftest.$ac_ext\"") >&5
9745 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9725 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9746 ac_status=$? 9726 ac_status=$?
9747 egrep -v '^ *\+' conftest.er1 >conftest.err 9727 egrep -v '^ *\+' conftest.er1 >conftest.err
9748 rm -f conftest.er1 9728 rm -f conftest.er1
9749 cat conftest.err >&5 9729 cat conftest.err >&5
9750 echo "$as_me:9749: \$? = $ac_status" >&5 9730 echo "$as_me:9730: \$? = $ac_status" >&5
9751 (exit $ac_status); } >/dev/null; then 9731 (exit $ac_status); } >/dev/null; then
9752 if test -s conftest.err; then 9732 if test -s conftest.err; then
9753 ac_cpp_err=$ac_c_preproc_warn_flag 9733 ac_cpp_err=$ac_c_preproc_warn_flag
9754 else 9734 else
9755 ac_cpp_err= 9735 ac_cpp_err=
9764 cat conftest.$ac_ext >&5 9744 cat conftest.$ac_ext >&5
9765 ac_cv_header_sys_cpustats_h=no 9745 ac_cv_header_sys_cpustats_h=no
9766 fi 9746 fi
9767 rm -f conftest.err conftest.$ac_ext 9747 rm -f conftest.err conftest.$ac_ext
9768 fi 9748 fi
9769 echo "$as_me:9768: result: $ac_cv_header_sys_cpustats_h" >&5 9749 echo "$as_me:9749: result: $ac_cv_header_sys_cpustats_h" >&5
9770 echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6 9750 echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6
9771 if test $ac_cv_header_sys_cpustats_h = yes; then 9751 if test $ac_cv_header_sys_cpustats_h = yes; then
9772 ac_have_func=yes; cat >>confdefs.h <<\EOF 9752 ac_have_func=yes; cat >>confdefs.h <<\EOF
9773 #define UMAX 1 9753 #define UMAX 1
9774 EOF 9754 EOF
9780 if test $ac_have_func = no; then 9760 if test $ac_have_func = no; then
9781 9761
9782 for ac_header in mach/mach.h 9762 for ac_header in mach/mach.h
9783 do 9763 do
9784 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 9764 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9785 echo "$as_me:9784: checking for $ac_header" >&5 9765 echo "$as_me:9765: checking for $ac_header" >&5
9786 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 9766 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9787 if eval "test \"\${$as_ac_Header+set}\" = set"; then 9767 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9788 echo $ECHO_N "(cached) $ECHO_C" >&6 9768 echo $ECHO_N "(cached) $ECHO_C" >&6
9789 else 9769 else
9790 cat >conftest.$ac_ext <<_ACEOF 9770 cat >conftest.$ac_ext <<_ACEOF
9791 #line 9785 "configure" 9771 #line 9771 "configure"
9792 #include "confdefs.h" 9772 #include "confdefs.h"
9793 #include <$ac_header> 9773 #include <$ac_header>
9794 _ACEOF 9774 _ACEOF
9795 if { (eval echo "$as_me:9794: \"$ac_cpp conftest.$ac_ext\"") >&5 9775 if { (eval echo "$as_me:9775: \"$ac_cpp conftest.$ac_ext\"") >&5
9796 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9776 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9797 ac_status=$? 9777 ac_status=$?
9798 egrep -v '^ *\+' conftest.er1 >conftest.err 9778 egrep -v '^ *\+' conftest.er1 >conftest.err
9799 rm -f conftest.er1 9779 rm -f conftest.er1
9800 cat conftest.err >&5 9780 cat conftest.err >&5
9801 echo "$as_me:9800: \$? = $ac_status" >&5 9781 echo "$as_me:9781: \$? = $ac_status" >&5
9802 (exit $ac_status); } >/dev/null; then 9782 (exit $ac_status); } >/dev/null; then
9803 if test -s conftest.err; then 9783 if test -s conftest.err; then
9804 ac_cpp_err=$ac_c_preproc_warn_flag 9784 ac_cpp_err=$ac_c_preproc_warn_flag
9805 else 9785 else
9806 ac_cpp_err= 9786 ac_cpp_err=
9815 cat conftest.$ac_ext >&5 9795 cat conftest.$ac_ext >&5
9816 eval "$as_ac_Header=no" 9796 eval "$as_ac_Header=no"
9817 fi 9797 fi
9818 rm -f conftest.err conftest.$ac_ext 9798 rm -f conftest.err conftest.$ac_ext
9819 fi 9799 fi
9820 echo "$as_me:9819: result: `eval echo '${'$as_ac_Header'}'`" >&5 9800 echo "$as_me:9800: result: `eval echo '${'$as_ac_Header'}'`" >&5
9821 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 9801 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9822 if test `eval echo '${'$as_ac_Header'}'` = yes; then 9802 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9823 cat >>confdefs.h <<EOF 9803 cat >>confdefs.h <<EOF
9824 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 9804 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9825 EOF 9805 EOF
9830 fi 9810 fi
9831 9811
9832 for ac_header in nlist.h 9812 for ac_header in nlist.h
9833 do 9813 do
9834 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 9814 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9835 echo "$as_me:9834: checking for $ac_header" >&5 9815 echo "$as_me:9815: checking for $ac_header" >&5
9836 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 9816 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9837 if eval "test \"\${$as_ac_Header+set}\" = set"; then 9817 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9838 echo $ECHO_N "(cached) $ECHO_C" >&6 9818 echo $ECHO_N "(cached) $ECHO_C" >&6
9839 else 9819 else
9840 cat >conftest.$ac_ext <<_ACEOF 9820 cat >conftest.$ac_ext <<_ACEOF
9841 #line 9835 "configure" 9821 #line 9821 "configure"
9842 #include "confdefs.h" 9822 #include "confdefs.h"
9843 #include <$ac_header> 9823 #include <$ac_header>
9844 _ACEOF 9824 _ACEOF
9845 if { (eval echo "$as_me:9844: \"$ac_cpp conftest.$ac_ext\"") >&5 9825 if { (eval echo "$as_me:9825: \"$ac_cpp conftest.$ac_ext\"") >&5
9846 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9826 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9847 ac_status=$? 9827 ac_status=$?
9848 egrep -v '^ *\+' conftest.er1 >conftest.err 9828 egrep -v '^ *\+' conftest.er1 >conftest.err
9849 rm -f conftest.er1 9829 rm -f conftest.er1
9850 cat conftest.err >&5 9830 cat conftest.err >&5
9851 echo "$as_me:9850: \$? = $ac_status" >&5 9831 echo "$as_me:9831: \$? = $ac_status" >&5
9852 (exit $ac_status); } >/dev/null; then 9832 (exit $ac_status); } >/dev/null; then
9853 if test -s conftest.err; then 9833 if test -s conftest.err; then
9854 ac_cpp_err=$ac_c_preproc_warn_flag 9834 ac_cpp_err=$ac_c_preproc_warn_flag
9855 else 9835 else
9856 ac_cpp_err= 9836 ac_cpp_err=
9865 cat conftest.$ac_ext >&5 9845 cat conftest.$ac_ext >&5
9866 eval "$as_ac_Header=no" 9846 eval "$as_ac_Header=no"
9867 fi 9847 fi
9868 rm -f conftest.err conftest.$ac_ext 9848 rm -f conftest.err conftest.$ac_ext
9869 fi 9849 fi
9870 echo "$as_me:9869: result: `eval echo '${'$as_ac_Header'}'`" >&5 9850 echo "$as_me:9850: result: `eval echo '${'$as_ac_Header'}'`" >&5
9871 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 9851 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9872 if test `eval echo '${'$as_ac_Header'}'` = yes; then 9852 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9873 cat >>confdefs.h <<EOF 9853 cat >>confdefs.h <<EOF
9874 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 9854 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9875 EOF 9855 EOF
9876 echo "$as_me:9875: checking for struct nlist.n_un.n_name" >&5 9856 echo "$as_me:9856: checking for struct nlist.n_un.n_name" >&5
9877 echo $ECHO_N "checking for struct nlist.n_un.n_name... $ECHO_C" >&6 9857 echo $ECHO_N "checking for struct nlist.n_un.n_name... $ECHO_C" >&6
9878 if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then 9858 if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then
9879 echo $ECHO_N "(cached) $ECHO_C" >&6 9859 echo $ECHO_N "(cached) $ECHO_C" >&6
9880 else 9860 else
9881 cat >conftest.$ac_ext <<_ACEOF 9861 cat >conftest.$ac_ext <<_ACEOF
9882 #line 9876 "configure" 9862 #line 9862 "configure"
9883 #include "confdefs.h" 9863 #include "confdefs.h"
9884 #include <nlist.h> 9864 #include <nlist.h>
9885 9865
9886 int 9866 int
9887 main () 9867 main ()
9892 ; 9872 ;
9893 return 0; 9873 return 0;
9894 } 9874 }
9895 _ACEOF 9875 _ACEOF
9896 rm -f conftest.$ac_objext 9876 rm -f conftest.$ac_objext
9897 if { (eval echo "$as_me:9896: \"$ac_compile\"") >&5 9877 if { (eval echo "$as_me:9877: \"$ac_compile\"") >&5
9898 (eval $ac_compile) 2>&5 9878 (eval $ac_compile) 2>&5
9899 ac_status=$? 9879 ac_status=$?
9900 echo "$as_me:9899: \$? = $ac_status" >&5 9880 echo "$as_me:9880: \$? = $ac_status" >&5
9901 (exit $ac_status); } && 9881 (exit $ac_status); } &&
9902 { ac_try='test -s conftest.$ac_objext' 9882 { ac_try='test -s conftest.$ac_objext'
9903 { (eval echo "$as_me:9902: \"$ac_try\"") >&5 9883 { (eval echo "$as_me:9883: \"$ac_try\"") >&5
9904 (eval $ac_try) 2>&5 9884 (eval $ac_try) 2>&5
9905 ac_status=$? 9885 ac_status=$?
9906 echo "$as_me:9905: \$? = $ac_status" >&5 9886 echo "$as_me:9886: \$? = $ac_status" >&5
9907 (exit $ac_status); }; }; then 9887 (exit $ac_status); }; }; then
9908 ac_cv_member_struct_nlist_n_un_n_name=yes 9888 ac_cv_member_struct_nlist_n_un_n_name=yes
9909 else 9889 else
9910 echo "$as_me: failed program was:" >&5 9890 echo "$as_me: failed program was:" >&5
9911 cat conftest.$ac_ext >&5 9891 cat conftest.$ac_ext >&5
9912 ac_cv_member_struct_nlist_n_un_n_name=no 9892 ac_cv_member_struct_nlist_n_un_n_name=no
9913 fi 9893 fi
9914 rm -f conftest.$ac_objext conftest.$ac_ext 9894 rm -f conftest.$ac_objext conftest.$ac_ext
9915 fi 9895 fi
9916 echo "$as_me:9915: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5 9896 echo "$as_me:9896: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5
9917 echo "${ECHO_T}$ac_cv_member_struct_nlist_n_un_n_name" >&6 9897 echo "${ECHO_T}$ac_cv_member_struct_nlist_n_un_n_name" >&6
9918 if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then 9898 if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then
9919 9899
9920 cat >>confdefs.h <<EOF 9900 cat >>confdefs.h <<EOF
9921 #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1 9901 #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1
9932 9912
9933 fi 9913 fi
9934 done 9914 done
9935 9915
9936 # Some definitions of getloadavg require that the program be installed setgid. 9916 # Some definitions of getloadavg require that the program be installed setgid.
9937 echo "$as_me:9936: checking whether getloadavg requires setgid" >&5 9917 echo "$as_me:9917: checking whether getloadavg requires setgid" >&5
9938 echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6 9918 echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6
9939 if test "${ac_cv_func_getloadavg_setgid+set}" = set; then 9919 if test "${ac_cv_func_getloadavg_setgid+set}" = set; then
9940 echo $ECHO_N "(cached) $ECHO_C" >&6 9920 echo $ECHO_N "(cached) $ECHO_C" >&6
9941 else 9921 else
9942 cat >conftest.$ac_ext <<_ACEOF 9922 cat >conftest.$ac_ext <<_ACEOF
9943 #line 9937 "configure" 9923 #line 9923 "configure"
9944 #include "confdefs.h" 9924 #include "confdefs.h"
9945 #include "$srcdir/getloadavg.c" 9925 #include "$srcdir/getloadavg.c"
9946 #ifdef LDAV_PRIVILEGED 9926 #ifdef LDAV_PRIVILEGED
9947 Yowza Am I SETGID yet 9927 Yowza Am I SETGID yet
9948 #endif 9928 #endif
9954 ac_cv_func_getloadavg_setgid=no 9934 ac_cv_func_getloadavg_setgid=no
9955 fi 9935 fi
9956 rm -f conftest* 9936 rm -f conftest*
9957 9937
9958 fi 9938 fi
9959 echo "$as_me:9958: result: $ac_cv_func_getloadavg_setgid" >&5 9939 echo "$as_me:9939: result: $ac_cv_func_getloadavg_setgid" >&5
9960 echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6 9940 echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6
9961 if test $ac_cv_func_getloadavg_setgid = yes; then 9941 if test $ac_cv_func_getloadavg_setgid = yes; then
9962 NEED_SETGID=true 9942 NEED_SETGID=true
9963 9943
9964 cat >>confdefs.h <<\EOF 9944 cat >>confdefs.h <<\EOF
9968 else 9948 else
9969 NEED_SETGID=false 9949 NEED_SETGID=false
9970 fi 9950 fi
9971 9951
9972 if test $ac_cv_func_getloadavg_setgid = yes; then 9952 if test $ac_cv_func_getloadavg_setgid = yes; then
9973 echo "$as_me:9972: checking group of /dev/kmem" >&5 9953 echo "$as_me:9953: checking group of /dev/kmem" >&5
9974 echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6 9954 echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6
9975 if test "${ac_cv_group_kmem+set}" = set; then 9955 if test "${ac_cv_group_kmem+set}" = set; then
9976 echo $ECHO_N "(cached) $ECHO_C" >&6 9956 echo $ECHO_N "(cached) $ECHO_C" >&6
9977 else 9957 else
9978 # On Solaris, /dev/kmem is a symlink. Get info on the real file. 9958 # On Solaris, /dev/kmem is a symlink. Get info on the real file.
9983 | sed -ne 's/[ ][ ]*/ /g; 9963 | sed -ne 's/[ ][ ]*/ /g;
9984 s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\) *.*/\1/; 9964 s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\) *.*/\1/;
9985 / /s/.* //;p;'` 9965 / /s/.* //;p;'`
9986 9966
9987 fi 9967 fi
9988 echo "$as_me:9987: result: $ac_cv_group_kmem" >&5 9968 echo "$as_me:9968: result: $ac_cv_group_kmem" >&5
9989 echo "${ECHO_T}$ac_cv_group_kmem" >&6 9969 echo "${ECHO_T}$ac_cv_group_kmem" >&6
9990 KMEM_GROUP=$ac_cv_group_kmem 9970 KMEM_GROUP=$ac_cv_group_kmem
9991 fi 9971 fi
9992 if test "x$ac_save_LIBS" = x; then 9972 if test "x$ac_save_LIBS" = x; then
9993 GETLOADAVG_LIBS=$LIBS 9973 GETLOADAVG_LIBS=$LIBS
9994 else 9974 else
9995 GETLOADAVG_LIBS=`echo "$LIBS" | sed "s!$ac_save_LIBS!!"` 9975 GETLOADAVG_LIBS=`echo "$LIBS" | sed "s!$ac_save_LIBS!!"`
9996 fi 9976 fi
9997 LIBS=$ac_save_LIBS 9977 LIBS=$ac_save_LIBS
9998 9978
9999 echo "$as_me:9998: checking for _LARGEFILE_SOURCE value needed for large files" >&5 9979 echo "$as_me:9979: checking for _LARGEFILE_SOURCE value needed for large files" >&5
10000 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6 9980 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
10001 if test "${ac_cv_sys_largefile_source+set}" = set; then 9981 if test "${ac_cv_sys_largefile_source+set}" = set; then
10002 echo $ECHO_N "(cached) $ECHO_C" >&6 9982 echo $ECHO_N "(cached) $ECHO_C" >&6
10003 else 9983 else
10004 while :; do 9984 while :; do
10005 ac_cv_sys_largefile_source=no 9985 ac_cv_sys_largefile_source=no
10006 cat >conftest.$ac_ext <<_ACEOF 9986 cat >conftest.$ac_ext <<_ACEOF
10007 #line 10001 "configure" 9987 #line 9987 "configure"
10008 #include "confdefs.h" 9988 #include "confdefs.h"
10009 #include <stdio.h> 9989 #include <stdio.h>
10010 int 9990 int
10011 main () 9991 main ()
10012 { 9992 {
10014 ; 9994 ;
10015 return 0; 9995 return 0;
10016 } 9996 }
10017 _ACEOF 9997 _ACEOF
10018 rm -f conftest.$ac_objext 9998 rm -f conftest.$ac_objext
10019 if { (eval echo "$as_me:10018: \"$ac_compile\"") >&5 9999 if { (eval echo "$as_me:9999: \"$ac_compile\"") >&5
10020 (eval $ac_compile) 2>&5 10000 (eval $ac_compile) 2>&5
10021 ac_status=$? 10001 ac_status=$?
10022 echo "$as_me:10021: \$? = $ac_status" >&5 10002 echo "$as_me:10002: \$? = $ac_status" >&5
10023 (exit $ac_status); } && 10003 (exit $ac_status); } &&
10024 { ac_try='test -s conftest.$ac_objext' 10004 { ac_try='test -s conftest.$ac_objext'
10025 { (eval echo "$as_me:10024: \"$ac_try\"") >&5 10005 { (eval echo "$as_me:10005: \"$ac_try\"") >&5
10026 (eval $ac_try) 2>&5 10006 (eval $ac_try) 2>&5
10027 ac_status=$? 10007 ac_status=$?
10028 echo "$as_me:10027: \$? = $ac_status" >&5 10008 echo "$as_me:10008: \$? = $ac_status" >&5
10029 (exit $ac_status); }; }; then 10009 (exit $ac_status); }; }; then
10030 break 10010 break
10031 else 10011 else
10032 echo "$as_me: failed program was:" >&5 10012 echo "$as_me: failed program was:" >&5
10033 cat conftest.$ac_ext >&5 10013 cat conftest.$ac_ext >&5
10034 fi 10014 fi
10035 rm -f conftest.$ac_objext conftest.$ac_ext 10015 rm -f conftest.$ac_objext conftest.$ac_ext
10036 cat >conftest.$ac_ext <<_ACEOF 10016 cat >conftest.$ac_ext <<_ACEOF
10037 #line 10031 "configure" 10017 #line 10017 "configure"
10038 #include "confdefs.h" 10018 #include "confdefs.h"
10039 #define _LARGEFILE_SOURCE 1 10019 #define _LARGEFILE_SOURCE 1
10040 #include <stdio.h> 10020 #include <stdio.h>
10041 int 10021 int
10042 main () 10022 main ()
10045 ; 10025 ;
10046 return 0; 10026 return 0;
10047 } 10027 }
10048 _ACEOF 10028 _ACEOF
10049 rm -f conftest.$ac_objext 10029 rm -f conftest.$ac_objext
10050 if { (eval echo "$as_me:10049: \"$ac_compile\"") >&5 10030 if { (eval echo "$as_me:10030: \"$ac_compile\"") >&5
10051 (eval $ac_compile) 2>&5 10031 (eval $ac_compile) 2>&5
10052 ac_status=$? 10032 ac_status=$?
10053 echo "$as_me:10052: \$? = $ac_status" >&5 10033 echo "$as_me:10033: \$? = $ac_status" >&5
10054 (exit $ac_status); } && 10034 (exit $ac_status); } &&
10055 { ac_try='test -s conftest.$ac_objext' 10035 { ac_try='test -s conftest.$ac_objext'
10056 { (eval echo "$as_me:10055: \"$ac_try\"") >&5 10036 { (eval echo "$as_me:10036: \"$ac_try\"") >&5
10057 (eval $ac_try) 2>&5 10037 (eval $ac_try) 2>&5
10058 ac_status=$? 10038 ac_status=$?
10059 echo "$as_me:10058: \$? = $ac_status" >&5 10039 echo "$as_me:10039: \$? = $ac_status" >&5
10060 (exit $ac_status); }; }; then 10040 (exit $ac_status); }; }; then
10061 ac_cv_sys_largefile_source=1; break 10041 ac_cv_sys_largefile_source=1; break
10062 else 10042 else
10063 echo "$as_me: failed program was:" >&5 10043 echo "$as_me: failed program was:" >&5
10064 cat conftest.$ac_ext >&5 10044 cat conftest.$ac_ext >&5
10065 fi 10045 fi
10066 rm -f conftest.$ac_objext conftest.$ac_ext 10046 rm -f conftest.$ac_objext conftest.$ac_ext
10067 break 10047 break
10068 done 10048 done
10069 fi 10049 fi
10070 echo "$as_me:10069: result: $ac_cv_sys_largefile_source" >&5 10050 echo "$as_me:10050: result: $ac_cv_sys_largefile_source" >&5
10071 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6 10051 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
10072 if test "$ac_cv_sys_largefile_source" != no; then 10052 if test "$ac_cv_sys_largefile_source" != no; then
10073 10053
10074 cat >>confdefs.h <<EOF 10054 cat >>confdefs.h <<EOF
10075 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source 10055 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
10079 rm -f conftest* 10059 rm -f conftest*
10080 10060
10081 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug 10061 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
10082 # in glibc 2.1.3, but that breaks too many other things. 10062 # in glibc 2.1.3, but that breaks too many other things.
10083 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc. 10063 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
10084 echo "$as_me:10083: checking for fseeko" >&5 10064 echo "$as_me:10064: checking for fseeko" >&5
10085 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6 10065 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
10086 if test "${ac_cv_func_fseeko+set}" = set; then 10066 if test "${ac_cv_func_fseeko+set}" = set; then
10087 echo $ECHO_N "(cached) $ECHO_C" >&6 10067 echo $ECHO_N "(cached) $ECHO_C" >&6
10088 else 10068 else
10089 cat >conftest.$ac_ext <<_ACEOF 10069 cat >conftest.$ac_ext <<_ACEOF
10090 #line 10084 "configure" 10070 #line 10070 "configure"
10091 #include "confdefs.h" 10071 #include "confdefs.h"
10092 #include <stdio.h> 10072 #include <stdio.h>
10093 int 10073 int
10094 main () 10074 main ()
10095 { 10075 {
10097 ; 10077 ;
10098 return 0; 10078 return 0;
10099 } 10079 }
10100 _ACEOF 10080 _ACEOF
10101 rm -f conftest.$ac_objext conftest$ac_exeext 10081 rm -f conftest.$ac_objext conftest$ac_exeext
10102 if { (eval echo "$as_me:10101: \"$ac_link\"") >&5 10082 if { (eval echo "$as_me:10082: \"$ac_link\"") >&5
10103 (eval $ac_link) 2>&5 10083 (eval $ac_link) 2>&5
10104 ac_status=$? 10084 ac_status=$?
10105 echo "$as_me:10104: \$? = $ac_status" >&5 10085 echo "$as_me:10085: \$? = $ac_status" >&5
10106 (exit $ac_status); } && 10086 (exit $ac_status); } &&
10107 { ac_try='test -s conftest$ac_exeext' 10087 { ac_try='test -s conftest$ac_exeext'
10108 { (eval echo "$as_me:10107: \"$ac_try\"") >&5 10088 { (eval echo "$as_me:10088: \"$ac_try\"") >&5
10109 (eval $ac_try) 2>&5 10089 (eval $ac_try) 2>&5
10110 ac_status=$? 10090 ac_status=$?
10111 echo "$as_me:10110: \$? = $ac_status" >&5 10091 echo "$as_me:10091: \$? = $ac_status" >&5
10112 (exit $ac_status); }; }; then 10092 (exit $ac_status); }; }; then
10113 ac_cv_func_fseeko=yes 10093 ac_cv_func_fseeko=yes
10114 else 10094 else
10115 echo "$as_me: failed program was:" >&5 10095 echo "$as_me: failed program was:" >&5
10116 cat conftest.$ac_ext >&5 10096 cat conftest.$ac_ext >&5
10117 ac_cv_func_fseeko=no 10097 ac_cv_func_fseeko=no
10118 fi 10098 fi
10119 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10099 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10120 fi 10100 fi
10121 echo "$as_me:10120: result: $ac_cv_func_fseeko" >&5 10101 echo "$as_me:10101: result: $ac_cv_func_fseeko" >&5
10122 echo "${ECHO_T}$ac_cv_func_fseeko" >&6 10102 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
10123 if test $ac_cv_func_fseeko = yes; then 10103 if test $ac_cv_func_fseeko = yes; then
10124 10104
10125 cat >>confdefs.h <<\EOF 10105 cat >>confdefs.h <<\EOF
10126 #define HAVE_FSEEKO 1 10106 #define HAVE_FSEEKO 1
10131 # UNIX98 PTYs. 10111 # UNIX98 PTYs.
10132 10112
10133 for ac_func in grantpt 10113 for ac_func in grantpt
10134 do 10114 do
10135 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 10115 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10136 echo "$as_me:10135: checking for $ac_func" >&5 10116 echo "$as_me:10116: checking for $ac_func" >&5
10137 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 10117 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10138 if eval "test \"\${$as_ac_var+set}\" = set"; then 10118 if eval "test \"\${$as_ac_var+set}\" = set"; then
10139 echo $ECHO_N "(cached) $ECHO_C" >&6 10119 echo $ECHO_N "(cached) $ECHO_C" >&6
10140 else 10120 else
10141 cat >conftest.$ac_ext <<_ACEOF 10121 cat >conftest.$ac_ext <<_ACEOF
10142 #line 10136 "configure" 10122 #line 10122 "configure"
10143 #include "confdefs.h" 10123 #include "confdefs.h"
10144 /* System header to define __stub macros and hopefully few prototypes, 10124 /* System header to define __stub macros and hopefully few prototypes,
10145 which can conflict with char $ac_func (); below. */ 10125 which can conflict with char $ac_func (); below. */
10146 #include <assert.h> 10126 #include <assert.h>
10147 /* Override any gcc2 internal prototype to avoid an error. */ 10127 /* Override any gcc2 internal prototype to avoid an error. */
10168 ; 10148 ;
10169 return 0; 10149 return 0;
10170 } 10150 }
10171 _ACEOF 10151 _ACEOF
10172 rm -f conftest.$ac_objext conftest$ac_exeext 10152 rm -f conftest.$ac_objext conftest$ac_exeext
10173 if { (eval echo "$as_me:10172: \"$ac_link\"") >&5 10153 if { (eval echo "$as_me:10153: \"$ac_link\"") >&5
10174 (eval $ac_link) 2>&5 10154 (eval $ac_link) 2>&5
10175 ac_status=$? 10155 ac_status=$?
10176 echo "$as_me:10175: \$? = $ac_status" >&5 10156 echo "$as_me:10156: \$? = $ac_status" >&5
10177 (exit $ac_status); } && 10157 (exit $ac_status); } &&
10178 { ac_try='test -s conftest$ac_exeext' 10158 { ac_try='test -s conftest$ac_exeext'
10179 { (eval echo "$as_me:10178: \"$ac_try\"") >&5 10159 { (eval echo "$as_me:10159: \"$ac_try\"") >&5
10180 (eval $ac_try) 2>&5 10160 (eval $ac_try) 2>&5
10181 ac_status=$? 10161 ac_status=$?
10182 echo "$as_me:10181: \$? = $ac_status" >&5 10162 echo "$as_me:10162: \$? = $ac_status" >&5
10183 (exit $ac_status); }; }; then 10163 (exit $ac_status); }; }; then
10184 eval "$as_ac_var=yes" 10164 eval "$as_ac_var=yes"
10185 else 10165 else
10186 echo "$as_me: failed program was:" >&5 10166 echo "$as_me: failed program was:" >&5
10187 cat conftest.$ac_ext >&5 10167 cat conftest.$ac_ext >&5
10188 eval "$as_ac_var=no" 10168 eval "$as_ac_var=no"
10189 fi 10169 fi
10190 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10170 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10191 fi 10171 fi
10192 echo "$as_me:10191: result: `eval echo '${'$as_ac_var'}'`" >&5 10172 echo "$as_me:10172: result: `eval echo '${'$as_ac_var'}'`" >&5
10193 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 10173 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10194 if test `eval echo '${'$as_ac_var'}'` = yes; then 10174 if test `eval echo '${'$as_ac_var'}'` = yes; then
10195 cat >>confdefs.h <<EOF 10175 cat >>confdefs.h <<EOF
10196 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 10176 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10197 EOF 10177 EOF
10202 # PTY-related GNU extensions. 10182 # PTY-related GNU extensions.
10203 10183
10204 for ac_func in getpt 10184 for ac_func in getpt
10205 do 10185 do
10206 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 10186 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10207 echo "$as_me:10206: checking for $ac_func" >&5 10187 echo "$as_me:10187: checking for $ac_func" >&5
10208 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 10188 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10209 if eval "test \"\${$as_ac_var+set}\" = set"; then 10189 if eval "test \"\${$as_ac_var+set}\" = set"; then
10210 echo $ECHO_N "(cached) $ECHO_C" >&6 10190 echo $ECHO_N "(cached) $ECHO_C" >&6
10211 else 10191 else
10212 cat >conftest.$ac_ext <<_ACEOF 10192 cat >conftest.$ac_ext <<_ACEOF
10213 #line 10207 "configure" 10193 #line 10193 "configure"
10214 #include "confdefs.h" 10194 #include "confdefs.h"
10215 /* System header to define __stub macros and hopefully few prototypes, 10195 /* System header to define __stub macros and hopefully few prototypes,
10216 which can conflict with char $ac_func (); below. */ 10196 which can conflict with char $ac_func (); below. */
10217 #include <assert.h> 10197 #include <assert.h>
10218 /* Override any gcc2 internal prototype to avoid an error. */ 10198 /* Override any gcc2 internal prototype to avoid an error. */
10239 ; 10219 ;
10240 return 0; 10220 return 0;
10241 } 10221 }
10242 _ACEOF 10222 _ACEOF
10243 rm -f conftest.$ac_objext conftest$ac_exeext 10223 rm -f conftest.$ac_objext conftest$ac_exeext
10244 if { (eval echo "$as_me:10243: \"$ac_link\"") >&5 10224 if { (eval echo "$as_me:10224: \"$ac_link\"") >&5
10245 (eval $ac_link) 2>&5 10225 (eval $ac_link) 2>&5
10246 ac_status=$? 10226 ac_status=$?
10247 echo "$as_me:10246: \$? = $ac_status" >&5 10227 echo "$as_me:10227: \$? = $ac_status" >&5
10248 (exit $ac_status); } && 10228 (exit $ac_status); } &&
10249 { ac_try='test -s conftest$ac_exeext' 10229 { ac_try='test -s conftest$ac_exeext'
10250 { (eval echo "$as_me:10249: \"$ac_try\"") >&5 10230 { (eval echo "$as_me:10230: \"$ac_try\"") >&5
10251 (eval $ac_try) 2>&5 10231 (eval $ac_try) 2>&5
10252 ac_status=$? 10232 ac_status=$?
10253 echo "$as_me:10252: \$? = $ac_status" >&5 10233 echo "$as_me:10233: \$? = $ac_status" >&5
10254 (exit $ac_status); }; }; then 10234 (exit $ac_status); }; }; then
10255 eval "$as_ac_var=yes" 10235 eval "$as_ac_var=yes"
10256 else 10236 else
10257 echo "$as_me: failed program was:" >&5 10237 echo "$as_me: failed program was:" >&5
10258 cat conftest.$ac_ext >&5 10238 cat conftest.$ac_ext >&5
10259 eval "$as_ac_var=no" 10239 eval "$as_ac_var=no"
10260 fi 10240 fi
10261 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10241 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10262 fi 10242 fi
10263 echo "$as_me:10262: result: `eval echo '${'$as_ac_var'}'`" >&5 10243 echo "$as_me:10243: result: `eval echo '${'$as_ac_var'}'`" >&5
10264 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 10244 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10265 if test `eval echo '${'$as_ac_var'}'` = yes; then 10245 if test `eval echo '${'$as_ac_var'}'` = yes; then
10266 cat >>confdefs.h <<EOF 10246 cat >>confdefs.h <<EOF
10267 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 10247 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10268 EOF 10248 EOF
10273 # Check this now, so that we will NOT find the above functions in ncurses. 10253 # Check this now, so that we will NOT find the above functions in ncurses.
10274 # That is because we have not set up to link ncurses in lib-src. 10254 # That is because we have not set up to link ncurses in lib-src.
10275 # It's better to believe a function is not available 10255 # It's better to believe a function is not available
10276 # than to expect to find it in ncurses. 10256 # than to expect to find it in ncurses.
10277 10257
10278 echo "$as_me:10277: checking for tparm in -lncurses" >&5 10258 echo "$as_me:10258: checking for tparm in -lncurses" >&5
10279 echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6 10259 echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6
10280 if test "${ac_cv_lib_ncurses_tparm+set}" = set; then 10260 if test "${ac_cv_lib_ncurses_tparm+set}" = set; then
10281 echo $ECHO_N "(cached) $ECHO_C" >&6 10261 echo $ECHO_N "(cached) $ECHO_C" >&6
10282 else 10262 else
10283 ac_check_lib_save_LIBS=$LIBS 10263 ac_check_lib_save_LIBS=$LIBS
10284 LIBS="-lncurses $LIBS" 10264 LIBS="-lncurses $LIBS"
10285 cat >conftest.$ac_ext <<_ACEOF 10265 cat >conftest.$ac_ext <<_ACEOF
10286 #line 10280 "configure" 10266 #line 10266 "configure"
10287 #include "confdefs.h" 10267 #include "confdefs.h"
10288 10268
10289 /* Override any gcc2 internal prototype to avoid an error. */ 10269 /* Override any gcc2 internal prototype to avoid an error. */
10290 #ifdef __cplusplus 10270 #ifdef __cplusplus
10291 extern "C" 10271 extern "C"
10300 ; 10280 ;
10301 return 0; 10281 return 0;
10302 } 10282 }
10303 _ACEOF 10283 _ACEOF
10304 rm -f conftest.$ac_objext conftest$ac_exeext 10284 rm -f conftest.$ac_objext conftest$ac_exeext
10305 if { (eval echo "$as_me:10304: \"$ac_link\"") >&5 10285 if { (eval echo "$as_me:10285: \"$ac_link\"") >&5
10306 (eval $ac_link) 2>&5 10286 (eval $ac_link) 2>&5
10307 ac_status=$? 10287 ac_status=$?
10308 echo "$as_me:10307: \$? = $ac_status" >&5 10288 echo "$as_me:10288: \$? = $ac_status" >&5
10309 (exit $ac_status); } && 10289 (exit $ac_status); } &&
10310 { ac_try='test -s conftest$ac_exeext' 10290 { ac_try='test -s conftest$ac_exeext'
10311 { (eval echo "$as_me:10310: \"$ac_try\"") >&5 10291 { (eval echo "$as_me:10291: \"$ac_try\"") >&5
10312 (eval $ac_try) 2>&5 10292 (eval $ac_try) 2>&5
10313 ac_status=$? 10293 ac_status=$?
10314 echo "$as_me:10313: \$? = $ac_status" >&5 10294 echo "$as_me:10294: \$? = $ac_status" >&5
10315 (exit $ac_status); }; }; then 10295 (exit $ac_status); }; }; then
10316 ac_cv_lib_ncurses_tparm=yes 10296 ac_cv_lib_ncurses_tparm=yes
10317 else 10297 else
10318 echo "$as_me: failed program was:" >&5 10298 echo "$as_me: failed program was:" >&5
10319 cat conftest.$ac_ext >&5 10299 cat conftest.$ac_ext >&5
10320 ac_cv_lib_ncurses_tparm=no 10300 ac_cv_lib_ncurses_tparm=no
10321 fi 10301 fi
10322 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10302 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10323 LIBS=$ac_check_lib_save_LIBS 10303 LIBS=$ac_check_lib_save_LIBS
10324 fi 10304 fi
10325 echo "$as_me:10324: result: $ac_cv_lib_ncurses_tparm" >&5 10305 echo "$as_me:10305: result: $ac_cv_lib_ncurses_tparm" >&5
10326 echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6 10306 echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6
10327 if test $ac_cv_lib_ncurses_tparm = yes; then 10307 if test $ac_cv_lib_ncurses_tparm = yes; then
10328 cat >>confdefs.h <<EOF 10308 cat >>confdefs.h <<EOF
10329 #define HAVE_LIBNCURSES 1 10309 #define HAVE_LIBNCURSES 1
10330 EOF 10310 EOF
10335 10315
10336 # Do we need the Hesiod library to provide the support routines? 10316 # Do we need the Hesiod library to provide the support routines?
10337 if test "$with_hesiod" = yes ; then 10317 if test "$with_hesiod" = yes ; then
10338 # Don't set $LIBS here -- see comments above. 10318 # Don't set $LIBS here -- see comments above.
10339 resolv=no 10319 resolv=no
10340 echo "$as_me:10339: checking for res_send" >&5 10320 echo "$as_me:10320: checking for res_send" >&5
10341 echo $ECHO_N "checking for res_send... $ECHO_C" >&6 10321 echo $ECHO_N "checking for res_send... $ECHO_C" >&6
10342 if test "${ac_cv_func_res_send+set}" = set; then 10322 if test "${ac_cv_func_res_send+set}" = set; then
10343 echo $ECHO_N "(cached) $ECHO_C" >&6 10323 echo $ECHO_N "(cached) $ECHO_C" >&6
10344 else 10324 else
10345 cat >conftest.$ac_ext <<_ACEOF 10325 cat >conftest.$ac_ext <<_ACEOF
10346 #line 10340 "configure" 10326 #line 10326 "configure"
10347 #include "confdefs.h" 10327 #include "confdefs.h"
10348 /* System header to define __stub macros and hopefully few prototypes, 10328 /* System header to define __stub macros and hopefully few prototypes,
10349 which can conflict with char res_send (); below. */ 10329 which can conflict with char res_send (); below. */
10350 #include <assert.h> 10330 #include <assert.h>
10351 /* Override any gcc2 internal prototype to avoid an error. */ 10331 /* Override any gcc2 internal prototype to avoid an error. */
10372 ; 10352 ;
10373 return 0; 10353 return 0;
10374 } 10354 }
10375 _ACEOF 10355 _ACEOF
10376 rm -f conftest.$ac_objext conftest$ac_exeext 10356 rm -f conftest.$ac_objext conftest$ac_exeext
10377 if { (eval echo "$as_me:10376: \"$ac_link\"") >&5 10357 if { (eval echo "$as_me:10357: \"$ac_link\"") >&5
10378 (eval $ac_link) 2>&5 10358 (eval $ac_link) 2>&5
10379 ac_status=$? 10359 ac_status=$?
10380 echo "$as_me:10379: \$? = $ac_status" >&5 10360 echo "$as_me:10360: \$? = $ac_status" >&5
10381 (exit $ac_status); } && 10361 (exit $ac_status); } &&
10382 { ac_try='test -s conftest$ac_exeext' 10362 { ac_try='test -s conftest$ac_exeext'
10383 { (eval echo "$as_me:10382: \"$ac_try\"") >&5 10363 { (eval echo "$as_me:10363: \"$ac_try\"") >&5
10384 (eval $ac_try) 2>&5 10364 (eval $ac_try) 2>&5
10385 ac_status=$? 10365 ac_status=$?
10386 echo "$as_me:10385: \$? = $ac_status" >&5 10366 echo "$as_me:10366: \$? = $ac_status" >&5
10387 (exit $ac_status); }; }; then 10367 (exit $ac_status); }; }; then
10388 ac_cv_func_res_send=yes 10368 ac_cv_func_res_send=yes
10389 else 10369 else
10390 echo "$as_me: failed program was:" >&5 10370 echo "$as_me: failed program was:" >&5
10391 cat conftest.$ac_ext >&5 10371 cat conftest.$ac_ext >&5
10392 ac_cv_func_res_send=no 10372 ac_cv_func_res_send=no
10393 fi 10373 fi
10394 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10374 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10395 fi 10375 fi
10396 echo "$as_me:10395: result: $ac_cv_func_res_send" >&5 10376 echo "$as_me:10376: result: $ac_cv_func_res_send" >&5
10397 echo "${ECHO_T}$ac_cv_func_res_send" >&6 10377 echo "${ECHO_T}$ac_cv_func_res_send" >&6
10398 if test $ac_cv_func_res_send = yes; then 10378 if test $ac_cv_func_res_send = yes; then
10399 : 10379 :
10400 else 10380 else
10401 echo "$as_me:10400: checking for __res_send" >&5 10381 echo "$as_me:10381: checking for __res_send" >&5
10402 echo $ECHO_N "checking for __res_send... $ECHO_C" >&6 10382 echo $ECHO_N "checking for __res_send... $ECHO_C" >&6
10403 if test "${ac_cv_func___res_send+set}" = set; then 10383 if test "${ac_cv_func___res_send+set}" = set; then
10404 echo $ECHO_N "(cached) $ECHO_C" >&6 10384 echo $ECHO_N "(cached) $ECHO_C" >&6
10405 else 10385 else
10406 cat >conftest.$ac_ext <<_ACEOF 10386 cat >conftest.$ac_ext <<_ACEOF
10407 #line 10401 "configure" 10387 #line 10387 "configure"
10408 #include "confdefs.h" 10388 #include "confdefs.h"
10409 /* System header to define __stub macros and hopefully few prototypes, 10389 /* System header to define __stub macros and hopefully few prototypes,
10410 which can conflict with char __res_send (); below. */ 10390 which can conflict with char __res_send (); below. */
10411 #include <assert.h> 10391 #include <assert.h>
10412 /* Override any gcc2 internal prototype to avoid an error. */ 10392 /* Override any gcc2 internal prototype to avoid an error. */
10433 ; 10413 ;
10434 return 0; 10414 return 0;
10435 } 10415 }
10436 _ACEOF 10416 _ACEOF
10437 rm -f conftest.$ac_objext conftest$ac_exeext 10417 rm -f conftest.$ac_objext conftest$ac_exeext
10438 if { (eval echo "$as_me:10437: \"$ac_link\"") >&5 10418 if { (eval echo "$as_me:10418: \"$ac_link\"") >&5
10439 (eval $ac_link) 2>&5 10419 (eval $ac_link) 2>&5
10440 ac_status=$? 10420 ac_status=$?
10441 echo "$as_me:10440: \$? = $ac_status" >&5 10421 echo "$as_me:10421: \$? = $ac_status" >&5
10442 (exit $ac_status); } && 10422 (exit $ac_status); } &&
10443 { ac_try='test -s conftest$ac_exeext' 10423 { ac_try='test -s conftest$ac_exeext'
10444 { (eval echo "$as_me:10443: \"$ac_try\"") >&5 10424 { (eval echo "$as_me:10424: \"$ac_try\"") >&5
10445 (eval $ac_try) 2>&5 10425 (eval $ac_try) 2>&5
10446 ac_status=$? 10426 ac_status=$?
10447 echo "$as_me:10446: \$? = $ac_status" >&5 10427 echo "$as_me:10427: \$? = $ac_status" >&5
10448 (exit $ac_status); }; }; then 10428 (exit $ac_status); }; }; then
10449 ac_cv_func___res_send=yes 10429 ac_cv_func___res_send=yes
10450 else 10430 else
10451 echo "$as_me: failed program was:" >&5 10431 echo "$as_me: failed program was:" >&5
10452 cat conftest.$ac_ext >&5 10432 cat conftest.$ac_ext >&5
10453 ac_cv_func___res_send=no 10433 ac_cv_func___res_send=no
10454 fi 10434 fi
10455 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10435 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10456 fi 10436 fi
10457 echo "$as_me:10456: result: $ac_cv_func___res_send" >&5 10437 echo "$as_me:10437: result: $ac_cv_func___res_send" >&5
10458 echo "${ECHO_T}$ac_cv_func___res_send" >&6 10438 echo "${ECHO_T}$ac_cv_func___res_send" >&6
10459 if test $ac_cv_func___res_send = yes; then 10439 if test $ac_cv_func___res_send = yes; then
10460 : 10440 :
10461 else 10441 else
10462 echo "$as_me:10461: checking for res_send in -lresolv" >&5 10442 echo "$as_me:10442: checking for res_send in -lresolv" >&5
10463 echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6 10443 echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6
10464 if test "${ac_cv_lib_resolv_res_send+set}" = set; then 10444 if test "${ac_cv_lib_resolv_res_send+set}" = set; then
10465 echo $ECHO_N "(cached) $ECHO_C" >&6 10445 echo $ECHO_N "(cached) $ECHO_C" >&6
10466 else 10446 else
10467 ac_check_lib_save_LIBS=$LIBS 10447 ac_check_lib_save_LIBS=$LIBS
10468 LIBS="-lresolv $LIBS" 10448 LIBS="-lresolv $LIBS"
10469 cat >conftest.$ac_ext <<_ACEOF 10449 cat >conftest.$ac_ext <<_ACEOF
10470 #line 10464 "configure" 10450 #line 10450 "configure"
10471 #include "confdefs.h" 10451 #include "confdefs.h"
10472 10452
10473 /* Override any gcc2 internal prototype to avoid an error. */ 10453 /* Override any gcc2 internal prototype to avoid an error. */
10474 #ifdef __cplusplus 10454 #ifdef __cplusplus
10475 extern "C" 10455 extern "C"
10484 ; 10464 ;
10485 return 0; 10465 return 0;
10486 } 10466 }
10487 _ACEOF 10467 _ACEOF
10488 rm -f conftest.$ac_objext conftest$ac_exeext 10468 rm -f conftest.$ac_objext conftest$ac_exeext
10489 if { (eval echo "$as_me:10488: \"$ac_link\"") >&5 10469 if { (eval echo "$as_me:10469: \"$ac_link\"") >&5
10490 (eval $ac_link) 2>&5 10470 (eval $ac_link) 2>&5
10491 ac_status=$? 10471 ac_status=$?
10492 echo "$as_me:10491: \$? = $ac_status" >&5 10472 echo "$as_me:10472: \$? = $ac_status" >&5
10493 (exit $ac_status); } && 10473 (exit $ac_status); } &&
10494 { ac_try='test -s conftest$ac_exeext' 10474 { ac_try='test -s conftest$ac_exeext'
10495 { (eval echo "$as_me:10494: \"$ac_try\"") >&5 10475 { (eval echo "$as_me:10475: \"$ac_try\"") >&5
10496 (eval $ac_try) 2>&5 10476 (eval $ac_try) 2>&5
10497 ac_status=$? 10477 ac_status=$?
10498 echo "$as_me:10497: \$? = $ac_status" >&5 10478 echo "$as_me:10478: \$? = $ac_status" >&5
10499 (exit $ac_status); }; }; then 10479 (exit $ac_status); }; }; then
10500 ac_cv_lib_resolv_res_send=yes 10480 ac_cv_lib_resolv_res_send=yes
10501 else 10481 else
10502 echo "$as_me: failed program was:" >&5 10482 echo "$as_me: failed program was:" >&5
10503 cat conftest.$ac_ext >&5 10483 cat conftest.$ac_ext >&5
10504 ac_cv_lib_resolv_res_send=no 10484 ac_cv_lib_resolv_res_send=no
10505 fi 10485 fi
10506 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10486 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10507 LIBS=$ac_check_lib_save_LIBS 10487 LIBS=$ac_check_lib_save_LIBS
10508 fi 10488 fi
10509 echo "$as_me:10508: result: $ac_cv_lib_resolv_res_send" >&5 10489 echo "$as_me:10489: result: $ac_cv_lib_resolv_res_send" >&5
10510 echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6 10490 echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6
10511 if test $ac_cv_lib_resolv_res_send = yes; then 10491 if test $ac_cv_lib_resolv_res_send = yes; then
10512 resolv=yes 10492 resolv=yes
10513 else 10493 else
10514 echo "$as_me:10513: checking for __res_send in -lresolv" >&5 10494 echo "$as_me:10494: checking for __res_send in -lresolv" >&5
10515 echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6 10495 echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6
10516 if test "${ac_cv_lib_resolv___res_send+set}" = set; then 10496 if test "${ac_cv_lib_resolv___res_send+set}" = set; then
10517 echo $ECHO_N "(cached) $ECHO_C" >&6 10497 echo $ECHO_N "(cached) $ECHO_C" >&6
10518 else 10498 else
10519 ac_check_lib_save_LIBS=$LIBS 10499 ac_check_lib_save_LIBS=$LIBS
10520 LIBS="-lresolv $LIBS" 10500 LIBS="-lresolv $LIBS"
10521 cat >conftest.$ac_ext <<_ACEOF 10501 cat >conftest.$ac_ext <<_ACEOF
10522 #line 10516 "configure" 10502 #line 10502 "configure"
10523 #include "confdefs.h" 10503 #include "confdefs.h"
10524 10504
10525 /* Override any gcc2 internal prototype to avoid an error. */ 10505 /* Override any gcc2 internal prototype to avoid an error. */
10526 #ifdef __cplusplus 10506 #ifdef __cplusplus
10527 extern "C" 10507 extern "C"
10536 ; 10516 ;
10537 return 0; 10517 return 0;
10538 } 10518 }
10539 _ACEOF 10519 _ACEOF
10540 rm -f conftest.$ac_objext conftest$ac_exeext 10520 rm -f conftest.$ac_objext conftest$ac_exeext
10541 if { (eval echo "$as_me:10540: \"$ac_link\"") >&5 10521 if { (eval echo "$as_me:10521: \"$ac_link\"") >&5
10542 (eval $ac_link) 2>&5 10522 (eval $ac_link) 2>&5
10543 ac_status=$? 10523 ac_status=$?
10544 echo "$as_me:10543: \$? = $ac_status" >&5 10524 echo "$as_me:10524: \$? = $ac_status" >&5
10545 (exit $ac_status); } && 10525 (exit $ac_status); } &&
10546 { ac_try='test -s conftest$ac_exeext' 10526 { ac_try='test -s conftest$ac_exeext'
10547 { (eval echo "$as_me:10546: \"$ac_try\"") >&5 10527 { (eval echo "$as_me:10527: \"$ac_try\"") >&5
10548 (eval $ac_try) 2>&5 10528 (eval $ac_try) 2>&5
10549 ac_status=$? 10529 ac_status=$?
10550 echo "$as_me:10549: \$? = $ac_status" >&5 10530 echo "$as_me:10530: \$? = $ac_status" >&5
10551 (exit $ac_status); }; }; then 10531 (exit $ac_status); }; }; then
10552 ac_cv_lib_resolv___res_send=yes 10532 ac_cv_lib_resolv___res_send=yes
10553 else 10533 else
10554 echo "$as_me: failed program was:" >&5 10534 echo "$as_me: failed program was:" >&5
10555 cat conftest.$ac_ext >&5 10535 cat conftest.$ac_ext >&5
10556 ac_cv_lib_resolv___res_send=no 10536 ac_cv_lib_resolv___res_send=no
10557 fi 10537 fi
10558 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10538 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10559 LIBS=$ac_check_lib_save_LIBS 10539 LIBS=$ac_check_lib_save_LIBS
10560 fi 10540 fi
10561 echo "$as_me:10560: result: $ac_cv_lib_resolv___res_send" >&5 10541 echo "$as_me:10541: result: $ac_cv_lib_resolv___res_send" >&5
10562 echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6 10542 echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6
10563 if test $ac_cv_lib_resolv___res_send = yes; then 10543 if test $ac_cv_lib_resolv___res_send = yes; then
10564 resolv=yes 10544 resolv=yes
10565 fi 10545 fi
10566 10546
10578 EOF 10558 EOF
10579 10559
10580 else 10560 else
10581 RESOLVLIB= 10561 RESOLVLIB=
10582 fi 10562 fi
10583 echo "$as_me:10582: checking for hes_getmailhost" >&5 10563 echo "$as_me:10563: checking for hes_getmailhost" >&5
10584 echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6 10564 echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6
10585 if test "${ac_cv_func_hes_getmailhost+set}" = set; then 10565 if test "${ac_cv_func_hes_getmailhost+set}" = set; then
10586 echo $ECHO_N "(cached) $ECHO_C" >&6 10566 echo $ECHO_N "(cached) $ECHO_C" >&6
10587 else 10567 else
10588 cat >conftest.$ac_ext <<_ACEOF 10568 cat >conftest.$ac_ext <<_ACEOF
10589 #line 10583 "configure" 10569 #line 10569 "configure"
10590 #include "confdefs.h" 10570 #include "confdefs.h"
10591 /* System header to define __stub macros and hopefully few prototypes, 10571 /* System header to define __stub macros and hopefully few prototypes,
10592 which can conflict with char hes_getmailhost (); below. */ 10572 which can conflict with char hes_getmailhost (); below. */
10593 #include <assert.h> 10573 #include <assert.h>
10594 /* Override any gcc2 internal prototype to avoid an error. */ 10574 /* Override any gcc2 internal prototype to avoid an error. */
10615 ; 10595 ;
10616 return 0; 10596 return 0;
10617 } 10597 }
10618 _ACEOF 10598 _ACEOF
10619 rm -f conftest.$ac_objext conftest$ac_exeext 10599 rm -f conftest.$ac_objext conftest$ac_exeext
10620 if { (eval echo "$as_me:10619: \"$ac_link\"") >&5 10600 if { (eval echo "$as_me:10600: \"$ac_link\"") >&5
10621 (eval $ac_link) 2>&5 10601 (eval $ac_link) 2>&5
10622 ac_status=$? 10602 ac_status=$?
10623 echo "$as_me:10622: \$? = $ac_status" >&5 10603 echo "$as_me:10603: \$? = $ac_status" >&5
10624 (exit $ac_status); } && 10604 (exit $ac_status); } &&
10625 { ac_try='test -s conftest$ac_exeext' 10605 { ac_try='test -s conftest$ac_exeext'
10626 { (eval echo "$as_me:10625: \"$ac_try\"") >&5 10606 { (eval echo "$as_me:10606: \"$ac_try\"") >&5
10627 (eval $ac_try) 2>&5 10607 (eval $ac_try) 2>&5
10628 ac_status=$? 10608 ac_status=$?
10629 echo "$as_me:10628: \$? = $ac_status" >&5 10609 echo "$as_me:10609: \$? = $ac_status" >&5
10630 (exit $ac_status); }; }; then 10610 (exit $ac_status); }; }; then
10631 ac_cv_func_hes_getmailhost=yes 10611 ac_cv_func_hes_getmailhost=yes
10632 else 10612 else
10633 echo "$as_me: failed program was:" >&5 10613 echo "$as_me: failed program was:" >&5
10634 cat conftest.$ac_ext >&5 10614 cat conftest.$ac_ext >&5
10635 ac_cv_func_hes_getmailhost=no 10615 ac_cv_func_hes_getmailhost=no
10636 fi 10616 fi
10637 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10617 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10638 fi 10618 fi
10639 echo "$as_me:10638: result: $ac_cv_func_hes_getmailhost" >&5 10619 echo "$as_me:10619: result: $ac_cv_func_hes_getmailhost" >&5
10640 echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6 10620 echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6
10641 if test $ac_cv_func_hes_getmailhost = yes; then 10621 if test $ac_cv_func_hes_getmailhost = yes; then
10642 : 10622 :
10643 else 10623 else
10644 echo "$as_me:10643: checking for hes_getmailhost in -lhesiod" >&5 10624 echo "$as_me:10624: checking for hes_getmailhost in -lhesiod" >&5
10645 echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6 10625 echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6
10646 if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then 10626 if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then
10647 echo $ECHO_N "(cached) $ECHO_C" >&6 10627 echo $ECHO_N "(cached) $ECHO_C" >&6
10648 else 10628 else
10649 ac_check_lib_save_LIBS=$LIBS 10629 ac_check_lib_save_LIBS=$LIBS
10650 LIBS="-lhesiod $RESOLVLIB $LIBS" 10630 LIBS="-lhesiod $RESOLVLIB $LIBS"
10651 cat >conftest.$ac_ext <<_ACEOF 10631 cat >conftest.$ac_ext <<_ACEOF
10652 #line 10646 "configure" 10632 #line 10632 "configure"
10653 #include "confdefs.h" 10633 #include "confdefs.h"
10654 10634
10655 /* Override any gcc2 internal prototype to avoid an error. */ 10635 /* Override any gcc2 internal prototype to avoid an error. */
10656 #ifdef __cplusplus 10636 #ifdef __cplusplus
10657 extern "C" 10637 extern "C"
10666 ; 10646 ;
10667 return 0; 10647 return 0;
10668 } 10648 }
10669 _ACEOF 10649 _ACEOF
10670 rm -f conftest.$ac_objext conftest$ac_exeext 10650 rm -f conftest.$ac_objext conftest$ac_exeext
10671 if { (eval echo "$as_me:10670: \"$ac_link\"") >&5 10651 if { (eval echo "$as_me:10651: \"$ac_link\"") >&5
10672 (eval $ac_link) 2>&5 10652 (eval $ac_link) 2>&5
10673 ac_status=$? 10653 ac_status=$?
10674 echo "$as_me:10673: \$? = $ac_status" >&5 10654 echo "$as_me:10654: \$? = $ac_status" >&5
10675 (exit $ac_status); } && 10655 (exit $ac_status); } &&
10676 { ac_try='test -s conftest$ac_exeext' 10656 { ac_try='test -s conftest$ac_exeext'
10677 { (eval echo "$as_me:10676: \"$ac_try\"") >&5 10657 { (eval echo "$as_me:10657: \"$ac_try\"") >&5
10678 (eval $ac_try) 2>&5 10658 (eval $ac_try) 2>&5
10679 ac_status=$? 10659 ac_status=$?
10680 echo "$as_me:10679: \$? = $ac_status" >&5 10660 echo "$as_me:10660: \$? = $ac_status" >&5
10681 (exit $ac_status); }; }; then 10661 (exit $ac_status); }; }; then
10682 ac_cv_lib_hesiod_hes_getmailhost=yes 10662 ac_cv_lib_hesiod_hes_getmailhost=yes
10683 else 10663 else
10684 echo "$as_me: failed program was:" >&5 10664 echo "$as_me: failed program was:" >&5
10685 cat conftest.$ac_ext >&5 10665 cat conftest.$ac_ext >&5
10686 ac_cv_lib_hesiod_hes_getmailhost=no 10666 ac_cv_lib_hesiod_hes_getmailhost=no
10687 fi 10667 fi
10688 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10668 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10689 LIBS=$ac_check_lib_save_LIBS 10669 LIBS=$ac_check_lib_save_LIBS
10690 fi 10670 fi
10691 echo "$as_me:10690: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5 10671 echo "$as_me:10671: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5
10692 echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6 10672 echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6
10693 if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then 10673 if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then
10694 10674
10695 cat >>confdefs.h <<\EOF 10675 cat >>confdefs.h <<\EOF
10696 #define HAVE_LIBHESIOD 1 10676 #define HAVE_LIBHESIOD 1
10705 fi 10685 fi
10706 10686
10707 # These tell us which Kerberos-related libraries to use. 10687 # These tell us which Kerberos-related libraries to use.
10708 if test "${with_kerberos+set}" = set; then 10688 if test "${with_kerberos+set}" = set; then
10709 10689
10710 echo "$as_me:10709: checking for com_err in -lcom_err" >&5 10690 echo "$as_me:10690: checking for com_err in -lcom_err" >&5
10711 echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6 10691 echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6
10712 if test "${ac_cv_lib_com_err_com_err+set}" = set; then 10692 if test "${ac_cv_lib_com_err_com_err+set}" = set; then
10713 echo $ECHO_N "(cached) $ECHO_C" >&6 10693 echo $ECHO_N "(cached) $ECHO_C" >&6
10714 else 10694 else
10715 ac_check_lib_save_LIBS=$LIBS 10695 ac_check_lib_save_LIBS=$LIBS
10716 LIBS="-lcom_err $LIBS" 10696 LIBS="-lcom_err $LIBS"
10717 cat >conftest.$ac_ext <<_ACEOF 10697 cat >conftest.$ac_ext <<_ACEOF
10718 #line 10712 "configure" 10698 #line 10698 "configure"
10719 #include "confdefs.h" 10699 #include "confdefs.h"
10720 10700
10721 /* Override any gcc2 internal prototype to avoid an error. */ 10701 /* Override any gcc2 internal prototype to avoid an error. */
10722 #ifdef __cplusplus 10702 #ifdef __cplusplus
10723 extern "C" 10703 extern "C"
10732 ; 10712 ;
10733 return 0; 10713 return 0;
10734 } 10714 }
10735 _ACEOF 10715 _ACEOF
10736 rm -f conftest.$ac_objext conftest$ac_exeext 10716 rm -f conftest.$ac_objext conftest$ac_exeext
10737 if { (eval echo "$as_me:10736: \"$ac_link\"") >&5 10717 if { (eval echo "$as_me:10717: \"$ac_link\"") >&5
10738 (eval $ac_link) 2>&5 10718 (eval $ac_link) 2>&5
10739 ac_status=$? 10719 ac_status=$?
10740 echo "$as_me:10739: \$? = $ac_status" >&5 10720 echo "$as_me:10720: \$? = $ac_status" >&5
10741 (exit $ac_status); } && 10721 (exit $ac_status); } &&
10742 { ac_try='test -s conftest$ac_exeext' 10722 { ac_try='test -s conftest$ac_exeext'
10743 { (eval echo "$as_me:10742: \"$ac_try\"") >&5 10723 { (eval echo "$as_me:10723: \"$ac_try\"") >&5
10744 (eval $ac_try) 2>&5 10724 (eval $ac_try) 2>&5
10745 ac_status=$? 10725 ac_status=$?
10746 echo "$as_me:10745: \$? = $ac_status" >&5 10726 echo "$as_me:10726: \$? = $ac_status" >&5
10747 (exit $ac_status); }; }; then 10727 (exit $ac_status); }; }; then
10748 ac_cv_lib_com_err_com_err=yes 10728 ac_cv_lib_com_err_com_err=yes
10749 else 10729 else
10750 echo "$as_me: failed program was:" >&5 10730 echo "$as_me: failed program was:" >&5
10751 cat conftest.$ac_ext >&5 10731 cat conftest.$ac_ext >&5
10752 ac_cv_lib_com_err_com_err=no 10732 ac_cv_lib_com_err_com_err=no
10753 fi 10733 fi
10754 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10734 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10755 LIBS=$ac_check_lib_save_LIBS 10735 LIBS=$ac_check_lib_save_LIBS
10756 fi 10736 fi
10757 echo "$as_me:10756: result: $ac_cv_lib_com_err_com_err" >&5 10737 echo "$as_me:10737: result: $ac_cv_lib_com_err_com_err" >&5
10758 echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6 10738 echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6
10759 if test $ac_cv_lib_com_err_com_err = yes; then 10739 if test $ac_cv_lib_com_err_com_err = yes; then
10760 cat >>confdefs.h <<EOF 10740 cat >>confdefs.h <<EOF
10761 #define HAVE_LIBCOM_ERR 1 10741 #define HAVE_LIBCOM_ERR 1
10762 EOF 10742 EOF
10763 10743
10764 LIBS="-lcom_err $LIBS" 10744 LIBS="-lcom_err $LIBS"
10765 10745
10766 fi 10746 fi
10767 10747
10768 echo "$as_me:10767: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 10748 echo "$as_me:10748: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
10769 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lk5crypto... $ECHO_C" >&6 10749 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lk5crypto... $ECHO_C" >&6
10770 if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then 10750 if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then
10771 echo $ECHO_N "(cached) $ECHO_C" >&6 10751 echo $ECHO_N "(cached) $ECHO_C" >&6
10772 else 10752 else
10773 ac_check_lib_save_LIBS=$LIBS 10753 ac_check_lib_save_LIBS=$LIBS
10774 LIBS="-lk5crypto $LIBS" 10754 LIBS="-lk5crypto $LIBS"
10775 cat >conftest.$ac_ext <<_ACEOF 10755 cat >conftest.$ac_ext <<_ACEOF
10776 #line 10770 "configure" 10756 #line 10756 "configure"
10777 #include "confdefs.h" 10757 #include "confdefs.h"
10778 10758
10779 /* Override any gcc2 internal prototype to avoid an error. */ 10759 /* Override any gcc2 internal prototype to avoid an error. */
10780 #ifdef __cplusplus 10760 #ifdef __cplusplus
10781 extern "C" 10761 extern "C"
10790 ; 10770 ;
10791 return 0; 10771 return 0;
10792 } 10772 }
10793 _ACEOF 10773 _ACEOF
10794 rm -f conftest.$ac_objext conftest$ac_exeext 10774 rm -f conftest.$ac_objext conftest$ac_exeext
10795 if { (eval echo "$as_me:10794: \"$ac_link\"") >&5 10775 if { (eval echo "$as_me:10775: \"$ac_link\"") >&5
10796 (eval $ac_link) 2>&5 10776 (eval $ac_link) 2>&5
10797 ac_status=$? 10777 ac_status=$?
10798 echo "$as_me:10797: \$? = $ac_status" >&5 10778 echo "$as_me:10778: \$? = $ac_status" >&5
10799 (exit $ac_status); } && 10779 (exit $ac_status); } &&
10800 { ac_try='test -s conftest$ac_exeext' 10780 { ac_try='test -s conftest$ac_exeext'
10801 { (eval echo "$as_me:10800: \"$ac_try\"") >&5 10781 { (eval echo "$as_me:10781: \"$ac_try\"") >&5
10802 (eval $ac_try) 2>&5 10782 (eval $ac_try) 2>&5
10803 ac_status=$? 10783 ac_status=$?
10804 echo "$as_me:10803: \$? = $ac_status" >&5 10784 echo "$as_me:10784: \$? = $ac_status" >&5
10805 (exit $ac_status); }; }; then 10785 (exit $ac_status); }; }; then
10806 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes 10786 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes
10807 else 10787 else
10808 echo "$as_me: failed program was:" >&5 10788 echo "$as_me: failed program was:" >&5
10809 cat conftest.$ac_ext >&5 10789 cat conftest.$ac_ext >&5
10810 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=no 10790 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=no
10811 fi 10791 fi
10812 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10792 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10813 LIBS=$ac_check_lib_save_LIBS 10793 LIBS=$ac_check_lib_save_LIBS
10814 fi 10794 fi
10815 echo "$as_me:10814: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5 10795 echo "$as_me:10795: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5
10816 echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6 10796 echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6
10817 if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then 10797 if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then
10818 cat >>confdefs.h <<EOF 10798 cat >>confdefs.h <<EOF
10819 #define HAVE_LIBK5CRYPTO 1 10799 #define HAVE_LIBK5CRYPTO 1
10820 EOF 10800 EOF
10821 10801
10822 LIBS="-lk5crypto $LIBS" 10802 LIBS="-lk5crypto $LIBS"
10823 10803
10824 fi 10804 fi
10825 10805
10826 echo "$as_me:10825: checking for mit_des_cbc_encrypt in -lcrypto" >&5 10806 echo "$as_me:10806: checking for mit_des_cbc_encrypt in -lcrypto" >&5
10827 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lcrypto... $ECHO_C" >&6 10807 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lcrypto... $ECHO_C" >&6
10828 if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then 10808 if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then
10829 echo $ECHO_N "(cached) $ECHO_C" >&6 10809 echo $ECHO_N "(cached) $ECHO_C" >&6
10830 else 10810 else
10831 ac_check_lib_save_LIBS=$LIBS 10811 ac_check_lib_save_LIBS=$LIBS
10832 LIBS="-lcrypto $LIBS" 10812 LIBS="-lcrypto $LIBS"
10833 cat >conftest.$ac_ext <<_ACEOF 10813 cat >conftest.$ac_ext <<_ACEOF
10834 #line 10828 "configure" 10814 #line 10814 "configure"
10835 #include "confdefs.h" 10815 #include "confdefs.h"
10836 10816
10837 /* Override any gcc2 internal prototype to avoid an error. */ 10817 /* Override any gcc2 internal prototype to avoid an error. */
10838 #ifdef __cplusplus 10818 #ifdef __cplusplus
10839 extern "C" 10819 extern "C"
10848 ; 10828 ;
10849 return 0; 10829 return 0;
10850 } 10830 }
10851 _ACEOF 10831 _ACEOF
10852 rm -f conftest.$ac_objext conftest$ac_exeext 10832 rm -f conftest.$ac_objext conftest$ac_exeext
10853 if { (eval echo "$as_me:10852: \"$ac_link\"") >&5 10833 if { (eval echo "$as_me:10833: \"$ac_link\"") >&5
10854 (eval $ac_link) 2>&5 10834 (eval $ac_link) 2>&5
10855 ac_status=$? 10835 ac_status=$?
10856 echo "$as_me:10855: \$? = $ac_status" >&5 10836 echo "$as_me:10836: \$? = $ac_status" >&5
10857 (exit $ac_status); } && 10837 (exit $ac_status); } &&
10858 { ac_try='test -s conftest$ac_exeext' 10838 { ac_try='test -s conftest$ac_exeext'
10859 { (eval echo "$as_me:10858: \"$ac_try\"") >&5 10839 { (eval echo "$as_me:10839: \"$ac_try\"") >&5
10860 (eval $ac_try) 2>&5 10840 (eval $ac_try) 2>&5
10861 ac_status=$? 10841 ac_status=$?
10862 echo "$as_me:10861: \$? = $ac_status" >&5 10842 echo "$as_me:10842: \$? = $ac_status" >&5
10863 (exit $ac_status); }; }; then 10843 (exit $ac_status); }; }; then
10864 ac_cv_lib_crypto_mit_des_cbc_encrypt=yes 10844 ac_cv_lib_crypto_mit_des_cbc_encrypt=yes
10865 else 10845 else
10866 echo "$as_me: failed program was:" >&5 10846 echo "$as_me: failed program was:" >&5
10867 cat conftest.$ac_ext >&5 10847 cat conftest.$ac_ext >&5
10868 ac_cv_lib_crypto_mit_des_cbc_encrypt=no 10848 ac_cv_lib_crypto_mit_des_cbc_encrypt=no
10869 fi 10849 fi
10870 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10850 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10871 LIBS=$ac_check_lib_save_LIBS 10851 LIBS=$ac_check_lib_save_LIBS
10872 fi 10852 fi
10873 echo "$as_me:10872: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5 10853 echo "$as_me:10853: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5
10874 echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6 10854 echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6
10875 if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then 10855 if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then
10876 cat >>confdefs.h <<EOF 10856 cat >>confdefs.h <<EOF
10877 #define HAVE_LIBCRYPTO 1 10857 #define HAVE_LIBCRYPTO 1
10878 EOF 10858 EOF
10879 10859
10880 LIBS="-lcrypto $LIBS" 10860 LIBS="-lcrypto $LIBS"
10881 10861
10882 fi 10862 fi
10883 10863
10884 echo "$as_me:10883: checking for krb5_init_context in -lkrb5" >&5 10864 echo "$as_me:10864: checking for krb5_init_context in -lkrb5" >&5
10885 echo $ECHO_N "checking for krb5_init_context in -lkrb5... $ECHO_C" >&6 10865 echo $ECHO_N "checking for krb5_init_context in -lkrb5... $ECHO_C" >&6
10886 if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then 10866 if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then
10887 echo $ECHO_N "(cached) $ECHO_C" >&6 10867 echo $ECHO_N "(cached) $ECHO_C" >&6
10888 else 10868 else
10889 ac_check_lib_save_LIBS=$LIBS 10869 ac_check_lib_save_LIBS=$LIBS
10890 LIBS="-lkrb5 $LIBS" 10870 LIBS="-lkrb5 $LIBS"
10891 cat >conftest.$ac_ext <<_ACEOF 10871 cat >conftest.$ac_ext <<_ACEOF
10892 #line 10886 "configure" 10872 #line 10872 "configure"
10893 #include "confdefs.h" 10873 #include "confdefs.h"
10894 10874
10895 /* Override any gcc2 internal prototype to avoid an error. */ 10875 /* Override any gcc2 internal prototype to avoid an error. */
10896 #ifdef __cplusplus 10876 #ifdef __cplusplus
10897 extern "C" 10877 extern "C"
10906 ; 10886 ;
10907 return 0; 10887 return 0;
10908 } 10888 }
10909 _ACEOF 10889 _ACEOF
10910 rm -f conftest.$ac_objext conftest$ac_exeext 10890 rm -f conftest.$ac_objext conftest$ac_exeext
10911 if { (eval echo "$as_me:10910: \"$ac_link\"") >&5 10891 if { (eval echo "$as_me:10891: \"$ac_link\"") >&5
10912 (eval $ac_link) 2>&5 10892 (eval $ac_link) 2>&5
10913 ac_status=$? 10893 ac_status=$?
10914 echo "$as_me:10913: \$? = $ac_status" >&5 10894 echo "$as_me:10894: \$? = $ac_status" >&5
10915 (exit $ac_status); } && 10895 (exit $ac_status); } &&
10916 { ac_try='test -s conftest$ac_exeext' 10896 { ac_try='test -s conftest$ac_exeext'
10917 { (eval echo "$as_me:10916: \"$ac_try\"") >&5 10897 { (eval echo "$as_me:10897: \"$ac_try\"") >&5
10918 (eval $ac_try) 2>&5 10898 (eval $ac_try) 2>&5
10919 ac_status=$? 10899 ac_status=$?
10920 echo "$as_me:10919: \$? = $ac_status" >&5 10900 echo "$as_me:10900: \$? = $ac_status" >&5
10921 (exit $ac_status); }; }; then 10901 (exit $ac_status); }; }; then
10922 ac_cv_lib_krb5_krb5_init_context=yes 10902 ac_cv_lib_krb5_krb5_init_context=yes
10923 else 10903 else
10924 echo "$as_me: failed program was:" >&5 10904 echo "$as_me: failed program was:" >&5
10925 cat conftest.$ac_ext >&5 10905 cat conftest.$ac_ext >&5
10926 ac_cv_lib_krb5_krb5_init_context=no 10906 ac_cv_lib_krb5_krb5_init_context=no
10927 fi 10907 fi
10928 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10908 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10929 LIBS=$ac_check_lib_save_LIBS 10909 LIBS=$ac_check_lib_save_LIBS
10930 fi 10910 fi
10931 echo "$as_me:10930: result: $ac_cv_lib_krb5_krb5_init_context" >&5 10911 echo "$as_me:10911: result: $ac_cv_lib_krb5_krb5_init_context" >&5
10932 echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6 10912 echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6
10933 if test $ac_cv_lib_krb5_krb5_init_context = yes; then 10913 if test $ac_cv_lib_krb5_krb5_init_context = yes; then
10934 cat >>confdefs.h <<EOF 10914 cat >>confdefs.h <<EOF
10935 #define HAVE_LIBKRB5 1 10915 #define HAVE_LIBKRB5 1
10936 EOF 10916 EOF
10939 10919
10940 fi 10920 fi
10941 10921
10942 if test "${with_kerberos5+set}" != set; then 10922 if test "${with_kerberos5+set}" != set; then
10943 10923
10944 echo "$as_me:10943: checking for des_cbc_encrypt in -ldes425" >&5 10924 echo "$as_me:10924: checking for des_cbc_encrypt in -ldes425" >&5
10945 echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6 10925 echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6
10946 if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then 10926 if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then
10947 echo $ECHO_N "(cached) $ECHO_C" >&6 10927 echo $ECHO_N "(cached) $ECHO_C" >&6
10948 else 10928 else
10949 ac_check_lib_save_LIBS=$LIBS 10929 ac_check_lib_save_LIBS=$LIBS
10950 LIBS="-ldes425 $LIBS" 10930 LIBS="-ldes425 $LIBS"
10951 cat >conftest.$ac_ext <<_ACEOF 10931 cat >conftest.$ac_ext <<_ACEOF
10952 #line 10946 "configure" 10932 #line 10932 "configure"
10953 #include "confdefs.h" 10933 #include "confdefs.h"
10954 10934
10955 /* Override any gcc2 internal prototype to avoid an error. */ 10935 /* Override any gcc2 internal prototype to avoid an error. */
10956 #ifdef __cplusplus 10936 #ifdef __cplusplus
10957 extern "C" 10937 extern "C"
10966 ; 10946 ;
10967 return 0; 10947 return 0;
10968 } 10948 }
10969 _ACEOF 10949 _ACEOF
10970 rm -f conftest.$ac_objext conftest$ac_exeext 10950 rm -f conftest.$ac_objext conftest$ac_exeext
10971 if { (eval echo "$as_me:10970: \"$ac_link\"") >&5 10951 if { (eval echo "$as_me:10951: \"$ac_link\"") >&5
10972 (eval $ac_link) 2>&5 10952 (eval $ac_link) 2>&5
10973 ac_status=$? 10953 ac_status=$?
10974 echo "$as_me:10973: \$? = $ac_status" >&5 10954 echo "$as_me:10954: \$? = $ac_status" >&5
10975 (exit $ac_status); } && 10955 (exit $ac_status); } &&
10976 { ac_try='test -s conftest$ac_exeext' 10956 { ac_try='test -s conftest$ac_exeext'
10977 { (eval echo "$as_me:10976: \"$ac_try\"") >&5 10957 { (eval echo "$as_me:10957: \"$ac_try\"") >&5
10978 (eval $ac_try) 2>&5 10958 (eval $ac_try) 2>&5
10979 ac_status=$? 10959 ac_status=$?
10980 echo "$as_me:10979: \$? = $ac_status" >&5 10960 echo "$as_me:10960: \$? = $ac_status" >&5
10981 (exit $ac_status); }; }; then 10961 (exit $ac_status); }; }; then
10982 ac_cv_lib_des425_des_cbc_encrypt=yes 10962 ac_cv_lib_des425_des_cbc_encrypt=yes
10983 else 10963 else
10984 echo "$as_me: failed program was:" >&5 10964 echo "$as_me: failed program was:" >&5
10985 cat conftest.$ac_ext >&5 10965 cat conftest.$ac_ext >&5
10986 ac_cv_lib_des425_des_cbc_encrypt=no 10966 ac_cv_lib_des425_des_cbc_encrypt=no
10987 fi 10967 fi
10988 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10968 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10989 LIBS=$ac_check_lib_save_LIBS 10969 LIBS=$ac_check_lib_save_LIBS
10990 fi 10970 fi
10991 echo "$as_me:10990: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5 10971 echo "$as_me:10971: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5
10992 echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6 10972 echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6
10993 if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then 10973 if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then
10994 cat >>confdefs.h <<EOF 10974 cat >>confdefs.h <<EOF
10995 #define HAVE_LIBDES425 1 10975 #define HAVE_LIBDES425 1
10996 EOF 10976 EOF
10997 10977
10998 LIBS="-ldes425 $LIBS" 10978 LIBS="-ldes425 $LIBS"
10999 10979
11000 else 10980 else
11001 10981
11002 echo "$as_me:11001: checking for des_cbc_encrypt in -ldes" >&5 10982 echo "$as_me:10982: checking for des_cbc_encrypt in -ldes" >&5
11003 echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6 10983 echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6
11004 if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then 10984 if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then
11005 echo $ECHO_N "(cached) $ECHO_C" >&6 10985 echo $ECHO_N "(cached) $ECHO_C" >&6
11006 else 10986 else
11007 ac_check_lib_save_LIBS=$LIBS 10987 ac_check_lib_save_LIBS=$LIBS
11008 LIBS="-ldes $LIBS" 10988 LIBS="-ldes $LIBS"
11009 cat >conftest.$ac_ext <<_ACEOF 10989 cat >conftest.$ac_ext <<_ACEOF
11010 #line 11004 "configure" 10990 #line 10990 "configure"
11011 #include "confdefs.h" 10991 #include "confdefs.h"
11012 10992
11013 /* Override any gcc2 internal prototype to avoid an error. */ 10993 /* Override any gcc2 internal prototype to avoid an error. */
11014 #ifdef __cplusplus 10994 #ifdef __cplusplus
11015 extern "C" 10995 extern "C"
11024 ; 11004 ;
11025 return 0; 11005 return 0;
11026 } 11006 }
11027 _ACEOF 11007 _ACEOF
11028 rm -f conftest.$ac_objext conftest$ac_exeext 11008 rm -f conftest.$ac_objext conftest$ac_exeext
11029 if { (eval echo "$as_me:11028: \"$ac_link\"") >&5 11009 if { (eval echo "$as_me:11009: \"$ac_link\"") >&5
11030 (eval $ac_link) 2>&5 11010 (eval $ac_link) 2>&5
11031 ac_status=$? 11011 ac_status=$?
11032 echo "$as_me:11031: \$? = $ac_status" >&5 11012 echo "$as_me:11012: \$? = $ac_status" >&5
11033 (exit $ac_status); } && 11013 (exit $ac_status); } &&
11034 { ac_try='test -s conftest$ac_exeext' 11014 { ac_try='test -s conftest$ac_exeext'
11035 { (eval echo "$as_me:11034: \"$ac_try\"") >&5 11015 { (eval echo "$as_me:11015: \"$ac_try\"") >&5
11036 (eval $ac_try) 2>&5 11016 (eval $ac_try) 2>&5
11037 ac_status=$? 11017 ac_status=$?
11038 echo "$as_me:11037: \$? = $ac_status" >&5 11018 echo "$as_me:11018: \$? = $ac_status" >&5
11039 (exit $ac_status); }; }; then 11019 (exit $ac_status); }; }; then
11040 ac_cv_lib_des_des_cbc_encrypt=yes 11020 ac_cv_lib_des_des_cbc_encrypt=yes
11041 else 11021 else
11042 echo "$as_me: failed program was:" >&5 11022 echo "$as_me: failed program was:" >&5
11043 cat conftest.$ac_ext >&5 11023 cat conftest.$ac_ext >&5
11044 ac_cv_lib_des_des_cbc_encrypt=no 11024 ac_cv_lib_des_des_cbc_encrypt=no
11045 fi 11025 fi
11046 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11026 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11047 LIBS=$ac_check_lib_save_LIBS 11027 LIBS=$ac_check_lib_save_LIBS
11048 fi 11028 fi
11049 echo "$as_me:11048: result: $ac_cv_lib_des_des_cbc_encrypt" >&5 11029 echo "$as_me:11029: result: $ac_cv_lib_des_des_cbc_encrypt" >&5
11050 echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6 11030 echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6
11051 if test $ac_cv_lib_des_des_cbc_encrypt = yes; then 11031 if test $ac_cv_lib_des_des_cbc_encrypt = yes; then
11052 cat >>confdefs.h <<EOF 11032 cat >>confdefs.h <<EOF
11053 #define HAVE_LIBDES 1 11033 #define HAVE_LIBDES 1
11054 EOF 11034 EOF
11057 11037
11058 fi 11038 fi
11059 11039
11060 fi 11040 fi
11061 11041
11062 echo "$as_me:11061: checking for krb_get_cred in -lkrb4" >&5 11042 echo "$as_me:11042: checking for krb_get_cred in -lkrb4" >&5
11063 echo $ECHO_N "checking for krb_get_cred in -lkrb4... $ECHO_C" >&6 11043 echo $ECHO_N "checking for krb_get_cred in -lkrb4... $ECHO_C" >&6
11064 if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then 11044 if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then
11065 echo $ECHO_N "(cached) $ECHO_C" >&6 11045 echo $ECHO_N "(cached) $ECHO_C" >&6
11066 else 11046 else
11067 ac_check_lib_save_LIBS=$LIBS 11047 ac_check_lib_save_LIBS=$LIBS
11068 LIBS="-lkrb4 $LIBS" 11048 LIBS="-lkrb4 $LIBS"
11069 cat >conftest.$ac_ext <<_ACEOF 11049 cat >conftest.$ac_ext <<_ACEOF
11070 #line 11064 "configure" 11050 #line 11050 "configure"
11071 #include "confdefs.h" 11051 #include "confdefs.h"
11072 11052
11073 /* Override any gcc2 internal prototype to avoid an error. */ 11053 /* Override any gcc2 internal prototype to avoid an error. */
11074 #ifdef __cplusplus 11054 #ifdef __cplusplus
11075 extern "C" 11055 extern "C"
11084 ; 11064 ;
11085 return 0; 11065 return 0;
11086 } 11066 }
11087 _ACEOF 11067 _ACEOF
11088 rm -f conftest.$ac_objext conftest$ac_exeext 11068 rm -f conftest.$ac_objext conftest$ac_exeext
11089 if { (eval echo "$as_me:11088: \"$ac_link\"") >&5 11069 if { (eval echo "$as_me:11069: \"$ac_link\"") >&5
11090 (eval $ac_link) 2>&5 11070 (eval $ac_link) 2>&5
11091 ac_status=$? 11071 ac_status=$?
11092 echo "$as_me:11091: \$? = $ac_status" >&5 11072 echo "$as_me:11072: \$? = $ac_status" >&5
11093 (exit $ac_status); } && 11073 (exit $ac_status); } &&
11094 { ac_try='test -s conftest$ac_exeext' 11074 { ac_try='test -s conftest$ac_exeext'
11095 { (eval echo "$as_me:11094: \"$ac_try\"") >&5 11075 { (eval echo "$as_me:11075: \"$ac_try\"") >&5
11096 (eval $ac_try) 2>&5 11076 (eval $ac_try) 2>&5
11097 ac_status=$? 11077 ac_status=$?
11098 echo "$as_me:11097: \$? = $ac_status" >&5 11078 echo "$as_me:11078: \$? = $ac_status" >&5
11099 (exit $ac_status); }; }; then 11079 (exit $ac_status); }; }; then
11100 ac_cv_lib_krb4_krb_get_cred=yes 11080 ac_cv_lib_krb4_krb_get_cred=yes
11101 else 11081 else
11102 echo "$as_me: failed program was:" >&5 11082 echo "$as_me: failed program was:" >&5
11103 cat conftest.$ac_ext >&5 11083 cat conftest.$ac_ext >&5
11104 ac_cv_lib_krb4_krb_get_cred=no 11084 ac_cv_lib_krb4_krb_get_cred=no
11105 fi 11085 fi
11106 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11086 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11107 LIBS=$ac_check_lib_save_LIBS 11087 LIBS=$ac_check_lib_save_LIBS
11108 fi 11088 fi
11109 echo "$as_me:11108: result: $ac_cv_lib_krb4_krb_get_cred" >&5 11089 echo "$as_me:11089: result: $ac_cv_lib_krb4_krb_get_cred" >&5
11110 echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6 11090 echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6
11111 if test $ac_cv_lib_krb4_krb_get_cred = yes; then 11091 if test $ac_cv_lib_krb4_krb_get_cred = yes; then
11112 cat >>confdefs.h <<EOF 11092 cat >>confdefs.h <<EOF
11113 #define HAVE_LIBKRB4 1 11093 #define HAVE_LIBKRB4 1
11114 EOF 11094 EOF
11115 11095
11116 LIBS="-lkrb4 $LIBS" 11096 LIBS="-lkrb4 $LIBS"
11117 11097
11118 else 11098 else
11119 11099
11120 echo "$as_me:11119: checking for krb_get_cred in -lkrb" >&5 11100 echo "$as_me:11100: checking for krb_get_cred in -lkrb" >&5
11121 echo $ECHO_N "checking for krb_get_cred in -lkrb... $ECHO_C" >&6 11101 echo $ECHO_N "checking for krb_get_cred in -lkrb... $ECHO_C" >&6
11122 if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then 11102 if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then
11123 echo $ECHO_N "(cached) $ECHO_C" >&6 11103 echo $ECHO_N "(cached) $ECHO_C" >&6
11124 else 11104 else
11125 ac_check_lib_save_LIBS=$LIBS 11105 ac_check_lib_save_LIBS=$LIBS
11126 LIBS="-lkrb $LIBS" 11106 LIBS="-lkrb $LIBS"
11127 cat >conftest.$ac_ext <<_ACEOF 11107 cat >conftest.$ac_ext <<_ACEOF
11128 #line 11122 "configure" 11108 #line 11108 "configure"
11129 #include "confdefs.h" 11109 #include "confdefs.h"
11130 11110
11131 /* Override any gcc2 internal prototype to avoid an error. */ 11111 /* Override any gcc2 internal prototype to avoid an error. */
11132 #ifdef __cplusplus 11112 #ifdef __cplusplus
11133 extern "C" 11113 extern "C"
11142 ; 11122 ;
11143 return 0; 11123 return 0;
11144 } 11124 }
11145 _ACEOF 11125 _ACEOF
11146 rm -f conftest.$ac_objext conftest$ac_exeext 11126 rm -f conftest.$ac_objext conftest$ac_exeext
11147 if { (eval echo "$as_me:11146: \"$ac_link\"") >&5 11127 if { (eval echo "$as_me:11127: \"$ac_link\"") >&5
11148 (eval $ac_link) 2>&5 11128 (eval $ac_link) 2>&5
11149 ac_status=$? 11129 ac_status=$?
11150 echo "$as_me:11149: \$? = $ac_status" >&5 11130 echo "$as_me:11130: \$? = $ac_status" >&5
11151 (exit $ac_status); } && 11131 (exit $ac_status); } &&
11152 { ac_try='test -s conftest$ac_exeext' 11132 { ac_try='test -s conftest$ac_exeext'
11153 { (eval echo "$as_me:11152: \"$ac_try\"") >&5 11133 { (eval echo "$as_me:11133: \"$ac_try\"") >&5
11154 (eval $ac_try) 2>&5 11134 (eval $ac_try) 2>&5
11155 ac_status=$? 11135 ac_status=$?
11156 echo "$as_me:11155: \$? = $ac_status" >&5 11136 echo "$as_me:11136: \$? = $ac_status" >&5
11157 (exit $ac_status); }; }; then 11137 (exit $ac_status); }; }; then
11158 ac_cv_lib_krb_krb_get_cred=yes 11138 ac_cv_lib_krb_krb_get_cred=yes
11159 else 11139 else
11160 echo "$as_me: failed program was:" >&5 11140 echo "$as_me: failed program was:" >&5
11161 cat conftest.$ac_ext >&5 11141 cat conftest.$ac_ext >&5
11162 ac_cv_lib_krb_krb_get_cred=no 11142 ac_cv_lib_krb_krb_get_cred=no
11163 fi 11143 fi
11164 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11144 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11165 LIBS=$ac_check_lib_save_LIBS 11145 LIBS=$ac_check_lib_save_LIBS
11166 fi 11146 fi
11167 echo "$as_me:11166: result: $ac_cv_lib_krb_krb_get_cred" >&5 11147 echo "$as_me:11147: result: $ac_cv_lib_krb_krb_get_cred" >&5
11168 echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6 11148 echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6
11169 if test $ac_cv_lib_krb_krb_get_cred = yes; then 11149 if test $ac_cv_lib_krb_krb_get_cred = yes; then
11170 cat >>confdefs.h <<EOF 11150 cat >>confdefs.h <<EOF
11171 #define HAVE_LIBKRB 1 11151 #define HAVE_LIBKRB 1
11172 EOF 11152 EOF
11182 if test "${with_kerberos5+set}" = set; then 11162 if test "${with_kerberos5+set}" = set; then
11183 11163
11184 for ac_header in krb5.h 11164 for ac_header in krb5.h
11185 do 11165 do
11186 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11166 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11187 echo "$as_me:11186: checking for $ac_header" >&5 11167 echo "$as_me:11167: checking for $ac_header" >&5
11188 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11168 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11189 if eval "test \"\${$as_ac_Header+set}\" = set"; then 11169 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11190 echo $ECHO_N "(cached) $ECHO_C" >&6 11170 echo $ECHO_N "(cached) $ECHO_C" >&6
11191 else 11171 else
11192 cat >conftest.$ac_ext <<_ACEOF 11172 cat >conftest.$ac_ext <<_ACEOF
11193 #line 11187 "configure" 11173 #line 11173 "configure"
11194 #include "confdefs.h" 11174 #include "confdefs.h"
11195 #include <$ac_header> 11175 #include <$ac_header>
11196 _ACEOF 11176 _ACEOF
11197 if { (eval echo "$as_me:11196: \"$ac_cpp conftest.$ac_ext\"") >&5 11177 if { (eval echo "$as_me:11177: \"$ac_cpp conftest.$ac_ext\"") >&5
11198 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11178 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11199 ac_status=$? 11179 ac_status=$?
11200 egrep -v '^ *\+' conftest.er1 >conftest.err 11180 egrep -v '^ *\+' conftest.er1 >conftest.err
11201 rm -f conftest.er1 11181 rm -f conftest.er1
11202 cat conftest.err >&5 11182 cat conftest.err >&5
11203 echo "$as_me:11202: \$? = $ac_status" >&5 11183 echo "$as_me:11183: \$? = $ac_status" >&5
11204 (exit $ac_status); } >/dev/null; then 11184 (exit $ac_status); } >/dev/null; then
11205 if test -s conftest.err; then 11185 if test -s conftest.err; then
11206 ac_cpp_err=$ac_c_preproc_warn_flag 11186 ac_cpp_err=$ac_c_preproc_warn_flag
11207 else 11187 else
11208 ac_cpp_err= 11188 ac_cpp_err=
11217 cat conftest.$ac_ext >&5 11197 cat conftest.$ac_ext >&5
11218 eval "$as_ac_Header=no" 11198 eval "$as_ac_Header=no"
11219 fi 11199 fi
11220 rm -f conftest.err conftest.$ac_ext 11200 rm -f conftest.err conftest.$ac_ext
11221 fi 11201 fi
11222 echo "$as_me:11221: result: `eval echo '${'$as_ac_Header'}'`" >&5 11202 echo "$as_me:11202: result: `eval echo '${'$as_ac_Header'}'`" >&5
11223 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11203 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11224 if test `eval echo '${'$as_ac_Header'}'` = yes; then 11204 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11225 cat >>confdefs.h <<EOF 11205 cat >>confdefs.h <<EOF
11226 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11206 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11227 EOF 11207 EOF
11232 else 11212 else
11233 11213
11234 for ac_header in des.h 11214 for ac_header in des.h
11235 do 11215 do
11236 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11216 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11237 echo "$as_me:11236: checking for $ac_header" >&5 11217 echo "$as_me:11217: checking for $ac_header" >&5
11238 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11218 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11239 if eval "test \"\${$as_ac_Header+set}\" = set"; then 11219 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11240 echo $ECHO_N "(cached) $ECHO_C" >&6 11220 echo $ECHO_N "(cached) $ECHO_C" >&6
11241 else 11221 else
11242 cat >conftest.$ac_ext <<_ACEOF 11222 cat >conftest.$ac_ext <<_ACEOF
11243 #line 11237 "configure" 11223 #line 11223 "configure"
11244 #include "confdefs.h" 11224 #include "confdefs.h"
11245 #include <$ac_header> 11225 #include <$ac_header>
11246 _ACEOF 11226 _ACEOF
11247 if { (eval echo "$as_me:11246: \"$ac_cpp conftest.$ac_ext\"") >&5 11227 if { (eval echo "$as_me:11227: \"$ac_cpp conftest.$ac_ext\"") >&5
11248 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11228 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11249 ac_status=$? 11229 ac_status=$?
11250 egrep -v '^ *\+' conftest.er1 >conftest.err 11230 egrep -v '^ *\+' conftest.er1 >conftest.err
11251 rm -f conftest.er1 11231 rm -f conftest.er1
11252 cat conftest.err >&5 11232 cat conftest.err >&5
11253 echo "$as_me:11252: \$? = $ac_status" >&5 11233 echo "$as_me:11233: \$? = $ac_status" >&5
11254 (exit $ac_status); } >/dev/null; then 11234 (exit $ac_status); } >/dev/null; then
11255 if test -s conftest.err; then 11235 if test -s conftest.err; then
11256 ac_cpp_err=$ac_c_preproc_warn_flag 11236 ac_cpp_err=$ac_c_preproc_warn_flag
11257 else 11237 else
11258 ac_cpp_err= 11238 ac_cpp_err=
11267 cat conftest.$ac_ext >&5 11247 cat conftest.$ac_ext >&5
11268 eval "$as_ac_Header=no" 11248 eval "$as_ac_Header=no"
11269 fi 11249 fi
11270 rm -f conftest.err conftest.$ac_ext 11250 rm -f conftest.err conftest.$ac_ext
11271 fi 11251 fi
11272 echo "$as_me:11271: result: `eval echo '${'$as_ac_Header'}'`" >&5 11252 echo "$as_me:11252: result: `eval echo '${'$as_ac_Header'}'`" >&5
11273 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11253 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11274 if test `eval echo '${'$as_ac_Header'}'` = yes; then 11254 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11275 cat >>confdefs.h <<EOF 11255 cat >>confdefs.h <<EOF
11276 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11256 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11277 EOF 11257 EOF
11279 else 11259 else
11280 11260
11281 for ac_header in kerberosIV/des.h 11261 for ac_header in kerberosIV/des.h
11282 do 11262 do
11283 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11263 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11284 echo "$as_me:11283: checking for $ac_header" >&5 11264 echo "$as_me:11264: checking for $ac_header" >&5
11285 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11265 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11286 if eval "test \"\${$as_ac_Header+set}\" = set"; then 11266 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11287 echo $ECHO_N "(cached) $ECHO_C" >&6 11267 echo $ECHO_N "(cached) $ECHO_C" >&6
11288 else 11268 else
11289 cat >conftest.$ac_ext <<_ACEOF 11269 cat >conftest.$ac_ext <<_ACEOF
11290 #line 11284 "configure" 11270 #line 11270 "configure"
11291 #include "confdefs.h" 11271 #include "confdefs.h"
11292 #include <$ac_header> 11272 #include <$ac_header>
11293 _ACEOF 11273 _ACEOF
11294 if { (eval echo "$as_me:11293: \"$ac_cpp conftest.$ac_ext\"") >&5 11274 if { (eval echo "$as_me:11274: \"$ac_cpp conftest.$ac_ext\"") >&5
11295 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11275 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11296 ac_status=$? 11276 ac_status=$?
11297 egrep -v '^ *\+' conftest.er1 >conftest.err 11277 egrep -v '^ *\+' conftest.er1 >conftest.err
11298 rm -f conftest.er1 11278 rm -f conftest.er1
11299 cat conftest.err >&5 11279 cat conftest.err >&5
11300 echo "$as_me:11299: \$? = $ac_status" >&5 11280 echo "$as_me:11280: \$? = $ac_status" >&5
11301 (exit $ac_status); } >/dev/null; then 11281 (exit $ac_status); } >/dev/null; then
11302 if test -s conftest.err; then 11282 if test -s conftest.err; then
11303 ac_cpp_err=$ac_c_preproc_warn_flag 11283 ac_cpp_err=$ac_c_preproc_warn_flag
11304 else 11284 else
11305 ac_cpp_err= 11285 ac_cpp_err=
11314 cat conftest.$ac_ext >&5 11294 cat conftest.$ac_ext >&5
11315 eval "$as_ac_Header=no" 11295 eval "$as_ac_Header=no"
11316 fi 11296 fi
11317 rm -f conftest.err conftest.$ac_ext 11297 rm -f conftest.err conftest.$ac_ext
11318 fi 11298 fi
11319 echo "$as_me:11318: result: `eval echo '${'$as_ac_Header'}'`" >&5 11299 echo "$as_me:11299: result: `eval echo '${'$as_ac_Header'}'`" >&5
11320 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11300 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11321 if test `eval echo '${'$as_ac_Header'}'` = yes; then 11301 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11322 cat >>confdefs.h <<EOF 11302 cat >>confdefs.h <<EOF
11323 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11303 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11324 EOF 11304 EOF
11326 else 11306 else
11327 11307
11328 for ac_header in kerberos/des.h 11308 for ac_header in kerberos/des.h
11329 do 11309 do
11330 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11310 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11331 echo "$as_me:11330: checking for $ac_header" >&5 11311 echo "$as_me:11311: checking for $ac_header" >&5
11332 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11312 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11333 if eval "test \"\${$as_ac_Header+set}\" = set"; then 11313 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11334 echo $ECHO_N "(cached) $ECHO_C" >&6 11314 echo $ECHO_N "(cached) $ECHO_C" >&6
11335 else 11315 else
11336 cat >conftest.$ac_ext <<_ACEOF 11316 cat >conftest.$ac_ext <<_ACEOF
11337 #line 11331 "configure" 11317 #line 11317 "configure"
11338 #include "confdefs.h" 11318 #include "confdefs.h"
11339 #include <$ac_header> 11319 #include <$ac_header>
11340 _ACEOF 11320 _ACEOF
11341 if { (eval echo "$as_me:11340: \"$ac_cpp conftest.$ac_ext\"") >&5 11321 if { (eval echo "$as_me:11321: \"$ac_cpp conftest.$ac_ext\"") >&5
11342 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11322 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11343 ac_status=$? 11323 ac_status=$?
11344 egrep -v '^ *\+' conftest.er1 >conftest.err 11324 egrep -v '^ *\+' conftest.er1 >conftest.err
11345 rm -f conftest.er1 11325 rm -f conftest.er1
11346 cat conftest.err >&5 11326 cat conftest.err >&5
11347 echo "$as_me:11346: \$? = $ac_status" >&5 11327 echo "$as_me:11327: \$? = $ac_status" >&5
11348 (exit $ac_status); } >/dev/null; then 11328 (exit $ac_status); } >/dev/null; then
11349 if test -s conftest.err; then 11329 if test -s conftest.err; then
11350 ac_cpp_err=$ac_c_preproc_warn_flag 11330 ac_cpp_err=$ac_c_preproc_warn_flag
11351 else 11331 else
11352 ac_cpp_err= 11332 ac_cpp_err=
11361 cat conftest.$ac_ext >&5 11341 cat conftest.$ac_ext >&5
11362 eval "$as_ac_Header=no" 11342 eval "$as_ac_Header=no"
11363 fi 11343 fi
11364 rm -f conftest.err conftest.$ac_ext 11344 rm -f conftest.err conftest.$ac_ext
11365 fi 11345 fi
11366 echo "$as_me:11365: result: `eval echo '${'$as_ac_Header'}'`" >&5 11346 echo "$as_me:11346: result: `eval echo '${'$as_ac_Header'}'`" >&5
11367 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11347 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11368 if test `eval echo '${'$as_ac_Header'}'` = yes; then 11348 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11369 cat >>confdefs.h <<EOF 11349 cat >>confdefs.h <<EOF
11370 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11350 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11371 EOF 11351 EOF
11380 done 11360 done
11381 11361
11382 for ac_header in krb.h 11362 for ac_header in krb.h
11383 do 11363 do
11384 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11364 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11385 echo "$as_me:11384: checking for $ac_header" >&5 11365 echo "$as_me:11365: checking for $ac_header" >&5
11386 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11366 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11387 if eval "test \"\${$as_ac_Header+set}\" = set"; then 11367 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11388 echo $ECHO_N "(cached) $ECHO_C" >&6 11368 echo $ECHO_N "(cached) $ECHO_C" >&6
11389 else 11369 else
11390 cat >conftest.$ac_ext <<_ACEOF 11370 cat >conftest.$ac_ext <<_ACEOF
11391 #line 11385 "configure" 11371 #line 11371 "configure"
11392 #include "confdefs.h" 11372 #include "confdefs.h"
11393 #include <$ac_header> 11373 #include <$ac_header>
11394 _ACEOF 11374 _ACEOF
11395 if { (eval echo "$as_me:11394: \"$ac_cpp conftest.$ac_ext\"") >&5 11375 if { (eval echo "$as_me:11375: \"$ac_cpp conftest.$ac_ext\"") >&5
11396 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11376 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11397 ac_status=$? 11377 ac_status=$?
11398 egrep -v '^ *\+' conftest.er1 >conftest.err 11378 egrep -v '^ *\+' conftest.er1 >conftest.err
11399 rm -f conftest.er1 11379 rm -f conftest.er1
11400 cat conftest.err >&5 11380 cat conftest.err >&5
11401 echo "$as_me:11400: \$? = $ac_status" >&5 11381 echo "$as_me:11381: \$? = $ac_status" >&5
11402 (exit $ac_status); } >/dev/null; then 11382 (exit $ac_status); } >/dev/null; then
11403 if test -s conftest.err; then 11383 if test -s conftest.err; then
11404 ac_cpp_err=$ac_c_preproc_warn_flag 11384 ac_cpp_err=$ac_c_preproc_warn_flag
11405 else 11385 else
11406 ac_cpp_err= 11386 ac_cpp_err=
11415 cat conftest.$ac_ext >&5 11395 cat conftest.$ac_ext >&5
11416 eval "$as_ac_Header=no" 11396 eval "$as_ac_Header=no"
11417 fi 11397 fi
11418 rm -f conftest.err conftest.$ac_ext 11398 rm -f conftest.err conftest.$ac_ext
11419 fi 11399 fi
11420 echo "$as_me:11419: result: `eval echo '${'$as_ac_Header'}'`" >&5 11400 echo "$as_me:11400: result: `eval echo '${'$as_ac_Header'}'`" >&5
11421 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11401 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11422 if test `eval echo '${'$as_ac_Header'}'` = yes; then 11402 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11423 cat >>confdefs.h <<EOF 11403 cat >>confdefs.h <<EOF
11424 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11404 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11425 EOF 11405 EOF
11427 else 11407 else
11428 11408
11429 for ac_header in kerberosIV/krb.h 11409 for ac_header in kerberosIV/krb.h
11430 do 11410 do
11431 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11411 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11432 echo "$as_me:11431: checking for $ac_header" >&5 11412 echo "$as_me:11412: checking for $ac_header" >&5
11433 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11413 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11434 if eval "test \"\${$as_ac_Header+set}\" = set"; then 11414 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11435 echo $ECHO_N "(cached) $ECHO_C" >&6 11415 echo $ECHO_N "(cached) $ECHO_C" >&6
11436 else 11416 else
11437 cat >conftest.$ac_ext <<_ACEOF 11417 cat >conftest.$ac_ext <<_ACEOF
11438 #line 11432 "configure" 11418 #line 11418 "configure"
11439 #include "confdefs.h" 11419 #include "confdefs.h"
11440 #include <$ac_header> 11420 #include <$ac_header>
11441 _ACEOF 11421 _ACEOF
11442 if { (eval echo "$as_me:11441: \"$ac_cpp conftest.$ac_ext\"") >&5 11422 if { (eval echo "$as_me:11422: \"$ac_cpp conftest.$ac_ext\"") >&5
11443 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11423 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11444 ac_status=$? 11424 ac_status=$?
11445 egrep -v '^ *\+' conftest.er1 >conftest.err 11425 egrep -v '^ *\+' conftest.er1 >conftest.err
11446 rm -f conftest.er1 11426 rm -f conftest.er1
11447 cat conftest.err >&5 11427 cat conftest.err >&5
11448 echo "$as_me:11447: \$? = $ac_status" >&5 11428 echo "$as_me:11428: \$? = $ac_status" >&5
11449 (exit $ac_status); } >/dev/null; then 11429 (exit $ac_status); } >/dev/null; then
11450 if test -s conftest.err; then 11430 if test -s conftest.err; then
11451 ac_cpp_err=$ac_c_preproc_warn_flag 11431 ac_cpp_err=$ac_c_preproc_warn_flag
11452 else 11432 else
11453 ac_cpp_err= 11433 ac_cpp_err=
11462 cat conftest.$ac_ext >&5 11442 cat conftest.$ac_ext >&5
11463 eval "$as_ac_Header=no" 11443 eval "$as_ac_Header=no"
11464 fi 11444 fi
11465 rm -f conftest.err conftest.$ac_ext 11445 rm -f conftest.err conftest.$ac_ext
11466 fi 11446 fi
11467 echo "$as_me:11466: result: `eval echo '${'$as_ac_Header'}'`" >&5 11447 echo "$as_me:11447: result: `eval echo '${'$as_ac_Header'}'`" >&5
11468 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11448 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11469 if test `eval echo '${'$as_ac_Header'}'` = yes; then 11449 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11470 cat >>confdefs.h <<EOF 11450 cat >>confdefs.h <<EOF
11471 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11451 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11472 EOF 11452 EOF
11474 else 11454 else
11475 11455
11476 for ac_header in kerberos/krb.h 11456 for ac_header in kerberos/krb.h
11477 do 11457 do
11478 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11458 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11479 echo "$as_me:11478: checking for $ac_header" >&5 11459 echo "$as_me:11459: checking for $ac_header" >&5
11480 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11460 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11481 if eval "test \"\${$as_ac_Header+set}\" = set"; then 11461 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11482 echo $ECHO_N "(cached) $ECHO_C" >&6 11462 echo $ECHO_N "(cached) $ECHO_C" >&6
11483 else 11463 else
11484 cat >conftest.$ac_ext <<_ACEOF 11464 cat >conftest.$ac_ext <<_ACEOF
11485 #line 11479 "configure" 11465 #line 11465 "configure"
11486 #include "confdefs.h" 11466 #include "confdefs.h"
11487 #include <$ac_header> 11467 #include <$ac_header>
11488 _ACEOF 11468 _ACEOF
11489 if { (eval echo "$as_me:11488: \"$ac_cpp conftest.$ac_ext\"") >&5 11469 if { (eval echo "$as_me:11469: \"$ac_cpp conftest.$ac_ext\"") >&5
11490 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11470 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11491 ac_status=$? 11471 ac_status=$?
11492 egrep -v '^ *\+' conftest.er1 >conftest.err 11472 egrep -v '^ *\+' conftest.er1 >conftest.err
11493 rm -f conftest.er1 11473 rm -f conftest.er1
11494 cat conftest.err >&5 11474 cat conftest.err >&5
11495 echo "$as_me:11494: \$? = $ac_status" >&5 11475 echo "$as_me:11475: \$? = $ac_status" >&5
11496 (exit $ac_status); } >/dev/null; then 11476 (exit $ac_status); } >/dev/null; then
11497 if test -s conftest.err; then 11477 if test -s conftest.err; then
11498 ac_cpp_err=$ac_c_preproc_warn_flag 11478 ac_cpp_err=$ac_c_preproc_warn_flag
11499 else 11479 else
11500 ac_cpp_err= 11480 ac_cpp_err=
11509 cat conftest.$ac_ext >&5 11489 cat conftest.$ac_ext >&5
11510 eval "$as_ac_Header=no" 11490 eval "$as_ac_Header=no"
11511 fi 11491 fi
11512 rm -f conftest.err conftest.$ac_ext 11492 rm -f conftest.err conftest.$ac_ext
11513 fi 11493 fi
11514 echo "$as_me:11513: result: `eval echo '${'$as_ac_Header'}'`" >&5 11494 echo "$as_me:11494: result: `eval echo '${'$as_ac_Header'}'`" >&5
11515 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11495 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11516 if test `eval echo '${'$as_ac_Header'}'` = yes; then 11496 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11517 cat >>confdefs.h <<EOF 11497 cat >>confdefs.h <<EOF
11518 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11498 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11519 EOF 11499 EOF
11530 fi 11510 fi
11531 11511
11532 for ac_header in com_err.h 11512 for ac_header in com_err.h
11533 do 11513 do
11534 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11514 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11535 echo "$as_me:11534: checking for $ac_header" >&5 11515 echo "$as_me:11515: checking for $ac_header" >&5
11536 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11516 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11537 if eval "test \"\${$as_ac_Header+set}\" = set"; then 11517 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11538 echo $ECHO_N "(cached) $ECHO_C" >&6 11518 echo $ECHO_N "(cached) $ECHO_C" >&6
11539 else 11519 else
11540 cat >conftest.$ac_ext <<_ACEOF 11520 cat >conftest.$ac_ext <<_ACEOF
11541 #line 11535 "configure" 11521 #line 11521 "configure"
11542 #include "confdefs.h" 11522 #include "confdefs.h"
11543 #include <$ac_header> 11523 #include <$ac_header>
11544 _ACEOF 11524 _ACEOF
11545 if { (eval echo "$as_me:11544: \"$ac_cpp conftest.$ac_ext\"") >&5 11525 if { (eval echo "$as_me:11525: \"$ac_cpp conftest.$ac_ext\"") >&5
11546 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11526 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11547 ac_status=$? 11527 ac_status=$?
11548 egrep -v '^ *\+' conftest.er1 >conftest.err 11528 egrep -v '^ *\+' conftest.er1 >conftest.err
11549 rm -f conftest.er1 11529 rm -f conftest.er1
11550 cat conftest.err >&5 11530 cat conftest.err >&5
11551 echo "$as_me:11550: \$? = $ac_status" >&5 11531 echo "$as_me:11531: \$? = $ac_status" >&5
11552 (exit $ac_status); } >/dev/null; then 11532 (exit $ac_status); } >/dev/null; then
11553 if test -s conftest.err; then 11533 if test -s conftest.err; then
11554 ac_cpp_err=$ac_c_preproc_warn_flag 11534 ac_cpp_err=$ac_c_preproc_warn_flag
11555 else 11535 else
11556 ac_cpp_err= 11536 ac_cpp_err=
11565 cat conftest.$ac_ext >&5 11545 cat conftest.$ac_ext >&5
11566 eval "$as_ac_Header=no" 11546 eval "$as_ac_Header=no"
11567 fi 11547 fi
11568 rm -f conftest.err conftest.$ac_ext 11548 rm -f conftest.err conftest.$ac_ext
11569 fi 11549 fi
11570 echo "$as_me:11569: result: `eval echo '${'$as_ac_Header'}'`" >&5 11550 echo "$as_me:11550: result: `eval echo '${'$as_ac_Header'}'`" >&5
11571 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11551 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11572 if test `eval echo '${'$as_ac_Header'}'` = yes; then 11552 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11573 cat >>confdefs.h <<EOF 11553 cat >>confdefs.h <<EOF
11574 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11554 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11575 EOF 11555 EOF
11580 fi 11560 fi
11581 11561
11582 # Solaris requires -lintl if you want strerror (which calls dgettext) 11562 # Solaris requires -lintl if you want strerror (which calls dgettext)
11583 # to return localized messages. 11563 # to return localized messages.
11584 11564
11585 echo "$as_me:11584: checking for dgettext in -lintl" >&5 11565 echo "$as_me:11565: checking for dgettext in -lintl" >&5
11586 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6 11566 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6
11587 if test "${ac_cv_lib_intl_dgettext+set}" = set; then 11567 if test "${ac_cv_lib_intl_dgettext+set}" = set; then
11588 echo $ECHO_N "(cached) $ECHO_C" >&6 11568 echo $ECHO_N "(cached) $ECHO_C" >&6
11589 else 11569 else
11590 ac_check_lib_save_LIBS=$LIBS 11570 ac_check_lib_save_LIBS=$LIBS
11591 LIBS="-lintl $LIBS" 11571 LIBS="-lintl $LIBS"
11592 cat >conftest.$ac_ext <<_ACEOF 11572 cat >conftest.$ac_ext <<_ACEOF
11593 #line 11587 "configure" 11573 #line 11573 "configure"
11594 #include "confdefs.h" 11574 #include "confdefs.h"
11595 11575
11596 /* Override any gcc2 internal prototype to avoid an error. */ 11576 /* Override any gcc2 internal prototype to avoid an error. */
11597 #ifdef __cplusplus 11577 #ifdef __cplusplus
11598 extern "C" 11578 extern "C"
11607 ; 11587 ;
11608 return 0; 11588 return 0;
11609 } 11589 }
11610 _ACEOF 11590 _ACEOF
11611 rm -f conftest.$ac_objext conftest$ac_exeext 11591 rm -f conftest.$ac_objext conftest$ac_exeext
11612 if { (eval echo "$as_me:11611: \"$ac_link\"") >&5 11592 if { (eval echo "$as_me:11592: \"$ac_link\"") >&5
11613 (eval $ac_link) 2>&5 11593 (eval $ac_link) 2>&5
11614 ac_status=$? 11594 ac_status=$?
11615 echo "$as_me:11614: \$? = $ac_status" >&5 11595 echo "$as_me:11595: \$? = $ac_status" >&5
11616 (exit $ac_status); } && 11596 (exit $ac_status); } &&
11617 { ac_try='test -s conftest$ac_exeext' 11597 { ac_try='test -s conftest$ac_exeext'
11618 { (eval echo "$as_me:11617: \"$ac_try\"") >&5 11598 { (eval echo "$as_me:11598: \"$ac_try\"") >&5
11619 (eval $ac_try) 2>&5 11599 (eval $ac_try) 2>&5
11620 ac_status=$? 11600 ac_status=$?
11621 echo "$as_me:11620: \$? = $ac_status" >&5 11601 echo "$as_me:11601: \$? = $ac_status" >&5
11622 (exit $ac_status); }; }; then 11602 (exit $ac_status); }; }; then
11623 ac_cv_lib_intl_dgettext=yes 11603 ac_cv_lib_intl_dgettext=yes
11624 else 11604 else
11625 echo "$as_me: failed program was:" >&5 11605 echo "$as_me: failed program was:" >&5
11626 cat conftest.$ac_ext >&5 11606 cat conftest.$ac_ext >&5
11627 ac_cv_lib_intl_dgettext=no 11607 ac_cv_lib_intl_dgettext=no
11628 fi 11608 fi
11629 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11609 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11630 LIBS=$ac_check_lib_save_LIBS 11610 LIBS=$ac_check_lib_save_LIBS
11631 fi 11611 fi
11632 echo "$as_me:11631: result: $ac_cv_lib_intl_dgettext" >&5 11612 echo "$as_me:11612: result: $ac_cv_lib_intl_dgettext" >&5
11633 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6 11613 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6
11634 if test $ac_cv_lib_intl_dgettext = yes; then 11614 if test $ac_cv_lib_intl_dgettext = yes; then
11635 cat >>confdefs.h <<EOF 11615 cat >>confdefs.h <<EOF
11636 #define HAVE_LIBINTL 1 11616 #define HAVE_LIBINTL 1
11637 EOF 11617 EOF
11638 11618
11639 LIBS="-lintl $LIBS" 11619 LIBS="-lintl $LIBS"
11640 11620
11641 fi 11621 fi
11642 11622
11643 echo "$as_me:11642: checking whether localtime caches TZ" >&5 11623 echo "$as_me:11623: checking whether localtime caches TZ" >&5
11644 echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6 11624 echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6
11645 if test "${emacs_cv_localtime_cache+set}" = set; then 11625 if test "${emacs_cv_localtime_cache+set}" = set; then
11646 echo $ECHO_N "(cached) $ECHO_C" >&6 11626 echo $ECHO_N "(cached) $ECHO_C" >&6
11647 else 11627 else
11648 if test x$ac_cv_func_tzset = xyes; then 11628 if test x$ac_cv_func_tzset = xyes; then
11649 if test "$cross_compiling" = yes; then 11629 if test "$cross_compiling" = yes; then
11650 # If we have tzset, assume the worst when cross-compiling. 11630 # If we have tzset, assume the worst when cross-compiling.
11651 emacs_cv_localtime_cache=yes 11631 emacs_cv_localtime_cache=yes
11652 else 11632 else
11653 cat >conftest.$ac_ext <<_ACEOF 11633 cat >conftest.$ac_ext <<_ACEOF
11654 #line 11648 "configure" 11634 #line 11634 "configure"
11655 #include "confdefs.h" 11635 #include "confdefs.h"
11656 #include <time.h> 11636 #include <time.h>
11657 extern char **environ; 11637 extern char **environ;
11658 unset_TZ () 11638 unset_TZ ()
11659 { 11639 {
11682 exit (1); 11662 exit (1);
11683 exit (0); 11663 exit (0);
11684 } 11664 }
11685 _ACEOF 11665 _ACEOF
11686 rm -f conftest$ac_exeext 11666 rm -f conftest$ac_exeext
11687 if { (eval echo "$as_me:11686: \"$ac_link\"") >&5 11667 if { (eval echo "$as_me:11667: \"$ac_link\"") >&5
11688 (eval $ac_link) 2>&5 11668 (eval $ac_link) 2>&5
11689 ac_status=$? 11669 ac_status=$?
11690 echo "$as_me:11689: \$? = $ac_status" >&5 11670 echo "$as_me:11670: \$? = $ac_status" >&5
11691 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 11671 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11692 { (eval echo "$as_me:11691: \"$ac_try\"") >&5 11672 { (eval echo "$as_me:11672: \"$ac_try\"") >&5
11693 (eval $ac_try) 2>&5 11673 (eval $ac_try) 2>&5
11694 ac_status=$? 11674 ac_status=$?
11695 echo "$as_me:11694: \$? = $ac_status" >&5 11675 echo "$as_me:11675: \$? = $ac_status" >&5
11696 (exit $ac_status); }; }; then 11676 (exit $ac_status); }; }; then
11697 emacs_cv_localtime_cache=no 11677 emacs_cv_localtime_cache=no
11698 else 11678 else
11699 echo "$as_me: program exited with status $ac_status" >&5 11679 echo "$as_me: program exited with status $ac_status" >&5
11700 echo "$as_me: failed program was:" >&5 11680 echo "$as_me: failed program was:" >&5
11707 # If we lack tzset, report that localtime does not cache TZ, 11687 # If we lack tzset, report that localtime does not cache TZ,
11708 # since we can't invalidate the cache if we don't have tzset. 11688 # since we can't invalidate the cache if we don't have tzset.
11709 emacs_cv_localtime_cache=no 11689 emacs_cv_localtime_cache=no
11710 fi 11690 fi
11711 fi 11691 fi
11712 echo "$as_me:11711: result: $emacs_cv_localtime_cache" >&5 11692 echo "$as_me:11692: result: $emacs_cv_localtime_cache" >&5
11713 echo "${ECHO_T}$emacs_cv_localtime_cache" >&6 11693 echo "${ECHO_T}$emacs_cv_localtime_cache" >&6
11714 if test $emacs_cv_localtime_cache = yes; then 11694 if test $emacs_cv_localtime_cache = yes; then
11715 11695
11716 cat >>confdefs.h <<\EOF 11696 cat >>confdefs.h <<\EOF
11717 #define LOCALTIME_CACHE 1 11697 #define LOCALTIME_CACHE 1
11722 if test "x$HAVE_TIMEVAL" = xyes; then 11702 if test "x$HAVE_TIMEVAL" = xyes; then
11723 11703
11724 for ac_func in gettimeofday 11704 for ac_func in gettimeofday
11725 do 11705 do
11726 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 11706 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11727 echo "$as_me:11726: checking for $ac_func" >&5 11707 echo "$as_me:11707: checking for $ac_func" >&5
11728 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 11708 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11729 if eval "test \"\${$as_ac_var+set}\" = set"; then 11709 if eval "test \"\${$as_ac_var+set}\" = set"; then
11730 echo $ECHO_N "(cached) $ECHO_C" >&6 11710 echo $ECHO_N "(cached) $ECHO_C" >&6
11731 else 11711 else
11732 cat >conftest.$ac_ext <<_ACEOF 11712 cat >conftest.$ac_ext <<_ACEOF
11733 #line 11727 "configure" 11713 #line 11713 "configure"
11734 #include "confdefs.h" 11714 #include "confdefs.h"
11735 /* System header to define __stub macros and hopefully few prototypes, 11715 /* System header to define __stub macros and hopefully few prototypes,
11736 which can conflict with char $ac_func (); below. */ 11716 which can conflict with char $ac_func (); below. */
11737 #include <assert.h> 11717 #include <assert.h>
11738 /* Override any gcc2 internal prototype to avoid an error. */ 11718 /* Override any gcc2 internal prototype to avoid an error. */
11759 ; 11739 ;
11760 return 0; 11740 return 0;
11761 } 11741 }
11762 _ACEOF 11742 _ACEOF
11763 rm -f conftest.$ac_objext conftest$ac_exeext 11743 rm -f conftest.$ac_objext conftest$ac_exeext
11764 if { (eval echo "$as_me:11763: \"$ac_link\"") >&5 11744 if { (eval echo "$as_me:11744: \"$ac_link\"") >&5
11765 (eval $ac_link) 2>&5 11745 (eval $ac_link) 2>&5
11766 ac_status=$? 11746 ac_status=$?
11767 echo "$as_me:11766: \$? = $ac_status" >&5 11747 echo "$as_me:11747: \$? = $ac_status" >&5
11768 (exit $ac_status); } && 11748 (exit $ac_status); } &&
11769 { ac_try='test -s conftest$ac_exeext' 11749 { ac_try='test -s conftest$ac_exeext'
11770 { (eval echo "$as_me:11769: \"$ac_try\"") >&5 11750 { (eval echo "$as_me:11750: \"$ac_try\"") >&5
11771 (eval $ac_try) 2>&5 11751 (eval $ac_try) 2>&5
11772 ac_status=$? 11752 ac_status=$?
11773 echo "$as_me:11772: \$? = $ac_status" >&5 11753 echo "$as_me:11753: \$? = $ac_status" >&5
11774 (exit $ac_status); }; }; then 11754 (exit $ac_status); }; }; then
11775 eval "$as_ac_var=yes" 11755 eval "$as_ac_var=yes"
11776 else 11756 else
11777 echo "$as_me: failed program was:" >&5 11757 echo "$as_me: failed program was:" >&5
11778 cat conftest.$ac_ext >&5 11758 cat conftest.$ac_ext >&5
11779 eval "$as_ac_var=no" 11759 eval "$as_ac_var=no"
11780 fi 11760 fi
11781 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11761 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11782 fi 11762 fi
11783 echo "$as_me:11782: result: `eval echo '${'$as_ac_var'}'`" >&5 11763 echo "$as_me:11763: result: `eval echo '${'$as_ac_var'}'`" >&5
11784 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 11764 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11785 if test `eval echo '${'$as_ac_var'}'` = yes; then 11765 if test `eval echo '${'$as_ac_var'}'` = yes; then
11786 cat >>confdefs.h <<EOF 11766 cat >>confdefs.h <<EOF
11787 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 11767 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11788 EOF 11768 EOF
11789 11769
11790 fi 11770 fi
11791 done 11771 done
11792 11772
11793 if test $ac_cv_func_gettimeofday = yes; then 11773 if test $ac_cv_func_gettimeofday = yes; then
11794 echo "$as_me:11793: checking whether gettimeofday can accept two arguments" >&5 11774 echo "$as_me:11774: checking whether gettimeofday can accept two arguments" >&5
11795 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6 11775 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6
11796 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then 11776 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
11797 echo $ECHO_N "(cached) $ECHO_C" >&6 11777 echo $ECHO_N "(cached) $ECHO_C" >&6
11798 else 11778 else
11799 cat >conftest.$ac_ext <<_ACEOF 11779 cat >conftest.$ac_ext <<_ACEOF
11800 #line 11794 "configure" 11780 #line 11780 "configure"
11801 #include "confdefs.h" 11781 #include "confdefs.h"
11802 11782
11803 #ifdef TIME_WITH_SYS_TIME 11783 #ifdef TIME_WITH_SYS_TIME
11804 #include <sys/time.h> 11784 #include <sys/time.h>
11805 #include <time.h> 11785 #include <time.h>
11818 ; 11798 ;
11819 return 0; 11799 return 0;
11820 } 11800 }
11821 _ACEOF 11801 _ACEOF
11822 rm -f conftest.$ac_objext 11802 rm -f conftest.$ac_objext
11823 if { (eval echo "$as_me:11822: \"$ac_compile\"") >&5 11803 if { (eval echo "$as_me:11803: \"$ac_compile\"") >&5
11824 (eval $ac_compile) 2>&5 11804 (eval $ac_compile) 2>&5
11825 ac_status=$? 11805 ac_status=$?
11826 echo "$as_me:11825: \$? = $ac_status" >&5 11806 echo "$as_me:11806: \$? = $ac_status" >&5
11827 (exit $ac_status); } && 11807 (exit $ac_status); } &&
11828 { ac_try='test -s conftest.$ac_objext' 11808 { ac_try='test -s conftest.$ac_objext'
11829 { (eval echo "$as_me:11828: \"$ac_try\"") >&5 11809 { (eval echo "$as_me:11809: \"$ac_try\"") >&5
11830 (eval $ac_try) 2>&5 11810 (eval $ac_try) 2>&5
11831 ac_status=$? 11811 ac_status=$?
11832 echo "$as_me:11831: \$? = $ac_status" >&5 11812 echo "$as_me:11812: \$? = $ac_status" >&5
11833 (exit $ac_status); }; }; then 11813 (exit $ac_status); }; }; then
11834 emacs_cv_gettimeofday_two_arguments=yes 11814 emacs_cv_gettimeofday_two_arguments=yes
11835 else 11815 else
11836 echo "$as_me: failed program was:" >&5 11816 echo "$as_me: failed program was:" >&5
11837 cat conftest.$ac_ext >&5 11817 cat conftest.$ac_ext >&5
11838 emacs_cv_gettimeofday_two_arguments=no 11818 emacs_cv_gettimeofday_two_arguments=no
11839 fi 11819 fi
11840 rm -f conftest.$ac_objext conftest.$ac_ext 11820 rm -f conftest.$ac_objext conftest.$ac_ext
11841 fi 11821 fi
11842 echo "$as_me:11841: result: $emacs_cv_gettimeofday_two_arguments" >&5 11822 echo "$as_me:11822: result: $emacs_cv_gettimeofday_two_arguments" >&5
11843 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6 11823 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
11844 if test $emacs_cv_gettimeofday_two_arguments = no; then 11824 if test $emacs_cv_gettimeofday_two_arguments = no; then
11845 11825
11846 cat >>confdefs.h <<\EOF 11826 cat >>confdefs.h <<\EOF
11847 #define GETTIMEOFDAY_ONE_ARGUMENT 1 11827 #define GETTIMEOFDAY_ONE_ARGUMENT 1
11850 fi 11830 fi
11851 fi 11831 fi
11852 fi 11832 fi
11853 11833
11854 if test "$ac_cv_func_gettimeofday" = yes; then 11834 if test "$ac_cv_func_gettimeofday" = yes; then
11855 echo "$as_me:11854: checking for struct timezone" >&5 11835 echo "$as_me:11835: checking for struct timezone" >&5
11856 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6 11836 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
11857 if test "${emacs_cv_struct_timezone+set}" = set; then 11837 if test "${emacs_cv_struct_timezone+set}" = set; then
11858 echo $ECHO_N "(cached) $ECHO_C" >&6 11838 echo $ECHO_N "(cached) $ECHO_C" >&6
11859 else 11839 else
11860 cat >conftest.$ac_ext <<_ACEOF 11840 cat >conftest.$ac_ext <<_ACEOF
11861 #line 11855 "configure" 11841 #line 11841 "configure"
11862 #include "confdefs.h" 11842 #include "confdefs.h"
11863 #include <sys/time.h> 11843 #include <sys/time.h>
11864 int 11844 int
11865 main () 11845 main ()
11866 { 11846 {
11868 ; 11848 ;
11869 return 0; 11849 return 0;
11870 } 11850 }
11871 _ACEOF 11851 _ACEOF
11872 rm -f conftest.$ac_objext 11852 rm -f conftest.$ac_objext
11873 if { (eval echo "$as_me:11872: \"$ac_compile\"") >&5 11853 if { (eval echo "$as_me:11853: \"$ac_compile\"") >&5
11874 (eval $ac_compile) 2>&5 11854 (eval $ac_compile) 2>&5
11875 ac_status=$? 11855 ac_status=$?
11876 echo "$as_me:11875: \$? = $ac_status" >&5 11856 echo "$as_me:11856: \$? = $ac_status" >&5
11877 (exit $ac_status); } && 11857 (exit $ac_status); } &&
11878 { ac_try='test -s conftest.$ac_objext' 11858 { ac_try='test -s conftest.$ac_objext'
11879 { (eval echo "$as_me:11878: \"$ac_try\"") >&5 11859 { (eval echo "$as_me:11859: \"$ac_try\"") >&5
11880 (eval $ac_try) 2>&5 11860 (eval $ac_try) 2>&5
11881 ac_status=$? 11861 ac_status=$?
11882 echo "$as_me:11881: \$? = $ac_status" >&5 11862 echo "$as_me:11862: \$? = $ac_status" >&5
11883 (exit $ac_status); }; }; then 11863 (exit $ac_status); }; }; then
11884 if test "$cross_compiling" = yes; then 11864 if test "$cross_compiling" = yes; then
11885 emacs_cv_struct_timezone=yes 11865 emacs_cv_struct_timezone=yes
11886 else 11866 else
11887 cat >conftest.$ac_ext <<_ACEOF 11867 cat >conftest.$ac_ext <<_ACEOF
11888 #line 11882 "configure" 11868 #line 11868 "configure"
11889 #include "confdefs.h" 11869 #include "confdefs.h"
11890 11870
11891 #ifdef TIME_WITH_SYS_TIME 11871 #ifdef TIME_WITH_SYS_TIME
11892 #include <sys/time.h> 11872 #include <sys/time.h>
11893 #include <time.h> 11873 #include <time.h>
11903 struct timezone dummy; 11883 struct timezone dummy;
11904 exit (gettimeofday (&time, &dummy)); 11884 exit (gettimeofday (&time, &dummy));
11905 } 11885 }
11906 _ACEOF 11886 _ACEOF
11907 rm -f conftest$ac_exeext 11887 rm -f conftest$ac_exeext
11908 if { (eval echo "$as_me:11907: \"$ac_link\"") >&5 11888 if { (eval echo "$as_me:11888: \"$ac_link\"") >&5
11909 (eval $ac_link) 2>&5 11889 (eval $ac_link) 2>&5
11910 ac_status=$? 11890 ac_status=$?
11911 echo "$as_me:11910: \$? = $ac_status" >&5 11891 echo "$as_me:11891: \$? = $ac_status" >&5
11912 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 11892 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11913 { (eval echo "$as_me:11912: \"$ac_try\"") >&5 11893 { (eval echo "$as_me:11893: \"$ac_try\"") >&5
11914 (eval $ac_try) 2>&5 11894 (eval $ac_try) 2>&5
11915 ac_status=$? 11895 ac_status=$?
11916 echo "$as_me:11915: \$? = $ac_status" >&5 11896 echo "$as_me:11896: \$? = $ac_status" >&5
11917 (exit $ac_status); }; }; then 11897 (exit $ac_status); }; }; then
11918 emacs_cv_struct_timezone=yes 11898 emacs_cv_struct_timezone=yes
11919 else 11899 else
11920 echo "$as_me: program exited with status $ac_status" >&5 11900 echo "$as_me: program exited with status $ac_status" >&5
11921 echo "$as_me: failed program was:" >&5 11901 echo "$as_me: failed program was:" >&5
11929 cat conftest.$ac_ext >&5 11909 cat conftest.$ac_ext >&5
11930 emacs_cv_struct_timezone=no 11910 emacs_cv_struct_timezone=no
11931 fi 11911 fi
11932 rm -f conftest.$ac_objext conftest.$ac_ext 11912 rm -f conftest.$ac_objext conftest.$ac_ext
11933 fi 11913 fi
11934 echo "$as_me:11933: result: $emacs_cv_struct_timezone" >&5 11914 echo "$as_me:11914: result: $emacs_cv_struct_timezone" >&5
11935 echo "${ECHO_T}$emacs_cv_struct_timezone" >&6 11915 echo "${ECHO_T}$emacs_cv_struct_timezone" >&6
11936 fi 11916 fi
11937 11917
11938 ok_so_far=yes 11918 ok_so_far=yes
11939 echo "$as_me:11938: checking for socket" >&5 11919 echo "$as_me:11919: checking for socket" >&5
11940 echo $ECHO_N "checking for socket... $ECHO_C" >&6 11920 echo $ECHO_N "checking for socket... $ECHO_C" >&6
11941 if test "${ac_cv_func_socket+set}" = set; then 11921 if test "${ac_cv_func_socket+set}" = set; then
11942 echo $ECHO_N "(cached) $ECHO_C" >&6 11922 echo $ECHO_N "(cached) $ECHO_C" >&6
11943 else 11923 else
11944 cat >conftest.$ac_ext <<_ACEOF 11924 cat >conftest.$ac_ext <<_ACEOF
11945 #line 11939 "configure" 11925 #line 11925 "configure"
11946 #include "confdefs.h" 11926 #include "confdefs.h"
11947 /* System header to define __stub macros and hopefully few prototypes, 11927 /* System header to define __stub macros and hopefully few prototypes,
11948 which can conflict with char socket (); below. */ 11928 which can conflict with char socket (); below. */
11949 #include <assert.h> 11929 #include <assert.h>
11950 /* Override any gcc2 internal prototype to avoid an error. */ 11930 /* Override any gcc2 internal prototype to avoid an error. */
11971 ; 11951 ;
11972 return 0; 11952 return 0;
11973 } 11953 }
11974 _ACEOF 11954 _ACEOF
11975 rm -f conftest.$ac_objext conftest$ac_exeext 11955 rm -f conftest.$ac_objext conftest$ac_exeext
11976 if { (eval echo "$as_me:11975: \"$ac_link\"") >&5 11956 if { (eval echo "$as_me:11956: \"$ac_link\"") >&5
11977 (eval $ac_link) 2>&5 11957 (eval $ac_link) 2>&5
11978 ac_status=$? 11958 ac_status=$?
11979 echo "$as_me:11978: \$? = $ac_status" >&5 11959 echo "$as_me:11959: \$? = $ac_status" >&5
11980 (exit $ac_status); } && 11960 (exit $ac_status); } &&
11981 { ac_try='test -s conftest$ac_exeext' 11961 { ac_try='test -s conftest$ac_exeext'
11982 { (eval echo "$as_me:11981: \"$ac_try\"") >&5 11962 { (eval echo "$as_me:11962: \"$ac_try\"") >&5
11983 (eval $ac_try) 2>&5 11963 (eval $ac_try) 2>&5
11984 ac_status=$? 11964 ac_status=$?
11985 echo "$as_me:11984: \$? = $ac_status" >&5 11965 echo "$as_me:11965: \$? = $ac_status" >&5
11986 (exit $ac_status); }; }; then 11966 (exit $ac_status); }; }; then
11987 ac_cv_func_socket=yes 11967 ac_cv_func_socket=yes
11988 else 11968 else
11989 echo "$as_me: failed program was:" >&5 11969 echo "$as_me: failed program was:" >&5
11990 cat conftest.$ac_ext >&5 11970 cat conftest.$ac_ext >&5
11991 ac_cv_func_socket=no 11971 ac_cv_func_socket=no
11992 fi 11972 fi
11993 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11973 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11994 fi 11974 fi
11995 echo "$as_me:11994: result: $ac_cv_func_socket" >&5 11975 echo "$as_me:11975: result: $ac_cv_func_socket" >&5
11996 echo "${ECHO_T}$ac_cv_func_socket" >&6 11976 echo "${ECHO_T}$ac_cv_func_socket" >&6
11997 if test $ac_cv_func_socket = yes; then 11977 if test $ac_cv_func_socket = yes; then
11998 : 11978 :
11999 else 11979 else
12000 ok_so_far=no 11980 ok_so_far=no
12001 fi 11981 fi
12002 11982
12003 if test $ok_so_far = yes; then 11983 if test $ok_so_far = yes; then
12004 echo "$as_me:12003: checking for netinet/in.h" >&5 11984 echo "$as_me:11984: checking for netinet/in.h" >&5
12005 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6 11985 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6
12006 if test "${ac_cv_header_netinet_in_h+set}" = set; then 11986 if test "${ac_cv_header_netinet_in_h+set}" = set; then
12007 echo $ECHO_N "(cached) $ECHO_C" >&6 11987 echo $ECHO_N "(cached) $ECHO_C" >&6
12008 else 11988 else
12009 cat >conftest.$ac_ext <<_ACEOF 11989 cat >conftest.$ac_ext <<_ACEOF
12010 #line 12004 "configure" 11990 #line 11990 "configure"
12011 #include "confdefs.h" 11991 #include "confdefs.h"
12012 #include <netinet/in.h> 11992 #include <netinet/in.h>
12013 _ACEOF 11993 _ACEOF
12014 if { (eval echo "$as_me:12013: \"$ac_cpp conftest.$ac_ext\"") >&5 11994 if { (eval echo "$as_me:11994: \"$ac_cpp conftest.$ac_ext\"") >&5
12015 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11995 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12016 ac_status=$? 11996 ac_status=$?
12017 egrep -v '^ *\+' conftest.er1 >conftest.err 11997 egrep -v '^ *\+' conftest.er1 >conftest.err
12018 rm -f conftest.er1 11998 rm -f conftest.er1
12019 cat conftest.err >&5 11999 cat conftest.err >&5
12020 echo "$as_me:12019: \$? = $ac_status" >&5 12000 echo "$as_me:12000: \$? = $ac_status" >&5
12021 (exit $ac_status); } >/dev/null; then 12001 (exit $ac_status); } >/dev/null; then
12022 if test -s conftest.err; then 12002 if test -s conftest.err; then
12023 ac_cpp_err=$ac_c_preproc_warn_flag 12003 ac_cpp_err=$ac_c_preproc_warn_flag
12024 else 12004 else
12025 ac_cpp_err= 12005 ac_cpp_err=
12034 cat conftest.$ac_ext >&5 12014 cat conftest.$ac_ext >&5
12035 ac_cv_header_netinet_in_h=no 12015 ac_cv_header_netinet_in_h=no
12036 fi 12016 fi
12037 rm -f conftest.err conftest.$ac_ext 12017 rm -f conftest.err conftest.$ac_ext
12038 fi 12018 fi
12039 echo "$as_me:12038: result: $ac_cv_header_netinet_in_h" >&5 12019 echo "$as_me:12019: result: $ac_cv_header_netinet_in_h" >&5
12040 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6 12020 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6
12041 if test $ac_cv_header_netinet_in_h = yes; then 12021 if test $ac_cv_header_netinet_in_h = yes; then
12042 : 12022 :
12043 else 12023 else
12044 ok_so_far=no 12024 ok_so_far=no
12045 fi 12025 fi
12046 12026
12047 fi 12027 fi
12048 if test $ok_so_far = yes; then 12028 if test $ok_so_far = yes; then
12049 echo "$as_me:12048: checking for arpa/inet.h" >&5 12029 echo "$as_me:12029: checking for arpa/inet.h" >&5
12050 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6 12030 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6
12051 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 12031 if test "${ac_cv_header_arpa_inet_h+set}" = set; then
12052 echo $ECHO_N "(cached) $ECHO_C" >&6 12032 echo $ECHO_N "(cached) $ECHO_C" >&6
12053 else 12033 else
12054 cat >conftest.$ac_ext <<_ACEOF 12034 cat >conftest.$ac_ext <<_ACEOF
12055 #line 12049 "configure" 12035 #line 12035 "configure"
12056 #include "confdefs.h" 12036 #include "confdefs.h"
12057 #include <arpa/inet.h> 12037 #include <arpa/inet.h>
12058 _ACEOF 12038 _ACEOF
12059 if { (eval echo "$as_me:12058: \"$ac_cpp conftest.$ac_ext\"") >&5 12039 if { (eval echo "$as_me:12039: \"$ac_cpp conftest.$ac_ext\"") >&5
12060 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 12040 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12061 ac_status=$? 12041 ac_status=$?
12062 egrep -v '^ *\+' conftest.er1 >conftest.err 12042 egrep -v '^ *\+' conftest.er1 >conftest.err
12063 rm -f conftest.er1 12043 rm -f conftest.er1
12064 cat conftest.err >&5 12044 cat conftest.err >&5
12065 echo "$as_me:12064: \$? = $ac_status" >&5 12045 echo "$as_me:12045: \$? = $ac_status" >&5
12066 (exit $ac_status); } >/dev/null; then 12046 (exit $ac_status); } >/dev/null; then
12067 if test -s conftest.err; then 12047 if test -s conftest.err; then
12068 ac_cpp_err=$ac_c_preproc_warn_flag 12048 ac_cpp_err=$ac_c_preproc_warn_flag
12069 else 12049 else
12070 ac_cpp_err= 12050 ac_cpp_err=
12079 cat conftest.$ac_ext >&5 12059 cat conftest.$ac_ext >&5
12080 ac_cv_header_arpa_inet_h=no 12060 ac_cv_header_arpa_inet_h=no
12081 fi 12061 fi
12082 rm -f conftest.err conftest.$ac_ext 12062 rm -f conftest.err conftest.$ac_ext
12083 fi 12063 fi
12084 echo "$as_me:12083: result: $ac_cv_header_arpa_inet_h" >&5 12064 echo "$as_me:12064: result: $ac_cv_header_arpa_inet_h" >&5
12085 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6 12065 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6
12086 if test $ac_cv_header_arpa_inet_h = yes; then 12066 if test $ac_cv_header_arpa_inet_h = yes; then
12087 : 12067 :
12088 else 12068 else
12089 ok_so_far=no 12069 ok_so_far=no
12104 #define HAVE_AIX_SMT_EXP 1 12084 #define HAVE_AIX_SMT_EXP 1
12105 EOF 12085 EOF
12106 12086
12107 fi 12087 fi
12108 12088
12109 echo "$as_me:12108: checking whether system supports dynamic ptys" >&5 12089 echo "$as_me:12089: checking whether system supports dynamic ptys" >&5
12110 echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6 12090 echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6
12111 if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then 12091 if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then
12112 echo "$as_me:12111: result: yes" >&5 12092 echo "$as_me:12092: result: yes" >&5
12113 echo "${ECHO_T}yes" >&6 12093 echo "${ECHO_T}yes" >&6
12114 12094
12115 cat >>confdefs.h <<\EOF 12095 cat >>confdefs.h <<\EOF
12116 #define HAVE_DEV_PTMX 1 12096 #define HAVE_DEV_PTMX 1
12117 EOF 12097 EOF
12118 12098
12119 else 12099 else
12120 echo "$as_me:12119: result: no" >&5 12100 echo "$as_me:12100: result: no" >&5
12121 echo "${ECHO_T}no" >&6 12101 echo "${ECHO_T}no" >&6
12122 fi 12102 fi
12123 12103
12124 echo "$as_me:12123: checking for pid_t" >&5 12104 echo "$as_me:12104: checking for pid_t" >&5
12125 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 12105 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
12126 if test "${ac_cv_type_pid_t+set}" = set; then 12106 if test "${ac_cv_type_pid_t+set}" = set; then
12127 echo $ECHO_N "(cached) $ECHO_C" >&6 12107 echo $ECHO_N "(cached) $ECHO_C" >&6
12128 else 12108 else
12129 cat >conftest.$ac_ext <<_ACEOF 12109 cat >conftest.$ac_ext <<_ACEOF
12130 #line 12124 "configure" 12110 #line 12110 "configure"
12131 #include "confdefs.h" 12111 #include "confdefs.h"
12132 $ac_includes_default 12112 $ac_includes_default
12133 int 12113 int
12134 main () 12114 main ()
12135 { 12115 {
12140 ; 12120 ;
12141 return 0; 12121 return 0;
12142 } 12122 }
12143 _ACEOF 12123 _ACEOF
12144 rm -f conftest.$ac_objext 12124 rm -f conftest.$ac_objext
12145 if { (eval echo "$as_me:12144: \"$ac_compile\"") >&5 12125 if { (eval echo "$as_me:12125: \"$ac_compile\"") >&5
12146 (eval $ac_compile) 2>&5 12126 (eval $ac_compile) 2>&5
12147 ac_status=$? 12127 ac_status=$?
12148 echo "$as_me:12147: \$? = $ac_status" >&5 12128 echo "$as_me:12128: \$? = $ac_status" >&5
12149 (exit $ac_status); } && 12129 (exit $ac_status); } &&
12150 { ac_try='test -s conftest.$ac_objext' 12130 { ac_try='test -s conftest.$ac_objext'
12151 { (eval echo "$as_me:12150: \"$ac_try\"") >&5 12131 { (eval echo "$as_me:12131: \"$ac_try\"") >&5
12152 (eval $ac_try) 2>&5 12132 (eval $ac_try) 2>&5
12153 ac_status=$? 12133 ac_status=$?
12154 echo "$as_me:12153: \$? = $ac_status" >&5 12134 echo "$as_me:12134: \$? = $ac_status" >&5
12155 (exit $ac_status); }; }; then 12135 (exit $ac_status); }; }; then
12156 ac_cv_type_pid_t=yes 12136 ac_cv_type_pid_t=yes
12157 else 12137 else
12158 echo "$as_me: failed program was:" >&5 12138 echo "$as_me: failed program was:" >&5
12159 cat conftest.$ac_ext >&5 12139 cat conftest.$ac_ext >&5
12160 ac_cv_type_pid_t=no 12140 ac_cv_type_pid_t=no
12161 fi 12141 fi
12162 rm -f conftest.$ac_objext conftest.$ac_ext 12142 rm -f conftest.$ac_objext conftest.$ac_ext
12163 fi 12143 fi
12164 echo "$as_me:12163: result: $ac_cv_type_pid_t" >&5 12144 echo "$as_me:12144: result: $ac_cv_type_pid_t" >&5
12165 echo "${ECHO_T}$ac_cv_type_pid_t" >&6 12145 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
12166 if test $ac_cv_type_pid_t = yes; then 12146 if test $ac_cv_type_pid_t = yes; then
12167 : 12147 :
12168 else 12148 else
12169 12149
12174 fi 12154 fi
12175 12155
12176 for ac_header in unistd.h vfork.h 12156 for ac_header in unistd.h vfork.h
12177 do 12157 do
12178 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 12158 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12179 echo "$as_me:12178: checking for $ac_header" >&5 12159 echo "$as_me:12159: checking for $ac_header" >&5
12180 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 12160 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12181 if eval "test \"\${$as_ac_Header+set}\" = set"; then 12161 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12182 echo $ECHO_N "(cached) $ECHO_C" >&6 12162 echo $ECHO_N "(cached) $ECHO_C" >&6
12183 else 12163 else
12184 cat >conftest.$ac_ext <<_ACEOF 12164 cat >conftest.$ac_ext <<_ACEOF
12185 #line 12179 "configure" 12165 #line 12165 "configure"
12186 #include "confdefs.h" 12166 #include "confdefs.h"
12187 #include <$ac_header> 12167 #include <$ac_header>
12188 _ACEOF 12168 _ACEOF
12189 if { (eval echo "$as_me:12188: \"$ac_cpp conftest.$ac_ext\"") >&5 12169 if { (eval echo "$as_me:12169: \"$ac_cpp conftest.$ac_ext\"") >&5
12190 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 12170 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12191 ac_status=$? 12171 ac_status=$?
12192 egrep -v '^ *\+' conftest.er1 >conftest.err 12172 egrep -v '^ *\+' conftest.er1 >conftest.err
12193 rm -f conftest.er1 12173 rm -f conftest.er1
12194 cat conftest.err >&5 12174 cat conftest.err >&5
12195 echo "$as_me:12194: \$? = $ac_status" >&5 12175 echo "$as_me:12175: \$? = $ac_status" >&5
12196 (exit $ac_status); } >/dev/null; then 12176 (exit $ac_status); } >/dev/null; then
12197 if test -s conftest.err; then 12177 if test -s conftest.err; then
12198 ac_cpp_err=$ac_c_preproc_warn_flag 12178 ac_cpp_err=$ac_c_preproc_warn_flag
12199 else 12179 else
12200 ac_cpp_err= 12180 ac_cpp_err=
12209 cat conftest.$ac_ext >&5 12189 cat conftest.$ac_ext >&5
12210 eval "$as_ac_Header=no" 12190 eval "$as_ac_Header=no"
12211 fi 12191 fi
12212 rm -f conftest.err conftest.$ac_ext 12192 rm -f conftest.err conftest.$ac_ext
12213 fi 12193 fi
12214 echo "$as_me:12213: result: `eval echo '${'$as_ac_Header'}'`" >&5 12194 echo "$as_me:12194: result: `eval echo '${'$as_ac_Header'}'`" >&5
12215 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 12195 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12216 if test `eval echo '${'$as_ac_Header'}'` = yes; then 12196 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12217 cat >>confdefs.h <<EOF 12197 cat >>confdefs.h <<EOF
12218 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 12198 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12219 EOF 12199 EOF
12222 done 12202 done
12223 12203
12224 for ac_func in fork vfork 12204 for ac_func in fork vfork
12225 do 12205 do
12226 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 12206 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12227 echo "$as_me:12226: checking for $ac_func" >&5 12207 echo "$as_me:12207: checking for $ac_func" >&5
12228 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 12208 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12229 if eval "test \"\${$as_ac_var+set}\" = set"; then 12209 if eval "test \"\${$as_ac_var+set}\" = set"; then
12230 echo $ECHO_N "(cached) $ECHO_C" >&6 12210 echo $ECHO_N "(cached) $ECHO_C" >&6
12231 else 12211 else
12232 cat >conftest.$ac_ext <<_ACEOF 12212 cat >conftest.$ac_ext <<_ACEOF
12233 #line 12227 "configure" 12213 #line 12213 "configure"
12234 #include "confdefs.h" 12214 #include "confdefs.h"
12235 /* System header to define __stub macros and hopefully few prototypes, 12215 /* System header to define __stub macros and hopefully few prototypes,
12236 which can conflict with char $ac_func (); below. */ 12216 which can conflict with char $ac_func (); below. */
12237 #include <assert.h> 12217 #include <assert.h>
12238 /* Override any gcc2 internal prototype to avoid an error. */ 12218 /* Override any gcc2 internal prototype to avoid an error. */
12259 ; 12239 ;
12260 return 0; 12240 return 0;
12261 } 12241 }
12262 _ACEOF 12242 _ACEOF
12263 rm -f conftest.$ac_objext conftest$ac_exeext 12243 rm -f conftest.$ac_objext conftest$ac_exeext
12264 if { (eval echo "$as_me:12263: \"$ac_link\"") >&5 12244 if { (eval echo "$as_me:12244: \"$ac_link\"") >&5
12265 (eval $ac_link) 2>&5 12245 (eval $ac_link) 2>&5
12266 ac_status=$? 12246 ac_status=$?
12267 echo "$as_me:12266: \$? = $ac_status" >&5 12247 echo "$as_me:12247: \$? = $ac_status" >&5
12268 (exit $ac_status); } && 12248 (exit $ac_status); } &&
12269 { ac_try='test -s conftest$ac_exeext' 12249 { ac_try='test -s conftest$ac_exeext'
12270 { (eval echo "$as_me:12269: \"$ac_try\"") >&5 12250 { (eval echo "$as_me:12250: \"$ac_try\"") >&5
12271 (eval $ac_try) 2>&5 12251 (eval $ac_try) 2>&5
12272 ac_status=$? 12252 ac_status=$?
12273 echo "$as_me:12272: \$? = $ac_status" >&5 12253 echo "$as_me:12253: \$? = $ac_status" >&5
12274 (exit $ac_status); }; }; then 12254 (exit $ac_status); }; }; then
12275 eval "$as_ac_var=yes" 12255 eval "$as_ac_var=yes"
12276 else 12256 else
12277 echo "$as_me: failed program was:" >&5 12257 echo "$as_me: failed program was:" >&5
12278 cat conftest.$ac_ext >&5 12258 cat conftest.$ac_ext >&5
12279 eval "$as_ac_var=no" 12259 eval "$as_ac_var=no"
12280 fi 12260 fi
12281 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 12261 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12282 fi 12262 fi
12283 echo "$as_me:12282: result: `eval echo '${'$as_ac_var'}'`" >&5 12263 echo "$as_me:12263: result: `eval echo '${'$as_ac_var'}'`" >&5
12284 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 12264 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12285 if test `eval echo '${'$as_ac_var'}'` = yes; then 12265 if test `eval echo '${'$as_ac_var'}'` = yes; then
12286 cat >>confdefs.h <<EOF 12266 cat >>confdefs.h <<EOF
12287 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 12267 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12288 EOF 12268 EOF
12290 fi 12270 fi
12291 done 12271 done
12292 12272
12293 ac_cv_func_fork_works=$ac_cv_func_fork 12273 ac_cv_func_fork_works=$ac_cv_func_fork
12294 if test "x$ac_cv_func_fork" = xyes; then 12274 if test "x$ac_cv_func_fork" = xyes; then
12295 echo "$as_me:12294: checking for working fork" >&5 12275 echo "$as_me:12275: checking for working fork" >&5
12296 echo $ECHO_N "checking for working fork... $ECHO_C" >&6 12276 echo $ECHO_N "checking for working fork... $ECHO_C" >&6
12297 if test "${ac_cv_func_fork_works+set}" = set; then 12277 if test "${ac_cv_func_fork_works+set}" = set; then
12298 echo $ECHO_N "(cached) $ECHO_C" >&6 12278 echo $ECHO_N "(cached) $ECHO_C" >&6
12299 else 12279 else
12300 if test "$cross_compiling" = yes; then 12280 if test "$cross_compiling" = yes; then
12313 exit (1); 12293 exit (1);
12314 exit (0); 12294 exit (0);
12315 } 12295 }
12316 _ACEOF 12296 _ACEOF
12317 rm -f conftest$ac_exeext 12297 rm -f conftest$ac_exeext
12318 if { (eval echo "$as_me:12317: \"$ac_link\"") >&5 12298 if { (eval echo "$as_me:12298: \"$ac_link\"") >&5
12319 (eval $ac_link) 2>&5 12299 (eval $ac_link) 2>&5
12320 ac_status=$? 12300 ac_status=$?
12321 echo "$as_me:12320: \$? = $ac_status" >&5 12301 echo "$as_me:12301: \$? = $ac_status" >&5
12322 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 12302 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12323 { (eval echo "$as_me:12322: \"$ac_try\"") >&5 12303 { (eval echo "$as_me:12303: \"$ac_try\"") >&5
12324 (eval $ac_try) 2>&5 12304 (eval $ac_try) 2>&5
12325 ac_status=$? 12305 ac_status=$?
12326 echo "$as_me:12325: \$? = $ac_status" >&5 12306 echo "$as_me:12306: \$? = $ac_status" >&5
12327 (exit $ac_status); }; }; then 12307 (exit $ac_status); }; }; then
12328 ac_cv_func_fork_works=yes 12308 ac_cv_func_fork_works=yes
12329 else 12309 else
12330 echo "$as_me: program exited with status $ac_status" >&5 12310 echo "$as_me: program exited with status $ac_status" >&5
12331 echo "$as_me: failed program was:" >&5 12311 echo "$as_me: failed program was:" >&5
12333 ac_cv_func_fork_works=no 12313 ac_cv_func_fork_works=no
12334 fi 12314 fi
12335 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 12315 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12336 fi 12316 fi
12337 fi 12317 fi
12338 echo "$as_me:12337: result: $ac_cv_func_fork_works" >&5 12318 echo "$as_me:12318: result: $ac_cv_func_fork_works" >&5
12339 echo "${ECHO_T}$ac_cv_func_fork_works" >&6 12319 echo "${ECHO_T}$ac_cv_func_fork_works" >&6
12340 12320
12341 fi 12321 fi
12342 if test "x$ac_cv_func_fork_works" = xcross; then 12322 if test "x$ac_cv_func_fork_works" = xcross; then
12343 case $host in 12323 case $host in
12347 ;; 12327 ;;
12348 *) 12328 *)
12349 ac_cv_func_fork_works=yes 12329 ac_cv_func_fork_works=yes
12350 ;; 12330 ;;
12351 esac 12331 esac
12352 { echo "$as_me:12351: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&5 12332 { echo "$as_me:12332: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&5
12353 echo "$as_me: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&2;} 12333 echo "$as_me: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&2;}
12354 fi 12334 fi
12355 ac_cv_func_vfork_works=$ac_cv_func_vfork 12335 ac_cv_func_vfork_works=$ac_cv_func_vfork
12356 if test "x$ac_cv_func_vfork" = xyes; then 12336 if test "x$ac_cv_func_vfork" = xyes; then
12357 echo "$as_me:12356: checking for working vfork" >&5 12337 echo "$as_me:12337: checking for working vfork" >&5
12358 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6 12338 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
12359 if test "${ac_cv_func_vfork_works+set}" = set; then 12339 if test "${ac_cv_func_vfork_works+set}" = set; then
12360 echo $ECHO_N "(cached) $ECHO_C" >&6 12340 echo $ECHO_N "(cached) $ECHO_C" >&6
12361 else 12341 else
12362 if test "$cross_compiling" = yes; then 12342 if test "$cross_compiling" = yes; then
12363 ac_cv_func_vfork_works=cross 12343 ac_cv_func_vfork_works=cross
12364 else 12344 else
12365 cat >conftest.$ac_ext <<_ACEOF 12345 cat >conftest.$ac_ext <<_ACEOF
12366 #line 12360 "configure" 12346 #line 12346 "configure"
12367 #include "confdefs.h" 12347 #include "confdefs.h"
12368 /* Thanks to Paul Eggert for this test. */ 12348 /* Thanks to Paul Eggert for this test. */
12369 #include <stdio.h> 12349 #include <stdio.h>
12370 #include <sys/types.h> 12350 #include <sys/types.h>
12371 #include <sys/stat.h> 12351 #include <sys/stat.h>
12458 ); 12438 );
12459 } 12439 }
12460 } 12440 }
12461 _ACEOF 12441 _ACEOF
12462 rm -f conftest$ac_exeext 12442 rm -f conftest$ac_exeext
12463 if { (eval echo "$as_me:12462: \"$ac_link\"") >&5 12443 if { (eval echo "$as_me:12443: \"$ac_link\"") >&5
12464 (eval $ac_link) 2>&5 12444 (eval $ac_link) 2>&5
12465 ac_status=$? 12445 ac_status=$?
12466 echo "$as_me:12465: \$? = $ac_status" >&5 12446 echo "$as_me:12446: \$? = $ac_status" >&5
12467 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 12447 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12468 { (eval echo "$as_me:12467: \"$ac_try\"") >&5 12448 { (eval echo "$as_me:12448: \"$ac_try\"") >&5
12469 (eval $ac_try) 2>&5 12449 (eval $ac_try) 2>&5
12470 ac_status=$? 12450 ac_status=$?
12471 echo "$as_me:12470: \$? = $ac_status" >&5 12451 echo "$as_me:12451: \$? = $ac_status" >&5
12472 (exit $ac_status); }; }; then 12452 (exit $ac_status); }; }; then
12473 ac_cv_func_vfork_works=yes 12453 ac_cv_func_vfork_works=yes
12474 else 12454 else
12475 echo "$as_me: program exited with status $ac_status" >&5 12455 echo "$as_me: program exited with status $ac_status" >&5
12476 echo "$as_me: failed program was:" >&5 12456 echo "$as_me: failed program was:" >&5
12478 ac_cv_func_vfork_works=no 12458 ac_cv_func_vfork_works=no
12479 fi 12459 fi
12480 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 12460 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12481 fi 12461 fi
12482 fi 12462 fi
12483 echo "$as_me:12482: result: $ac_cv_func_vfork_works" >&5 12463 echo "$as_me:12463: result: $ac_cv_func_vfork_works" >&5
12484 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6 12464 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
12485 12465
12486 fi; 12466 fi;
12487 if test "x$ac_cv_func_fork_works" = xcross; then 12467 if test "x$ac_cv_func_fork_works" = xcross; then
12488 ac_cv_func_vfork_works=ac_cv_func_vfork 12468 ac_cv_func_vfork_works=ac_cv_func_vfork
12489 { echo "$as_me:12488: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&5 12469 { echo "$as_me:12469: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&5
12490 echo "$as_me: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&2;} 12470 echo "$as_me: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&2;}
12491 fi 12471 fi
12492 12472
12493 if test "x$ac_cv_func_vfork_works" = xyes; then 12473 if test "x$ac_cv_func_vfork_works" = xyes; then
12494 12474
12510 EOF 12490 EOF
12511 12491
12512 fi 12492 fi
12513 12493
12514 # Fixme: This should be replaced when we have autoconf 2.14. 12494 # Fixme: This should be replaced when we have autoconf 2.14.
12515 echo "$as_me:12514: checking for size_t" >&5 12495 echo "$as_me:12495: checking for size_t" >&5
12516 echo $ECHO_N "checking for size_t... $ECHO_C" >&6 12496 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
12517 if test "${ac_cv_type_size_t+set}" = set; then 12497 if test "${ac_cv_type_size_t+set}" = set; then
12518 echo $ECHO_N "(cached) $ECHO_C" >&6 12498 echo $ECHO_N "(cached) $ECHO_C" >&6
12519 else 12499 else
12520 cat >conftest.$ac_ext <<_ACEOF 12500 cat >conftest.$ac_ext <<_ACEOF
12521 #line 12515 "configure" 12501 #line 12501 "configure"
12522 #include "confdefs.h" 12502 #include "confdefs.h"
12523 $ac_includes_default 12503 $ac_includes_default
12524 int 12504 int
12525 main () 12505 main ()
12526 { 12506 {
12531 ; 12511 ;
12532 return 0; 12512 return 0;
12533 } 12513 }
12534 _ACEOF 12514 _ACEOF
12535 rm -f conftest.$ac_objext 12515 rm -f conftest.$ac_objext
12536 if { (eval echo "$as_me:12535: \"$ac_compile\"") >&5 12516 if { (eval echo "$as_me:12516: \"$ac_compile\"") >&5
12537 (eval $ac_compile) 2>&5 12517 (eval $ac_compile) 2>&5
12538 ac_status=$? 12518 ac_status=$?
12539 echo "$as_me:12538: \$? = $ac_status" >&5 12519 echo "$as_me:12519: \$? = $ac_status" >&5
12540 (exit $ac_status); } && 12520 (exit $ac_status); } &&
12541 { ac_try='test -s conftest.$ac_objext' 12521 { ac_try='test -s conftest.$ac_objext'
12542 { (eval echo "$as_me:12541: \"$ac_try\"") >&5 12522 { (eval echo "$as_me:12522: \"$ac_try\"") >&5
12543 (eval $ac_try) 2>&5 12523 (eval $ac_try) 2>&5
12544 ac_status=$? 12524 ac_status=$?
12545 echo "$as_me:12544: \$? = $ac_status" >&5 12525 echo "$as_me:12525: \$? = $ac_status" >&5
12546 (exit $ac_status); }; }; then 12526 (exit $ac_status); }; }; then
12547 ac_cv_type_size_t=yes 12527 ac_cv_type_size_t=yes
12548 else 12528 else
12549 echo "$as_me: failed program was:" >&5 12529 echo "$as_me: failed program was:" >&5
12550 cat conftest.$ac_ext >&5 12530 cat conftest.$ac_ext >&5
12551 ac_cv_type_size_t=no 12531 ac_cv_type_size_t=no
12552 fi 12532 fi
12553 rm -f conftest.$ac_objext conftest.$ac_ext 12533 rm -f conftest.$ac_objext conftest.$ac_ext
12554 fi 12534 fi
12555 echo "$as_me:12554: result: $ac_cv_type_size_t" >&5 12535 echo "$as_me:12535: result: $ac_cv_type_size_t" >&5
12556 echo "${ECHO_T}$ac_cv_type_size_t" >&6 12536 echo "${ECHO_T}$ac_cv_type_size_t" >&6
12557 if test $ac_cv_type_size_t = yes; then 12537 if test $ac_cv_type_size_t = yes; then
12558 : 12538 :
12559 else 12539 else
12560 12540
12570 12550
12571 #### Find out which version of Emacs this is. 12551 #### Find out which version of Emacs this is.
12572 version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \ 12552 version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \
12573 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'` 12553 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'`
12574 if test x"${version}" = x; then 12554 if test x"${version}" = x; then
12575 { { echo "$as_me:12574: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5 12555 { { echo "$as_me:12555: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5
12576 echo "$as_me: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&2;} 12556 echo "$as_me: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&2;}
12577 { (exit 1); exit 1; }; } 12557 { (exit 1); exit 1; }; }
12578 fi 12558 fi
12579 12559
12580 ### Specify what sort of things we'll be editing into Makefile and config.h. 12560 ### Specify what sort of things we'll be editing into Makefile and config.h.
12663 fi 12643 fi
12664 12644
12665 for ac_header in nlist.h 12645 for ac_header in nlist.h
12666 do 12646 do
12667 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 12647 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12668 echo "$as_me:12667: checking for $ac_header" >&5 12648 echo "$as_me:12648: checking for $ac_header" >&5
12669 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 12649 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12670 if eval "test \"\${$as_ac_Header+set}\" = set"; then 12650 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12671 echo $ECHO_N "(cached) $ECHO_C" >&6 12651 echo $ECHO_N "(cached) $ECHO_C" >&6
12672 else 12652 else
12673 cat >conftest.$ac_ext <<_ACEOF 12653 cat >conftest.$ac_ext <<_ACEOF
12674 #line 12668 "configure" 12654 #line 12654 "configure"
12675 #include "confdefs.h" 12655 #include "confdefs.h"
12676 #include <$ac_header> 12656 #include <$ac_header>
12677 _ACEOF 12657 _ACEOF
12678 if { (eval echo "$as_me:12677: \"$ac_cpp conftest.$ac_ext\"") >&5 12658 if { (eval echo "$as_me:12658: \"$ac_cpp conftest.$ac_ext\"") >&5
12679 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 12659 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12680 ac_status=$? 12660 ac_status=$?
12681 egrep -v '^ *\+' conftest.er1 >conftest.err 12661 egrep -v '^ *\+' conftest.er1 >conftest.err
12682 rm -f conftest.er1 12662 rm -f conftest.er1
12683 cat conftest.err >&5 12663 cat conftest.err >&5
12684 echo "$as_me:12683: \$? = $ac_status" >&5 12664 echo "$as_me:12664: \$? = $ac_status" >&5
12685 (exit $ac_status); } >/dev/null; then 12665 (exit $ac_status); } >/dev/null; then
12686 if test -s conftest.err; then 12666 if test -s conftest.err; then
12687 ac_cpp_err=$ac_c_preproc_warn_flag 12667 ac_cpp_err=$ac_c_preproc_warn_flag
12688 else 12668 else
12689 ac_cpp_err= 12669 ac_cpp_err=
12698 cat conftest.$ac_ext >&5 12678 cat conftest.$ac_ext >&5
12699 eval "$as_ac_Header=no" 12679 eval "$as_ac_Header=no"
12700 fi 12680 fi
12701 rm -f conftest.err conftest.$ac_ext 12681 rm -f conftest.err conftest.$ac_ext
12702 fi 12682 fi
12703 echo "$as_me:12702: result: `eval echo '${'$as_ac_Header'}'`" >&5 12683 echo "$as_me:12683: result: `eval echo '${'$as_ac_Header'}'`" >&5
12704 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 12684 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12705 if test `eval echo '${'$as_ac_Header'}'` = yes; then 12685 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12706 cat >>confdefs.h <<EOF 12686 cat >>confdefs.h <<EOF
12707 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 12687 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12708 EOF 12688 EOF
12759 ## CPP_NEED_TRADITIONAL to `yes' so that the code to generate Makefile 12739 ## CPP_NEED_TRADITIONAL to `yes' so that the code to generate Makefile
12760 ## from Makefile.c can correctly provide the arg `-traditional' to the 12740 ## from Makefile.c can correctly provide the arg `-traditional' to the
12761 ## C preprocessor. 12741 ## C preprocessor.
12762 12742
12763 cat >conftest.$ac_ext <<_ACEOF 12743 cat >conftest.$ac_ext <<_ACEOF
12764 #line 12758 "configure" 12744 #line 12744 "configure"
12765 #include "confdefs.h" 12745 #include "confdefs.h"
12766 yes..yes 12746 yes..yes
12767 _ACEOF 12747 _ACEOF
12768 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 12748 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12769 egrep "yes..yes" >/dev/null 2>&1; then 12749 egrep "yes..yes" >/dev/null 2>&1; then
12852 DEFS=-DHAVE_CONFIG_H 12832 DEFS=-DHAVE_CONFIG_H
12853 12833
12854 : ${CONFIG_STATUS=./config.status} 12834 : ${CONFIG_STATUS=./config.status}
12855 ac_clean_files_save=$ac_clean_files 12835 ac_clean_files_save=$ac_clean_files
12856 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 12836 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12857 { echo "$as_me:12856: creating $CONFIG_STATUS" >&5 12837 { echo "$as_me:12837: creating $CONFIG_STATUS" >&5
12858 echo "$as_me: creating $CONFIG_STATUS" >&6;} 12838 echo "$as_me: creating $CONFIG_STATUS" >&6;}
12859 cat >$CONFIG_STATUS <<_ACEOF 12839 cat >$CONFIG_STATUS <<_ACEOF
12860 #! $SHELL 12840 #! $SHELL
12861 # Generated automatically by configure. 12841 # Generated automatically by configure.
12862 # Run this file to recreate the current configuration. 12842 # Run this file to recreate the current configuration.
13028 cat >>$CONFIG_STATUS <<\EOF 13008 cat >>$CONFIG_STATUS <<\EOF
13029 --version | --vers* | -V ) 13009 --version | --vers* | -V )
13030 echo "$ac_cs_version"; exit 0 ;; 13010 echo "$ac_cs_version"; exit 0 ;;
13031 --he | --h) 13011 --he | --h)
13032 # Conflict between --help and --header 13012 # Conflict between --help and --header
13033 { { echo "$as_me:13032: error: ambiguous option: $1 13013 { { echo "$as_me:13013: error: ambiguous option: $1
13034 Try \`$0 --help' for more information." >&5 13014 Try \`$0 --help' for more information." >&5
13035 echo "$as_me: error: ambiguous option: $1 13015 echo "$as_me: error: ambiguous option: $1
13036 Try \`$0 --help' for more information." >&2;} 13016 Try \`$0 --help' for more information." >&2;}
13037 { (exit 1); exit 1; }; };; 13017 { (exit 1); exit 1; }; };;
13038 --help | --hel | -h ) 13018 --help | --hel | -h )
13047 shift 13027 shift
13048 CONFIG_HEADERS="$CONFIG_HEADERS $1" 13028 CONFIG_HEADERS="$CONFIG_HEADERS $1"
13049 ac_need_defaults=false;; 13029 ac_need_defaults=false;;
13050 13030
13051 # This is an error. 13031 # This is an error.
13052 -*) { { echo "$as_me:13051: error: unrecognized option: $1 13032 -*) { { echo "$as_me:13032: error: unrecognized option: $1
13053 Try \`$0 --help' for more information." >&5 13033 Try \`$0 --help' for more information." >&5
13054 echo "$as_me: error: unrecognized option: $1 13034 echo "$as_me: error: unrecognized option: $1
13055 Try \`$0 --help' for more information." >&2;} 13035 Try \`$0 --help' for more information." >&2;}
13056 { (exit 1); exit 1; }; } ;; 13036 { (exit 1); exit 1; }; } ;;
13057 13037
13103 "lispref/Makefile" ) CONFIG_FILES="$CONFIG_FILES lispref/Makefile" ;; 13083 "lispref/Makefile" ) CONFIG_FILES="$CONFIG_FILES lispref/Makefile" ;;
13104 "lispintro/Makefile" ) CONFIG_FILES="$CONFIG_FILES lispintro/Makefile" ;; 13084 "lispintro/Makefile" ) CONFIG_FILES="$CONFIG_FILES lispintro/Makefile" ;;
13105 "leim/Makefile" ) CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; 13085 "leim/Makefile" ) CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;;
13106 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; 13086 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
13107 "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h:src/config.in" ;; 13087 "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h:src/config.in" ;;
13108 *) { { echo "$as_me:13107: error: invalid argument: $ac_config_target" >&5 13088 *) { { echo "$as_me:13088: error: invalid argument: $ac_config_target" >&5
13109 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 13089 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13110 { (exit 1); exit 1; }; };; 13090 { (exit 1); exit 1; }; };;
13111 esac 13091 esac
13112 done 13092 done
13113 13093
13352 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 13332 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13353 *) ac_INSTALL=$ac_dots$INSTALL ;; 13333 *) ac_INSTALL=$ac_dots$INSTALL ;;
13354 esac 13334 esac
13355 13335
13356 if test x"$ac_file" != x-; then 13336 if test x"$ac_file" != x-; then
13357 { echo "$as_me:13356: creating $ac_file" >&5 13337 { echo "$as_me:13337: creating $ac_file" >&5
13358 echo "$as_me: creating $ac_file" >&6;} 13338 echo "$as_me: creating $ac_file" >&6;}
13359 rm -f "$ac_file" 13339 rm -f "$ac_file"
13360 fi 13340 fi
13361 # Let's still pretend it is `configure' which instantiates (i.e., don't 13341 # Let's still pretend it is `configure' which instantiates (i.e., don't
13362 # use $as_me), people would be surprised to read: 13342 # use $as_me), people would be surprised to read:
13370 for f in $ac_file_in; do 13350 for f in $ac_file_in; do
13371 case $f in 13351 case $f in
13372 -) echo $tmp/stdin ;; 13352 -) echo $tmp/stdin ;;
13373 [\\/$]*) 13353 [\\/$]*)
13374 # Absolute (can't be DOS-style, as IFS=:) 13354 # Absolute (can't be DOS-style, as IFS=:)
13375 test -f "$f" || { { echo "$as_me:13374: error: cannot find input file: $f" >&5 13355 test -f "$f" || { { echo "$as_me:13355: error: cannot find input file: $f" >&5
13376 echo "$as_me: error: cannot find input file: $f" >&2;} 13356 echo "$as_me: error: cannot find input file: $f" >&2;}
13377 { (exit 1); exit 1; }; } 13357 { (exit 1); exit 1; }; }
13378 echo $f;; 13358 echo $f;;
13379 *) # Relative 13359 *) # Relative
13380 if test -f "$f"; then 13360 if test -f "$f"; then
13383 elif test -f "$srcdir/$f"; then 13363 elif test -f "$srcdir/$f"; then
13384 # Source tree 13364 # Source tree
13385 echo $srcdir/$f 13365 echo $srcdir/$f
13386 else 13366 else
13387 # /dev/null tree 13367 # /dev/null tree
13388 { { echo "$as_me:13387: error: cannot find input file: $f" >&5 13368 { { echo "$as_me:13368: error: cannot find input file: $f" >&5
13389 echo "$as_me: error: cannot find input file: $f" >&2;} 13369 echo "$as_me: error: cannot find input file: $f" >&2;}
13390 { (exit 1); exit 1; }; } 13370 { (exit 1); exit 1; }; }
13391 fi;; 13371 fi;;
13392 esac 13372 esac
13393 done` || { (exit 1); exit 1; } 13373 done` || { (exit 1); exit 1; }
13444 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 13424 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
13445 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 13425 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
13446 * ) ac_file_in=$ac_file.in ;; 13426 * ) ac_file_in=$ac_file.in ;;
13447 esac 13427 esac
13448 13428
13449 test x"$ac_file" != x- && { echo "$as_me:13448: creating $ac_file" >&5 13429 test x"$ac_file" != x- && { echo "$as_me:13429: creating $ac_file" >&5
13450 echo "$as_me: creating $ac_file" >&6;} 13430 echo "$as_me: creating $ac_file" >&6;}
13451 13431
13452 # First look for the input files in the build tree, otherwise in the 13432 # First look for the input files in the build tree, otherwise in the
13453 # src tree. 13433 # src tree.
13454 ac_file_inputs=`IFS=: 13434 ac_file_inputs=`IFS=:
13455 for f in $ac_file_in; do 13435 for f in $ac_file_in; do
13456 case $f in 13436 case $f in
13457 -) echo $tmp/stdin ;; 13437 -) echo $tmp/stdin ;;
13458 [\\/$]*) 13438 [\\/$]*)
13459 # Absolute (can't be DOS-style, as IFS=:) 13439 # Absolute (can't be DOS-style, as IFS=:)
13460 test -f "$f" || { { echo "$as_me:13459: error: cannot find input file: $f" >&5 13440 test -f "$f" || { { echo "$as_me:13440: error: cannot find input file: $f" >&5
13461 echo "$as_me: error: cannot find input file: $f" >&2;} 13441 echo "$as_me: error: cannot find input file: $f" >&2;}
13462 { (exit 1); exit 1; }; } 13442 { (exit 1); exit 1; }; }
13463 echo $f;; 13443 echo $f;;
13464 *) # Relative 13444 *) # Relative
13465 if test -f "$f"; then 13445 if test -f "$f"; then
13468 elif test -f "$srcdir/$f"; then 13448 elif test -f "$srcdir/$f"; then
13469 # Source tree 13449 # Source tree
13470 echo $srcdir/$f 13450 echo $srcdir/$f
13471 else 13451 else
13472 # /dev/null tree 13452 # /dev/null tree
13473 { { echo "$as_me:13472: error: cannot find input file: $f" >&5 13453 { { echo "$as_me:13453: error: cannot find input file: $f" >&5
13474 echo "$as_me: error: cannot find input file: $f" >&2;} 13454 echo "$as_me: error: cannot find input file: $f" >&2;}
13475 { (exit 1); exit 1; }; } 13455 { (exit 1); exit 1; }; }
13476 fi;; 13456 fi;;
13477 esac 13457 esac
13478 done` || { (exit 1); exit 1; } 13458 done` || { (exit 1); exit 1; }
13585 fi 13565 fi
13586 cat $tmp/in >>$tmp/config.h 13566 cat $tmp/in >>$tmp/config.h
13587 rm -f $tmp/in 13567 rm -f $tmp/in
13588 if test x"$ac_file" != x-; then 13568 if test x"$ac_file" != x-; then
13589 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then 13569 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
13590 { echo "$as_me:13589: $ac_file is unchanged" >&5 13570 { echo "$as_me:13570: $ac_file is unchanged" >&5
13591 echo "$as_me: $ac_file is unchanged" >&6;} 13571 echo "$as_me: $ac_file is unchanged" >&6;}
13592 else 13572 else
13593 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13573 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13594 X"$ac_file" : 'X\(//\)[^/]' \| \ 13574 X"$ac_file" : 'X\(//\)[^/]' \| \
13595 X"$ac_file" : 'X\(//\)$' \| \ 13575 X"$ac_file" : 'X\(//\)$' \| \