comparison configure @ 47402:aaa302e0c7ae

Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
author Markus Rost <rost@math.uni-bielefeld.de>
date Wed, 11 Sep 2002 15:48:27 +0000
parents 5502ee23a19b
children ca6ea93e02f2
comparison
equal deleted inserted replaced
47401:13110a0745b5 47402:aaa302e0c7ae
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-user use specified user for game directory
685 --without-gcc don't use GCC to compile Emacs if GCC is found 684 --without-gcc don't use GCC to compile Emacs if GCC is found
686 --without-pop don't support POP mail retrieval with movemail 685 --without-pop don't support POP mail retrieval with movemail
687 --with-kerberos support Kerberos-authenticated POP 686 --with-kerberos support Kerberos-authenticated POP
688 --with-kerberos5 support Kerberos version 5 authenticated POP 687 --with-kerberos5 support Kerberos version 5 authenticated POP
689 --with-hesiod support Hesiod to get the POP server host 688 --with-hesiod support Hesiod to get the POP server host
890 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 889 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
891 fi 890 fi
892 fi 891 fi
893 for ac_site_file in $CONFIG_SITE; do 892 for ac_site_file in $CONFIG_SITE; do
894 if test -r "$ac_site_file"; then 893 if test -r "$ac_site_file"; then
895 { echo "$as_me:895: loading site script $ac_site_file" >&5 894 { echo "$as_me:894: loading site script $ac_site_file" >&5
896 echo "$as_me: loading site script $ac_site_file" >&6;} 895 echo "$as_me: loading site script $ac_site_file" >&6;}
897 cat "$ac_site_file" >&5 896 cat "$ac_site_file" >&5
898 . "$ac_site_file" 897 . "$ac_site_file"
899 fi 898 fi
900 done 899 done
901 900
902 if test -r "$cache_file"; then 901 if test -r "$cache_file"; then
903 # Some versions of bash will fail to source /dev/null (special 902 # Some versions of bash will fail to source /dev/null (special
904 # files actually), so we avoid doing that. 903 # files actually), so we avoid doing that.
905 if test -f "$cache_file"; then 904 if test -f "$cache_file"; then
906 { echo "$as_me:906: loading cache $cache_file" >&5 905 { echo "$as_me:905: loading cache $cache_file" >&5
907 echo "$as_me: loading cache $cache_file" >&6;} 906 echo "$as_me: loading cache $cache_file" >&6;}
908 case $cache_file in 907 case $cache_file in
909 [\\/]* | ?:[\\/]* ) . $cache_file;; 908 [\\/]* | ?:[\\/]* ) . $cache_file;;
910 *) . ./$cache_file;; 909 *) . ./$cache_file;;
911 esac 910 esac
912 fi 911 fi
913 else 912 else
914 { echo "$as_me:914: creating cache $cache_file" >&5 913 { echo "$as_me:913: creating cache $cache_file" >&5
915 echo "$as_me: creating cache $cache_file" >&6;} 914 echo "$as_me: creating cache $cache_file" >&6;}
916 >$cache_file 915 >$cache_file
917 fi 916 fi
918 917
919 # Check that the precious variables saved in the cache have kept the same 918 # Check that the precious variables saved in the cache have kept the same
925 eval ac_new_set=\$ac_env_${ac_var}_set 924 eval ac_new_set=\$ac_env_${ac_var}_set
926 eval ac_old_val="\$ac_cv_env_${ac_var}_value" 925 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
927 eval ac_new_val="\$ac_env_${ac_var}_value" 926 eval ac_new_val="\$ac_env_${ac_var}_value"
928 case $ac_old_set,$ac_new_set in 927 case $ac_old_set,$ac_new_set in
929 set,) 928 set,)
930 { echo "$as_me:930: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 929 { echo "$as_me:929: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
931 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 930 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
932 ac_cache_corrupted=: ;; 931 ac_cache_corrupted=: ;;
933 ,set) 932 ,set)
934 { echo "$as_me:934: error: \`$ac_var' was not set in the previous run" >&5 933 { echo "$as_me:933: error: \`$ac_var' was not set in the previous run" >&5
935 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 934 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
936 ac_cache_corrupted=: ;; 935 ac_cache_corrupted=: ;;
937 ,);; 936 ,);;
938 *) 937 *)
939 if test "x$ac_old_val" != "x$ac_new_val"; then 938 if test "x$ac_old_val" != "x$ac_new_val"; then
940 { echo "$as_me:940: error: \`$ac_var' has changed since the previous run:" >&5 939 { echo "$as_me:939: error: \`$ac_var' has changed since the previous run:" >&5
941 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 940 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
942 { echo "$as_me:942: former value: $ac_old_val" >&5 941 { echo "$as_me:941: former value: $ac_old_val" >&5
943 echo "$as_me: former value: $ac_old_val" >&2;} 942 echo "$as_me: former value: $ac_old_val" >&2;}
944 { echo "$as_me:944: current value: $ac_new_val" >&5 943 { echo "$as_me:943: current value: $ac_new_val" >&5
945 echo "$as_me: current value: $ac_new_val" >&2;} 944 echo "$as_me: current value: $ac_new_val" >&2;}
946 ac_cache_corrupted=: 945 ac_cache_corrupted=:
947 fi;; 946 fi;;
948 esac 947 esac
949 # Pass precious variables to config.status. It doesn't matter if 948 # Pass precious variables to config.status. It doesn't matter if
958 ;; 957 ;;
959 esac 958 esac
960 fi 959 fi
961 done 960 done
962 if $ac_cache_corrupted; then 961 if $ac_cache_corrupted; then
963 { echo "$as_me:963: error: changes in the environment can compromise the build" >&5 962 { echo "$as_me:962: error: changes in the environment can compromise the build" >&5
964 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 963 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
965 { { echo "$as_me:965: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 964 { { echo "$as_me:964: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
966 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 965 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
967 { (exit 1); exit 1; }; } 966 { (exit 1); exit 1; }; }
968 fi 967 fi
969 968
970 ac_ext=c 969 ac_ext=c
980 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 979 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
981 esac 980 esac
982 echo "#! $SHELL" >conftest.sh 981 echo "#! $SHELL" >conftest.sh
983 echo "exit 0" >>conftest.sh 982 echo "exit 0" >>conftest.sh
984 chmod +x conftest.sh 983 chmod +x conftest.sh
985 if { (echo "$as_me:985: PATH=\".;.\"; conftest.sh") >&5 984 if { (echo "$as_me:984: PATH=\".;.\"; conftest.sh") >&5
986 (PATH=".;."; conftest.sh) 2>&5 985 (PATH=".;."; conftest.sh) 2>&5
987 ac_status=$? 986 ac_status=$?
988 echo "$as_me:988: \$? = $ac_status" >&5 987 echo "$as_me:987: \$? = $ac_status" >&5
989 (exit $ac_status); }; then 988 (exit $ac_status); }; then
990 ac_path_separator=';' 989 ac_path_separator=';'
991 else 990 else
992 ac_path_separator=: 991 ac_path_separator=:
993 fi 992 fi
1017 archlibdir='${libexecdir}/emacs/${version}/${configuration}' 1016 archlibdir='${libexecdir}/emacs/${version}/${configuration}'
1018 docdir='${datadir}/emacs/${version}/etc' 1017 docdir='${datadir}/emacs/${version}/etc'
1019 gamedir='${localstatedir}/games/emacs' 1018 gamedir='${localstatedir}/games/emacs'
1020 1019
1021 gameuser=games 1020 gameuser=games
1022
1023 # Check whether --with-game-user or --without-game-user was given.
1024 if test "${with_game_user+set}" = set; then
1025 withval="$with_game_user"
1026 gameuser="$withval"
1027 fi;
1028 1021
1029 # Check whether --with-gcc or --without-gcc was given. 1022 # Check whether --with-gcc or --without-gcc was given.
1030 if test "${with_gcc+set}" = set; then 1023 if test "${with_gcc+set}" = set; then
1031 withval="$with_gcc" 1024 withval="$with_gcc"
1032 1025
1101 n | no ) val=no ;; 1094 n | no ) val=no ;;
1102 l | lu | luc | luci | lucid ) val=lucid ;; 1095 l | lu | luc | luci | lucid ) val=lucid ;;
1103 a | at | ath | athe | athen | athena ) val=athena ;; 1096 a | at | ath | athe | athen | athena ) val=athena ;;
1104 m | mo | mot | moti | motif ) val=motif ;; 1097 m | mo | mot | moti | motif ) val=motif ;;
1105 * ) 1098 * )
1106 { { echo "$as_me:1106: error: \`--with-x-toolkit=$withval' is invalid\; 1099 { { echo "$as_me:1099: error: \`--with-x-toolkit=$withval' is invalid\;
1107 this option's value should be \`yes', \`no', \`lucid', \`athena', or \`motif'. 1100 this option's value should be \`yes', \`no', \`lucid', \`athena', or \`motif'.
1108 Currently, \`yes', \`athena' and \`lucid' are synonyms." >&5 1101 Currently, \`yes', \`athena' and \`lucid' are synonyms." >&5
1109 echo "$as_me: error: \`--with-x-toolkit=$withval' is invalid\; 1102 echo "$as_me: error: \`--with-x-toolkit=$withval' is invalid\;
1110 this option's value should be \`yes', \`no', \`lucid', \`athena', or \`motif'. 1103 this option's value should be \`yes', \`no', \`lucid', \`athena', or \`motif'.
1111 Currently, \`yes', \`athena' and \`lucid' are synonyms." >&2;} 1104 Currently, \`yes', \`athena' and \`lucid' are synonyms." >&2;}
1189 esac 1182 esac
1190 1183
1191 #### Check if the source directory already has a configured system in it. 1184 #### Check if the source directory already has a configured system in it.
1192 if test `pwd` != `(cd ${srcdir} && pwd)` \ 1185 if test `pwd` != `(cd ${srcdir} && pwd)` \
1193 && test -f "${srcdir}/src/config.h" ; then 1186 && test -f "${srcdir}/src/config.h" ; then
1194 { echo "$as_me:1194: WARNING: The directory tree \`${srcdir}' is being used 1187 { echo "$as_me:1187: WARNING: The directory tree \`${srcdir}' is being used
1195 as a build directory right now; it has been configured in its own 1188 as a build directory right now; it has been configured in its own
1196 right. To configure in another directory as well, you MUST 1189 right. To configure in another directory as well, you MUST
1197 use GNU make. If you do not have GNU make, then you must 1190 use GNU make. If you do not have GNU make, then you must
1198 now do \`make distclean' in ${srcdir}, 1191 now do \`make distclean' in ${srcdir},
1199 and then run $0 again." >&5 1192 and then run $0 again." >&5
1234 ac_install_sh="$ac_aux_dir/shtool install -c" 1227 ac_install_sh="$ac_aux_dir/shtool install -c"
1235 break 1228 break
1236 fi 1229 fi
1237 done 1230 done
1238 if test -z "$ac_aux_dir"; then 1231 if test -z "$ac_aux_dir"; then
1239 { { echo "$as_me:1239: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 1232 { { echo "$as_me:1232: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1240 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 1233 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1241 { (exit 1); exit 1; }; } 1234 { (exit 1); exit 1; }; }
1242 fi 1235 fi
1243 ac_config_guess="$SHELL $ac_aux_dir/config.guess" 1236 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1244 ac_config_sub="$SHELL $ac_aux_dir/config.sub" 1237 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1245 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 1238 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1246 1239
1247 # Make sure we can run config.sub. 1240 # Make sure we can run config.sub.
1248 $ac_config_sub sun4 >/dev/null 2>&1 || 1241 $ac_config_sub sun4 >/dev/null 2>&1 ||
1249 { { echo "$as_me:1249: error: cannot run $ac_config_sub" >&5 1242 { { echo "$as_me:1242: error: cannot run $ac_config_sub" >&5
1250 echo "$as_me: error: cannot run $ac_config_sub" >&2;} 1243 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1251 { (exit 1); exit 1; }; } 1244 { (exit 1); exit 1; }; }
1252 1245
1253 echo "$as_me:1253: checking build system type" >&5 1246 echo "$as_me:1246: checking build system type" >&5
1254 echo $ECHO_N "checking build system type... $ECHO_C" >&6 1247 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1255 if test "${ac_cv_build+set}" = set; then 1248 if test "${ac_cv_build+set}" = set; then
1256 echo $ECHO_N "(cached) $ECHO_C" >&6 1249 echo $ECHO_N "(cached) $ECHO_C" >&6
1257 else 1250 else
1258 ac_cv_build_alias=$build_alias 1251 ac_cv_build_alias=$build_alias
1259 test -z "$ac_cv_build_alias" && 1252 test -z "$ac_cv_build_alias" &&
1260 ac_cv_build_alias=`$ac_config_guess` 1253 ac_cv_build_alias=`$ac_config_guess`
1261 test -z "$ac_cv_build_alias" && 1254 test -z "$ac_cv_build_alias" &&
1262 { { echo "$as_me:1262: error: cannot guess build type; you must specify one" >&5 1255 { { echo "$as_me:1255: error: cannot guess build type; you must specify one" >&5
1263 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 1256 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1264 { (exit 1); exit 1; }; } 1257 { (exit 1); exit 1; }; }
1265 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || 1258 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1266 { { echo "$as_me:1266: error: $ac_config_sub $ac_cv_build_alias failed." >&5 1259 { { echo "$as_me:1259: error: $ac_config_sub $ac_cv_build_alias failed." >&5
1267 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;} 1260 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}
1268 { (exit 1); exit 1; }; } 1261 { (exit 1); exit 1; }; }
1269 1262
1270 fi 1263 fi
1271 echo "$as_me:1271: result: $ac_cv_build" >&5 1264 echo "$as_me:1264: result: $ac_cv_build" >&5
1272 echo "${ECHO_T}$ac_cv_build" >&6 1265 echo "${ECHO_T}$ac_cv_build" >&6
1273 build=$ac_cv_build 1266 build=$ac_cv_build
1274 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1267 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1275 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1268 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1276 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1269 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1277 1270
1278 echo "$as_me:1278: checking host system type" >&5 1271 echo "$as_me:1271: checking host system type" >&5
1279 echo $ECHO_N "checking host system type... $ECHO_C" >&6 1272 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1280 if test "${ac_cv_host+set}" = set; then 1273 if test "${ac_cv_host+set}" = set; then
1281 echo $ECHO_N "(cached) $ECHO_C" >&6 1274 echo $ECHO_N "(cached) $ECHO_C" >&6
1282 else 1275 else
1283 ac_cv_host_alias=$host_alias 1276 ac_cv_host_alias=$host_alias
1284 test -z "$ac_cv_host_alias" && 1277 test -z "$ac_cv_host_alias" &&
1285 ac_cv_host_alias=$ac_cv_build_alias 1278 ac_cv_host_alias=$ac_cv_build_alias
1286 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || 1279 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1287 { { echo "$as_me:1287: error: $ac_config_sub $ac_cv_host_alias failed" >&5 1280 { { echo "$as_me:1280: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1288 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} 1281 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1289 { (exit 1); exit 1; }; } 1282 { (exit 1); exit 1; }; }
1290 1283
1291 fi 1284 fi
1292 echo "$as_me:1292: result: $ac_cv_host" >&5 1285 echo "$as_me:1285: result: $ac_cv_host" >&5
1293 echo "${ECHO_T}$ac_cv_host" >&6 1286 echo "${ECHO_T}$ac_cv_host" >&6
1294 host=$ac_cv_host 1287 host=$ac_cv_host
1295 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1288 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1296 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1289 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1297 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1290 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1922 m68*-plexus-sysv* ) 1915 m68*-plexus-sysv* )
1923 machine=plexus opsys=usg5-2 1916 machine=plexus opsys=usg5-2
1924 ;; 1917 ;;
1925 1918
1926 ## PowerPC reference platform 1919 ## PowerPC reference platform
1920 powerpcle-*-solaris2.5* )
1921 machine=prep
1922 opsys=sol2-5
1923 ;;
1924
1925 ## PowerPC reference platform
1927 powerpcle-*-solaris2* ) 1926 powerpcle-*-solaris2* )
1928 machine=prep 1927 machine=prep
1929 opsys=sol2-5 1928 opsys=sol2-6
1930 ;; 1929 ;;
1931 1930
1932 ## Pyramid machines 1931 ## Pyramid machines
1933 ## I don't really have any idea what sort of processor the Pyramid has, 1932 ## I don't really have any idea what sort of processor the Pyramid has,
1934 ## so I'm assuming it is its own architecture. 1933 ## so I'm assuming it is its own architecture.
2066 *-sunos5.5* | *-solaris2.5* ) 2065 *-sunos5.5* | *-solaris2.5* )
2067 opsys=sol2-5 2066 opsys=sol2-5
2068 NON_GNU_CPP=/usr/ccs/lib/cpp 2067 NON_GNU_CPP=/usr/ccs/lib/cpp
2069 RANLIB="ar -ts" 2068 RANLIB="ar -ts"
2070 ;; 2069 ;;
2070 *-sunos5.6* | *-solaris2.6* )
2071 opsys=sol2-6
2072 NON_GNU_CPP=/usr/ccs/lib/cpp
2073 RANLIB="ar -ts"
2074 ;;
2071 *-sunos5* | *-solaris* ) 2075 *-sunos5* | *-solaris* )
2072 opsys=sol2-5 2076 opsys=sol2-6
2073 NON_GNU_CPP=/usr/ccs/lib/cpp 2077 NON_GNU_CPP=/usr/ccs/lib/cpp
2074 ;; 2078 ;;
2075 * ) opsys=bsd4-2 ;; 2079 * ) opsys=bsd4-2 ;;
2076 esac 2080 esac
2077 ## Watch out for a compiler that we know will not work. 2081 ## Watch out for a compiler that we know will not work.
2270 ;; 2274 ;;
2271 esac 2275 esac
2272 fi 2276 fi
2273 2277
2274 if test $unported = yes; then 2278 if test $unported = yes; then
2275 { { echo "$as_me:2275: error: Emacs hasn't been ported to \`${canonical}' systems. 2279 { { echo "$as_me:2279: error: Emacs hasn't been ported to \`${canonical}' systems.
2276 Check \`etc/MACHINES' for recognized configuration names." >&5 2280 Check \`etc/MACHINES' for recognized configuration names." >&5
2277 echo "$as_me: error: Emacs hasn't been ported to \`${canonical}' systems. 2281 echo "$as_me: error: Emacs hasn't been ported to \`${canonical}' systems.
2278 Check \`etc/MACHINES' for recognized configuration names." >&2;} 2282 Check \`etc/MACHINES' for recognized configuration names." >&2;}
2279 { (exit 1); exit 1; }; } 2283 { (exit 1); exit 1; }; }
2280 fi 2284 fi
2299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2300 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2301 if test -n "$ac_tool_prefix"; then 2305 if test -n "$ac_tool_prefix"; then
2302 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2306 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2303 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2307 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2304 echo "$as_me:2304: checking for $ac_word" >&5 2308 echo "$as_me:2308: checking for $ac_word" >&5
2305 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2309 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2306 if test "${ac_cv_prog_CC+set}" = set; then 2310 if test "${ac_cv_prog_CC+set}" = set; then
2307 echo $ECHO_N "(cached) $ECHO_C" >&6 2311 echo $ECHO_N "(cached) $ECHO_C" >&6
2308 else 2312 else
2309 if test -n "$CC"; then 2313 if test -n "$CC"; then
2314 for ac_dir in $ac_dummy; do 2318 for ac_dir in $ac_dummy; do
2315 IFS=$ac_save_IFS 2319 IFS=$ac_save_IFS
2316 test -z "$ac_dir" && ac_dir=. 2320 test -z "$ac_dir" && ac_dir=.
2317 $as_executable_p "$ac_dir/$ac_word" || continue 2321 $as_executable_p "$ac_dir/$ac_word" || continue
2318 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2322 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2319 echo "$as_me:2319: found $ac_dir/$ac_word" >&5 2323 echo "$as_me:2323: found $ac_dir/$ac_word" >&5
2320 break 2324 break
2321 done 2325 done
2322 2326
2323 fi 2327 fi
2324 fi 2328 fi
2325 CC=$ac_cv_prog_CC 2329 CC=$ac_cv_prog_CC
2326 if test -n "$CC"; then 2330 if test -n "$CC"; then
2327 echo "$as_me:2327: result: $CC" >&5 2331 echo "$as_me:2331: result: $CC" >&5
2328 echo "${ECHO_T}$CC" >&6 2332 echo "${ECHO_T}$CC" >&6
2329 else 2333 else
2330 echo "$as_me:2330: result: no" >&5 2334 echo "$as_me:2334: result: no" >&5
2331 echo "${ECHO_T}no" >&6 2335 echo "${ECHO_T}no" >&6
2332 fi 2336 fi
2333 2337
2334 fi 2338 fi
2335 if test -z "$ac_cv_prog_CC"; then 2339 if test -z "$ac_cv_prog_CC"; then
2336 ac_ct_CC=$CC 2340 ac_ct_CC=$CC
2337 # Extract the first word of "gcc", so it can be a program name with args. 2341 # Extract the first word of "gcc", so it can be a program name with args.
2338 set dummy gcc; ac_word=$2 2342 set dummy gcc; ac_word=$2
2339 echo "$as_me:2339: checking for $ac_word" >&5 2343 echo "$as_me:2343: checking for $ac_word" >&5
2340 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2344 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2341 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2345 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2342 echo $ECHO_N "(cached) $ECHO_C" >&6 2346 echo $ECHO_N "(cached) $ECHO_C" >&6
2343 else 2347 else
2344 if test -n "$ac_ct_CC"; then 2348 if test -n "$ac_ct_CC"; then
2349 for ac_dir in $ac_dummy; do 2353 for ac_dir in $ac_dummy; do
2350 IFS=$ac_save_IFS 2354 IFS=$ac_save_IFS
2351 test -z "$ac_dir" && ac_dir=. 2355 test -z "$ac_dir" && ac_dir=.
2352 $as_executable_p "$ac_dir/$ac_word" || continue 2356 $as_executable_p "$ac_dir/$ac_word" || continue
2353 ac_cv_prog_ac_ct_CC="gcc" 2357 ac_cv_prog_ac_ct_CC="gcc"
2354 echo "$as_me:2354: found $ac_dir/$ac_word" >&5 2358 echo "$as_me:2358: found $ac_dir/$ac_word" >&5
2355 break 2359 break
2356 done 2360 done
2357 2361
2358 fi 2362 fi
2359 fi 2363 fi
2360 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2364 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2361 if test -n "$ac_ct_CC"; then 2365 if test -n "$ac_ct_CC"; then
2362 echo "$as_me:2362: result: $ac_ct_CC" >&5 2366 echo "$as_me:2366: result: $ac_ct_CC" >&5
2363 echo "${ECHO_T}$ac_ct_CC" >&6 2367 echo "${ECHO_T}$ac_ct_CC" >&6
2364 else 2368 else
2365 echo "$as_me:2365: result: no" >&5 2369 echo "$as_me:2369: result: no" >&5
2366 echo "${ECHO_T}no" >&6 2370 echo "${ECHO_T}no" >&6
2367 fi 2371 fi
2368 2372
2369 CC=$ac_ct_CC 2373 CC=$ac_ct_CC
2370 else 2374 else
2373 2377
2374 if test -z "$CC"; then 2378 if test -z "$CC"; then
2375 if test -n "$ac_tool_prefix"; then 2379 if test -n "$ac_tool_prefix"; then
2376 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2380 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2377 set dummy ${ac_tool_prefix}cc; ac_word=$2 2381 set dummy ${ac_tool_prefix}cc; ac_word=$2
2378 echo "$as_me:2378: checking for $ac_word" >&5 2382 echo "$as_me:2382: checking for $ac_word" >&5
2379 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2383 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2380 if test "${ac_cv_prog_CC+set}" = set; then 2384 if test "${ac_cv_prog_CC+set}" = set; then
2381 echo $ECHO_N "(cached) $ECHO_C" >&6 2385 echo $ECHO_N "(cached) $ECHO_C" >&6
2382 else 2386 else
2383 if test -n "$CC"; then 2387 if test -n "$CC"; then
2388 for ac_dir in $ac_dummy; do 2392 for ac_dir in $ac_dummy; do
2389 IFS=$ac_save_IFS 2393 IFS=$ac_save_IFS
2390 test -z "$ac_dir" && ac_dir=. 2394 test -z "$ac_dir" && ac_dir=.
2391 $as_executable_p "$ac_dir/$ac_word" || continue 2395 $as_executable_p "$ac_dir/$ac_word" || continue
2392 ac_cv_prog_CC="${ac_tool_prefix}cc" 2396 ac_cv_prog_CC="${ac_tool_prefix}cc"
2393 echo "$as_me:2393: found $ac_dir/$ac_word" >&5 2397 echo "$as_me:2397: found $ac_dir/$ac_word" >&5
2394 break 2398 break
2395 done 2399 done
2396 2400
2397 fi 2401 fi
2398 fi 2402 fi
2399 CC=$ac_cv_prog_CC 2403 CC=$ac_cv_prog_CC
2400 if test -n "$CC"; then 2404 if test -n "$CC"; then
2401 echo "$as_me:2401: result: $CC" >&5 2405 echo "$as_me:2405: result: $CC" >&5
2402 echo "${ECHO_T}$CC" >&6 2406 echo "${ECHO_T}$CC" >&6
2403 else 2407 else
2404 echo "$as_me:2404: result: no" >&5 2408 echo "$as_me:2408: result: no" >&5
2405 echo "${ECHO_T}no" >&6 2409 echo "${ECHO_T}no" >&6
2406 fi 2410 fi
2407 2411
2408 fi 2412 fi
2409 if test -z "$ac_cv_prog_CC"; then 2413 if test -z "$ac_cv_prog_CC"; then
2410 ac_ct_CC=$CC 2414 ac_ct_CC=$CC
2411 # Extract the first word of "cc", so it can be a program name with args. 2415 # Extract the first word of "cc", so it can be a program name with args.
2412 set dummy cc; ac_word=$2 2416 set dummy cc; ac_word=$2
2413 echo "$as_me:2413: checking for $ac_word" >&5 2417 echo "$as_me:2417: checking for $ac_word" >&5
2414 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2418 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2415 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2419 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2416 echo $ECHO_N "(cached) $ECHO_C" >&6 2420 echo $ECHO_N "(cached) $ECHO_C" >&6
2417 else 2421 else
2418 if test -n "$ac_ct_CC"; then 2422 if test -n "$ac_ct_CC"; then
2423 for ac_dir in $ac_dummy; do 2427 for ac_dir in $ac_dummy; do
2424 IFS=$ac_save_IFS 2428 IFS=$ac_save_IFS
2425 test -z "$ac_dir" && ac_dir=. 2429 test -z "$ac_dir" && ac_dir=.
2426 $as_executable_p "$ac_dir/$ac_word" || continue 2430 $as_executable_p "$ac_dir/$ac_word" || continue
2427 ac_cv_prog_ac_ct_CC="cc" 2431 ac_cv_prog_ac_ct_CC="cc"
2428 echo "$as_me:2428: found $ac_dir/$ac_word" >&5 2432 echo "$as_me:2432: found $ac_dir/$ac_word" >&5
2429 break 2433 break
2430 done 2434 done
2431 2435
2432 fi 2436 fi
2433 fi 2437 fi
2434 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2438 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2435 if test -n "$ac_ct_CC"; then 2439 if test -n "$ac_ct_CC"; then
2436 echo "$as_me:2436: result: $ac_ct_CC" >&5 2440 echo "$as_me:2440: result: $ac_ct_CC" >&5
2437 echo "${ECHO_T}$ac_ct_CC" >&6 2441 echo "${ECHO_T}$ac_ct_CC" >&6
2438 else 2442 else
2439 echo "$as_me:2439: result: no" >&5 2443 echo "$as_me:2443: result: no" >&5
2440 echo "${ECHO_T}no" >&6 2444 echo "${ECHO_T}no" >&6
2441 fi 2445 fi
2442 2446
2443 CC=$ac_ct_CC 2447 CC=$ac_ct_CC
2444 else 2448 else
2447 2451
2448 fi 2452 fi
2449 if test -z "$CC"; then 2453 if test -z "$CC"; then
2450 # Extract the first word of "cc", so it can be a program name with args. 2454 # Extract the first word of "cc", so it can be a program name with args.
2451 set dummy cc; ac_word=$2 2455 set dummy cc; ac_word=$2
2452 echo "$as_me:2452: checking for $ac_word" >&5 2456 echo "$as_me:2456: checking for $ac_word" >&5
2453 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2457 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2454 if test "${ac_cv_prog_CC+set}" = set; then 2458 if test "${ac_cv_prog_CC+set}" = set; then
2455 echo $ECHO_N "(cached) $ECHO_C" >&6 2459 echo $ECHO_N "(cached) $ECHO_C" >&6
2456 else 2460 else
2457 if test -n "$CC"; then 2461 if test -n "$CC"; then
2467 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then 2471 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
2468 ac_prog_rejected=yes 2472 ac_prog_rejected=yes
2469 continue 2473 continue
2470 fi 2474 fi
2471 ac_cv_prog_CC="cc" 2475 ac_cv_prog_CC="cc"
2472 echo "$as_me:2472: found $ac_dir/$ac_word" >&5 2476 echo "$as_me:2476: found $ac_dir/$ac_word" >&5
2473 break 2477 break
2474 done 2478 done
2475 2479
2476 if test $ac_prog_rejected = yes; then 2480 if test $ac_prog_rejected = yes; then
2477 # We found a bogon in the path, so make sure we never use it. 2481 # We found a bogon in the path, so make sure we never use it.
2489 fi 2493 fi
2490 fi 2494 fi
2491 fi 2495 fi
2492 CC=$ac_cv_prog_CC 2496 CC=$ac_cv_prog_CC
2493 if test -n "$CC"; then 2497 if test -n "$CC"; then
2494 echo "$as_me:2494: result: $CC" >&5 2498 echo "$as_me:2498: result: $CC" >&5
2495 echo "${ECHO_T}$CC" >&6 2499 echo "${ECHO_T}$CC" >&6
2496 else 2500 else
2497 echo "$as_me:2497: result: no" >&5 2501 echo "$as_me:2501: result: no" >&5
2498 echo "${ECHO_T}no" >&6 2502 echo "${ECHO_T}no" >&6
2499 fi 2503 fi
2500 2504
2501 fi 2505 fi
2502 if test -z "$CC"; then 2506 if test -z "$CC"; then
2503 if test -n "$ac_tool_prefix"; then 2507 if test -n "$ac_tool_prefix"; then
2504 for ac_prog in cl 2508 for ac_prog in cl
2505 do 2509 do
2506 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2510 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2507 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2511 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2508 echo "$as_me:2508: checking for $ac_word" >&5 2512 echo "$as_me:2512: checking for $ac_word" >&5
2509 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2513 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2510 if test "${ac_cv_prog_CC+set}" = set; then 2514 if test "${ac_cv_prog_CC+set}" = set; then
2511 echo $ECHO_N "(cached) $ECHO_C" >&6 2515 echo $ECHO_N "(cached) $ECHO_C" >&6
2512 else 2516 else
2513 if test -n "$CC"; then 2517 if test -n "$CC"; then
2518 for ac_dir in $ac_dummy; do 2522 for ac_dir in $ac_dummy; do
2519 IFS=$ac_save_IFS 2523 IFS=$ac_save_IFS
2520 test -z "$ac_dir" && ac_dir=. 2524 test -z "$ac_dir" && ac_dir=.
2521 $as_executable_p "$ac_dir/$ac_word" || continue 2525 $as_executable_p "$ac_dir/$ac_word" || continue
2522 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2526 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2523 echo "$as_me:2523: found $ac_dir/$ac_word" >&5 2527 echo "$as_me:2527: found $ac_dir/$ac_word" >&5
2524 break 2528 break
2525 done 2529 done
2526 2530
2527 fi 2531 fi
2528 fi 2532 fi
2529 CC=$ac_cv_prog_CC 2533 CC=$ac_cv_prog_CC
2530 if test -n "$CC"; then 2534 if test -n "$CC"; then
2531 echo "$as_me:2531: result: $CC" >&5 2535 echo "$as_me:2535: result: $CC" >&5
2532 echo "${ECHO_T}$CC" >&6 2536 echo "${ECHO_T}$CC" >&6
2533 else 2537 else
2534 echo "$as_me:2534: result: no" >&5 2538 echo "$as_me:2538: result: no" >&5
2535 echo "${ECHO_T}no" >&6 2539 echo "${ECHO_T}no" >&6
2536 fi 2540 fi
2537 2541
2538 test -n "$CC" && break 2542 test -n "$CC" && break
2539 done 2543 done
2542 ac_ct_CC=$CC 2546 ac_ct_CC=$CC
2543 for ac_prog in cl 2547 for ac_prog in cl
2544 do 2548 do
2545 # Extract the first word of "$ac_prog", so it can be a program name with args. 2549 # Extract the first word of "$ac_prog", so it can be a program name with args.
2546 set dummy $ac_prog; ac_word=$2 2550 set dummy $ac_prog; ac_word=$2
2547 echo "$as_me:2547: checking for $ac_word" >&5 2551 echo "$as_me:2551: checking for $ac_word" >&5
2548 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2552 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2549 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2553 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2550 echo $ECHO_N "(cached) $ECHO_C" >&6 2554 echo $ECHO_N "(cached) $ECHO_C" >&6
2551 else 2555 else
2552 if test -n "$ac_ct_CC"; then 2556 if test -n "$ac_ct_CC"; then
2557 for ac_dir in $ac_dummy; do 2561 for ac_dir in $ac_dummy; do
2558 IFS=$ac_save_IFS 2562 IFS=$ac_save_IFS
2559 test -z "$ac_dir" && ac_dir=. 2563 test -z "$ac_dir" && ac_dir=.
2560 $as_executable_p "$ac_dir/$ac_word" || continue 2564 $as_executable_p "$ac_dir/$ac_word" || continue
2561 ac_cv_prog_ac_ct_CC="$ac_prog" 2565 ac_cv_prog_ac_ct_CC="$ac_prog"
2562 echo "$as_me:2562: found $ac_dir/$ac_word" >&5 2566 echo "$as_me:2566: found $ac_dir/$ac_word" >&5
2563 break 2567 break
2564 done 2568 done
2565 2569
2566 fi 2570 fi
2567 fi 2571 fi
2568 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2572 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2569 if test -n "$ac_ct_CC"; then 2573 if test -n "$ac_ct_CC"; then
2570 echo "$as_me:2570: result: $ac_ct_CC" >&5 2574 echo "$as_me:2574: result: $ac_ct_CC" >&5
2571 echo "${ECHO_T}$ac_ct_CC" >&6 2575 echo "${ECHO_T}$ac_ct_CC" >&6
2572 else 2576 else
2573 echo "$as_me:2573: result: no" >&5 2577 echo "$as_me:2577: result: no" >&5
2574 echo "${ECHO_T}no" >&6 2578 echo "${ECHO_T}no" >&6
2575 fi 2579 fi
2576 2580
2577 test -n "$ac_ct_CC" && break 2581 test -n "$ac_ct_CC" && break
2578 done 2582 done
2580 CC=$ac_ct_CC 2584 CC=$ac_ct_CC
2581 fi 2585 fi
2582 2586
2583 fi 2587 fi
2584 2588
2585 test -z "$CC" && { { echo "$as_me:2585: error: no acceptable cc found in \$PATH" >&5 2589 test -z "$CC" && { { echo "$as_me:2589: error: no acceptable cc found in \$PATH" >&5
2586 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;} 2590 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
2587 { (exit 1); exit 1; }; } 2591 { (exit 1); exit 1; }; }
2588 2592
2589 # Provide some information about the compiler. 2593 # Provide some information about the compiler.
2590 echo "$as_me:2590:" \ 2594 echo "$as_me:2594:" \
2591 "checking for C compiler version" >&5 2595 "checking for C compiler version" >&5
2592 ac_compiler=`set X $ac_compile; echo $2` 2596 ac_compiler=`set X $ac_compile; echo $2`
2593 { (eval echo "$as_me:2593: \"$ac_compiler --version </dev/null >&5\"") >&5 2597 { (eval echo "$as_me:2597: \"$ac_compiler --version </dev/null >&5\"") >&5
2594 (eval $ac_compiler --version </dev/null >&5) 2>&5 2598 (eval $ac_compiler --version </dev/null >&5) 2>&5
2595 ac_status=$? 2599 ac_status=$?
2596 echo "$as_me:2596: \$? = $ac_status" >&5 2600 echo "$as_me:2600: \$? = $ac_status" >&5
2597 (exit $ac_status); } 2601 (exit $ac_status); }
2598 { (eval echo "$as_me:2598: \"$ac_compiler -v </dev/null >&5\"") >&5 2602 { (eval echo "$as_me:2602: \"$ac_compiler -v </dev/null >&5\"") >&5
2599 (eval $ac_compiler -v </dev/null >&5) 2>&5 2603 (eval $ac_compiler -v </dev/null >&5) 2>&5
2600 ac_status=$? 2604 ac_status=$?
2601 echo "$as_me:2601: \$? = $ac_status" >&5 2605 echo "$as_me:2605: \$? = $ac_status" >&5
2602 (exit $ac_status); } 2606 (exit $ac_status); }
2603 { (eval echo "$as_me:2603: \"$ac_compiler -V </dev/null >&5\"") >&5 2607 { (eval echo "$as_me:2607: \"$ac_compiler -V </dev/null >&5\"") >&5
2604 (eval $ac_compiler -V </dev/null >&5) 2>&5 2608 (eval $ac_compiler -V </dev/null >&5) 2>&5
2605 ac_status=$? 2609 ac_status=$?
2606 echo "$as_me:2606: \$? = $ac_status" >&5 2610 echo "$as_me:2610: \$? = $ac_status" >&5
2607 (exit $ac_status); } 2611 (exit $ac_status); }
2608 2612
2609 cat >conftest.$ac_ext <<_ACEOF 2613 cat >conftest.$ac_ext <<_ACEOF
2610 #line 2610 "configure" 2614 #line 2614 "configure"
2611 #include "confdefs.h" 2615 #include "confdefs.h"
2612 2616
2613 int 2617 int
2614 main () 2618 main ()
2615 { 2619 {
2621 ac_clean_files_save=$ac_clean_files 2625 ac_clean_files_save=$ac_clean_files
2622 ac_clean_files="$ac_clean_files a.out a.exe" 2626 ac_clean_files="$ac_clean_files a.out a.exe"
2623 # Try to create an executable without -o first, disregard a.out. 2627 # Try to create an executable without -o first, disregard a.out.
2624 # It will help us diagnose broken compilers, and finding out an intuition 2628 # It will help us diagnose broken compilers, and finding out an intuition
2625 # of exeext. 2629 # of exeext.
2626 echo "$as_me:2626: checking for C compiler default output" >&5 2630 echo "$as_me:2630: checking for C compiler default output" >&5
2627 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 2631 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2628 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2632 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2629 if { (eval echo "$as_me:2629: \"$ac_link_default\"") >&5 2633 if { (eval echo "$as_me:2633: \"$ac_link_default\"") >&5
2630 (eval $ac_link_default) 2>&5 2634 (eval $ac_link_default) 2>&5
2631 ac_status=$? 2635 ac_status=$?
2632 echo "$as_me:2632: \$? = $ac_status" >&5 2636 echo "$as_me:2636: \$? = $ac_status" >&5
2633 (exit $ac_status); }; then 2637 (exit $ac_status); }; then
2634 # Find the output, starting from the most likely. This scheme is 2638 # Find the output, starting from the most likely. This scheme is
2635 # not robust to junk in `.', hence go to wildcards (a.*) only as a last 2639 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2636 # resort. 2640 # resort.
2637 for ac_file in `ls a.exe conftest.exe 2>/dev/null; 2641 for ac_file in `ls a.exe conftest.exe 2>/dev/null;
2650 esac 2654 esac
2651 done 2655 done
2652 else 2656 else
2653 echo "$as_me: failed program was:" >&5 2657 echo "$as_me: failed program was:" >&5
2654 cat conftest.$ac_ext >&5 2658 cat conftest.$ac_ext >&5
2655 { { echo "$as_me:2655: error: C compiler cannot create executables" >&5 2659 { { echo "$as_me:2659: error: C compiler cannot create executables" >&5
2656 echo "$as_me: error: C compiler cannot create executables" >&2;} 2660 echo "$as_me: error: C compiler cannot create executables" >&2;}
2657 { (exit 77); exit 77; }; } 2661 { (exit 77); exit 77; }; }
2658 fi 2662 fi
2659 2663
2660 ac_exeext=$ac_cv_exeext 2664 ac_exeext=$ac_cv_exeext
2661 echo "$as_me:2661: result: $ac_file" >&5 2665 echo "$as_me:2665: result: $ac_file" >&5
2662 echo "${ECHO_T}$ac_file" >&6 2666 echo "${ECHO_T}$ac_file" >&6
2663 2667
2664 # Check the compiler produces executables we can run. If not, either 2668 # Check the compiler produces executables we can run. If not, either
2665 # the compiler is broken, or we cross compile. 2669 # the compiler is broken, or we cross compile.
2666 echo "$as_me:2666: checking whether the C compiler works" >&5 2670 echo "$as_me:2670: checking whether the C compiler works" >&5
2667 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 2671 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2668 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2672 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2669 # If not cross compiling, check that we can run a simple program. 2673 # If not cross compiling, check that we can run a simple program.
2670 if test "$cross_compiling" != yes; then 2674 if test "$cross_compiling" != yes; then
2671 if { ac_try='./$ac_file' 2675 if { ac_try='./$ac_file'
2672 { (eval echo "$as_me:2672: \"$ac_try\"") >&5 2676 { (eval echo "$as_me:2676: \"$ac_try\"") >&5
2673 (eval $ac_try) 2>&5 2677 (eval $ac_try) 2>&5
2674 ac_status=$? 2678 ac_status=$?
2675 echo "$as_me:2675: \$? = $ac_status" >&5 2679 echo "$as_me:2679: \$? = $ac_status" >&5
2676 (exit $ac_status); }; }; then 2680 (exit $ac_status); }; }; then
2677 cross_compiling=no 2681 cross_compiling=no
2678 else 2682 else
2679 if test "$cross_compiling" = maybe; then 2683 if test "$cross_compiling" = maybe; then
2680 cross_compiling=yes 2684 cross_compiling=yes
2681 else 2685 else
2682 { { echo "$as_me:2682: error: cannot run C compiled programs. 2686 { { echo "$as_me:2686: error: cannot run C compiled programs.
2683 If you meant to cross compile, use \`--host'." >&5 2687 If you meant to cross compile, use \`--host'." >&5
2684 echo "$as_me: error: cannot run C compiled programs. 2688 echo "$as_me: error: cannot run C compiled programs.
2685 If you meant to cross compile, use \`--host'." >&2;} 2689 If you meant to cross compile, use \`--host'." >&2;}
2686 { (exit 1); exit 1; }; } 2690 { (exit 1); exit 1; }; }
2687 fi 2691 fi
2688 fi 2692 fi
2689 fi 2693 fi
2690 echo "$as_me:2690: result: yes" >&5 2694 echo "$as_me:2694: result: yes" >&5
2691 echo "${ECHO_T}yes" >&6 2695 echo "${ECHO_T}yes" >&6
2692 2696
2693 rm -f a.out a.exe conftest$ac_cv_exeext 2697 rm -f a.out a.exe conftest$ac_cv_exeext
2694 ac_clean_files=$ac_clean_files_save 2698 ac_clean_files=$ac_clean_files_save
2695 # Check the compiler produces executables we can run. If not, either 2699 # Check the compiler produces executables we can run. If not, either
2696 # the compiler is broken, or we cross compile. 2700 # the compiler is broken, or we cross compile.
2697 echo "$as_me:2697: checking whether we are cross compiling" >&5 2701 echo "$as_me:2701: checking whether we are cross compiling" >&5
2698 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 2702 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2699 echo "$as_me:2699: result: $cross_compiling" >&5 2703 echo "$as_me:2703: result: $cross_compiling" >&5
2700 echo "${ECHO_T}$cross_compiling" >&6 2704 echo "${ECHO_T}$cross_compiling" >&6
2701 2705
2702 echo "$as_me:2702: checking for executable suffix" >&5 2706 echo "$as_me:2706: checking for executable suffix" >&5
2703 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6 2707 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
2704 if { (eval echo "$as_me:2704: \"$ac_link\"") >&5 2708 if { (eval echo "$as_me:2708: \"$ac_link\"") >&5
2705 (eval $ac_link) 2>&5 2709 (eval $ac_link) 2>&5
2706 ac_status=$? 2710 ac_status=$?
2707 echo "$as_me:2707: \$? = $ac_status" >&5 2711 echo "$as_me:2711: \$? = $ac_status" >&5
2708 (exit $ac_status); }; then 2712 (exit $ac_status); }; then
2709 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2713 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2710 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2714 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2711 # work properly (i.e., refer to `conftest.exe'), while it won't with 2715 # work properly (i.e., refer to `conftest.exe'), while it won't with
2712 # `rm'. 2716 # `rm'.
2718 break;; 2722 break;;
2719 * ) break;; 2723 * ) break;;
2720 esac 2724 esac
2721 done 2725 done
2722 else 2726 else
2723 { { echo "$as_me:2723: error: cannot compute EXEEXT: cannot compile and link" >&5 2727 { { echo "$as_me:2727: error: cannot compute EXEEXT: cannot compile and link" >&5
2724 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;} 2728 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
2725 { (exit 1); exit 1; }; } 2729 { (exit 1); exit 1; }; }
2726 fi 2730 fi
2727 2731
2728 rm -f conftest$ac_cv_exeext 2732 rm -f conftest$ac_cv_exeext
2729 echo "$as_me:2729: result: $ac_cv_exeext" >&5 2733 echo "$as_me:2733: result: $ac_cv_exeext" >&5
2730 echo "${ECHO_T}$ac_cv_exeext" >&6 2734 echo "${ECHO_T}$ac_cv_exeext" >&6
2731 2735
2732 rm -f conftest.$ac_ext 2736 rm -f conftest.$ac_ext
2733 EXEEXT=$ac_cv_exeext 2737 EXEEXT=$ac_cv_exeext
2734 ac_exeext=$EXEEXT 2738 ac_exeext=$EXEEXT
2735 echo "$as_me:2735: checking for object suffix" >&5 2739 echo "$as_me:2739: checking for object suffix" >&5
2736 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6 2740 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
2737 if test "${ac_cv_objext+set}" = set; then 2741 if test "${ac_cv_objext+set}" = set; then
2738 echo $ECHO_N "(cached) $ECHO_C" >&6 2742 echo $ECHO_N "(cached) $ECHO_C" >&6
2739 else 2743 else
2740 cat >conftest.$ac_ext <<_ACEOF 2744 cat >conftest.$ac_ext <<_ACEOF
2741 #line 2741 "configure" 2745 #line 2745 "configure"
2742 #include "confdefs.h" 2746 #include "confdefs.h"
2743 2747
2744 int 2748 int
2745 main () 2749 main ()
2746 { 2750 {
2748 ; 2752 ;
2749 return 0; 2753 return 0;
2750 } 2754 }
2751 _ACEOF 2755 _ACEOF
2752 rm -f conftest.o conftest.obj 2756 rm -f conftest.o conftest.obj
2753 if { (eval echo "$as_me:2753: \"$ac_compile\"") >&5 2757 if { (eval echo "$as_me:2757: \"$ac_compile\"") >&5
2754 (eval $ac_compile) 2>&5 2758 (eval $ac_compile) 2>&5
2755 ac_status=$? 2759 ac_status=$?
2756 echo "$as_me:2756: \$? = $ac_status" >&5 2760 echo "$as_me:2760: \$? = $ac_status" >&5
2757 (exit $ac_status); }; then 2761 (exit $ac_status); }; then
2758 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 2762 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2759 case $ac_file in 2763 case $ac_file in
2760 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;; 2764 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
2761 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2765 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2763 esac 2767 esac
2764 done 2768 done
2765 else 2769 else
2766 echo "$as_me: failed program was:" >&5 2770 echo "$as_me: failed program was:" >&5
2767 cat conftest.$ac_ext >&5 2771 cat conftest.$ac_ext >&5
2768 { { echo "$as_me:2768: error: cannot compute OBJEXT: cannot compile" >&5 2772 { { echo "$as_me:2772: error: cannot compute OBJEXT: cannot compile" >&5
2769 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;} 2773 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
2770 { (exit 1); exit 1; }; } 2774 { (exit 1); exit 1; }; }
2771 fi 2775 fi
2772 2776
2773 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2777 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2774 fi 2778 fi
2775 echo "$as_me:2775: result: $ac_cv_objext" >&5 2779 echo "$as_me:2779: result: $ac_cv_objext" >&5
2776 echo "${ECHO_T}$ac_cv_objext" >&6 2780 echo "${ECHO_T}$ac_cv_objext" >&6
2777 OBJEXT=$ac_cv_objext 2781 OBJEXT=$ac_cv_objext
2778 ac_objext=$OBJEXT 2782 ac_objext=$OBJEXT
2779 echo "$as_me:2779: checking whether we are using the GNU C compiler" >&5 2783 echo "$as_me:2783: checking whether we are using the GNU C compiler" >&5
2780 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2784 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2781 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2785 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2782 echo $ECHO_N "(cached) $ECHO_C" >&6 2786 echo $ECHO_N "(cached) $ECHO_C" >&6
2783 else 2787 else
2784 cat >conftest.$ac_ext <<_ACEOF 2788 cat >conftest.$ac_ext <<_ACEOF
2785 #line 2785 "configure" 2789 #line 2789 "configure"
2786 #include "confdefs.h" 2790 #include "confdefs.h"
2787 2791
2788 int 2792 int
2789 main () 2793 main ()
2790 { 2794 {
2795 ; 2799 ;
2796 return 0; 2800 return 0;
2797 } 2801 }
2798 _ACEOF 2802 _ACEOF
2799 rm -f conftest.$ac_objext 2803 rm -f conftest.$ac_objext
2800 if { (eval echo "$as_me:2800: \"$ac_compile\"") >&5 2804 if { (eval echo "$as_me:2804: \"$ac_compile\"") >&5
2801 (eval $ac_compile) 2>&5 2805 (eval $ac_compile) 2>&5
2802 ac_status=$? 2806 ac_status=$?
2803 echo "$as_me:2803: \$? = $ac_status" >&5 2807 echo "$as_me:2807: \$? = $ac_status" >&5
2804 (exit $ac_status); } && 2808 (exit $ac_status); } &&
2805 { ac_try='test -s conftest.$ac_objext' 2809 { ac_try='test -s conftest.$ac_objext'
2806 { (eval echo "$as_me:2806: \"$ac_try\"") >&5 2810 { (eval echo "$as_me:2810: \"$ac_try\"") >&5
2807 (eval $ac_try) 2>&5 2811 (eval $ac_try) 2>&5
2808 ac_status=$? 2812 ac_status=$?
2809 echo "$as_me:2809: \$? = $ac_status" >&5 2813 echo "$as_me:2813: \$? = $ac_status" >&5
2810 (exit $ac_status); }; }; then 2814 (exit $ac_status); }; }; then
2811 ac_compiler_gnu=yes 2815 ac_compiler_gnu=yes
2812 else 2816 else
2813 echo "$as_me: failed program was:" >&5 2817 echo "$as_me: failed program was:" >&5
2814 cat conftest.$ac_ext >&5 2818 cat conftest.$ac_ext >&5
2816 fi 2820 fi
2817 rm -f conftest.$ac_objext conftest.$ac_ext 2821 rm -f conftest.$ac_objext conftest.$ac_ext
2818 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2822 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2819 2823
2820 fi 2824 fi
2821 echo "$as_me:2821: result: $ac_cv_c_compiler_gnu" >&5 2825 echo "$as_me:2825: result: $ac_cv_c_compiler_gnu" >&5
2822 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2826 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2823 GCC=`test $ac_compiler_gnu = yes && echo yes` 2827 GCC=`test $ac_compiler_gnu = yes && echo yes`
2824 ac_test_CFLAGS=${CFLAGS+set} 2828 ac_test_CFLAGS=${CFLAGS+set}
2825 ac_save_CFLAGS=$CFLAGS 2829 ac_save_CFLAGS=$CFLAGS
2826 CFLAGS="-g" 2830 CFLAGS="-g"
2827 echo "$as_me:2827: checking whether $CC accepts -g" >&5 2831 echo "$as_me:2831: checking whether $CC accepts -g" >&5
2828 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2832 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2829 if test "${ac_cv_prog_cc_g+set}" = set; then 2833 if test "${ac_cv_prog_cc_g+set}" = set; then
2830 echo $ECHO_N "(cached) $ECHO_C" >&6 2834 echo $ECHO_N "(cached) $ECHO_C" >&6
2831 else 2835 else
2832 cat >conftest.$ac_ext <<_ACEOF 2836 cat >conftest.$ac_ext <<_ACEOF
2833 #line 2833 "configure" 2837 #line 2837 "configure"
2834 #include "confdefs.h" 2838 #include "confdefs.h"
2835 2839
2836 int 2840 int
2837 main () 2841 main ()
2838 { 2842 {
2840 ; 2844 ;
2841 return 0; 2845 return 0;
2842 } 2846 }
2843 _ACEOF 2847 _ACEOF
2844 rm -f conftest.$ac_objext 2848 rm -f conftest.$ac_objext
2845 if { (eval echo "$as_me:2845: \"$ac_compile\"") >&5 2849 if { (eval echo "$as_me:2849: \"$ac_compile\"") >&5
2846 (eval $ac_compile) 2>&5 2850 (eval $ac_compile) 2>&5
2847 ac_status=$? 2851 ac_status=$?
2848 echo "$as_me:2848: \$? = $ac_status" >&5 2852 echo "$as_me:2852: \$? = $ac_status" >&5
2849 (exit $ac_status); } && 2853 (exit $ac_status); } &&
2850 { ac_try='test -s conftest.$ac_objext' 2854 { ac_try='test -s conftest.$ac_objext'
2851 { (eval echo "$as_me:2851: \"$ac_try\"") >&5 2855 { (eval echo "$as_me:2855: \"$ac_try\"") >&5
2852 (eval $ac_try) 2>&5 2856 (eval $ac_try) 2>&5
2853 ac_status=$? 2857 ac_status=$?
2854 echo "$as_me:2854: \$? = $ac_status" >&5 2858 echo "$as_me:2858: \$? = $ac_status" >&5
2855 (exit $ac_status); }; }; then 2859 (exit $ac_status); }; }; then
2856 ac_cv_prog_cc_g=yes 2860 ac_cv_prog_cc_g=yes
2857 else 2861 else
2858 echo "$as_me: failed program was:" >&5 2862 echo "$as_me: failed program was:" >&5
2859 cat conftest.$ac_ext >&5 2863 cat conftest.$ac_ext >&5
2860 ac_cv_prog_cc_g=no 2864 ac_cv_prog_cc_g=no
2861 fi 2865 fi
2862 rm -f conftest.$ac_objext conftest.$ac_ext 2866 rm -f conftest.$ac_objext conftest.$ac_ext
2863 fi 2867 fi
2864 echo "$as_me:2864: result: $ac_cv_prog_cc_g" >&5 2868 echo "$as_me:2868: result: $ac_cv_prog_cc_g" >&5
2865 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 2869 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2866 if test "$ac_test_CFLAGS" = set; then 2870 if test "$ac_test_CFLAGS" = set; then
2867 CFLAGS=$ac_save_CFLAGS 2871 CFLAGS=$ac_save_CFLAGS
2868 elif test $ac_cv_prog_cc_g = yes; then 2872 elif test $ac_cv_prog_cc_g = yes; then
2869 if test "$GCC" = yes; then 2873 if test "$GCC" = yes; then
2886 #ifndef __cplusplus 2890 #ifndef __cplusplus
2887 choke me 2891 choke me
2888 #endif 2892 #endif
2889 _ACEOF 2893 _ACEOF
2890 rm -f conftest.$ac_objext 2894 rm -f conftest.$ac_objext
2891 if { (eval echo "$as_me:2891: \"$ac_compile\"") >&5 2895 if { (eval echo "$as_me:2895: \"$ac_compile\"") >&5
2892 (eval $ac_compile) 2>&5 2896 (eval $ac_compile) 2>&5
2893 ac_status=$? 2897 ac_status=$?
2894 echo "$as_me:2894: \$? = $ac_status" >&5 2898 echo "$as_me:2898: \$? = $ac_status" >&5
2895 (exit $ac_status); } && 2899 (exit $ac_status); } &&
2896 { ac_try='test -s conftest.$ac_objext' 2900 { ac_try='test -s conftest.$ac_objext'
2897 { (eval echo "$as_me:2897: \"$ac_try\"") >&5 2901 { (eval echo "$as_me:2901: \"$ac_try\"") >&5
2898 (eval $ac_try) 2>&5 2902 (eval $ac_try) 2>&5
2899 ac_status=$? 2903 ac_status=$?
2900 echo "$as_me:2900: \$? = $ac_status" >&5 2904 echo "$as_me:2904: \$? = $ac_status" >&5
2901 (exit $ac_status); }; }; then 2905 (exit $ac_status); }; }; then
2902 for ac_declaration in \ 2906 for ac_declaration in \
2903 ''\ 2907 ''\
2904 '#include <stdlib.h>' \ 2908 '#include <stdlib.h>' \
2905 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2909 'extern "C" void std::exit (int) throw (); using std::exit;' \
2907 'extern "C" void exit (int) throw ();' \ 2911 'extern "C" void exit (int) throw ();' \
2908 'extern "C" void exit (int);' \ 2912 'extern "C" void exit (int);' \
2909 'void exit (int);' 2913 'void exit (int);'
2910 do 2914 do
2911 cat >conftest.$ac_ext <<_ACEOF 2915 cat >conftest.$ac_ext <<_ACEOF
2912 #line 2912 "configure" 2916 #line 2916 "configure"
2913 #include "confdefs.h" 2917 #include "confdefs.h"
2914 #include <stdlib.h> 2918 #include <stdlib.h>
2915 $ac_declaration 2919 $ac_declaration
2916 int 2920 int
2917 main () 2921 main ()
2920 ; 2924 ;
2921 return 0; 2925 return 0;
2922 } 2926 }
2923 _ACEOF 2927 _ACEOF
2924 rm -f conftest.$ac_objext 2928 rm -f conftest.$ac_objext
2925 if { (eval echo "$as_me:2925: \"$ac_compile\"") >&5 2929 if { (eval echo "$as_me:2929: \"$ac_compile\"") >&5
2926 (eval $ac_compile) 2>&5 2930 (eval $ac_compile) 2>&5
2927 ac_status=$? 2931 ac_status=$?
2928 echo "$as_me:2928: \$? = $ac_status" >&5 2932 echo "$as_me:2932: \$? = $ac_status" >&5
2929 (exit $ac_status); } && 2933 (exit $ac_status); } &&
2930 { ac_try='test -s conftest.$ac_objext' 2934 { ac_try='test -s conftest.$ac_objext'
2931 { (eval echo "$as_me:2931: \"$ac_try\"") >&5 2935 { (eval echo "$as_me:2935: \"$ac_try\"") >&5
2932 (eval $ac_try) 2>&5 2936 (eval $ac_try) 2>&5
2933 ac_status=$? 2937 ac_status=$?
2934 echo "$as_me:2934: \$? = $ac_status" >&5 2938 echo "$as_me:2938: \$? = $ac_status" >&5
2935 (exit $ac_status); }; }; then 2939 (exit $ac_status); }; }; then
2936 : 2940 :
2937 else 2941 else
2938 echo "$as_me: failed program was:" >&5 2942 echo "$as_me: failed program was:" >&5
2939 cat conftest.$ac_ext >&5 2943 cat conftest.$ac_ext >&5
2940 continue 2944 continue
2941 fi 2945 fi
2942 rm -f conftest.$ac_objext conftest.$ac_ext 2946 rm -f conftest.$ac_objext conftest.$ac_ext
2943 cat >conftest.$ac_ext <<_ACEOF 2947 cat >conftest.$ac_ext <<_ACEOF
2944 #line 2944 "configure" 2948 #line 2948 "configure"
2945 #include "confdefs.h" 2949 #include "confdefs.h"
2946 $ac_declaration 2950 $ac_declaration
2947 int 2951 int
2948 main () 2952 main ()
2949 { 2953 {
2951 ; 2955 ;
2952 return 0; 2956 return 0;
2953 } 2957 }
2954 _ACEOF 2958 _ACEOF
2955 rm -f conftest.$ac_objext 2959 rm -f conftest.$ac_objext
2956 if { (eval echo "$as_me:2956: \"$ac_compile\"") >&5 2960 if { (eval echo "$as_me:2960: \"$ac_compile\"") >&5
2957 (eval $ac_compile) 2>&5 2961 (eval $ac_compile) 2>&5
2958 ac_status=$? 2962 ac_status=$?
2959 echo "$as_me:2959: \$? = $ac_status" >&5 2963 echo "$as_me:2963: \$? = $ac_status" >&5
2960 (exit $ac_status); } && 2964 (exit $ac_status); } &&
2961 { ac_try='test -s conftest.$ac_objext' 2965 { ac_try='test -s conftest.$ac_objext'
2962 { (eval echo "$as_me:2962: \"$ac_try\"") >&5 2966 { (eval echo "$as_me:2966: \"$ac_try\"") >&5
2963 (eval $ac_try) 2>&5 2967 (eval $ac_try) 2>&5
2964 ac_status=$? 2968 ac_status=$?
2965 echo "$as_me:2965: \$? = $ac_status" >&5 2969 echo "$as_me:2969: \$? = $ac_status" >&5
2966 (exit $ac_status); }; }; then 2970 (exit $ac_status); }; }; then
2967 break 2971 break
2968 else 2972 else
2969 echo "$as_me: failed program was:" >&5 2973 echo "$as_me: failed program was:" >&5
2970 cat conftest.$ac_ext >&5 2974 cat conftest.$ac_ext >&5
3019 if test x$GCC = x && test "x$NON_GCC_TEST_OPTIONS" != x 3023 if test x$GCC = x && test "x$NON_GCC_TEST_OPTIONS" != x
3020 then 3024 then
3021 CC="$CC $NON_GCC_TEST_OPTIONS" 3025 CC="$CC $NON_GCC_TEST_OPTIONS"
3022 fi 3026 fi
3023 3027
3024 if test x$GCC = xyes && test "x$GCC_LINK_TEST_OPTIONS" != x
3025 then
3026 ac_link="$ac_link $GCC_LINK_TEST_OPTIONS"
3027 fi
3028
3029 if test x$GCC = x && test "x$NON_GCC_LINK_TEST_OPTIONS" != x
3030 then
3031 ac_link="$ac_link $NON_GCC_LINK_TEST_OPTIONS"
3032 fi
3033
3034 #### Some other nice autoconf tests. If you add a test here which 3028 #### Some other nice autoconf tests. If you add a test here which
3035 #### should make an entry in src/config.h, don't forget to add an 3029 #### should make an entry in src/config.h, don't forget to add an
3036 #### #undef clause to src/config.h.in for autoconf to modify. 3030 #### #undef clause to src/config.h.in for autoconf to modify.
3037 3031
3038 echo "$as_me:3038: checking whether ln -s works" >&5 3032 echo "$as_me:3032: checking whether ln -s works" >&5
3039 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 3033 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3040 LN_S=$as_ln_s 3034 LN_S=$as_ln_s
3041 if test "$LN_S" = "ln -s"; then 3035 if test "$LN_S" = "ln -s"; then
3042 echo "$as_me:3042: result: yes" >&5 3036 echo "$as_me:3036: result: yes" >&5
3043 echo "${ECHO_T}yes" >&6 3037 echo "${ECHO_T}yes" >&6
3044 else 3038 else
3045 echo "$as_me:3045: result: no, using $LN_S" >&5 3039 echo "$as_me:3039: result: no, using $LN_S" >&5
3046 echo "${ECHO_T}no, using $LN_S" >&6 3040 echo "${ECHO_T}no, using $LN_S" >&6
3047 fi 3041 fi
3048 3042
3049 ac_ext=c 3043 ac_ext=c
3050 ac_cpp='$CPP $CPPFLAGS' 3044 ac_cpp='$CPP $CPPFLAGS'
3051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3053 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3054 echo "$as_me:3054: checking how to run the C preprocessor" >&5 3048 echo "$as_me:3048: checking how to run the C preprocessor" >&5
3055 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 3049 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3056 # On Suns, sometimes $CPP names a directory. 3050 # On Suns, sometimes $CPP names a directory.
3057 if test -n "$CPP" && test -d "$CPP"; then 3051 if test -n "$CPP" && test -d "$CPP"; then
3058 CPP= 3052 CPP=
3059 fi 3053 fi
3070 # Use a header file that comes with gcc, so configuring glibc 3064 # Use a header file that comes with gcc, so configuring glibc
3071 # with a fresh cross-compiler works. 3065 # with a fresh cross-compiler works.
3072 # On the NeXT, cc -E runs the code through the compiler's parser, 3066 # On the NeXT, cc -E runs the code through the compiler's parser,
3073 # not just through cpp. "Syntax error" is here to catch this case. 3067 # not just through cpp. "Syntax error" is here to catch this case.
3074 cat >conftest.$ac_ext <<_ACEOF 3068 cat >conftest.$ac_ext <<_ACEOF
3075 #line 3075 "configure" 3069 #line 3069 "configure"
3076 #include "confdefs.h" 3070 #include "confdefs.h"
3077 #include <assert.h> 3071 #include <assert.h>
3078 Syntax error 3072 Syntax error
3079 _ACEOF 3073 _ACEOF
3080 if { (eval echo "$as_me:3080: \"$ac_cpp conftest.$ac_ext\"") >&5 3074 if { (eval echo "$as_me:3074: \"$ac_cpp conftest.$ac_ext\"") >&5
3081 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3075 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3082 ac_status=$? 3076 ac_status=$?
3083 egrep -v '^ *\+' conftest.er1 >conftest.err 3077 egrep -v '^ *\+' conftest.er1 >conftest.err
3084 rm -f conftest.er1 3078 rm -f conftest.er1
3085 cat conftest.err >&5 3079 cat conftest.err >&5
3086 echo "$as_me:3086: \$? = $ac_status" >&5 3080 echo "$as_me:3080: \$? = $ac_status" >&5
3087 (exit $ac_status); } >/dev/null; then 3081 (exit $ac_status); } >/dev/null; then
3088 if test -s conftest.err; then 3082 if test -s conftest.err; then
3089 ac_cpp_err=$ac_c_preproc_warn_flag 3083 ac_cpp_err=$ac_c_preproc_warn_flag
3090 else 3084 else
3091 ac_cpp_err= 3085 ac_cpp_err=
3104 rm -f conftest.err conftest.$ac_ext 3098 rm -f conftest.err conftest.$ac_ext
3105 3099
3106 # OK, works on sane cases. Now check whether non-existent headers 3100 # OK, works on sane cases. Now check whether non-existent headers
3107 # can be detected and how. 3101 # can be detected and how.
3108 cat >conftest.$ac_ext <<_ACEOF 3102 cat >conftest.$ac_ext <<_ACEOF
3109 #line 3109 "configure" 3103 #line 3103 "configure"
3110 #include "confdefs.h" 3104 #include "confdefs.h"
3111 #include <ac_nonexistent.h> 3105 #include <ac_nonexistent.h>
3112 _ACEOF 3106 _ACEOF
3113 if { (eval echo "$as_me:3113: \"$ac_cpp conftest.$ac_ext\"") >&5 3107 if { (eval echo "$as_me:3107: \"$ac_cpp conftest.$ac_ext\"") >&5
3114 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3108 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3115 ac_status=$? 3109 ac_status=$?
3116 egrep -v '^ *\+' conftest.er1 >conftest.err 3110 egrep -v '^ *\+' conftest.er1 >conftest.err
3117 rm -f conftest.er1 3111 rm -f conftest.er1
3118 cat conftest.err >&5 3112 cat conftest.err >&5
3119 echo "$as_me:3119: \$? = $ac_status" >&5 3113 echo "$as_me:3113: \$? = $ac_status" >&5
3120 (exit $ac_status); } >/dev/null; then 3114 (exit $ac_status); } >/dev/null; then
3121 if test -s conftest.err; then 3115 if test -s conftest.err; then
3122 ac_cpp_err=$ac_c_preproc_warn_flag 3116 ac_cpp_err=$ac_c_preproc_warn_flag
3123 else 3117 else
3124 ac_cpp_err= 3118 ac_cpp_err=
3151 fi 3145 fi
3152 CPP=$ac_cv_prog_CPP 3146 CPP=$ac_cv_prog_CPP
3153 else 3147 else
3154 ac_cv_prog_CPP=$CPP 3148 ac_cv_prog_CPP=$CPP
3155 fi 3149 fi
3156 echo "$as_me:3156: result: $CPP" >&5 3150 echo "$as_me:3150: result: $CPP" >&5
3157 echo "${ECHO_T}$CPP" >&6 3151 echo "${ECHO_T}$CPP" >&6
3158 ac_preproc_ok=false 3152 ac_preproc_ok=false
3159 for ac_c_preproc_warn_flag in '' yes 3153 for ac_c_preproc_warn_flag in '' yes
3160 do 3154 do
3161 # Use a header file that comes with gcc, so configuring glibc 3155 # Use a header file that comes with gcc, so configuring glibc
3162 # with a fresh cross-compiler works. 3156 # with a fresh cross-compiler works.
3163 # On the NeXT, cc -E runs the code through the compiler's parser, 3157 # On the NeXT, cc -E runs the code through the compiler's parser,
3164 # not just through cpp. "Syntax error" is here to catch this case. 3158 # not just through cpp. "Syntax error" is here to catch this case.
3165 cat >conftest.$ac_ext <<_ACEOF 3159 cat >conftest.$ac_ext <<_ACEOF
3166 #line 3166 "configure" 3160 #line 3160 "configure"
3167 #include "confdefs.h" 3161 #include "confdefs.h"
3168 #include <assert.h> 3162 #include <assert.h>
3169 Syntax error 3163 Syntax error
3170 _ACEOF 3164 _ACEOF
3171 if { (eval echo "$as_me:3171: \"$ac_cpp conftest.$ac_ext\"") >&5 3165 if { (eval echo "$as_me:3165: \"$ac_cpp conftest.$ac_ext\"") >&5
3172 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3166 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3173 ac_status=$? 3167 ac_status=$?
3174 egrep -v '^ *\+' conftest.er1 >conftest.err 3168 egrep -v '^ *\+' conftest.er1 >conftest.err
3175 rm -f conftest.er1 3169 rm -f conftest.er1
3176 cat conftest.err >&5 3170 cat conftest.err >&5
3177 echo "$as_me:3177: \$? = $ac_status" >&5 3171 echo "$as_me:3171: \$? = $ac_status" >&5
3178 (exit $ac_status); } >/dev/null; then 3172 (exit $ac_status); } >/dev/null; then
3179 if test -s conftest.err; then 3173 if test -s conftest.err; then
3180 ac_cpp_err=$ac_c_preproc_warn_flag 3174 ac_cpp_err=$ac_c_preproc_warn_flag
3181 else 3175 else
3182 ac_cpp_err= 3176 ac_cpp_err=
3195 rm -f conftest.err conftest.$ac_ext 3189 rm -f conftest.err conftest.$ac_ext
3196 3190
3197 # OK, works on sane cases. Now check whether non-existent headers 3191 # OK, works on sane cases. Now check whether non-existent headers
3198 # can be detected and how. 3192 # can be detected and how.
3199 cat >conftest.$ac_ext <<_ACEOF 3193 cat >conftest.$ac_ext <<_ACEOF
3200 #line 3200 "configure" 3194 #line 3194 "configure"
3201 #include "confdefs.h" 3195 #include "confdefs.h"
3202 #include <ac_nonexistent.h> 3196 #include <ac_nonexistent.h>
3203 _ACEOF 3197 _ACEOF
3204 if { (eval echo "$as_me:3204: \"$ac_cpp conftest.$ac_ext\"") >&5 3198 if { (eval echo "$as_me:3198: \"$ac_cpp conftest.$ac_ext\"") >&5
3205 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3199 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3206 ac_status=$? 3200 ac_status=$?
3207 egrep -v '^ *\+' conftest.er1 >conftest.err 3201 egrep -v '^ *\+' conftest.er1 >conftest.err
3208 rm -f conftest.er1 3202 rm -f conftest.er1
3209 cat conftest.err >&5 3203 cat conftest.err >&5
3210 echo "$as_me:3210: \$? = $ac_status" >&5 3204 echo "$as_me:3204: \$? = $ac_status" >&5
3211 (exit $ac_status); } >/dev/null; then 3205 (exit $ac_status); } >/dev/null; then
3212 if test -s conftest.err; then 3206 if test -s conftest.err; then
3213 ac_cpp_err=$ac_c_preproc_warn_flag 3207 ac_cpp_err=$ac_c_preproc_warn_flag
3214 else 3208 else
3215 ac_cpp_err= 3209 ac_cpp_err=
3233 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3227 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3234 rm -f conftest.err conftest.$ac_ext 3228 rm -f conftest.err conftest.$ac_ext
3235 if $ac_preproc_ok; then 3229 if $ac_preproc_ok; then
3236 : 3230 :
3237 else 3231 else
3238 { { echo "$as_me:3238: error: C preprocessor \"$CPP\" fails sanity check" >&5 3232 { { echo "$as_me:3232: error: C preprocessor \"$CPP\" fails sanity check" >&5
3239 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} 3233 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
3240 { (exit 1); exit 1; }; } 3234 { (exit 1); exit 1; }; }
3241 fi 3235 fi
3242 3236
3243 ac_ext=c 3237 ac_ext=c
3256 # AmigaOS /C/install, which installs bootblocks on floppy discs 3250 # AmigaOS /C/install, which installs bootblocks on floppy discs
3257 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 3251 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3258 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 3252 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3259 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 3253 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3260 # ./install, which can be erroneously created by make from ./install.sh. 3254 # ./install, which can be erroneously created by make from ./install.sh.
3261 echo "$as_me:3261: checking for a BSD compatible install" >&5 3255 echo "$as_me:3255: checking for a BSD compatible install" >&5
3262 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6 3256 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
3263 if test -z "$INSTALL"; then 3257 if test -z "$INSTALL"; then
3264 if test "${ac_cv_path_install+set}" = set; then 3258 if test "${ac_cv_path_install+set}" = set; then
3265 echo $ECHO_N "(cached) $ECHO_C" >&6 3259 echo $ECHO_N "(cached) $ECHO_C" >&6
3266 else 3260 else
3305 # break other packages using the cache if that directory is 3299 # break other packages using the cache if that directory is
3306 # removed, or if the path is relative. 3300 # removed, or if the path is relative.
3307 INSTALL=$ac_install_sh 3301 INSTALL=$ac_install_sh
3308 fi 3302 fi
3309 fi 3303 fi
3310 echo "$as_me:3310: result: $INSTALL" >&5 3304 echo "$as_me:3304: result: $INSTALL" >&5
3311 echo "${ECHO_T}$INSTALL" >&6 3305 echo "${ECHO_T}$INSTALL" >&6
3312 3306
3313 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 3307 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3314 # It thinks the first close brace ends the variable substitution. 3308 # It thinks the first close brace ends the variable substitution.
3315 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 3309 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3320 3314
3321 for ac_prog in 'bison -y' byacc 3315 for ac_prog in 'bison -y' byacc
3322 do 3316 do
3323 # Extract the first word of "$ac_prog", so it can be a program name with args. 3317 # Extract the first word of "$ac_prog", so it can be a program name with args.
3324 set dummy $ac_prog; ac_word=$2 3318 set dummy $ac_prog; ac_word=$2
3325 echo "$as_me:3325: checking for $ac_word" >&5 3319 echo "$as_me:3319: checking for $ac_word" >&5
3326 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3320 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3327 if test "${ac_cv_prog_YACC+set}" = set; then 3321 if test "${ac_cv_prog_YACC+set}" = set; then
3328 echo $ECHO_N "(cached) $ECHO_C" >&6 3322 echo $ECHO_N "(cached) $ECHO_C" >&6
3329 else 3323 else
3330 if test -n "$YACC"; then 3324 if test -n "$YACC"; then
3335 for ac_dir in $ac_dummy; do 3329 for ac_dir in $ac_dummy; do
3336 IFS=$ac_save_IFS 3330 IFS=$ac_save_IFS
3337 test -z "$ac_dir" && ac_dir=. 3331 test -z "$ac_dir" && ac_dir=.
3338 $as_executable_p "$ac_dir/$ac_word" || continue 3332 $as_executable_p "$ac_dir/$ac_word" || continue
3339 ac_cv_prog_YACC="$ac_prog" 3333 ac_cv_prog_YACC="$ac_prog"
3340 echo "$as_me:3340: found $ac_dir/$ac_word" >&5 3334 echo "$as_me:3334: found $ac_dir/$ac_word" >&5
3341 break 3335 break
3342 done 3336 done
3343 3337
3344 fi 3338 fi
3345 fi 3339 fi
3346 YACC=$ac_cv_prog_YACC 3340 YACC=$ac_cv_prog_YACC
3347 if test -n "$YACC"; then 3341 if test -n "$YACC"; then
3348 echo "$as_me:3348: result: $YACC" >&5 3342 echo "$as_me:3342: result: $YACC" >&5
3349 echo "${ECHO_T}$YACC" >&6 3343 echo "${ECHO_T}$YACC" >&6
3350 else 3344 else
3351 echo "$as_me:3351: result: no" >&5 3345 echo "$as_me:3345: result: no" >&5
3352 echo "${ECHO_T}no" >&6 3346 echo "${ECHO_T}no" >&6
3353 fi 3347 fi
3354 3348
3355 test -n "$YACC" && break 3349 test -n "$YACC" && break
3356 done 3350 done
3358 3352
3359 if test "x$RANLIB" = x; then 3353 if test "x$RANLIB" = x; then
3360 if test -n "$ac_tool_prefix"; then 3354 if test -n "$ac_tool_prefix"; then
3361 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 3355 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3362 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 3356 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3363 echo "$as_me:3363: checking for $ac_word" >&5 3357 echo "$as_me:3357: checking for $ac_word" >&5
3364 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3358 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3365 if test "${ac_cv_prog_RANLIB+set}" = set; then 3359 if test "${ac_cv_prog_RANLIB+set}" = set; then
3366 echo $ECHO_N "(cached) $ECHO_C" >&6 3360 echo $ECHO_N "(cached) $ECHO_C" >&6
3367 else 3361 else
3368 if test -n "$RANLIB"; then 3362 if test -n "$RANLIB"; then
3373 for ac_dir in $ac_dummy; do 3367 for ac_dir in $ac_dummy; do
3374 IFS=$ac_save_IFS 3368 IFS=$ac_save_IFS
3375 test -z "$ac_dir" && ac_dir=. 3369 test -z "$ac_dir" && ac_dir=.
3376 $as_executable_p "$ac_dir/$ac_word" || continue 3370 $as_executable_p "$ac_dir/$ac_word" || continue
3377 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 3371 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3378 echo "$as_me:3378: found $ac_dir/$ac_word" >&5 3372 echo "$as_me:3372: found $ac_dir/$ac_word" >&5
3379 break 3373 break
3380 done 3374 done
3381 3375
3382 fi 3376 fi
3383 fi 3377 fi
3384 RANLIB=$ac_cv_prog_RANLIB 3378 RANLIB=$ac_cv_prog_RANLIB
3385 if test -n "$RANLIB"; then 3379 if test -n "$RANLIB"; then
3386 echo "$as_me:3386: result: $RANLIB" >&5 3380 echo "$as_me:3380: result: $RANLIB" >&5
3387 echo "${ECHO_T}$RANLIB" >&6 3381 echo "${ECHO_T}$RANLIB" >&6
3388 else 3382 else
3389 echo "$as_me:3389: result: no" >&5 3383 echo "$as_me:3383: result: no" >&5
3390 echo "${ECHO_T}no" >&6 3384 echo "${ECHO_T}no" >&6
3391 fi 3385 fi
3392 3386
3393 fi 3387 fi
3394 if test -z "$ac_cv_prog_RANLIB"; then 3388 if test -z "$ac_cv_prog_RANLIB"; then
3395 ac_ct_RANLIB=$RANLIB 3389 ac_ct_RANLIB=$RANLIB
3396 # Extract the first word of "ranlib", so it can be a program name with args. 3390 # Extract the first word of "ranlib", so it can be a program name with args.
3397 set dummy ranlib; ac_word=$2 3391 set dummy ranlib; ac_word=$2
3398 echo "$as_me:3398: checking for $ac_word" >&5 3392 echo "$as_me:3392: checking for $ac_word" >&5
3399 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3393 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3400 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 3394 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3401 echo $ECHO_N "(cached) $ECHO_C" >&6 3395 echo $ECHO_N "(cached) $ECHO_C" >&6
3402 else 3396 else
3403 if test -n "$ac_ct_RANLIB"; then 3397 if test -n "$ac_ct_RANLIB"; then
3408 for ac_dir in $ac_dummy; do 3402 for ac_dir in $ac_dummy; do
3409 IFS=$ac_save_IFS 3403 IFS=$ac_save_IFS
3410 test -z "$ac_dir" && ac_dir=. 3404 test -z "$ac_dir" && ac_dir=.
3411 $as_executable_p "$ac_dir/$ac_word" || continue 3405 $as_executable_p "$ac_dir/$ac_word" || continue
3412 ac_cv_prog_ac_ct_RANLIB="ranlib" 3406 ac_cv_prog_ac_ct_RANLIB="ranlib"
3413 echo "$as_me:3413: found $ac_dir/$ac_word" >&5 3407 echo "$as_me:3407: found $ac_dir/$ac_word" >&5
3414 break 3408 break
3415 done 3409 done
3416 3410
3417 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" 3411 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3418 fi 3412 fi
3419 fi 3413 fi
3420 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 3414 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3421 if test -n "$ac_ct_RANLIB"; then 3415 if test -n "$ac_ct_RANLIB"; then
3422 echo "$as_me:3422: result: $ac_ct_RANLIB" >&5 3416 echo "$as_me:3416: result: $ac_ct_RANLIB" >&5
3423 echo "${ECHO_T}$ac_ct_RANLIB" >&6 3417 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3424 else 3418 else
3425 echo "$as_me:3425: result: no" >&5 3419 echo "$as_me:3419: result: no" >&5
3426 echo "${ECHO_T}no" >&6 3420 echo "${ECHO_T}no" >&6
3427 fi 3421 fi
3428 3422
3429 RANLIB=$ac_ct_RANLIB 3423 RANLIB=$ac_ct_RANLIB
3430 else 3424 else
3431 RANLIB="$ac_cv_prog_RANLIB" 3425 RANLIB="$ac_cv_prog_RANLIB"
3432 fi 3426 fi
3433 3427
3434 fi 3428 fi
3435 3429
3436 echo "$as_me:3436: checking for AIX" >&5 3430 if test x$GCC = xyes && test "x$GCC_LINK_TEST_OPTIONS" != x
3431 then
3432 ac_link="$ac_link $GCC_LINK_TEST_OPTIONS"
3433 fi
3434
3435 if test x$GCC = x && test "x$NON_GCC_LINK_TEST_OPTIONS" != x
3436 then
3437 ac_link="$ac_link $NON_GCC_LINK_TEST_OPTIONS"
3438 fi
3439
3440 echo "$as_me:3440: checking for AIX" >&5
3437 echo $ECHO_N "checking for AIX... $ECHO_C" >&6 3441 echo $ECHO_N "checking for AIX... $ECHO_C" >&6
3438 cat >conftest.$ac_ext <<_ACEOF 3442 cat >conftest.$ac_ext <<_ACEOF
3439 #line 3439 "configure" 3443 #line 3443 "configure"
3440 #include "confdefs.h" 3444 #include "confdefs.h"
3441 #ifdef _AIX 3445 #ifdef _AIX
3442 yes 3446 yes
3443 #endif 3447 #endif
3444 3448
3445 _ACEOF 3449 _ACEOF
3446 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3450 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3447 egrep "yes" >/dev/null 2>&1; then 3451 egrep "yes" >/dev/null 2>&1; then
3448 echo "$as_me:3448: result: yes" >&5 3452 echo "$as_me:3452: result: yes" >&5
3449 echo "${ECHO_T}yes" >&6 3453 echo "${ECHO_T}yes" >&6
3450 cat >>confdefs.h <<\EOF 3454 cat >>confdefs.h <<\EOF
3451 #define _ALL_SOURCE 1 3455 #define _ALL_SOURCE 1
3452 EOF 3456 EOF
3453 3457
3454 else 3458 else
3455 echo "$as_me:3455: result: no" >&5 3459 echo "$as_me:3459: result: no" >&5
3456 echo "${ECHO_T}no" >&6 3460 echo "${ECHO_T}no" >&6
3457 fi 3461 fi
3458 rm -f conftest* 3462 rm -f conftest*
3459 3463
3460 #### Extract some information from the operating system and machine files. 3464 #### Extract some information from the operating system and machine files.
3461 3465
3462 { echo "$as_me:3462: checking the machine- and system-dependent files to find out 3466 { echo "$as_me:3466: checking the machine- and system-dependent files to find out
3463 - which libraries the lib-src programs will want, and 3467 - which libraries the lib-src programs will want, and
3464 - whether the GNU malloc routines are usable..." >&5 3468 - whether the GNU malloc routines are usable..." >&5
3465 echo "$as_me: checking the machine- and system-dependent files to find out 3469 echo "$as_me: checking the machine- and system-dependent files to find out
3466 - which libraries the lib-src programs will want, and 3470 - which libraries the lib-src programs will want, and
3467 - whether the GNU malloc routines are usable..." >&6;} 3471 - whether the GNU malloc routines are usable..." >&6;}
3607 enableval="$enable_largefile" 3611 enableval="$enable_largefile"
3608 3612
3609 fi; 3613 fi;
3610 if test "$enable_largefile" != no; then 3614 if test "$enable_largefile" != no; then
3611 3615
3612 echo "$as_me:3612: checking for special C compiler options needed for large files" >&5 3616 echo "$as_me:3616: checking for special C compiler options needed for large files" >&5
3613 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6 3617 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
3614 if test "${ac_cv_sys_largefile_CC+set}" = set; then 3618 if test "${ac_cv_sys_largefile_CC+set}" = set; then
3615 echo $ECHO_N "(cached) $ECHO_C" >&6 3619 echo $ECHO_N "(cached) $ECHO_C" >&6
3616 else 3620 else
3617 ac_cv_sys_largefile_CC=no 3621 ac_cv_sys_largefile_CC=no
3619 ac_save_CC=$CC 3623 ac_save_CC=$CC
3620 while :; do 3624 while :; do
3621 # IRIX 6.2 and later do not support large files by default, 3625 # IRIX 6.2 and later do not support large files by default,
3622 # so use the C compiler's -n32 option if that helps. 3626 # so use the C compiler's -n32 option if that helps.
3623 cat >conftest.$ac_ext <<_ACEOF 3627 cat >conftest.$ac_ext <<_ACEOF
3624 #line 3624 "configure" 3628 #line 3628 "configure"
3625 #include "confdefs.h" 3629 #include "confdefs.h"
3626 #include <sys/types.h> 3630 #include <sys/types.h>
3627 /* Check that off_t can represent 2**63 - 1 correctly. 3631 /* Check that off_t can represent 2**63 - 1 correctly.
3628 We can't simply define LARGE_OFF_T to be 9223372036854775807, 3632 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3629 since some C++ compilers masquerading as C compilers 3633 since some C++ compilers masquerading as C compilers
3639 ; 3643 ;
3640 return 0; 3644 return 0;
3641 } 3645 }
3642 _ACEOF 3646 _ACEOF
3643 rm -f conftest.$ac_objext 3647 rm -f conftest.$ac_objext
3644 if { (eval echo "$as_me:3644: \"$ac_compile\"") >&5 3648 if { (eval echo "$as_me:3648: \"$ac_compile\"") >&5
3645 (eval $ac_compile) 2>&5 3649 (eval $ac_compile) 2>&5
3646 ac_status=$? 3650 ac_status=$?
3647 echo "$as_me:3647: \$? = $ac_status" >&5 3651 echo "$as_me:3651: \$? = $ac_status" >&5
3648 (exit $ac_status); } && 3652 (exit $ac_status); } &&
3649 { ac_try='test -s conftest.$ac_objext' 3653 { ac_try='test -s conftest.$ac_objext'
3650 { (eval echo "$as_me:3650: \"$ac_try\"") >&5 3654 { (eval echo "$as_me:3654: \"$ac_try\"") >&5
3651 (eval $ac_try) 2>&5 3655 (eval $ac_try) 2>&5
3652 ac_status=$? 3656 ac_status=$?
3653 echo "$as_me:3653: \$? = $ac_status" >&5 3657 echo "$as_me:3657: \$? = $ac_status" >&5
3654 (exit $ac_status); }; }; then 3658 (exit $ac_status); }; }; then
3655 break 3659 break
3656 else 3660 else
3657 echo "$as_me: failed program was:" >&5 3661 echo "$as_me: failed program was:" >&5
3658 cat conftest.$ac_ext >&5 3662 cat conftest.$ac_ext >&5
3659 fi 3663 fi
3660 rm -f conftest.$ac_objext 3664 rm -f conftest.$ac_objext
3661 CC="$CC -n32" 3665 CC="$CC -n32"
3662 rm -f conftest.$ac_objext 3666 rm -f conftest.$ac_objext
3663 if { (eval echo "$as_me:3663: \"$ac_compile\"") >&5 3667 if { (eval echo "$as_me:3667: \"$ac_compile\"") >&5
3664 (eval $ac_compile) 2>&5 3668 (eval $ac_compile) 2>&5
3665 ac_status=$? 3669 ac_status=$?
3666 echo "$as_me:3666: \$? = $ac_status" >&5 3670 echo "$as_me:3670: \$? = $ac_status" >&5
3667 (exit $ac_status); } && 3671 (exit $ac_status); } &&
3668 { ac_try='test -s conftest.$ac_objext' 3672 { ac_try='test -s conftest.$ac_objext'
3669 { (eval echo "$as_me:3669: \"$ac_try\"") >&5 3673 { (eval echo "$as_me:3673: \"$ac_try\"") >&5
3670 (eval $ac_try) 2>&5 3674 (eval $ac_try) 2>&5
3671 ac_status=$? 3675 ac_status=$?
3672 echo "$as_me:3672: \$? = $ac_status" >&5 3676 echo "$as_me:3676: \$? = $ac_status" >&5
3673 (exit $ac_status); }; }; then 3677 (exit $ac_status); }; }; then
3674 ac_cv_sys_largefile_CC=' -n32'; break 3678 ac_cv_sys_largefile_CC=' -n32'; break
3675 else 3679 else
3676 echo "$as_me: failed program was:" >&5 3680 echo "$as_me: failed program was:" >&5
3677 cat conftest.$ac_ext >&5 3681 cat conftest.$ac_ext >&5
3681 done 3685 done
3682 CC=$ac_save_CC 3686 CC=$ac_save_CC
3683 rm -f conftest.$ac_ext 3687 rm -f conftest.$ac_ext
3684 fi 3688 fi
3685 fi 3689 fi
3686 echo "$as_me:3686: result: $ac_cv_sys_largefile_CC" >&5 3690 echo "$as_me:3690: result: $ac_cv_sys_largefile_CC" >&5
3687 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6 3691 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
3688 if test "$ac_cv_sys_largefile_CC" != no; then 3692 if test "$ac_cv_sys_largefile_CC" != no; then
3689 CC=$CC$ac_cv_sys_largefile_CC 3693 CC=$CC$ac_cv_sys_largefile_CC
3690 fi 3694 fi
3691 3695
3692 echo "$as_me:3692: checking for _FILE_OFFSET_BITS value needed for large files" >&5 3696 echo "$as_me:3696: checking for _FILE_OFFSET_BITS value needed for large files" >&5
3693 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6 3697 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
3694 if test "${ac_cv_sys_file_offset_bits+set}" = set; then 3698 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
3695 echo $ECHO_N "(cached) $ECHO_C" >&6 3699 echo $ECHO_N "(cached) $ECHO_C" >&6
3696 else 3700 else
3697 while :; do 3701 while :; do
3698 ac_cv_sys_file_offset_bits=no 3702 ac_cv_sys_file_offset_bits=no
3699 cat >conftest.$ac_ext <<_ACEOF 3703 cat >conftest.$ac_ext <<_ACEOF
3700 #line 3700 "configure" 3704 #line 3704 "configure"
3701 #include "confdefs.h" 3705 #include "confdefs.h"
3702 #include <sys/types.h> 3706 #include <sys/types.h>
3703 /* Check that off_t can represent 2**63 - 1 correctly. 3707 /* Check that off_t can represent 2**63 - 1 correctly.
3704 We can't simply define LARGE_OFF_T to be 9223372036854775807, 3708 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3705 since some C++ compilers masquerading as C compilers 3709 since some C++ compilers masquerading as C compilers
3715 ; 3719 ;
3716 return 0; 3720 return 0;
3717 } 3721 }
3718 _ACEOF 3722 _ACEOF
3719 rm -f conftest.$ac_objext 3723 rm -f conftest.$ac_objext
3720 if { (eval echo "$as_me:3720: \"$ac_compile\"") >&5 3724 if { (eval echo "$as_me:3724: \"$ac_compile\"") >&5
3721 (eval $ac_compile) 2>&5 3725 (eval $ac_compile) 2>&5
3722 ac_status=$? 3726 ac_status=$?
3723 echo "$as_me:3723: \$? = $ac_status" >&5 3727 echo "$as_me:3727: \$? = $ac_status" >&5
3724 (exit $ac_status); } && 3728 (exit $ac_status); } &&
3725 { ac_try='test -s conftest.$ac_objext' 3729 { ac_try='test -s conftest.$ac_objext'
3726 { (eval echo "$as_me:3726: \"$ac_try\"") >&5 3730 { (eval echo "$as_me:3730: \"$ac_try\"") >&5
3727 (eval $ac_try) 2>&5 3731 (eval $ac_try) 2>&5
3728 ac_status=$? 3732 ac_status=$?
3729 echo "$as_me:3729: \$? = $ac_status" >&5 3733 echo "$as_me:3733: \$? = $ac_status" >&5
3730 (exit $ac_status); }; }; then 3734 (exit $ac_status); }; }; then
3731 break 3735 break
3732 else 3736 else
3733 echo "$as_me: failed program was:" >&5 3737 echo "$as_me: failed program was:" >&5
3734 cat conftest.$ac_ext >&5 3738 cat conftest.$ac_ext >&5
3735 fi 3739 fi
3736 rm -f conftest.$ac_objext conftest.$ac_ext 3740 rm -f conftest.$ac_objext conftest.$ac_ext
3737 cat >conftest.$ac_ext <<_ACEOF 3741 cat >conftest.$ac_ext <<_ACEOF
3738 #line 3738 "configure" 3742 #line 3742 "configure"
3739 #include "confdefs.h" 3743 #include "confdefs.h"
3740 #define _FILE_OFFSET_BITS 64 3744 #define _FILE_OFFSET_BITS 64
3741 #include <sys/types.h> 3745 #include <sys/types.h>
3742 /* Check that off_t can represent 2**63 - 1 correctly. 3746 /* Check that off_t can represent 2**63 - 1 correctly.
3743 We can't simply define LARGE_OFF_T to be 9223372036854775807, 3747 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3754 ; 3758 ;
3755 return 0; 3759 return 0;
3756 } 3760 }
3757 _ACEOF 3761 _ACEOF
3758 rm -f conftest.$ac_objext 3762 rm -f conftest.$ac_objext
3759 if { (eval echo "$as_me:3759: \"$ac_compile\"") >&5 3763 if { (eval echo "$as_me:3763: \"$ac_compile\"") >&5
3760 (eval $ac_compile) 2>&5 3764 (eval $ac_compile) 2>&5
3761 ac_status=$? 3765 ac_status=$?
3762 echo "$as_me:3762: \$? = $ac_status" >&5 3766 echo "$as_me:3766: \$? = $ac_status" >&5
3763 (exit $ac_status); } && 3767 (exit $ac_status); } &&
3764 { ac_try='test -s conftest.$ac_objext' 3768 { ac_try='test -s conftest.$ac_objext'
3765 { (eval echo "$as_me:3765: \"$ac_try\"") >&5 3769 { (eval echo "$as_me:3769: \"$ac_try\"") >&5
3766 (eval $ac_try) 2>&5 3770 (eval $ac_try) 2>&5
3767 ac_status=$? 3771 ac_status=$?
3768 echo "$as_me:3768: \$? = $ac_status" >&5 3772 echo "$as_me:3772: \$? = $ac_status" >&5
3769 (exit $ac_status); }; }; then 3773 (exit $ac_status); }; }; then
3770 ac_cv_sys_file_offset_bits=64; break 3774 ac_cv_sys_file_offset_bits=64; break
3771 else 3775 else
3772 echo "$as_me: failed program was:" >&5 3776 echo "$as_me: failed program was:" >&5
3773 cat conftest.$ac_ext >&5 3777 cat conftest.$ac_ext >&5
3774 fi 3778 fi
3775 rm -f conftest.$ac_objext conftest.$ac_ext 3779 rm -f conftest.$ac_objext conftest.$ac_ext
3776 break 3780 break
3777 done 3781 done
3778 fi 3782 fi
3779 echo "$as_me:3779: result: $ac_cv_sys_file_offset_bits" >&5 3783 echo "$as_me:3783: result: $ac_cv_sys_file_offset_bits" >&5
3780 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6 3784 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
3781 if test "$ac_cv_sys_file_offset_bits" != no; then 3785 if test "$ac_cv_sys_file_offset_bits" != no; then
3782 3786
3783 cat >>confdefs.h <<EOF 3787 cat >>confdefs.h <<EOF
3784 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits 3788 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
3785 EOF 3789 EOF
3786 3790
3787 fi 3791 fi
3788 rm -f conftest* 3792 rm -f conftest*
3789 echo "$as_me:3789: checking for _LARGE_FILES value needed for large files" >&5 3793 echo "$as_me:3793: checking for _LARGE_FILES value needed for large files" >&5
3790 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6 3794 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
3791 if test "${ac_cv_sys_large_files+set}" = set; then 3795 if test "${ac_cv_sys_large_files+set}" = set; then
3792 echo $ECHO_N "(cached) $ECHO_C" >&6 3796 echo $ECHO_N "(cached) $ECHO_C" >&6
3793 else 3797 else
3794 while :; do 3798 while :; do
3795 ac_cv_sys_large_files=no 3799 ac_cv_sys_large_files=no
3796 cat >conftest.$ac_ext <<_ACEOF 3800 cat >conftest.$ac_ext <<_ACEOF
3797 #line 3797 "configure" 3801 #line 3801 "configure"
3798 #include "confdefs.h" 3802 #include "confdefs.h"
3799 #include <sys/types.h> 3803 #include <sys/types.h>
3800 /* Check that off_t can represent 2**63 - 1 correctly. 3804 /* Check that off_t can represent 2**63 - 1 correctly.
3801 We can't simply define LARGE_OFF_T to be 9223372036854775807, 3805 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3802 since some C++ compilers masquerading as C compilers 3806 since some C++ compilers masquerading as C compilers
3812 ; 3816 ;
3813 return 0; 3817 return 0;
3814 } 3818 }
3815 _ACEOF 3819 _ACEOF
3816 rm -f conftest.$ac_objext 3820 rm -f conftest.$ac_objext
3817 if { (eval echo "$as_me:3817: \"$ac_compile\"") >&5 3821 if { (eval echo "$as_me:3821: \"$ac_compile\"") >&5
3818 (eval $ac_compile) 2>&5 3822 (eval $ac_compile) 2>&5
3819 ac_status=$? 3823 ac_status=$?
3820 echo "$as_me:3820: \$? = $ac_status" >&5 3824 echo "$as_me:3824: \$? = $ac_status" >&5
3821 (exit $ac_status); } && 3825 (exit $ac_status); } &&
3822 { ac_try='test -s conftest.$ac_objext' 3826 { ac_try='test -s conftest.$ac_objext'
3823 { (eval echo "$as_me:3823: \"$ac_try\"") >&5 3827 { (eval echo "$as_me:3827: \"$ac_try\"") >&5
3824 (eval $ac_try) 2>&5 3828 (eval $ac_try) 2>&5
3825 ac_status=$? 3829 ac_status=$?
3826 echo "$as_me:3826: \$? = $ac_status" >&5 3830 echo "$as_me:3830: \$? = $ac_status" >&5
3827 (exit $ac_status); }; }; then 3831 (exit $ac_status); }; }; then
3828 break 3832 break
3829 else 3833 else
3830 echo "$as_me: failed program was:" >&5 3834 echo "$as_me: failed program was:" >&5
3831 cat conftest.$ac_ext >&5 3835 cat conftest.$ac_ext >&5
3832 fi 3836 fi
3833 rm -f conftest.$ac_objext conftest.$ac_ext 3837 rm -f conftest.$ac_objext conftest.$ac_ext
3834 cat >conftest.$ac_ext <<_ACEOF 3838 cat >conftest.$ac_ext <<_ACEOF
3835 #line 3835 "configure" 3839 #line 3839 "configure"
3836 #include "confdefs.h" 3840 #include "confdefs.h"
3837 #define _LARGE_FILES 1 3841 #define _LARGE_FILES 1
3838 #include <sys/types.h> 3842 #include <sys/types.h>
3839 /* Check that off_t can represent 2**63 - 1 correctly. 3843 /* Check that off_t can represent 2**63 - 1 correctly.
3840 We can't simply define LARGE_OFF_T to be 9223372036854775807, 3844 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3851 ; 3855 ;
3852 return 0; 3856 return 0;
3853 } 3857 }
3854 _ACEOF 3858 _ACEOF
3855 rm -f conftest.$ac_objext 3859 rm -f conftest.$ac_objext
3856 if { (eval echo "$as_me:3856: \"$ac_compile\"") >&5 3860 if { (eval echo "$as_me:3860: \"$ac_compile\"") >&5
3857 (eval $ac_compile) 2>&5 3861 (eval $ac_compile) 2>&5
3858 ac_status=$? 3862 ac_status=$?
3859 echo "$as_me:3859: \$? = $ac_status" >&5 3863 echo "$as_me:3863: \$? = $ac_status" >&5
3860 (exit $ac_status); } && 3864 (exit $ac_status); } &&
3861 { ac_try='test -s conftest.$ac_objext' 3865 { ac_try='test -s conftest.$ac_objext'
3862 { (eval echo "$as_me:3862: \"$ac_try\"") >&5 3866 { (eval echo "$as_me:3866: \"$ac_try\"") >&5
3863 (eval $ac_try) 2>&5 3867 (eval $ac_try) 2>&5
3864 ac_status=$? 3868 ac_status=$?
3865 echo "$as_me:3865: \$? = $ac_status" >&5 3869 echo "$as_me:3869: \$? = $ac_status" >&5
3866 (exit $ac_status); }; }; then 3870 (exit $ac_status); }; }; then
3867 ac_cv_sys_large_files=1; break 3871 ac_cv_sys_large_files=1; break
3868 else 3872 else
3869 echo "$as_me: failed program was:" >&5 3873 echo "$as_me: failed program was:" >&5
3870 cat conftest.$ac_ext >&5 3874 cat conftest.$ac_ext >&5
3871 fi 3875 fi
3872 rm -f conftest.$ac_objext conftest.$ac_ext 3876 rm -f conftest.$ac_objext conftest.$ac_ext
3873 break 3877 break
3874 done 3878 done
3875 fi 3879 fi
3876 echo "$as_me:3876: result: $ac_cv_sys_large_files" >&5 3880 echo "$as_me:3880: result: $ac_cv_sys_large_files" >&5
3877 echo "${ECHO_T}$ac_cv_sys_large_files" >&6 3881 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
3878 if test "$ac_cv_sys_large_files" != no; then 3882 if test "$ac_cv_sys_large_files" != no; then
3879 3883
3880 cat >>confdefs.h <<EOF 3884 cat >>confdefs.h <<EOF
3881 #define _LARGE_FILES $ac_cv_sys_large_files 3885 #define _LARGE_FILES $ac_cv_sys_large_files
3889 # Sound support for GNU/Linux and the free BSDs. 3893 # Sound support for GNU/Linux and the free BSDs.
3890 3894
3891 for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h 3895 for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h
3892 do 3896 do
3893 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3897 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3894 echo "$as_me:3894: checking for $ac_header" >&5 3898 echo "$as_me:3898: checking for $ac_header" >&5
3895 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3899 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3896 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3900 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3897 echo $ECHO_N "(cached) $ECHO_C" >&6 3901 echo $ECHO_N "(cached) $ECHO_C" >&6
3898 else 3902 else
3899 cat >conftest.$ac_ext <<_ACEOF 3903 cat >conftest.$ac_ext <<_ACEOF
3900 #line 3900 "configure" 3904 #line 3904 "configure"
3901 #include "confdefs.h" 3905 #include "confdefs.h"
3902 #include <$ac_header> 3906 #include <$ac_header>
3903 _ACEOF 3907 _ACEOF
3904 if { (eval echo "$as_me:3904: \"$ac_cpp conftest.$ac_ext\"") >&5 3908 if { (eval echo "$as_me:3908: \"$ac_cpp conftest.$ac_ext\"") >&5
3905 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3909 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3906 ac_status=$? 3910 ac_status=$?
3907 egrep -v '^ *\+' conftest.er1 >conftest.err 3911 egrep -v '^ *\+' conftest.er1 >conftest.err
3908 rm -f conftest.er1 3912 rm -f conftest.er1
3909 cat conftest.err >&5 3913 cat conftest.err >&5
3910 echo "$as_me:3910: \$? = $ac_status" >&5 3914 echo "$as_me:3914: \$? = $ac_status" >&5
3911 (exit $ac_status); } >/dev/null; then 3915 (exit $ac_status); } >/dev/null; then
3912 if test -s conftest.err; then 3916 if test -s conftest.err; then
3913 ac_cpp_err=$ac_c_preproc_warn_flag 3917 ac_cpp_err=$ac_c_preproc_warn_flag
3914 else 3918 else
3915 ac_cpp_err= 3919 ac_cpp_err=
3924 cat conftest.$ac_ext >&5 3928 cat conftest.$ac_ext >&5
3925 eval "$as_ac_Header=no" 3929 eval "$as_ac_Header=no"
3926 fi 3930 fi
3927 rm -f conftest.err conftest.$ac_ext 3931 rm -f conftest.err conftest.$ac_ext
3928 fi 3932 fi
3929 echo "$as_me:3929: result: `eval echo '${'$as_ac_Header'}'`" >&5 3933 echo "$as_me:3933: result: `eval echo '${'$as_ac_Header'}'`" >&5
3930 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3934 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3931 if test `eval echo '${'$as_ac_Header'}'` = yes; then 3935 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3932 cat >>confdefs.h <<EOF 3936 cat >>confdefs.h <<EOF
3933 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 3937 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3934 EOF 3938 EOF
3935 3939
3936 fi 3940 fi
3937 done 3941 done
3938 3942
3939 # Emulation library used on NetBSD. 3943 # Emulation library used on NetBSD.
3940 echo "$as_me:3940: checking for _oss_ioctl in -lossaudio" >&5 3944 echo "$as_me:3944: checking for _oss_ioctl in -lossaudio" >&5
3941 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6 3945 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
3942 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then 3946 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
3943 echo $ECHO_N "(cached) $ECHO_C" >&6 3947 echo $ECHO_N "(cached) $ECHO_C" >&6
3944 else 3948 else
3945 ac_check_lib_save_LIBS=$LIBS 3949 ac_check_lib_save_LIBS=$LIBS
3946 LIBS="-lossaudio $LIBS" 3950 LIBS="-lossaudio $LIBS"
3947 cat >conftest.$ac_ext <<_ACEOF 3951 cat >conftest.$ac_ext <<_ACEOF
3948 #line 3948 "configure" 3952 #line 3952 "configure"
3949 #include "confdefs.h" 3953 #include "confdefs.h"
3950 3954
3951 /* Override any gcc2 internal prototype to avoid an error. */ 3955 /* Override any gcc2 internal prototype to avoid an error. */
3952 #ifdef __cplusplus 3956 #ifdef __cplusplus
3953 extern "C" 3957 extern "C"
3962 ; 3966 ;
3963 return 0; 3967 return 0;
3964 } 3968 }
3965 _ACEOF 3969 _ACEOF
3966 rm -f conftest.$ac_objext conftest$ac_exeext 3970 rm -f conftest.$ac_objext conftest$ac_exeext
3967 if { (eval echo "$as_me:3967: \"$ac_link\"") >&5 3971 if { (eval echo "$as_me:3971: \"$ac_link\"") >&5
3968 (eval $ac_link) 2>&5 3972 (eval $ac_link) 2>&5
3969 ac_status=$? 3973 ac_status=$?
3970 echo "$as_me:3970: \$? = $ac_status" >&5 3974 echo "$as_me:3974: \$? = $ac_status" >&5
3971 (exit $ac_status); } && 3975 (exit $ac_status); } &&
3972 { ac_try='test -s conftest$ac_exeext' 3976 { ac_try='test -s conftest$ac_exeext'
3973 { (eval echo "$as_me:3973: \"$ac_try\"") >&5 3977 { (eval echo "$as_me:3977: \"$ac_try\"") >&5
3974 (eval $ac_try) 2>&5 3978 (eval $ac_try) 2>&5
3975 ac_status=$? 3979 ac_status=$?
3976 echo "$as_me:3976: \$? = $ac_status" >&5 3980 echo "$as_me:3980: \$? = $ac_status" >&5
3977 (exit $ac_status); }; }; then 3981 (exit $ac_status); }; }; then
3978 ac_cv_lib_ossaudio__oss_ioctl=yes 3982 ac_cv_lib_ossaudio__oss_ioctl=yes
3979 else 3983 else
3980 echo "$as_me: failed program was:" >&5 3984 echo "$as_me: failed program was:" >&5
3981 cat conftest.$ac_ext >&5 3985 cat conftest.$ac_ext >&5
3982 ac_cv_lib_ossaudio__oss_ioctl=no 3986 ac_cv_lib_ossaudio__oss_ioctl=no
3983 fi 3987 fi
3984 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3988 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3985 LIBS=$ac_check_lib_save_LIBS 3989 LIBS=$ac_check_lib_save_LIBS
3986 fi 3990 fi
3987 echo "$as_me:3987: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5 3991 echo "$as_me:3991: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
3988 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6 3992 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
3989 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then 3993 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
3990 LIBSOUND=-lossaudio 3994 LIBSOUND=-lossaudio
3991 else 3995 else
3992 LIBSOUND= 3996 LIBSOUND=
3997 for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \ 4001 for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \
3998 linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \ 4002 linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \
3999 termcap.h stdio_ext.h fcntl.h term.h strings.h coff.h 4003 termcap.h stdio_ext.h fcntl.h term.h strings.h coff.h
4000 do 4004 do
4001 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4005 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4002 echo "$as_me:4002: checking for $ac_header" >&5 4006 echo "$as_me:4006: checking for $ac_header" >&5
4003 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4007 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4004 if eval "test \"\${$as_ac_Header+set}\" = set"; then 4008 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4005 echo $ECHO_N "(cached) $ECHO_C" >&6 4009 echo $ECHO_N "(cached) $ECHO_C" >&6
4006 else 4010 else
4007 cat >conftest.$ac_ext <<_ACEOF 4011 cat >conftest.$ac_ext <<_ACEOF
4008 #line 4008 "configure" 4012 #line 4012 "configure"
4009 #include "confdefs.h" 4013 #include "confdefs.h"
4010 #include <$ac_header> 4014 #include <$ac_header>
4011 _ACEOF 4015 _ACEOF
4012 if { (eval echo "$as_me:4012: \"$ac_cpp conftest.$ac_ext\"") >&5 4016 if { (eval echo "$as_me:4016: \"$ac_cpp conftest.$ac_ext\"") >&5
4013 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4017 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4014 ac_status=$? 4018 ac_status=$?
4015 egrep -v '^ *\+' conftest.er1 >conftest.err 4019 egrep -v '^ *\+' conftest.er1 >conftest.err
4016 rm -f conftest.er1 4020 rm -f conftest.er1
4017 cat conftest.err >&5 4021 cat conftest.err >&5
4018 echo "$as_me:4018: \$? = $ac_status" >&5 4022 echo "$as_me:4022: \$? = $ac_status" >&5
4019 (exit $ac_status); } >/dev/null; then 4023 (exit $ac_status); } >/dev/null; then
4020 if test -s conftest.err; then 4024 if test -s conftest.err; then
4021 ac_cpp_err=$ac_c_preproc_warn_flag 4025 ac_cpp_err=$ac_c_preproc_warn_flag
4022 else 4026 else
4023 ac_cpp_err= 4027 ac_cpp_err=
4032 cat conftest.$ac_ext >&5 4036 cat conftest.$ac_ext >&5
4033 eval "$as_ac_Header=no" 4037 eval "$as_ac_Header=no"
4034 fi 4038 fi
4035 rm -f conftest.err conftest.$ac_ext 4039 rm -f conftest.err conftest.$ac_ext
4036 fi 4040 fi
4037 echo "$as_me:4037: result: `eval echo '${'$as_ac_Header'}'`" >&5 4041 echo "$as_me:4041: result: `eval echo '${'$as_ac_Header'}'`" >&5
4038 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4042 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4039 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4043 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4040 cat >>confdefs.h <<EOF 4044 cat >>confdefs.h <<EOF
4041 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4045 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4042 EOF 4046 EOF
4043 4047
4044 fi 4048 fi
4045 done 4049 done
4046 4050
4047 echo "$as_me:4047: checking for ANSI C header files" >&5 4051 echo "$as_me:4051: checking for ANSI C header files" >&5
4048 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 4052 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4049 if test "${ac_cv_header_stdc+set}" = set; then 4053 if test "${ac_cv_header_stdc+set}" = set; then
4050 echo $ECHO_N "(cached) $ECHO_C" >&6 4054 echo $ECHO_N "(cached) $ECHO_C" >&6
4051 else 4055 else
4052 cat >conftest.$ac_ext <<_ACEOF 4056 cat >conftest.$ac_ext <<_ACEOF
4053 #line 4053 "configure" 4057 #line 4057 "configure"
4054 #include "confdefs.h" 4058 #include "confdefs.h"
4055 #include <stdlib.h> 4059 #include <stdlib.h>
4056 #include <stdarg.h> 4060 #include <stdarg.h>
4057 #include <string.h> 4061 #include <string.h>
4058 #include <float.h> 4062 #include <float.h>
4059 4063
4060 _ACEOF 4064 _ACEOF
4061 if { (eval echo "$as_me:4061: \"$ac_cpp conftest.$ac_ext\"") >&5 4065 if { (eval echo "$as_me:4065: \"$ac_cpp conftest.$ac_ext\"") >&5
4062 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4066 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4063 ac_status=$? 4067 ac_status=$?
4064 egrep -v '^ *\+' conftest.er1 >conftest.err 4068 egrep -v '^ *\+' conftest.er1 >conftest.err
4065 rm -f conftest.er1 4069 rm -f conftest.er1
4066 cat conftest.err >&5 4070 cat conftest.err >&5
4067 echo "$as_me:4067: \$? = $ac_status" >&5 4071 echo "$as_me:4071: \$? = $ac_status" >&5
4068 (exit $ac_status); } >/dev/null; then 4072 (exit $ac_status); } >/dev/null; then
4069 if test -s conftest.err; then 4073 if test -s conftest.err; then
4070 ac_cpp_err=$ac_c_preproc_warn_flag 4074 ac_cpp_err=$ac_c_preproc_warn_flag
4071 else 4075 else
4072 ac_cpp_err= 4076 ac_cpp_err=
4084 rm -f conftest.err conftest.$ac_ext 4088 rm -f conftest.err conftest.$ac_ext
4085 4089
4086 if test $ac_cv_header_stdc = yes; then 4090 if test $ac_cv_header_stdc = yes; then
4087 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4091 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4088 cat >conftest.$ac_ext <<_ACEOF 4092 cat >conftest.$ac_ext <<_ACEOF
4089 #line 4089 "configure" 4093 #line 4093 "configure"
4090 #include "confdefs.h" 4094 #include "confdefs.h"
4091 #include <string.h> 4095 #include <string.h>
4092 4096
4093 _ACEOF 4097 _ACEOF
4094 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4098 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4102 fi 4106 fi
4103 4107
4104 if test $ac_cv_header_stdc = yes; then 4108 if test $ac_cv_header_stdc = yes; then
4105 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4109 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4106 cat >conftest.$ac_ext <<_ACEOF 4110 cat >conftest.$ac_ext <<_ACEOF
4107 #line 4107 "configure" 4111 #line 4111 "configure"
4108 #include "confdefs.h" 4112 #include "confdefs.h"
4109 #include <stdlib.h> 4113 #include <stdlib.h>
4110 4114
4111 _ACEOF 4115 _ACEOF
4112 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4116 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4123 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4127 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4124 if test "$cross_compiling" = yes; then 4128 if test "$cross_compiling" = yes; then
4125 : 4129 :
4126 else 4130 else
4127 cat >conftest.$ac_ext <<_ACEOF 4131 cat >conftest.$ac_ext <<_ACEOF
4128 #line 4128 "configure" 4132 #line 4132 "configure"
4129 #include "confdefs.h" 4133 #include "confdefs.h"
4130 #include <ctype.h> 4134 #include <ctype.h>
4131 #if ((' ' & 0x0FF) == 0x020) 4135 #if ((' ' & 0x0FF) == 0x020)
4132 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4136 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4133 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4137 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4149 exit(2); 4153 exit(2);
4150 exit (0); 4154 exit (0);
4151 } 4155 }
4152 _ACEOF 4156 _ACEOF
4153 rm -f conftest$ac_exeext 4157 rm -f conftest$ac_exeext
4154 if { (eval echo "$as_me:4154: \"$ac_link\"") >&5 4158 if { (eval echo "$as_me:4158: \"$ac_link\"") >&5
4155 (eval $ac_link) 2>&5 4159 (eval $ac_link) 2>&5
4156 ac_status=$? 4160 ac_status=$?
4157 echo "$as_me:4157: \$? = $ac_status" >&5 4161 echo "$as_me:4161: \$? = $ac_status" >&5
4158 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4162 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4159 { (eval echo "$as_me:4159: \"$ac_try\"") >&5 4163 { (eval echo "$as_me:4163: \"$ac_try\"") >&5
4160 (eval $ac_try) 2>&5 4164 (eval $ac_try) 2>&5
4161 ac_status=$? 4165 ac_status=$?
4162 echo "$as_me:4162: \$? = $ac_status" >&5 4166 echo "$as_me:4166: \$? = $ac_status" >&5
4163 (exit $ac_status); }; }; then 4167 (exit $ac_status); }; }; then
4164 : 4168 :
4165 else 4169 else
4166 echo "$as_me: program exited with status $ac_status" >&5 4170 echo "$as_me: program exited with status $ac_status" >&5
4167 echo "$as_me: failed program was:" >&5 4171 echo "$as_me: failed program was:" >&5
4170 fi 4174 fi
4171 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4175 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4172 fi 4176 fi
4173 fi 4177 fi
4174 fi 4178 fi
4175 echo "$as_me:4175: result: $ac_cv_header_stdc" >&5 4179 echo "$as_me:4179: result: $ac_cv_header_stdc" >&5
4176 echo "${ECHO_T}$ac_cv_header_stdc" >&6 4180 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4177 if test $ac_cv_header_stdc = yes; then 4181 if test $ac_cv_header_stdc = yes; then
4178 4182
4179 cat >>confdefs.h <<\EOF 4183 cat >>confdefs.h <<\EOF
4180 #define STDC_HEADERS 1 4184 #define STDC_HEADERS 1
4181 EOF 4185 EOF
4182 4186
4183 fi 4187 fi
4184 4188
4185 echo "$as_me:4185: checking whether time.h and sys/time.h may both be included" >&5 4189 echo "$as_me:4189: checking whether time.h and sys/time.h may both be included" >&5
4186 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 4190 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
4187 if test "${ac_cv_header_time+set}" = set; then 4191 if test "${ac_cv_header_time+set}" = set; then
4188 echo $ECHO_N "(cached) $ECHO_C" >&6 4192 echo $ECHO_N "(cached) $ECHO_C" >&6
4189 else 4193 else
4190 cat >conftest.$ac_ext <<_ACEOF 4194 cat >conftest.$ac_ext <<_ACEOF
4191 #line 4191 "configure" 4195 #line 4195 "configure"
4192 #include "confdefs.h" 4196 #include "confdefs.h"
4193 #include <sys/types.h> 4197 #include <sys/types.h>
4194 #include <sys/time.h> 4198 #include <sys/time.h>
4195 #include <time.h> 4199 #include <time.h>
4196 4200
4202 ; 4206 ;
4203 return 0; 4207 return 0;
4204 } 4208 }
4205 _ACEOF 4209 _ACEOF
4206 rm -f conftest.$ac_objext 4210 rm -f conftest.$ac_objext
4207 if { (eval echo "$as_me:4207: \"$ac_compile\"") >&5 4211 if { (eval echo "$as_me:4211: \"$ac_compile\"") >&5
4208 (eval $ac_compile) 2>&5 4212 (eval $ac_compile) 2>&5
4209 ac_status=$? 4213 ac_status=$?
4210 echo "$as_me:4210: \$? = $ac_status" >&5 4214 echo "$as_me:4214: \$? = $ac_status" >&5
4211 (exit $ac_status); } && 4215 (exit $ac_status); } &&
4212 { ac_try='test -s conftest.$ac_objext' 4216 { ac_try='test -s conftest.$ac_objext'
4213 { (eval echo "$as_me:4213: \"$ac_try\"") >&5 4217 { (eval echo "$as_me:4217: \"$ac_try\"") >&5
4214 (eval $ac_try) 2>&5 4218 (eval $ac_try) 2>&5
4215 ac_status=$? 4219 ac_status=$?
4216 echo "$as_me:4216: \$? = $ac_status" >&5 4220 echo "$as_me:4220: \$? = $ac_status" >&5
4217 (exit $ac_status); }; }; then 4221 (exit $ac_status); }; }; then
4218 ac_cv_header_time=yes 4222 ac_cv_header_time=yes
4219 else 4223 else
4220 echo "$as_me: failed program was:" >&5 4224 echo "$as_me: failed program was:" >&5
4221 cat conftest.$ac_ext >&5 4225 cat conftest.$ac_ext >&5
4222 ac_cv_header_time=no 4226 ac_cv_header_time=no
4223 fi 4227 fi
4224 rm -f conftest.$ac_objext conftest.$ac_ext 4228 rm -f conftest.$ac_objext conftest.$ac_ext
4225 fi 4229 fi
4226 echo "$as_me:4226: result: $ac_cv_header_time" >&5 4230 echo "$as_me:4230: result: $ac_cv_header_time" >&5
4227 echo "${ECHO_T}$ac_cv_header_time" >&6 4231 echo "${ECHO_T}$ac_cv_header_time" >&6
4228 if test $ac_cv_header_time = yes; then 4232 if test $ac_cv_header_time = yes; then
4229 4233
4230 cat >>confdefs.h <<\EOF 4234 cat >>confdefs.h <<\EOF
4231 #define TIME_WITH_SYS_TIME 1 4235 #define TIME_WITH_SYS_TIME 1
4232 EOF 4236 EOF
4233 4237
4234 fi 4238 fi
4235 4239
4236 echo "$as_me:4236: checking for sys_siglist declaration in signal.h or unistd.h" >&5 4240 echo "$as_me:4240: checking for sys_siglist declaration in signal.h or unistd.h" >&5
4237 echo $ECHO_N "checking for sys_siglist declaration in signal.h or unistd.h... $ECHO_C" >&6 4241 echo $ECHO_N "checking for sys_siglist declaration in signal.h or unistd.h... $ECHO_C" >&6
4238 if test "${ac_cv_decl_sys_siglist+set}" = set; then 4242 if test "${ac_cv_decl_sys_siglist+set}" = set; then
4239 echo $ECHO_N "(cached) $ECHO_C" >&6 4243 echo $ECHO_N "(cached) $ECHO_C" >&6
4240 else 4244 else
4241 cat >conftest.$ac_ext <<_ACEOF 4245 cat >conftest.$ac_ext <<_ACEOF
4242 #line 4242 "configure" 4246 #line 4246 "configure"
4243 #include "confdefs.h" 4247 #include "confdefs.h"
4244 #include <sys/types.h> 4248 #include <sys/types.h>
4245 #include <signal.h> 4249 #include <signal.h>
4246 /* NetBSD declares sys_siglist in unistd.h. */ 4250 /* NetBSD declares sys_siglist in unistd.h. */
4247 #if HAVE_UNISTD_H 4251 #if HAVE_UNISTD_H
4255 ; 4259 ;
4256 return 0; 4260 return 0;
4257 } 4261 }
4258 _ACEOF 4262 _ACEOF
4259 rm -f conftest.$ac_objext 4263 rm -f conftest.$ac_objext
4260 if { (eval echo "$as_me:4260: \"$ac_compile\"") >&5 4264 if { (eval echo "$as_me:4264: \"$ac_compile\"") >&5
4261 (eval $ac_compile) 2>&5 4265 (eval $ac_compile) 2>&5
4262 ac_status=$? 4266 ac_status=$?
4263 echo "$as_me:4263: \$? = $ac_status" >&5 4267 echo "$as_me:4267: \$? = $ac_status" >&5
4264 (exit $ac_status); } && 4268 (exit $ac_status); } &&
4265 { ac_try='test -s conftest.$ac_objext' 4269 { ac_try='test -s conftest.$ac_objext'
4266 { (eval echo "$as_me:4266: \"$ac_try\"") >&5 4270 { (eval echo "$as_me:4270: \"$ac_try\"") >&5
4267 (eval $ac_try) 2>&5 4271 (eval $ac_try) 2>&5
4268 ac_status=$? 4272 ac_status=$?
4269 echo "$as_me:4269: \$? = $ac_status" >&5 4273 echo "$as_me:4273: \$? = $ac_status" >&5
4270 (exit $ac_status); }; }; then 4274 (exit $ac_status); }; }; then
4271 ac_cv_decl_sys_siglist=yes 4275 ac_cv_decl_sys_siglist=yes
4272 else 4276 else
4273 echo "$as_me: failed program was:" >&5 4277 echo "$as_me: failed program was:" >&5
4274 cat conftest.$ac_ext >&5 4278 cat conftest.$ac_ext >&5
4275 ac_cv_decl_sys_siglist=no 4279 ac_cv_decl_sys_siglist=no
4276 fi 4280 fi
4277 rm -f conftest.$ac_objext conftest.$ac_ext 4281 rm -f conftest.$ac_objext conftest.$ac_ext
4278 fi 4282 fi
4279 echo "$as_me:4279: result: $ac_cv_decl_sys_siglist" >&5 4283 echo "$as_me:4283: result: $ac_cv_decl_sys_siglist" >&5
4280 echo "${ECHO_T}$ac_cv_decl_sys_siglist" >&6 4284 echo "${ECHO_T}$ac_cv_decl_sys_siglist" >&6
4281 if test $ac_cv_decl_sys_siglist = yes; then 4285 if test $ac_cv_decl_sys_siglist = yes; then
4282 4286
4283 cat >>confdefs.h <<\EOF 4287 cat >>confdefs.h <<\EOF
4284 #define SYS_SIGLIST_DECLARED 1 4288 #define SYS_SIGLIST_DECLARED 1
4285 EOF 4289 EOF
4286 4290
4287 fi 4291 fi
4288 4292
4289 echo "$as_me:4289: checking for sys/wait.h that is POSIX.1 compatible" >&5 4293 echo "$as_me:4293: checking for sys/wait.h that is POSIX.1 compatible" >&5
4290 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6 4294 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
4291 if test "${ac_cv_header_sys_wait_h+set}" = set; then 4295 if test "${ac_cv_header_sys_wait_h+set}" = set; then
4292 echo $ECHO_N "(cached) $ECHO_C" >&6 4296 echo $ECHO_N "(cached) $ECHO_C" >&6
4293 else 4297 else
4294 cat >conftest.$ac_ext <<_ACEOF 4298 cat >conftest.$ac_ext <<_ACEOF
4295 #line 4295 "configure" 4299 #line 4299 "configure"
4296 #include "confdefs.h" 4300 #include "confdefs.h"
4297 #include <sys/types.h> 4301 #include <sys/types.h>
4298 #include <sys/wait.h> 4302 #include <sys/wait.h>
4299 #ifndef WEXITSTATUS 4303 #ifndef WEXITSTATUS
4300 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) 4304 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
4312 ; 4316 ;
4313 return 0; 4317 return 0;
4314 } 4318 }
4315 _ACEOF 4319 _ACEOF
4316 rm -f conftest.$ac_objext 4320 rm -f conftest.$ac_objext
4317 if { (eval echo "$as_me:4317: \"$ac_compile\"") >&5 4321 if { (eval echo "$as_me:4321: \"$ac_compile\"") >&5
4318 (eval $ac_compile) 2>&5 4322 (eval $ac_compile) 2>&5
4319 ac_status=$? 4323 ac_status=$?
4320 echo "$as_me:4320: \$? = $ac_status" >&5 4324 echo "$as_me:4324: \$? = $ac_status" >&5
4321 (exit $ac_status); } && 4325 (exit $ac_status); } &&
4322 { ac_try='test -s conftest.$ac_objext' 4326 { ac_try='test -s conftest.$ac_objext'
4323 { (eval echo "$as_me:4323: \"$ac_try\"") >&5 4327 { (eval echo "$as_me:4327: \"$ac_try\"") >&5
4324 (eval $ac_try) 2>&5 4328 (eval $ac_try) 2>&5
4325 ac_status=$? 4329 ac_status=$?
4326 echo "$as_me:4326: \$? = $ac_status" >&5 4330 echo "$as_me:4330: \$? = $ac_status" >&5
4327 (exit $ac_status); }; }; then 4331 (exit $ac_status); }; }; then
4328 ac_cv_header_sys_wait_h=yes 4332 ac_cv_header_sys_wait_h=yes
4329 else 4333 else
4330 echo "$as_me: failed program was:" >&5 4334 echo "$as_me: failed program was:" >&5
4331 cat conftest.$ac_ext >&5 4335 cat conftest.$ac_ext >&5
4332 ac_cv_header_sys_wait_h=no 4336 ac_cv_header_sys_wait_h=no
4333 fi 4337 fi
4334 rm -f conftest.$ac_objext conftest.$ac_ext 4338 rm -f conftest.$ac_objext conftest.$ac_ext
4335 fi 4339 fi
4336 echo "$as_me:4336: result: $ac_cv_header_sys_wait_h" >&5 4340 echo "$as_me:4340: result: $ac_cv_header_sys_wait_h" >&5
4337 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6 4341 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
4338 if test $ac_cv_header_sys_wait_h = yes; then 4342 if test $ac_cv_header_sys_wait_h = yes; then
4339 4343
4340 cat >>confdefs.h <<\EOF 4344 cat >>confdefs.h <<\EOF
4341 #define HAVE_SYS_WAIT_H 1 4345 #define HAVE_SYS_WAIT_H 1
4342 EOF 4346 EOF
4343 4347
4344 fi 4348 fi
4345 4349
4346 echo "$as_me:4346: checking for struct utimbuf" >&5 4350 echo "$as_me:4350: checking for struct utimbuf" >&5
4347 echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6 4351 echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6
4348 if test "${emacs_cv_struct_utimbuf+set}" = set; then 4352 if test "${emacs_cv_struct_utimbuf+set}" = set; then
4349 echo $ECHO_N "(cached) $ECHO_C" >&6 4353 echo $ECHO_N "(cached) $ECHO_C" >&6
4350 else 4354 else
4351 cat >conftest.$ac_ext <<_ACEOF 4355 cat >conftest.$ac_ext <<_ACEOF
4352 #line 4352 "configure" 4356 #line 4356 "configure"
4353 #include "confdefs.h" 4357 #include "confdefs.h"
4354 #ifdef TIME_WITH_SYS_TIME 4358 #ifdef TIME_WITH_SYS_TIME
4355 #include <sys/time.h> 4359 #include <sys/time.h>
4356 #include <time.h> 4360 #include <time.h>
4357 #else 4361 #else
4371 ; 4375 ;
4372 return 0; 4376 return 0;
4373 } 4377 }
4374 _ACEOF 4378 _ACEOF
4375 rm -f conftest.$ac_objext 4379 rm -f conftest.$ac_objext
4376 if { (eval echo "$as_me:4376: \"$ac_compile\"") >&5 4380 if { (eval echo "$as_me:4380: \"$ac_compile\"") >&5
4377 (eval $ac_compile) 2>&5 4381 (eval $ac_compile) 2>&5
4378 ac_status=$? 4382 ac_status=$?
4379 echo "$as_me:4379: \$? = $ac_status" >&5 4383 echo "$as_me:4383: \$? = $ac_status" >&5
4380 (exit $ac_status); } && 4384 (exit $ac_status); } &&
4381 { ac_try='test -s conftest.$ac_objext' 4385 { ac_try='test -s conftest.$ac_objext'
4382 { (eval echo "$as_me:4382: \"$ac_try\"") >&5 4386 { (eval echo "$as_me:4386: \"$ac_try\"") >&5
4383 (eval $ac_try) 2>&5 4387 (eval $ac_try) 2>&5
4384 ac_status=$? 4388 ac_status=$?
4385 echo "$as_me:4385: \$? = $ac_status" >&5 4389 echo "$as_me:4389: \$? = $ac_status" >&5
4386 (exit $ac_status); }; }; then 4390 (exit $ac_status); }; }; then
4387 emacs_cv_struct_utimbuf=yes 4391 emacs_cv_struct_utimbuf=yes
4388 else 4392 else
4389 echo "$as_me: failed program was:" >&5 4393 echo "$as_me: failed program was:" >&5
4390 cat conftest.$ac_ext >&5 4394 cat conftest.$ac_ext >&5
4391 emacs_cv_struct_utimbuf=no 4395 emacs_cv_struct_utimbuf=no
4392 fi 4396 fi
4393 rm -f conftest.$ac_objext conftest.$ac_ext 4397 rm -f conftest.$ac_objext conftest.$ac_ext
4394 fi 4398 fi
4395 echo "$as_me:4395: result: $emacs_cv_struct_utimbuf" >&5 4399 echo "$as_me:4399: result: $emacs_cv_struct_utimbuf" >&5
4396 echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6 4400 echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6
4397 if test $emacs_cv_struct_utimbuf = yes; then 4401 if test $emacs_cv_struct_utimbuf = yes; then
4398 4402
4399 cat >>confdefs.h <<\EOF 4403 cat >>confdefs.h <<\EOF
4400 #define HAVE_STRUCT_UTIMBUF 1 4404 #define HAVE_STRUCT_UTIMBUF 1
4401 EOF 4405 EOF
4402 4406
4403 fi 4407 fi
4404 4408
4405 echo "$as_me:4405: checking return type of signal handlers" >&5 4409 echo "$as_me:4409: checking return type of signal handlers" >&5
4406 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 4410 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
4407 if test "${ac_cv_type_signal+set}" = set; then 4411 if test "${ac_cv_type_signal+set}" = set; then
4408 echo $ECHO_N "(cached) $ECHO_C" >&6 4412 echo $ECHO_N "(cached) $ECHO_C" >&6
4409 else 4413 else
4410 cat >conftest.$ac_ext <<_ACEOF 4414 cat >conftest.$ac_ext <<_ACEOF
4411 #line 4411 "configure" 4415 #line 4415 "configure"
4412 #include "confdefs.h" 4416 #include "confdefs.h"
4413 #include <sys/types.h> 4417 #include <sys/types.h>
4414 #include <signal.h> 4418 #include <signal.h>
4415 #ifdef signal 4419 #ifdef signal
4416 # undef signal 4420 # undef signal
4428 ; 4432 ;
4429 return 0; 4433 return 0;
4430 } 4434 }
4431 _ACEOF 4435 _ACEOF
4432 rm -f conftest.$ac_objext 4436 rm -f conftest.$ac_objext
4433 if { (eval echo "$as_me:4433: \"$ac_compile\"") >&5 4437 if { (eval echo "$as_me:4437: \"$ac_compile\"") >&5
4434 (eval $ac_compile) 2>&5 4438 (eval $ac_compile) 2>&5
4435 ac_status=$? 4439 ac_status=$?
4436 echo "$as_me:4436: \$? = $ac_status" >&5 4440 echo "$as_me:4440: \$? = $ac_status" >&5
4437 (exit $ac_status); } && 4441 (exit $ac_status); } &&
4438 { ac_try='test -s conftest.$ac_objext' 4442 { ac_try='test -s conftest.$ac_objext'
4439 { (eval echo "$as_me:4439: \"$ac_try\"") >&5 4443 { (eval echo "$as_me:4443: \"$ac_try\"") >&5
4440 (eval $ac_try) 2>&5 4444 (eval $ac_try) 2>&5
4441 ac_status=$? 4445 ac_status=$?
4442 echo "$as_me:4442: \$? = $ac_status" >&5 4446 echo "$as_me:4446: \$? = $ac_status" >&5
4443 (exit $ac_status); }; }; then 4447 (exit $ac_status); }; }; then
4444 ac_cv_type_signal=void 4448 ac_cv_type_signal=void
4445 else 4449 else
4446 echo "$as_me: failed program was:" >&5 4450 echo "$as_me: failed program was:" >&5
4447 cat conftest.$ac_ext >&5 4451 cat conftest.$ac_ext >&5
4448 ac_cv_type_signal=int 4452 ac_cv_type_signal=int
4449 fi 4453 fi
4450 rm -f conftest.$ac_objext conftest.$ac_ext 4454 rm -f conftest.$ac_objext conftest.$ac_ext
4451 fi 4455 fi
4452 echo "$as_me:4452: result: $ac_cv_type_signal" >&5 4456 echo "$as_me:4456: result: $ac_cv_type_signal" >&5
4453 echo "${ECHO_T}$ac_cv_type_signal" >&6 4457 echo "${ECHO_T}$ac_cv_type_signal" >&6
4454 4458
4455 cat >>confdefs.h <<EOF 4459 cat >>confdefs.h <<EOF
4456 #define RETSIGTYPE $ac_cv_type_signal 4460 #define RETSIGTYPE $ac_cv_type_signal
4457 EOF 4461 EOF
4458 4462
4459 echo "$as_me:4459: checking for speed_t" >&5 4463 echo "$as_me:4463: checking for speed_t" >&5
4460 echo $ECHO_N "checking for speed_t... $ECHO_C" >&6 4464 echo $ECHO_N "checking for speed_t... $ECHO_C" >&6
4461 if test "${emacs_cv_speed_t+set}" = set; then 4465 if test "${emacs_cv_speed_t+set}" = set; then
4462 echo $ECHO_N "(cached) $ECHO_C" >&6 4466 echo $ECHO_N "(cached) $ECHO_C" >&6
4463 else 4467 else
4464 cat >conftest.$ac_ext <<_ACEOF 4468 cat >conftest.$ac_ext <<_ACEOF
4465 #line 4465 "configure" 4469 #line 4469 "configure"
4466 #include "confdefs.h" 4470 #include "confdefs.h"
4467 #include <termios.h> 4471 #include <termios.h>
4468 int 4472 int
4469 main () 4473 main ()
4470 { 4474 {
4472 ; 4476 ;
4473 return 0; 4477 return 0;
4474 } 4478 }
4475 _ACEOF 4479 _ACEOF
4476 rm -f conftest.$ac_objext 4480 rm -f conftest.$ac_objext
4477 if { (eval echo "$as_me:4477: \"$ac_compile\"") >&5 4481 if { (eval echo "$as_me:4481: \"$ac_compile\"") >&5
4478 (eval $ac_compile) 2>&5 4482 (eval $ac_compile) 2>&5
4479 ac_status=$? 4483 ac_status=$?
4480 echo "$as_me:4480: \$? = $ac_status" >&5 4484 echo "$as_me:4484: \$? = $ac_status" >&5
4481 (exit $ac_status); } && 4485 (exit $ac_status); } &&
4482 { ac_try='test -s conftest.$ac_objext' 4486 { ac_try='test -s conftest.$ac_objext'
4483 { (eval echo "$as_me:4483: \"$ac_try\"") >&5 4487 { (eval echo "$as_me:4487: \"$ac_try\"") >&5
4484 (eval $ac_try) 2>&5 4488 (eval $ac_try) 2>&5
4485 ac_status=$? 4489 ac_status=$?
4486 echo "$as_me:4486: \$? = $ac_status" >&5 4490 echo "$as_me:4490: \$? = $ac_status" >&5
4487 (exit $ac_status); }; }; then 4491 (exit $ac_status); }; }; then
4488 emacs_cv_speed_t=yes 4492 emacs_cv_speed_t=yes
4489 else 4493 else
4490 echo "$as_me: failed program was:" >&5 4494 echo "$as_me: failed program was:" >&5
4491 cat conftest.$ac_ext >&5 4495 cat conftest.$ac_ext >&5
4492 emacs_cv_speed_t=no 4496 emacs_cv_speed_t=no
4493 fi 4497 fi
4494 rm -f conftest.$ac_objext conftest.$ac_ext 4498 rm -f conftest.$ac_objext conftest.$ac_ext
4495 fi 4499 fi
4496 echo "$as_me:4496: result: $emacs_cv_speed_t" >&5 4500 echo "$as_me:4500: result: $emacs_cv_speed_t" >&5
4497 echo "${ECHO_T}$emacs_cv_speed_t" >&6 4501 echo "${ECHO_T}$emacs_cv_speed_t" >&6
4498 if test $emacs_cv_speed_t = yes; then 4502 if test $emacs_cv_speed_t = yes; then
4499 4503
4500 cat >>confdefs.h <<\EOF 4504 cat >>confdefs.h <<\EOF
4501 #define HAVE_SPEED_T 1 4505 #define HAVE_SPEED_T 1
4502 EOF 4506 EOF
4503 4507
4504 fi 4508 fi
4505 4509
4506 echo "$as_me:4506: checking for struct timeval" >&5 4510 echo "$as_me:4510: checking for struct timeval" >&5
4507 echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6 4511 echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6
4508 if test "${emacs_cv_struct_timeval+set}" = set; then 4512 if test "${emacs_cv_struct_timeval+set}" = set; then
4509 echo $ECHO_N "(cached) $ECHO_C" >&6 4513 echo $ECHO_N "(cached) $ECHO_C" >&6
4510 else 4514 else
4511 cat >conftest.$ac_ext <<_ACEOF 4515 cat >conftest.$ac_ext <<_ACEOF
4512 #line 4512 "configure" 4516 #line 4516 "configure"
4513 #include "confdefs.h" 4517 #include "confdefs.h"
4514 #ifdef TIME_WITH_SYS_TIME 4518 #ifdef TIME_WITH_SYS_TIME
4515 #include <sys/time.h> 4519 #include <sys/time.h>
4516 #include <time.h> 4520 #include <time.h>
4517 #else 4521 #else
4528 ; 4532 ;
4529 return 0; 4533 return 0;
4530 } 4534 }
4531 _ACEOF 4535 _ACEOF
4532 rm -f conftest.$ac_objext 4536 rm -f conftest.$ac_objext
4533 if { (eval echo "$as_me:4533: \"$ac_compile\"") >&5 4537 if { (eval echo "$as_me:4537: \"$ac_compile\"") >&5
4534 (eval $ac_compile) 2>&5 4538 (eval $ac_compile) 2>&5
4535 ac_status=$? 4539 ac_status=$?
4536 echo "$as_me:4536: \$? = $ac_status" >&5 4540 echo "$as_me:4540: \$? = $ac_status" >&5
4537 (exit $ac_status); } && 4541 (exit $ac_status); } &&
4538 { ac_try='test -s conftest.$ac_objext' 4542 { ac_try='test -s conftest.$ac_objext'
4539 { (eval echo "$as_me:4539: \"$ac_try\"") >&5 4543 { (eval echo "$as_me:4543: \"$ac_try\"") >&5
4540 (eval $ac_try) 2>&5 4544 (eval $ac_try) 2>&5
4541 ac_status=$? 4545 ac_status=$?
4542 echo "$as_me:4542: \$? = $ac_status" >&5 4546 echo "$as_me:4546: \$? = $ac_status" >&5
4543 (exit $ac_status); }; }; then 4547 (exit $ac_status); }; }; then
4544 emacs_cv_struct_timeval=yes 4548 emacs_cv_struct_timeval=yes
4545 else 4549 else
4546 echo "$as_me: failed program was:" >&5 4550 echo "$as_me: failed program was:" >&5
4547 cat conftest.$ac_ext >&5 4551 cat conftest.$ac_ext >&5
4548 emacs_cv_struct_timeval=no 4552 emacs_cv_struct_timeval=no
4549 fi 4553 fi
4550 rm -f conftest.$ac_objext conftest.$ac_ext 4554 rm -f conftest.$ac_objext conftest.$ac_ext
4551 fi 4555 fi
4552 echo "$as_me:4552: result: $emacs_cv_struct_timeval" >&5 4556 echo "$as_me:4556: result: $emacs_cv_struct_timeval" >&5
4553 echo "${ECHO_T}$emacs_cv_struct_timeval" >&6 4557 echo "${ECHO_T}$emacs_cv_struct_timeval" >&6
4554 HAVE_TIMEVAL=$emacs_cv_struct_timeval 4558 HAVE_TIMEVAL=$emacs_cv_struct_timeval
4555 if test $emacs_cv_struct_timeval = yes; then 4559 if test $emacs_cv_struct_timeval = yes; then
4556 4560
4557 cat >>confdefs.h <<\EOF 4561 cat >>confdefs.h <<\EOF
4558 #define HAVE_TIMEVAL 1 4562 #define HAVE_TIMEVAL 1
4559 EOF 4563 EOF
4560 4564
4561 fi 4565 fi
4562 4566
4563 echo "$as_me:4563: checking for struct exception" >&5 4567 echo "$as_me:4567: checking for struct exception" >&5
4564 echo $ECHO_N "checking for struct exception... $ECHO_C" >&6 4568 echo $ECHO_N "checking for struct exception... $ECHO_C" >&6
4565 if test "${emacs_cv_struct_exception+set}" = set; then 4569 if test "${emacs_cv_struct_exception+set}" = set; then
4566 echo $ECHO_N "(cached) $ECHO_C" >&6 4570 echo $ECHO_N "(cached) $ECHO_C" >&6
4567 else 4571 else
4568 cat >conftest.$ac_ext <<_ACEOF 4572 cat >conftest.$ac_ext <<_ACEOF
4569 #line 4569 "configure" 4573 #line 4573 "configure"
4570 #include "confdefs.h" 4574 #include "confdefs.h"
4571 #include <math.h> 4575 #include <math.h>
4572 int 4576 int
4573 main () 4577 main ()
4574 { 4578 {
4576 ; 4580 ;
4577 return 0; 4581 return 0;
4578 } 4582 }
4579 _ACEOF 4583 _ACEOF
4580 rm -f conftest.$ac_objext 4584 rm -f conftest.$ac_objext
4581 if { (eval echo "$as_me:4581: \"$ac_compile\"") >&5 4585 if { (eval echo "$as_me:4585: \"$ac_compile\"") >&5
4582 (eval $ac_compile) 2>&5 4586 (eval $ac_compile) 2>&5
4583 ac_status=$? 4587 ac_status=$?
4584 echo "$as_me:4584: \$? = $ac_status" >&5 4588 echo "$as_me:4588: \$? = $ac_status" >&5
4585 (exit $ac_status); } && 4589 (exit $ac_status); } &&
4586 { ac_try='test -s conftest.$ac_objext' 4590 { ac_try='test -s conftest.$ac_objext'
4587 { (eval echo "$as_me:4587: \"$ac_try\"") >&5 4591 { (eval echo "$as_me:4591: \"$ac_try\"") >&5
4588 (eval $ac_try) 2>&5 4592 (eval $ac_try) 2>&5
4589 ac_status=$? 4593 ac_status=$?
4590 echo "$as_me:4590: \$? = $ac_status" >&5 4594 echo "$as_me:4594: \$? = $ac_status" >&5
4591 (exit $ac_status); }; }; then 4595 (exit $ac_status); }; }; then
4592 emacs_cv_struct_exception=yes 4596 emacs_cv_struct_exception=yes
4593 else 4597 else
4594 echo "$as_me: failed program was:" >&5 4598 echo "$as_me: failed program was:" >&5
4595 cat conftest.$ac_ext >&5 4599 cat conftest.$ac_ext >&5
4596 emacs_cv_struct_exception=no 4600 emacs_cv_struct_exception=no
4597 fi 4601 fi
4598 rm -f conftest.$ac_objext conftest.$ac_ext 4602 rm -f conftest.$ac_objext conftest.$ac_ext
4599 fi 4603 fi
4600 echo "$as_me:4600: result: $emacs_cv_struct_exception" >&5 4604 echo "$as_me:4604: result: $emacs_cv_struct_exception" >&5
4601 echo "${ECHO_T}$emacs_cv_struct_exception" >&6 4605 echo "${ECHO_T}$emacs_cv_struct_exception" >&6
4602 HAVE_EXCEPTION=$emacs_cv_struct_exception 4606 HAVE_EXCEPTION=$emacs_cv_struct_exception
4603 if test $emacs_cv_struct_exception != yes; then 4607 if test $emacs_cv_struct_exception != yes; then
4604 4608
4605 cat >>confdefs.h <<\EOF 4609 cat >>confdefs.h <<\EOF
4606 #define NO_MATHERR 1 4610 #define NO_MATHERR 1
4607 EOF 4611 EOF
4608 4612
4609 fi 4613 fi
4610 4614
4611 echo "$as_me:4611: checking whether struct tm is in sys/time.h or time.h" >&5 4615 echo "$as_me:4615: checking whether struct tm is in sys/time.h or time.h" >&5
4612 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 4616 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
4613 if test "${ac_cv_struct_tm+set}" = set; then 4617 if test "${ac_cv_struct_tm+set}" = set; then
4614 echo $ECHO_N "(cached) $ECHO_C" >&6 4618 echo $ECHO_N "(cached) $ECHO_C" >&6
4615 else 4619 else
4616 cat >conftest.$ac_ext <<_ACEOF 4620 cat >conftest.$ac_ext <<_ACEOF
4617 #line 4617 "configure" 4621 #line 4621 "configure"
4618 #include "confdefs.h" 4622 #include "confdefs.h"
4619 #include <sys/types.h> 4623 #include <sys/types.h>
4620 #include <time.h> 4624 #include <time.h>
4621 4625
4622 int 4626 int
4626 ; 4630 ;
4627 return 0; 4631 return 0;
4628 } 4632 }
4629 _ACEOF 4633 _ACEOF
4630 rm -f conftest.$ac_objext 4634 rm -f conftest.$ac_objext
4631 if { (eval echo "$as_me:4631: \"$ac_compile\"") >&5 4635 if { (eval echo "$as_me:4635: \"$ac_compile\"") >&5
4632 (eval $ac_compile) 2>&5 4636 (eval $ac_compile) 2>&5
4633 ac_status=$? 4637 ac_status=$?
4634 echo "$as_me:4634: \$? = $ac_status" >&5 4638 echo "$as_me:4638: \$? = $ac_status" >&5
4635 (exit $ac_status); } && 4639 (exit $ac_status); } &&
4636 { ac_try='test -s conftest.$ac_objext' 4640 { ac_try='test -s conftest.$ac_objext'
4637 { (eval echo "$as_me:4637: \"$ac_try\"") >&5 4641 { (eval echo "$as_me:4641: \"$ac_try\"") >&5
4638 (eval $ac_try) 2>&5 4642 (eval $ac_try) 2>&5
4639 ac_status=$? 4643 ac_status=$?
4640 echo "$as_me:4640: \$? = $ac_status" >&5 4644 echo "$as_me:4644: \$? = $ac_status" >&5
4641 (exit $ac_status); }; }; then 4645 (exit $ac_status); }; }; then
4642 ac_cv_struct_tm=time.h 4646 ac_cv_struct_tm=time.h
4643 else 4647 else
4644 echo "$as_me: failed program was:" >&5 4648 echo "$as_me: failed program was:" >&5
4645 cat conftest.$ac_ext >&5 4649 cat conftest.$ac_ext >&5
4646 ac_cv_struct_tm=sys/time.h 4650 ac_cv_struct_tm=sys/time.h
4647 fi 4651 fi
4648 rm -f conftest.$ac_objext conftest.$ac_ext 4652 rm -f conftest.$ac_objext conftest.$ac_ext
4649 fi 4653 fi
4650 echo "$as_me:4650: result: $ac_cv_struct_tm" >&5 4654 echo "$as_me:4654: result: $ac_cv_struct_tm" >&5
4651 echo "${ECHO_T}$ac_cv_struct_tm" >&6 4655 echo "${ECHO_T}$ac_cv_struct_tm" >&6
4652 if test $ac_cv_struct_tm = sys/time.h; then 4656 if test $ac_cv_struct_tm = sys/time.h; then
4653 4657
4654 cat >>confdefs.h <<\EOF 4658 cat >>confdefs.h <<\EOF
4655 #define TM_IN_SYS_TIME 1 4659 #define TM_IN_SYS_TIME 1
4656 EOF 4660 EOF
4657 4661
4658 fi 4662 fi
4659 4663
4660 echo "$as_me:4660: checking for struct tm.tm_zone" >&5 4664 echo "$as_me:4664: checking for struct tm.tm_zone" >&5
4661 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6 4665 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
4662 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then 4666 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
4663 echo $ECHO_N "(cached) $ECHO_C" >&6 4667 echo $ECHO_N "(cached) $ECHO_C" >&6
4664 else 4668 else
4665 cat >conftest.$ac_ext <<_ACEOF 4669 cat >conftest.$ac_ext <<_ACEOF
4666 #line 4666 "configure" 4670 #line 4670 "configure"
4667 #include "confdefs.h" 4671 #include "confdefs.h"
4668 #include <sys/types.h> 4672 #include <sys/types.h>
4669 #include <$ac_cv_struct_tm> 4673 #include <$ac_cv_struct_tm>
4670 4674
4671 int 4675 int
4677 ; 4681 ;
4678 return 0; 4682 return 0;
4679 } 4683 }
4680 _ACEOF 4684 _ACEOF
4681 rm -f conftest.$ac_objext 4685 rm -f conftest.$ac_objext
4682 if { (eval echo "$as_me:4682: \"$ac_compile\"") >&5 4686 if { (eval echo "$as_me:4686: \"$ac_compile\"") >&5
4683 (eval $ac_compile) 2>&5 4687 (eval $ac_compile) 2>&5
4684 ac_status=$? 4688 ac_status=$?
4685 echo "$as_me:4685: \$? = $ac_status" >&5 4689 echo "$as_me:4689: \$? = $ac_status" >&5
4686 (exit $ac_status); } && 4690 (exit $ac_status); } &&
4687 { ac_try='test -s conftest.$ac_objext' 4691 { ac_try='test -s conftest.$ac_objext'
4688 { (eval echo "$as_me:4688: \"$ac_try\"") >&5 4692 { (eval echo "$as_me:4692: \"$ac_try\"") >&5
4689 (eval $ac_try) 2>&5 4693 (eval $ac_try) 2>&5
4690 ac_status=$? 4694 ac_status=$?
4691 echo "$as_me:4691: \$? = $ac_status" >&5 4695 echo "$as_me:4695: \$? = $ac_status" >&5
4692 (exit $ac_status); }; }; then 4696 (exit $ac_status); }; }; then
4693 ac_cv_member_struct_tm_tm_zone=yes 4697 ac_cv_member_struct_tm_tm_zone=yes
4694 else 4698 else
4695 echo "$as_me: failed program was:" >&5 4699 echo "$as_me: failed program was:" >&5
4696 cat conftest.$ac_ext >&5 4700 cat conftest.$ac_ext >&5
4697 ac_cv_member_struct_tm_tm_zone=no 4701 ac_cv_member_struct_tm_tm_zone=no
4698 fi 4702 fi
4699 rm -f conftest.$ac_objext conftest.$ac_ext 4703 rm -f conftest.$ac_objext conftest.$ac_ext
4700 fi 4704 fi
4701 echo "$as_me:4701: result: $ac_cv_member_struct_tm_tm_zone" >&5 4705 echo "$as_me:4705: result: $ac_cv_member_struct_tm_tm_zone" >&5
4702 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6 4706 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
4703 if test $ac_cv_member_struct_tm_tm_zone = yes; then 4707 if test $ac_cv_member_struct_tm_tm_zone = yes; then
4704 4708
4705 cat >>confdefs.h <<EOF 4709 cat >>confdefs.h <<EOF
4706 #define HAVE_STRUCT_TM_TM_ZONE 1 4710 #define HAVE_STRUCT_TM_TM_ZONE 1
4713 cat >>confdefs.h <<\EOF 4717 cat >>confdefs.h <<\EOF
4714 #define HAVE_TM_ZONE 1 4718 #define HAVE_TM_ZONE 1
4715 EOF 4719 EOF
4716 4720
4717 else 4721 else
4718 echo "$as_me:4718: checking for tzname" >&5 4722 echo "$as_me:4722: checking for tzname" >&5
4719 echo $ECHO_N "checking for tzname... $ECHO_C" >&6 4723 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
4720 if test "${ac_cv_var_tzname+set}" = set; then 4724 if test "${ac_cv_var_tzname+set}" = set; then
4721 echo $ECHO_N "(cached) $ECHO_C" >&6 4725 echo $ECHO_N "(cached) $ECHO_C" >&6
4722 else 4726 else
4723 cat >conftest.$ac_ext <<_ACEOF 4727 cat >conftest.$ac_ext <<_ACEOF
4724 #line 4724 "configure" 4728 #line 4728 "configure"
4725 #include "confdefs.h" 4729 #include "confdefs.h"
4726 #include <time.h> 4730 #include <time.h>
4727 #ifndef tzname /* For SGI. */ 4731 #ifndef tzname /* For SGI. */
4728 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ 4732 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
4729 #endif 4733 #endif
4735 ; 4739 ;
4736 return 0; 4740 return 0;
4737 } 4741 }
4738 _ACEOF 4742 _ACEOF
4739 rm -f conftest.$ac_objext conftest$ac_exeext 4743 rm -f conftest.$ac_objext conftest$ac_exeext
4740 if { (eval echo "$as_me:4740: \"$ac_link\"") >&5 4744 if { (eval echo "$as_me:4744: \"$ac_link\"") >&5
4741 (eval $ac_link) 2>&5 4745 (eval $ac_link) 2>&5
4742 ac_status=$? 4746 ac_status=$?
4743 echo "$as_me:4743: \$? = $ac_status" >&5 4747 echo "$as_me:4747: \$? = $ac_status" >&5
4744 (exit $ac_status); } && 4748 (exit $ac_status); } &&
4745 { ac_try='test -s conftest$ac_exeext' 4749 { ac_try='test -s conftest$ac_exeext'
4746 { (eval echo "$as_me:4746: \"$ac_try\"") >&5 4750 { (eval echo "$as_me:4750: \"$ac_try\"") >&5
4747 (eval $ac_try) 2>&5 4751 (eval $ac_try) 2>&5
4748 ac_status=$? 4752 ac_status=$?
4749 echo "$as_me:4749: \$? = $ac_status" >&5 4753 echo "$as_me:4753: \$? = $ac_status" >&5
4750 (exit $ac_status); }; }; then 4754 (exit $ac_status); }; }; then
4751 ac_cv_var_tzname=yes 4755 ac_cv_var_tzname=yes
4752 else 4756 else
4753 echo "$as_me: failed program was:" >&5 4757 echo "$as_me: failed program was:" >&5
4754 cat conftest.$ac_ext >&5 4758 cat conftest.$ac_ext >&5
4755 ac_cv_var_tzname=no 4759 ac_cv_var_tzname=no
4756 fi 4760 fi
4757 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4761 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4758 fi 4762 fi
4759 echo "$as_me:4759: result: $ac_cv_var_tzname" >&5 4763 echo "$as_me:4763: result: $ac_cv_var_tzname" >&5
4760 echo "${ECHO_T}$ac_cv_var_tzname" >&6 4764 echo "${ECHO_T}$ac_cv_var_tzname" >&6
4761 if test $ac_cv_var_tzname = yes; then 4765 if test $ac_cv_var_tzname = yes; then
4762 4766
4763 cat >>confdefs.h <<\EOF 4767 cat >>confdefs.h <<\EOF
4764 #define HAVE_TZNAME 1 4768 #define HAVE_TZNAME 1
4765 EOF 4769 EOF
4766 4770
4767 fi 4771 fi
4768 fi 4772 fi
4769 4773
4770 echo "$as_me:4770: checking for struct tm.tm_gmtoff" >&5 4774 echo "$as_me:4774: checking for struct tm.tm_gmtoff" >&5
4771 echo $ECHO_N "checking for struct tm.tm_gmtoff... $ECHO_C" >&6 4775 echo $ECHO_N "checking for struct tm.tm_gmtoff... $ECHO_C" >&6
4772 if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then 4776 if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then
4773 echo $ECHO_N "(cached) $ECHO_C" >&6 4777 echo $ECHO_N "(cached) $ECHO_C" >&6
4774 else 4778 else
4775 cat >conftest.$ac_ext <<_ACEOF 4779 cat >conftest.$ac_ext <<_ACEOF
4776 #line 4776 "configure" 4780 #line 4780 "configure"
4777 #include "confdefs.h" 4781 #include "confdefs.h"
4778 #include <time.h> 4782 #include <time.h>
4779 4783
4780 int 4784 int
4781 main () 4785 main ()
4786 ; 4790 ;
4787 return 0; 4791 return 0;
4788 } 4792 }
4789 _ACEOF 4793 _ACEOF
4790 rm -f conftest.$ac_objext 4794 rm -f conftest.$ac_objext
4791 if { (eval echo "$as_me:4791: \"$ac_compile\"") >&5 4795 if { (eval echo "$as_me:4795: \"$ac_compile\"") >&5
4792 (eval $ac_compile) 2>&5 4796 (eval $ac_compile) 2>&5
4793 ac_status=$? 4797 ac_status=$?
4794 echo "$as_me:4794: \$? = $ac_status" >&5 4798 echo "$as_me:4798: \$? = $ac_status" >&5
4795 (exit $ac_status); } && 4799 (exit $ac_status); } &&
4796 { ac_try='test -s conftest.$ac_objext' 4800 { ac_try='test -s conftest.$ac_objext'
4797 { (eval echo "$as_me:4797: \"$ac_try\"") >&5 4801 { (eval echo "$as_me:4801: \"$ac_try\"") >&5
4798 (eval $ac_try) 2>&5 4802 (eval $ac_try) 2>&5
4799 ac_status=$? 4803 ac_status=$?
4800 echo "$as_me:4800: \$? = $ac_status" >&5 4804 echo "$as_me:4804: \$? = $ac_status" >&5
4801 (exit $ac_status); }; }; then 4805 (exit $ac_status); }; }; then
4802 ac_cv_member_struct_tm_tm_gmtoff=yes 4806 ac_cv_member_struct_tm_tm_gmtoff=yes
4803 else 4807 else
4804 echo "$as_me: failed program was:" >&5 4808 echo "$as_me: failed program was:" >&5
4805 cat conftest.$ac_ext >&5 4809 cat conftest.$ac_ext >&5
4806 ac_cv_member_struct_tm_tm_gmtoff=no 4810 ac_cv_member_struct_tm_tm_gmtoff=no
4807 fi 4811 fi
4808 rm -f conftest.$ac_objext conftest.$ac_ext 4812 rm -f conftest.$ac_objext conftest.$ac_ext
4809 fi 4813 fi
4810 echo "$as_me:4810: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5 4814 echo "$as_me:4814: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5
4811 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6 4815 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6
4812 if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then 4816 if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then
4813 4817
4814 cat >>confdefs.h <<\EOF 4818 cat >>confdefs.h <<\EOF
4815 #define HAVE_TM_GMTOFF 1 4819 #define HAVE_TM_GMTOFF 1
4816 EOF 4820 EOF
4817 4821
4818 fi 4822 fi
4819 4823
4820 echo "$as_me:4820: checking for $CC option to accept ANSI C" >&5 4824 echo "$as_me:4824: checking for $CC option to accept ANSI C" >&5
4821 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 4825 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
4822 if test "${ac_cv_prog_cc_stdc+set}" = set; then 4826 if test "${ac_cv_prog_cc_stdc+set}" = set; then
4823 echo $ECHO_N "(cached) $ECHO_C" >&6 4827 echo $ECHO_N "(cached) $ECHO_C" >&6
4824 else 4828 else
4825 ac_cv_prog_cc_stdc=no 4829 ac_cv_prog_cc_stdc=no
4826 ac_save_CC=$CC 4830 ac_save_CC=$CC
4827 cat >conftest.$ac_ext <<_ACEOF 4831 cat >conftest.$ac_ext <<_ACEOF
4828 #line 4828 "configure" 4832 #line 4832 "configure"
4829 #include "confdefs.h" 4833 #include "confdefs.h"
4830 #include <stdarg.h> 4834 #include <stdarg.h>
4831 #include <stdio.h> 4835 #include <stdio.h>
4832 #include <sys/types.h> 4836 #include <sys/types.h>
4833 #include <sys/stat.h> 4837 #include <sys/stat.h>
4872 # SVR4 -Xc -D__EXTENSIONS__ 4876 # SVR4 -Xc -D__EXTENSIONS__
4873 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4877 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4874 do 4878 do
4875 CC="$ac_save_CC $ac_arg" 4879 CC="$ac_save_CC $ac_arg"
4876 rm -f conftest.$ac_objext 4880 rm -f conftest.$ac_objext
4877 if { (eval echo "$as_me:4877: \"$ac_compile\"") >&5 4881 if { (eval echo "$as_me:4881: \"$ac_compile\"") >&5
4878 (eval $ac_compile) 2>&5 4882 (eval $ac_compile) 2>&5
4879 ac_status=$? 4883 ac_status=$?
4880 echo "$as_me:4880: \$? = $ac_status" >&5 4884 echo "$as_me:4884: \$? = $ac_status" >&5
4881 (exit $ac_status); } && 4885 (exit $ac_status); } &&
4882 { ac_try='test -s conftest.$ac_objext' 4886 { ac_try='test -s conftest.$ac_objext'
4883 { (eval echo "$as_me:4883: \"$ac_try\"") >&5 4887 { (eval echo "$as_me:4887: \"$ac_try\"") >&5
4884 (eval $ac_try) 2>&5 4888 (eval $ac_try) 2>&5
4885 ac_status=$? 4889 ac_status=$?
4886 echo "$as_me:4886: \$? = $ac_status" >&5 4890 echo "$as_me:4890: \$? = $ac_status" >&5
4887 (exit $ac_status); }; }; then 4891 (exit $ac_status); }; }; then
4888 ac_cv_prog_cc_stdc=$ac_arg 4892 ac_cv_prog_cc_stdc=$ac_arg
4889 break 4893 break
4890 else 4894 else
4891 echo "$as_me: failed program was:" >&5 4895 echo "$as_me: failed program was:" >&5
4898 4902
4899 fi 4903 fi
4900 4904
4901 case "x$ac_cv_prog_cc_stdc" in 4905 case "x$ac_cv_prog_cc_stdc" in
4902 x|xno) 4906 x|xno)
4903 echo "$as_me:4903: result: none needed" >&5 4907 echo "$as_me:4907: result: none needed" >&5
4904 echo "${ECHO_T}none needed" >&6 ;; 4908 echo "${ECHO_T}none needed" >&6 ;;
4905 *) 4909 *)
4906 echo "$as_me:4906: result: $ac_cv_prog_cc_stdc" >&5 4910 echo "$as_me:4910: result: $ac_cv_prog_cc_stdc" >&5
4907 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 4911 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
4908 CC="$CC $ac_cv_prog_cc_stdc" ;; 4912 CC="$CC $ac_cv_prog_cc_stdc" ;;
4909 esac 4913 esac
4910 4914
4911 echo "$as_me:4911: checking for function prototypes" >&5 4915 echo "$as_me:4915: checking for function prototypes" >&5
4912 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6 4916 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
4913 if test "$ac_cv_prog_cc_stdc" != no; then 4917 if test "$ac_cv_prog_cc_stdc" != no; then
4914 echo "$as_me:4914: result: yes" >&5 4918 echo "$as_me:4918: result: yes" >&5
4915 echo "${ECHO_T}yes" >&6 4919 echo "${ECHO_T}yes" >&6
4916 4920
4917 cat >>confdefs.h <<\EOF 4921 cat >>confdefs.h <<\EOF
4918 #define PROTOTYPES 1 4922 #define PROTOTYPES 1
4919 EOF 4923 EOF
4920 4924
4921 else 4925 else
4922 echo "$as_me:4922: result: no" >&5 4926 echo "$as_me:4926: result: no" >&5
4923 echo "${ECHO_T}no" >&6 4927 echo "${ECHO_T}no" >&6
4924 fi 4928 fi
4925 4929
4926 echo "$as_me:4926: checking for working volatile" >&5 4930 echo "$as_me:4930: checking for working volatile" >&5
4927 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6 4931 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6
4928 if test "${ac_cv_c_volatile+set}" = set; then 4932 if test "${ac_cv_c_volatile+set}" = set; then
4929 echo $ECHO_N "(cached) $ECHO_C" >&6 4933 echo $ECHO_N "(cached) $ECHO_C" >&6
4930 else 4934 else
4931 cat >conftest.$ac_ext <<_ACEOF 4935 cat >conftest.$ac_ext <<_ACEOF
4932 #line 4932 "configure" 4936 #line 4936 "configure"
4933 #include "confdefs.h" 4937 #include "confdefs.h"
4934 4938
4935 int 4939 int
4936 main () 4940 main ()
4937 { 4941 {
4941 ; 4945 ;
4942 return 0; 4946 return 0;
4943 } 4947 }
4944 _ACEOF 4948 _ACEOF
4945 rm -f conftest.$ac_objext 4949 rm -f conftest.$ac_objext
4946 if { (eval echo "$as_me:4946: \"$ac_compile\"") >&5 4950 if { (eval echo "$as_me:4950: \"$ac_compile\"") >&5
4947 (eval $ac_compile) 2>&5 4951 (eval $ac_compile) 2>&5
4948 ac_status=$? 4952 ac_status=$?
4949 echo "$as_me:4949: \$? = $ac_status" >&5 4953 echo "$as_me:4953: \$? = $ac_status" >&5
4950 (exit $ac_status); } && 4954 (exit $ac_status); } &&
4951 { ac_try='test -s conftest.$ac_objext' 4955 { ac_try='test -s conftest.$ac_objext'
4952 { (eval echo "$as_me:4952: \"$ac_try\"") >&5 4956 { (eval echo "$as_me:4956: \"$ac_try\"") >&5
4953 (eval $ac_try) 2>&5 4957 (eval $ac_try) 2>&5
4954 ac_status=$? 4958 ac_status=$?
4955 echo "$as_me:4955: \$? = $ac_status" >&5 4959 echo "$as_me:4959: \$? = $ac_status" >&5
4956 (exit $ac_status); }; }; then 4960 (exit $ac_status); }; }; then
4957 ac_cv_c_volatile=yes 4961 ac_cv_c_volatile=yes
4958 else 4962 else
4959 echo "$as_me: failed program was:" >&5 4963 echo "$as_me: failed program was:" >&5
4960 cat conftest.$ac_ext >&5 4964 cat conftest.$ac_ext >&5
4961 ac_cv_c_volatile=no 4965 ac_cv_c_volatile=no
4962 fi 4966 fi
4963 rm -f conftest.$ac_objext conftest.$ac_ext 4967 rm -f conftest.$ac_objext conftest.$ac_ext
4964 fi 4968 fi
4965 echo "$as_me:4965: result: $ac_cv_c_volatile" >&5 4969 echo "$as_me:4969: result: $ac_cv_c_volatile" >&5
4966 echo "${ECHO_T}$ac_cv_c_volatile" >&6 4970 echo "${ECHO_T}$ac_cv_c_volatile" >&6
4967 if test $ac_cv_c_volatile = no; then 4971 if test $ac_cv_c_volatile = no; then
4968 4972
4969 cat >>confdefs.h <<\EOF 4973 cat >>confdefs.h <<\EOF
4970 #define volatile 4974 #define volatile
4971 EOF 4975 EOF
4972 4976
4973 fi 4977 fi
4974 4978
4975 echo "$as_me:4975: checking for an ANSI C-conforming const" >&5 4979 echo "$as_me:4979: checking for an ANSI C-conforming const" >&5
4976 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 4980 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
4977 if test "${ac_cv_c_const+set}" = set; then 4981 if test "${ac_cv_c_const+set}" = set; then
4978 echo $ECHO_N "(cached) $ECHO_C" >&6 4982 echo $ECHO_N "(cached) $ECHO_C" >&6
4979 else 4983 else
4980 cat >conftest.$ac_ext <<_ACEOF 4984 cat >conftest.$ac_ext <<_ACEOF
4981 #line 4981 "configure" 4985 #line 4985 "configure"
4982 #include "confdefs.h" 4986 #include "confdefs.h"
4983 4987
4984 int 4988 int
4985 main () 4989 main ()
4986 { 4990 {
5034 ; 5038 ;
5035 return 0; 5039 return 0;
5036 } 5040 }
5037 _ACEOF 5041 _ACEOF
5038 rm -f conftest.$ac_objext 5042 rm -f conftest.$ac_objext
5039 if { (eval echo "$as_me:5039: \"$ac_compile\"") >&5 5043 if { (eval echo "$as_me:5043: \"$ac_compile\"") >&5
5040 (eval $ac_compile) 2>&5 5044 (eval $ac_compile) 2>&5
5041 ac_status=$? 5045 ac_status=$?
5042 echo "$as_me:5042: \$? = $ac_status" >&5 5046 echo "$as_me:5046: \$? = $ac_status" >&5
5043 (exit $ac_status); } && 5047 (exit $ac_status); } &&
5044 { ac_try='test -s conftest.$ac_objext' 5048 { ac_try='test -s conftest.$ac_objext'
5045 { (eval echo "$as_me:5045: \"$ac_try\"") >&5 5049 { (eval echo "$as_me:5049: \"$ac_try\"") >&5
5046 (eval $ac_try) 2>&5 5050 (eval $ac_try) 2>&5
5047 ac_status=$? 5051 ac_status=$?
5048 echo "$as_me:5048: \$? = $ac_status" >&5 5052 echo "$as_me:5052: \$? = $ac_status" >&5
5049 (exit $ac_status); }; }; then 5053 (exit $ac_status); }; }; then
5050 ac_cv_c_const=yes 5054 ac_cv_c_const=yes
5051 else 5055 else
5052 echo "$as_me: failed program was:" >&5 5056 echo "$as_me: failed program was:" >&5
5053 cat conftest.$ac_ext >&5 5057 cat conftest.$ac_ext >&5
5054 ac_cv_c_const=no 5058 ac_cv_c_const=no
5055 fi 5059 fi
5056 rm -f conftest.$ac_objext conftest.$ac_ext 5060 rm -f conftest.$ac_objext conftest.$ac_ext
5057 fi 5061 fi
5058 echo "$as_me:5058: result: $ac_cv_c_const" >&5 5062 echo "$as_me:5062: result: $ac_cv_c_const" >&5
5059 echo "${ECHO_T}$ac_cv_c_const" >&6 5063 echo "${ECHO_T}$ac_cv_c_const" >&6
5060 if test $ac_cv_c_const = no; then 5064 if test $ac_cv_c_const = no; then
5061 5065
5062 cat >>confdefs.h <<\EOF 5066 cat >>confdefs.h <<\EOF
5063 #define const 5067 #define const
5064 EOF 5068 EOF
5065 5069
5066 fi 5070 fi
5067 5071
5068 echo "$as_me:5068: checking for void * support" >&5 5072 echo "$as_me:5072: checking for void * support" >&5
5069 echo $ECHO_N "checking for void * support... $ECHO_C" >&6 5073 echo $ECHO_N "checking for void * support... $ECHO_C" >&6
5070 if test "${emacs_cv_void_star+set}" = set; then 5074 if test "${emacs_cv_void_star+set}" = set; then
5071 echo $ECHO_N "(cached) $ECHO_C" >&6 5075 echo $ECHO_N "(cached) $ECHO_C" >&6
5072 else 5076 else
5073 cat >conftest.$ac_ext <<_ACEOF 5077 cat >conftest.$ac_ext <<_ACEOF
5074 #line 5074 "configure" 5078 #line 5078 "configure"
5075 #include "confdefs.h" 5079 #include "confdefs.h"
5076 5080
5077 int 5081 int
5078 main () 5082 main ()
5079 { 5083 {
5081 ; 5085 ;
5082 return 0; 5086 return 0;
5083 } 5087 }
5084 _ACEOF 5088 _ACEOF
5085 rm -f conftest.$ac_objext 5089 rm -f conftest.$ac_objext
5086 if { (eval echo "$as_me:5086: \"$ac_compile\"") >&5 5090 if { (eval echo "$as_me:5090: \"$ac_compile\"") >&5
5087 (eval $ac_compile) 2>&5 5091 (eval $ac_compile) 2>&5
5088 ac_status=$? 5092 ac_status=$?
5089 echo "$as_me:5089: \$? = $ac_status" >&5 5093 echo "$as_me:5093: \$? = $ac_status" >&5
5090 (exit $ac_status); } && 5094 (exit $ac_status); } &&
5091 { ac_try='test -s conftest.$ac_objext' 5095 { ac_try='test -s conftest.$ac_objext'
5092 { (eval echo "$as_me:5092: \"$ac_try\"") >&5 5096 { (eval echo "$as_me:5096: \"$ac_try\"") >&5
5093 (eval $ac_try) 2>&5 5097 (eval $ac_try) 2>&5
5094 ac_status=$? 5098 ac_status=$?
5095 echo "$as_me:5095: \$? = $ac_status" >&5 5099 echo "$as_me:5099: \$? = $ac_status" >&5
5096 (exit $ac_status); }; }; then 5100 (exit $ac_status); }; }; then
5097 emacs_cv_void_star=yes 5101 emacs_cv_void_star=yes
5098 else 5102 else
5099 echo "$as_me: failed program was:" >&5 5103 echo "$as_me: failed program was:" >&5
5100 cat conftest.$ac_ext >&5 5104 cat conftest.$ac_ext >&5
5101 emacs_cv_void_star=no 5105 emacs_cv_void_star=no
5102 fi 5106 fi
5103 rm -f conftest.$ac_objext conftest.$ac_ext 5107 rm -f conftest.$ac_objext conftest.$ac_ext
5104 fi 5108 fi
5105 echo "$as_me:5105: result: $emacs_cv_void_star" >&5 5109 echo "$as_me:5109: result: $emacs_cv_void_star" >&5
5106 echo "${ECHO_T}$emacs_cv_void_star" >&6 5110 echo "${ECHO_T}$emacs_cv_void_star" >&6
5107 if test $emacs_cv_void_star = yes; then 5111 if test $emacs_cv_void_star = yes; then
5108 cat >>confdefs.h <<\EOF 5112 cat >>confdefs.h <<\EOF
5109 #define POINTER_TYPE void 5113 #define POINTER_TYPE void
5110 EOF 5114 EOF
5114 #define POINTER_TYPE char 5118 #define POINTER_TYPE char
5115 EOF 5119 EOF
5116 5120
5117 fi 5121 fi
5118 5122
5119 echo "$as_me:5119: checking whether ${MAKE-make} sets \${MAKE}" >&5 5123 echo "$as_me:5123: checking whether ${MAKE-make} sets \${MAKE}" >&5
5120 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6 5124 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
5121 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` 5125 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
5122 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 5126 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
5123 echo $ECHO_N "(cached) $ECHO_C" >&6 5127 echo $ECHO_N "(cached) $ECHO_C" >&6
5124 else 5128 else
5134 eval ac_cv_prog_make_${ac_make}_set=no 5138 eval ac_cv_prog_make_${ac_make}_set=no
5135 fi 5139 fi
5136 rm -f conftest.make 5140 rm -f conftest.make
5137 fi 5141 fi
5138 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 5142 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
5139 echo "$as_me:5139: result: yes" >&5 5143 echo "$as_me:5143: result: yes" >&5
5140 echo "${ECHO_T}yes" >&6 5144 echo "${ECHO_T}yes" >&6
5141 SET_MAKE= 5145 SET_MAKE=
5142 else 5146 else
5143 echo "$as_me:5143: result: no" >&5 5147 echo "$as_me:5147: result: no" >&5
5144 echo "${ECHO_T}no" >&6 5148 echo "${ECHO_T}no" >&6
5145 SET_MAKE="MAKE=${MAKE-make}" 5149 SET_MAKE="MAKE=${MAKE-make}"
5146 fi 5150 fi
5147 5151
5148 echo "$as_me:5148: checking for long file names" >&5 5152 echo "$as_me:5152: checking for long file names" >&5
5149 echo $ECHO_N "checking for long file names... $ECHO_C" >&6 5153 echo $ECHO_N "checking for long file names... $ECHO_C" >&6
5150 if test "${ac_cv_sys_long_file_names+set}" = set; then 5154 if test "${ac_cv_sys_long_file_names+set}" = set; then
5151 echo $ECHO_N "(cached) $ECHO_C" >&6 5155 echo $ECHO_N "(cached) $ECHO_C" >&6
5152 else 5156 else
5153 ac_cv_sys_long_file_names=yes 5157 ac_cv_sys_long_file_names=yes
5182 break 5186 break
5183 fi 5187 fi
5184 rm -rf $ac_xdir 2>/dev/null 5188 rm -rf $ac_xdir 2>/dev/null
5185 done 5189 done
5186 fi 5190 fi
5187 echo "$as_me:5187: result: $ac_cv_sys_long_file_names" >&5 5191 echo "$as_me:5191: result: $ac_cv_sys_long_file_names" >&5
5188 echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6 5192 echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6
5189 if test $ac_cv_sys_long_file_names = yes; then 5193 if test $ac_cv_sys_long_file_names = yes; then
5190 5194
5191 cat >>confdefs.h <<\EOF 5195 cat >>confdefs.h <<\EOF
5192 #define HAVE_LONG_FILE_NAMES 1 5196 #define HAVE_LONG_FILE_NAMES 1
5194 5198
5195 fi 5199 fi
5196 5200
5197 #### Choose a window system. 5201 #### Choose a window system.
5198 5202
5199 echo "$as_me:5199: checking for X" >&5 5203 echo "$as_me:5203: checking for X" >&5
5200 echo $ECHO_N "checking for X... $ECHO_C" >&6 5204 echo $ECHO_N "checking for X... $ECHO_C" >&6
5201 5205
5202 # Check whether --with-x or --without-x was given. 5206 # Check whether --with-x or --without-x was given.
5203 if test "${with_x+set}" = set; then 5207 if test "${with_x+set}" = set; then
5204 withval="$with_x" 5208 withval="$with_x"
5291 5295
5292 if test "$ac_x_includes" = no; then 5296 if test "$ac_x_includes" = no; then
5293 # Guess where to find include files, by looking for Intrinsic.h. 5297 # Guess where to find include files, by looking for Intrinsic.h.
5294 # First, try using that file with no special directory specified. 5298 # First, try using that file with no special directory specified.
5295 cat >conftest.$ac_ext <<_ACEOF 5299 cat >conftest.$ac_ext <<_ACEOF
5296 #line 5296 "configure" 5300 #line 5300 "configure"
5297 #include "confdefs.h" 5301 #include "confdefs.h"
5298 #include <X11/Intrinsic.h> 5302 #include <X11/Intrinsic.h>
5299 _ACEOF 5303 _ACEOF
5300 if { (eval echo "$as_me:5300: \"$ac_cpp conftest.$ac_ext\"") >&5 5304 if { (eval echo "$as_me:5304: \"$ac_cpp conftest.$ac_ext\"") >&5
5301 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5305 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5302 ac_status=$? 5306 ac_status=$?
5303 egrep -v '^ *\+' conftest.er1 >conftest.err 5307 egrep -v '^ *\+' conftest.er1 >conftest.err
5304 rm -f conftest.er1 5308 rm -f conftest.er1
5305 cat conftest.err >&5 5309 cat conftest.err >&5
5306 echo "$as_me:5306: \$? = $ac_status" >&5 5310 echo "$as_me:5310: \$? = $ac_status" >&5
5307 (exit $ac_status); } >/dev/null; then 5311 (exit $ac_status); } >/dev/null; then
5308 if test -s conftest.err; then 5312 if test -s conftest.err; then
5309 ac_cpp_err=$ac_c_preproc_warn_flag 5313 ac_cpp_err=$ac_c_preproc_warn_flag
5310 else 5314 else
5311 ac_cpp_err= 5315 ac_cpp_err=
5334 # See if we find them without any special options. 5338 # See if we find them without any special options.
5335 # Don't add to $LIBS permanently. 5339 # Don't add to $LIBS permanently.
5336 ac_save_LIBS=$LIBS 5340 ac_save_LIBS=$LIBS
5337 LIBS="-lXt $LIBS" 5341 LIBS="-lXt $LIBS"
5338 cat >conftest.$ac_ext <<_ACEOF 5342 cat >conftest.$ac_ext <<_ACEOF
5339 #line 5339 "configure" 5343 #line 5343 "configure"
5340 #include "confdefs.h" 5344 #include "confdefs.h"
5341 #include <X11/Intrinsic.h> 5345 #include <X11/Intrinsic.h>
5342 int 5346 int
5343 main () 5347 main ()
5344 { 5348 {
5346 ; 5350 ;
5347 return 0; 5351 return 0;
5348 } 5352 }
5349 _ACEOF 5353 _ACEOF
5350 rm -f conftest.$ac_objext conftest$ac_exeext 5354 rm -f conftest.$ac_objext conftest$ac_exeext
5351 if { (eval echo "$as_me:5351: \"$ac_link\"") >&5 5355 if { (eval echo "$as_me:5355: \"$ac_link\"") >&5
5352 (eval $ac_link) 2>&5 5356 (eval $ac_link) 2>&5
5353 ac_status=$? 5357 ac_status=$?
5354 echo "$as_me:5354: \$? = $ac_status" >&5 5358 echo "$as_me:5358: \$? = $ac_status" >&5
5355 (exit $ac_status); } && 5359 (exit $ac_status); } &&
5356 { ac_try='test -s conftest$ac_exeext' 5360 { ac_try='test -s conftest$ac_exeext'
5357 { (eval echo "$as_me:5357: \"$ac_try\"") >&5 5361 { (eval echo "$as_me:5361: \"$ac_try\"") >&5
5358 (eval $ac_try) 2>&5 5362 (eval $ac_try) 2>&5
5359 ac_status=$? 5363 ac_status=$?
5360 echo "$as_me:5360: \$? = $ac_status" >&5 5364 echo "$as_me:5364: \$? = $ac_status" >&5
5361 (exit $ac_status); }; }; then 5365 (exit $ac_status); }; }; then
5362 LIBS=$ac_save_LIBS 5366 LIBS=$ac_save_LIBS
5363 # We can link X programs with no special library path. 5367 # We can link X programs with no special library path.
5364 ac_x_libraries= 5368 ac_x_libraries=
5365 else 5369 else
5393 fi 5397 fi
5394 eval "$ac_cv_have_x" 5398 eval "$ac_cv_have_x"
5395 fi # $with_x != no 5399 fi # $with_x != no
5396 5400
5397 if test "$have_x" != yes; then 5401 if test "$have_x" != yes; then
5398 echo "$as_me:5398: result: $have_x" >&5 5402 echo "$as_me:5402: result: $have_x" >&5
5399 echo "${ECHO_T}$have_x" >&6 5403 echo "${ECHO_T}$have_x" >&6
5400 no_x=yes 5404 no_x=yes
5401 else 5405 else
5402 # If each of the values was on the command line, it overrides each guess. 5406 # If each of the values was on the command line, it overrides each guess.
5403 test "x$x_includes" = xNONE && x_includes=$ac_x_includes 5407 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
5404 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries 5408 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
5405 # Update the cache value to reflect the command line values. 5409 # Update the cache value to reflect the command line values.
5406 ac_cv_have_x="have_x=yes \ 5410 ac_cv_have_x="have_x=yes \
5407 ac_x_includes=$x_includes ac_x_libraries=$x_libraries" 5411 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
5408 echo "$as_me:5408: result: libraries $x_libraries, headers $x_includes" >&5 5412 echo "$as_me:5412: result: libraries $x_libraries, headers $x_includes" >&5
5409 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6 5413 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
5410 fi 5414 fi
5411 5415
5412 if test "$no_x" = yes; then 5416 if test "$no_x" = yes; then
5413 window_system=none 5417 window_system=none
5501 5505
5502 # Do the opsystem or machine files prohibit the use of the GNU malloc? 5506 # Do the opsystem or machine files prohibit the use of the GNU malloc?
5503 # Assume not, until told otherwise. 5507 # Assume not, until told otherwise.
5504 GNU_MALLOC=yes 5508 GNU_MALLOC=yes
5505 doug_lea_malloc=yes 5509 doug_lea_malloc=yes
5506 echo "$as_me:5506: checking for malloc_get_state" >&5 5510 echo "$as_me:5510: checking for malloc_get_state" >&5
5507 echo $ECHO_N "checking for malloc_get_state... $ECHO_C" >&6 5511 echo $ECHO_N "checking for malloc_get_state... $ECHO_C" >&6
5508 if test "${ac_cv_func_malloc_get_state+set}" = set; then 5512 if test "${ac_cv_func_malloc_get_state+set}" = set; then
5509 echo $ECHO_N "(cached) $ECHO_C" >&6 5513 echo $ECHO_N "(cached) $ECHO_C" >&6
5510 else 5514 else
5511 cat >conftest.$ac_ext <<_ACEOF 5515 cat >conftest.$ac_ext <<_ACEOF
5512 #line 5512 "configure" 5516 #line 5516 "configure"
5513 #include "confdefs.h" 5517 #include "confdefs.h"
5514 /* System header to define __stub macros and hopefully few prototypes, 5518 /* System header to define __stub macros and hopefully few prototypes,
5515 which can conflict with char malloc_get_state (); below. */ 5519 which can conflict with char malloc_get_state (); below. */
5516 #include <assert.h> 5520 #include <assert.h>
5517 /* Override any gcc2 internal prototype to avoid an error. */ 5521 /* Override any gcc2 internal prototype to avoid an error. */
5538 ; 5542 ;
5539 return 0; 5543 return 0;
5540 } 5544 }
5541 _ACEOF 5545 _ACEOF
5542 rm -f conftest.$ac_objext conftest$ac_exeext 5546 rm -f conftest.$ac_objext conftest$ac_exeext
5543 if { (eval echo "$as_me:5543: \"$ac_link\"") >&5 5547 if { (eval echo "$as_me:5547: \"$ac_link\"") >&5
5544 (eval $ac_link) 2>&5 5548 (eval $ac_link) 2>&5
5545 ac_status=$? 5549 ac_status=$?
5546 echo "$as_me:5546: \$? = $ac_status" >&5 5550 echo "$as_me:5550: \$? = $ac_status" >&5
5547 (exit $ac_status); } && 5551 (exit $ac_status); } &&
5548 { ac_try='test -s conftest$ac_exeext' 5552 { ac_try='test -s conftest$ac_exeext'
5549 { (eval echo "$as_me:5549: \"$ac_try\"") >&5 5553 { (eval echo "$as_me:5553: \"$ac_try\"") >&5
5550 (eval $ac_try) 2>&5 5554 (eval $ac_try) 2>&5
5551 ac_status=$? 5555 ac_status=$?
5552 echo "$as_me:5552: \$? = $ac_status" >&5 5556 echo "$as_me:5556: \$? = $ac_status" >&5
5553 (exit $ac_status); }; }; then 5557 (exit $ac_status); }; }; then
5554 ac_cv_func_malloc_get_state=yes 5558 ac_cv_func_malloc_get_state=yes
5555 else 5559 else
5556 echo "$as_me: failed program was:" >&5 5560 echo "$as_me: failed program was:" >&5
5557 cat conftest.$ac_ext >&5 5561 cat conftest.$ac_ext >&5
5558 ac_cv_func_malloc_get_state=no 5562 ac_cv_func_malloc_get_state=no
5559 fi 5563 fi
5560 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5564 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5561 fi 5565 fi
5562 echo "$as_me:5562: result: $ac_cv_func_malloc_get_state" >&5 5566 echo "$as_me:5566: result: $ac_cv_func_malloc_get_state" >&5
5563 echo "${ECHO_T}$ac_cv_func_malloc_get_state" >&6 5567 echo "${ECHO_T}$ac_cv_func_malloc_get_state" >&6
5564 if test $ac_cv_func_malloc_get_state = yes; then 5568 if test $ac_cv_func_malloc_get_state = yes; then
5565 : 5569 :
5566 else 5570 else
5567 doug_lea_malloc=no 5571 doug_lea_malloc=no
5568 fi 5572 fi
5569 5573
5570 echo "$as_me:5570: checking for malloc_set_state" >&5 5574 echo "$as_me:5574: checking for malloc_set_state" >&5
5571 echo $ECHO_N "checking for malloc_set_state... $ECHO_C" >&6 5575 echo $ECHO_N "checking for malloc_set_state... $ECHO_C" >&6
5572 if test "${ac_cv_func_malloc_set_state+set}" = set; then 5576 if test "${ac_cv_func_malloc_set_state+set}" = set; then
5573 echo $ECHO_N "(cached) $ECHO_C" >&6 5577 echo $ECHO_N "(cached) $ECHO_C" >&6
5574 else 5578 else
5575 cat >conftest.$ac_ext <<_ACEOF 5579 cat >conftest.$ac_ext <<_ACEOF
5576 #line 5576 "configure" 5580 #line 5580 "configure"
5577 #include "confdefs.h" 5581 #include "confdefs.h"
5578 /* System header to define __stub macros and hopefully few prototypes, 5582 /* System header to define __stub macros and hopefully few prototypes,
5579 which can conflict with char malloc_set_state (); below. */ 5583 which can conflict with char malloc_set_state (); below. */
5580 #include <assert.h> 5584 #include <assert.h>
5581 /* Override any gcc2 internal prototype to avoid an error. */ 5585 /* Override any gcc2 internal prototype to avoid an error. */
5602 ; 5606 ;
5603 return 0; 5607 return 0;
5604 } 5608 }
5605 _ACEOF 5609 _ACEOF
5606 rm -f conftest.$ac_objext conftest$ac_exeext 5610 rm -f conftest.$ac_objext conftest$ac_exeext
5607 if { (eval echo "$as_me:5607: \"$ac_link\"") >&5 5611 if { (eval echo "$as_me:5611: \"$ac_link\"") >&5
5608 (eval $ac_link) 2>&5 5612 (eval $ac_link) 2>&5
5609 ac_status=$? 5613 ac_status=$?
5610 echo "$as_me:5610: \$? = $ac_status" >&5 5614 echo "$as_me:5614: \$? = $ac_status" >&5
5611 (exit $ac_status); } && 5615 (exit $ac_status); } &&
5612 { ac_try='test -s conftest$ac_exeext' 5616 { ac_try='test -s conftest$ac_exeext'
5613 { (eval echo "$as_me:5613: \"$ac_try\"") >&5 5617 { (eval echo "$as_me:5617: \"$ac_try\"") >&5
5614 (eval $ac_try) 2>&5 5618 (eval $ac_try) 2>&5
5615 ac_status=$? 5619 ac_status=$?
5616 echo "$as_me:5616: \$? = $ac_status" >&5 5620 echo "$as_me:5620: \$? = $ac_status" >&5
5617 (exit $ac_status); }; }; then 5621 (exit $ac_status); }; }; then
5618 ac_cv_func_malloc_set_state=yes 5622 ac_cv_func_malloc_set_state=yes
5619 else 5623 else
5620 echo "$as_me: failed program was:" >&5 5624 echo "$as_me: failed program was:" >&5
5621 cat conftest.$ac_ext >&5 5625 cat conftest.$ac_ext >&5
5622 ac_cv_func_malloc_set_state=no 5626 ac_cv_func_malloc_set_state=no
5623 fi 5627 fi
5624 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5628 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5625 fi 5629 fi
5626 echo "$as_me:5626: result: $ac_cv_func_malloc_set_state" >&5 5630 echo "$as_me:5630: result: $ac_cv_func_malloc_set_state" >&5
5627 echo "${ECHO_T}$ac_cv_func_malloc_set_state" >&6 5631 echo "${ECHO_T}$ac_cv_func_malloc_set_state" >&6
5628 if test $ac_cv_func_malloc_set_state = yes; then 5632 if test $ac_cv_func_malloc_set_state = yes; then
5629 : 5633 :
5630 else 5634 else
5631 doug_lea_malloc=no 5635 doug_lea_malloc=no
5632 fi 5636 fi
5633 5637
5634 echo "$as_me:5634: checking whether __after_morecore_hook exists" >&5 5638 echo "$as_me:5638: checking whether __after_morecore_hook exists" >&5
5635 echo $ECHO_N "checking whether __after_morecore_hook exists... $ECHO_C" >&6 5639 echo $ECHO_N "checking whether __after_morecore_hook exists... $ECHO_C" >&6
5636 if test "${emacs_cv_var___after_morecore_hook+set}" = set; then 5640 if test "${emacs_cv_var___after_morecore_hook+set}" = set; then
5637 echo $ECHO_N "(cached) $ECHO_C" >&6 5641 echo $ECHO_N "(cached) $ECHO_C" >&6
5638 else 5642 else
5639 cat >conftest.$ac_ext <<_ACEOF 5643 cat >conftest.$ac_ext <<_ACEOF
5640 #line 5640 "configure" 5644 #line 5644 "configure"
5641 #include "confdefs.h" 5645 #include "confdefs.h"
5642 extern void (* __after_morecore_hook)(); 5646 extern void (* __after_morecore_hook)();
5643 int 5647 int
5644 main () 5648 main ()
5645 { 5649 {
5647 ; 5651 ;
5648 return 0; 5652 return 0;
5649 } 5653 }
5650 _ACEOF 5654 _ACEOF
5651 rm -f conftest.$ac_objext conftest$ac_exeext 5655 rm -f conftest.$ac_objext conftest$ac_exeext
5652 if { (eval echo "$as_me:5652: \"$ac_link\"") >&5 5656 if { (eval echo "$as_me:5656: \"$ac_link\"") >&5
5653 (eval $ac_link) 2>&5 5657 (eval $ac_link) 2>&5
5654 ac_status=$? 5658 ac_status=$?
5655 echo "$as_me:5655: \$? = $ac_status" >&5 5659 echo "$as_me:5659: \$? = $ac_status" >&5
5656 (exit $ac_status); } && 5660 (exit $ac_status); } &&
5657 { ac_try='test -s conftest$ac_exeext' 5661 { ac_try='test -s conftest$ac_exeext'
5658 { (eval echo "$as_me:5658: \"$ac_try\"") >&5 5662 { (eval echo "$as_me:5662: \"$ac_try\"") >&5
5659 (eval $ac_try) 2>&5 5663 (eval $ac_try) 2>&5
5660 ac_status=$? 5664 ac_status=$?
5661 echo "$as_me:5661: \$? = $ac_status" >&5 5665 echo "$as_me:5665: \$? = $ac_status" >&5
5662 (exit $ac_status); }; }; then 5666 (exit $ac_status); }; }; then
5663 emacs_cv_var___after_morecore_hook=yes 5667 emacs_cv_var___after_morecore_hook=yes
5664 else 5668 else
5665 echo "$as_me: failed program was:" >&5 5669 echo "$as_me: failed program was:" >&5
5666 cat conftest.$ac_ext >&5 5670 cat conftest.$ac_ext >&5
5667 emacs_cv_var___after_morecore_hook=no 5671 emacs_cv_var___after_morecore_hook=no
5668 fi 5672 fi
5669 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5673 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5670 fi 5674 fi
5671 echo "$as_me:5671: result: $emacs_cv_var___after_morecore_hook" >&5 5675 echo "$as_me:5675: result: $emacs_cv_var___after_morecore_hook" >&5
5672 echo "${ECHO_T}$emacs_cv_var___after_morecore_hook" >&6 5676 echo "${ECHO_T}$emacs_cv_var___after_morecore_hook" >&6
5673 if test $emacs_cv_var___after_morecore_hook = no; then 5677 if test $emacs_cv_var___after_morecore_hook = no; then
5674 doug_lea_malloc=no 5678 doug_lea_malloc=no
5675 fi 5679 fi
5676 if test "${system_malloc}" = "yes"; then 5680 if test "${system_malloc}" = "yes"; then
5698 5702
5699 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 5703 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5700 inttypes.h stdint.h unistd.h 5704 inttypes.h stdint.h unistd.h
5701 do 5705 do
5702 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5706 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5703 echo "$as_me:5703: checking for $ac_header" >&5 5707 echo "$as_me:5707: checking for $ac_header" >&5
5704 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5708 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5705 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5709 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5706 echo $ECHO_N "(cached) $ECHO_C" >&6 5710 echo $ECHO_N "(cached) $ECHO_C" >&6
5707 else 5711 else
5708 cat >conftest.$ac_ext <<_ACEOF 5712 cat >conftest.$ac_ext <<_ACEOF
5709 #line 5709 "configure" 5713 #line 5713 "configure"
5710 #include "confdefs.h" 5714 #include "confdefs.h"
5711 $ac_includes_default 5715 $ac_includes_default
5712 #include <$ac_header> 5716 #include <$ac_header>
5713 _ACEOF 5717 _ACEOF
5714 rm -f conftest.$ac_objext 5718 rm -f conftest.$ac_objext
5715 if { (eval echo "$as_me:5715: \"$ac_compile\"") >&5 5719 if { (eval echo "$as_me:5719: \"$ac_compile\"") >&5
5716 (eval $ac_compile) 2>&5 5720 (eval $ac_compile) 2>&5
5717 ac_status=$? 5721 ac_status=$?
5718 echo "$as_me:5718: \$? = $ac_status" >&5 5722 echo "$as_me:5722: \$? = $ac_status" >&5
5719 (exit $ac_status); } && 5723 (exit $ac_status); } &&
5720 { ac_try='test -s conftest.$ac_objext' 5724 { ac_try='test -s conftest.$ac_objext'
5721 { (eval echo "$as_me:5721: \"$ac_try\"") >&5 5725 { (eval echo "$as_me:5725: \"$ac_try\"") >&5
5722 (eval $ac_try) 2>&5 5726 (eval $ac_try) 2>&5
5723 ac_status=$? 5727 ac_status=$?
5724 echo "$as_me:5724: \$? = $ac_status" >&5 5728 echo "$as_me:5728: \$? = $ac_status" >&5
5725 (exit $ac_status); }; }; then 5729 (exit $ac_status); }; }; then
5726 eval "$as_ac_Header=yes" 5730 eval "$as_ac_Header=yes"
5727 else 5731 else
5728 echo "$as_me: failed program was:" >&5 5732 echo "$as_me: failed program was:" >&5
5729 cat conftest.$ac_ext >&5 5733 cat conftest.$ac_ext >&5
5730 eval "$as_ac_Header=no" 5734 eval "$as_ac_Header=no"
5731 fi 5735 fi
5732 rm -f conftest.$ac_objext conftest.$ac_ext 5736 rm -f conftest.$ac_objext conftest.$ac_ext
5733 fi 5737 fi
5734 echo "$as_me:5734: result: `eval echo '${'$as_ac_Header'}'`" >&5 5738 echo "$as_me:5738: result: `eval echo '${'$as_ac_Header'}'`" >&5
5735 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5739 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5736 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5740 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5737 cat >>confdefs.h <<EOF 5741 cat >>confdefs.h <<EOF
5738 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5742 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5739 EOF 5743 EOF
5742 done 5746 done
5743 5747
5744 for ac_header in stdlib.h unistd.h 5748 for ac_header in stdlib.h unistd.h
5745 do 5749 do
5746 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5750 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5747 echo "$as_me:5747: checking for $ac_header" >&5 5751 echo "$as_me:5751: checking for $ac_header" >&5
5748 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5752 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5749 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5753 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5750 echo $ECHO_N "(cached) $ECHO_C" >&6 5754 echo $ECHO_N "(cached) $ECHO_C" >&6
5751 else 5755 else
5752 cat >conftest.$ac_ext <<_ACEOF 5756 cat >conftest.$ac_ext <<_ACEOF
5753 #line 5753 "configure" 5757 #line 5757 "configure"
5754 #include "confdefs.h" 5758 #include "confdefs.h"
5755 #include <$ac_header> 5759 #include <$ac_header>
5756 _ACEOF 5760 _ACEOF
5757 if { (eval echo "$as_me:5757: \"$ac_cpp conftest.$ac_ext\"") >&5 5761 if { (eval echo "$as_me:5761: \"$ac_cpp conftest.$ac_ext\"") >&5
5758 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5762 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5759 ac_status=$? 5763 ac_status=$?
5760 egrep -v '^ *\+' conftest.er1 >conftest.err 5764 egrep -v '^ *\+' conftest.er1 >conftest.err
5761 rm -f conftest.er1 5765 rm -f conftest.er1
5762 cat conftest.err >&5 5766 cat conftest.err >&5
5763 echo "$as_me:5763: \$? = $ac_status" >&5 5767 echo "$as_me:5767: \$? = $ac_status" >&5
5764 (exit $ac_status); } >/dev/null; then 5768 (exit $ac_status); } >/dev/null; then
5765 if test -s conftest.err; then 5769 if test -s conftest.err; then
5766 ac_cpp_err=$ac_c_preproc_warn_flag 5770 ac_cpp_err=$ac_c_preproc_warn_flag
5767 else 5771 else
5768 ac_cpp_err= 5772 ac_cpp_err=
5777 cat conftest.$ac_ext >&5 5781 cat conftest.$ac_ext >&5
5778 eval "$as_ac_Header=no" 5782 eval "$as_ac_Header=no"
5779 fi 5783 fi
5780 rm -f conftest.err conftest.$ac_ext 5784 rm -f conftest.err conftest.$ac_ext
5781 fi 5785 fi
5782 echo "$as_me:5782: result: `eval echo '${'$as_ac_Header'}'`" >&5 5786 echo "$as_me:5786: result: `eval echo '${'$as_ac_Header'}'`" >&5
5783 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5787 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5784 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5788 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5785 cat >>confdefs.h <<EOF 5789 cat >>confdefs.h <<EOF
5786 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5790 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5787 EOF 5791 EOF
5790 done 5794 done
5791 5795
5792 for ac_func in getpagesize 5796 for ac_func in getpagesize
5793 do 5797 do
5794 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 5798 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5795 echo "$as_me:5795: checking for $ac_func" >&5 5799 echo "$as_me:5799: checking for $ac_func" >&5
5796 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 5800 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5797 if eval "test \"\${$as_ac_var+set}\" = set"; then 5801 if eval "test \"\${$as_ac_var+set}\" = set"; then
5798 echo $ECHO_N "(cached) $ECHO_C" >&6 5802 echo $ECHO_N "(cached) $ECHO_C" >&6
5799 else 5803 else
5800 cat >conftest.$ac_ext <<_ACEOF 5804 cat >conftest.$ac_ext <<_ACEOF
5801 #line 5801 "configure" 5805 #line 5805 "configure"
5802 #include "confdefs.h" 5806 #include "confdefs.h"
5803 /* System header to define __stub macros and hopefully few prototypes, 5807 /* System header to define __stub macros and hopefully few prototypes,
5804 which can conflict with char $ac_func (); below. */ 5808 which can conflict with char $ac_func (); below. */
5805 #include <assert.h> 5809 #include <assert.h>
5806 /* Override any gcc2 internal prototype to avoid an error. */ 5810 /* Override any gcc2 internal prototype to avoid an error. */
5827 ; 5831 ;
5828 return 0; 5832 return 0;
5829 } 5833 }
5830 _ACEOF 5834 _ACEOF
5831 rm -f conftest.$ac_objext conftest$ac_exeext 5835 rm -f conftest.$ac_objext conftest$ac_exeext
5832 if { (eval echo "$as_me:5832: \"$ac_link\"") >&5 5836 if { (eval echo "$as_me:5836: \"$ac_link\"") >&5
5833 (eval $ac_link) 2>&5 5837 (eval $ac_link) 2>&5
5834 ac_status=$? 5838 ac_status=$?
5835 echo "$as_me:5835: \$? = $ac_status" >&5 5839 echo "$as_me:5839: \$? = $ac_status" >&5
5836 (exit $ac_status); } && 5840 (exit $ac_status); } &&
5837 { ac_try='test -s conftest$ac_exeext' 5841 { ac_try='test -s conftest$ac_exeext'
5838 { (eval echo "$as_me:5838: \"$ac_try\"") >&5 5842 { (eval echo "$as_me:5842: \"$ac_try\"") >&5
5839 (eval $ac_try) 2>&5 5843 (eval $ac_try) 2>&5
5840 ac_status=$? 5844 ac_status=$?
5841 echo "$as_me:5841: \$? = $ac_status" >&5 5845 echo "$as_me:5845: \$? = $ac_status" >&5
5842 (exit $ac_status); }; }; then 5846 (exit $ac_status); }; }; then
5843 eval "$as_ac_var=yes" 5847 eval "$as_ac_var=yes"
5844 else 5848 else
5845 echo "$as_me: failed program was:" >&5 5849 echo "$as_me: failed program was:" >&5
5846 cat conftest.$ac_ext >&5 5850 cat conftest.$ac_ext >&5
5847 eval "$as_ac_var=no" 5851 eval "$as_ac_var=no"
5848 fi 5852 fi
5849 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5853 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5850 fi 5854 fi
5851 echo "$as_me:5851: result: `eval echo '${'$as_ac_var'}'`" >&5 5855 echo "$as_me:5855: result: `eval echo '${'$as_ac_var'}'`" >&5
5852 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 5856 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5853 if test `eval echo '${'$as_ac_var'}'` = yes; then 5857 if test `eval echo '${'$as_ac_var'}'` = yes; then
5854 cat >>confdefs.h <<EOF 5858 cat >>confdefs.h <<EOF
5855 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 5859 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5856 EOF 5860 EOF
5857 5861
5858 fi 5862 fi
5859 done 5863 done
5860 5864
5861 echo "$as_me:5861: checking for working mmap" >&5 5865 echo "$as_me:5865: checking for working mmap" >&5
5862 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6 5866 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
5863 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then 5867 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
5864 echo $ECHO_N "(cached) $ECHO_C" >&6 5868 echo $ECHO_N "(cached) $ECHO_C" >&6
5865 else 5869 else
5866 if test "$cross_compiling" = yes; then 5870 if test "$cross_compiling" = yes; then
5867 ac_cv_func_mmap_fixed_mapped=no 5871 ac_cv_func_mmap_fixed_mapped=no
5868 else 5872 else
5869 cat >conftest.$ac_ext <<_ACEOF 5873 cat >conftest.$ac_ext <<_ACEOF
5870 #line 5870 "configure" 5874 #line 5874 "configure"
5871 #include "confdefs.h" 5875 #include "confdefs.h"
5872 $ac_includes_default 5876 $ac_includes_default
5873 /* Thanks to Mike Haertel and Jim Avera for this test. 5877 /* Thanks to Mike Haertel and Jim Avera for this test.
5874 Here is a matrix of mmap possibilities: 5878 Here is a matrix of mmap possibilities:
5875 mmap private not fixed 5879 mmap private not fixed
5992 close (fd); 5996 close (fd);
5993 exit (0); 5997 exit (0);
5994 } 5998 }
5995 _ACEOF 5999 _ACEOF
5996 rm -f conftest$ac_exeext 6000 rm -f conftest$ac_exeext
5997 if { (eval echo "$as_me:5997: \"$ac_link\"") >&5 6001 if { (eval echo "$as_me:6001: \"$ac_link\"") >&5
5998 (eval $ac_link) 2>&5 6002 (eval $ac_link) 2>&5
5999 ac_status=$? 6003 ac_status=$?
6000 echo "$as_me:6000: \$? = $ac_status" >&5 6004 echo "$as_me:6004: \$? = $ac_status" >&5
6001 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 6005 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6002 { (eval echo "$as_me:6002: \"$ac_try\"") >&5 6006 { (eval echo "$as_me:6006: \"$ac_try\"") >&5
6003 (eval $ac_try) 2>&5 6007 (eval $ac_try) 2>&5
6004 ac_status=$? 6008 ac_status=$?
6005 echo "$as_me:6005: \$? = $ac_status" >&5 6009 echo "$as_me:6009: \$? = $ac_status" >&5
6006 (exit $ac_status); }; }; then 6010 (exit $ac_status); }; }; then
6007 ac_cv_func_mmap_fixed_mapped=yes 6011 ac_cv_func_mmap_fixed_mapped=yes
6008 else 6012 else
6009 echo "$as_me: program exited with status $ac_status" >&5 6013 echo "$as_me: program exited with status $ac_status" >&5
6010 echo "$as_me: failed program was:" >&5 6014 echo "$as_me: failed program was:" >&5
6012 ac_cv_func_mmap_fixed_mapped=no 6016 ac_cv_func_mmap_fixed_mapped=no
6013 fi 6017 fi
6014 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6018 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6015 fi 6019 fi
6016 fi 6020 fi
6017 echo "$as_me:6017: result: $ac_cv_func_mmap_fixed_mapped" >&5 6021 echo "$as_me:6021: result: $ac_cv_func_mmap_fixed_mapped" >&5
6018 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6 6022 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
6019 if test $ac_cv_func_mmap_fixed_mapped = yes; then 6023 if test $ac_cv_func_mmap_fixed_mapped = yes; then
6020 6024
6021 cat >>confdefs.h <<\EOF 6025 cat >>confdefs.h <<\EOF
6022 #define HAVE_MMAP 1 6026 #define HAVE_MMAP 1
6029 REL_ALLOC=no 6033 REL_ALLOC=no
6030 fi 6034 fi
6031 6035
6032 LIBS="$libsrc_libs $LIBS" 6036 LIBS="$libsrc_libs $LIBS"
6033 6037
6034 echo "$as_me:6034: checking for dnet_ntoa in -ldnet" >&5 6038 echo "$as_me:6038: checking for dnet_ntoa in -ldnet" >&5
6035 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6 6039 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
6036 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then 6040 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
6037 echo $ECHO_N "(cached) $ECHO_C" >&6 6041 echo $ECHO_N "(cached) $ECHO_C" >&6
6038 else 6042 else
6039 ac_check_lib_save_LIBS=$LIBS 6043 ac_check_lib_save_LIBS=$LIBS
6040 LIBS="-ldnet $LIBS" 6044 LIBS="-ldnet $LIBS"
6041 cat >conftest.$ac_ext <<_ACEOF 6045 cat >conftest.$ac_ext <<_ACEOF
6042 #line 6042 "configure" 6046 #line 6046 "configure"
6043 #include "confdefs.h" 6047 #include "confdefs.h"
6044 6048
6045 /* Override any gcc2 internal prototype to avoid an error. */ 6049 /* Override any gcc2 internal prototype to avoid an error. */
6046 #ifdef __cplusplus 6050 #ifdef __cplusplus
6047 extern "C" 6051 extern "C"
6056 ; 6060 ;
6057 return 0; 6061 return 0;
6058 } 6062 }
6059 _ACEOF 6063 _ACEOF
6060 rm -f conftest.$ac_objext conftest$ac_exeext 6064 rm -f conftest.$ac_objext conftest$ac_exeext
6061 if { (eval echo "$as_me:6061: \"$ac_link\"") >&5 6065 if { (eval echo "$as_me:6065: \"$ac_link\"") >&5
6062 (eval $ac_link) 2>&5 6066 (eval $ac_link) 2>&5
6063 ac_status=$? 6067 ac_status=$?
6064 echo "$as_me:6064: \$? = $ac_status" >&5 6068 echo "$as_me:6068: \$? = $ac_status" >&5
6065 (exit $ac_status); } && 6069 (exit $ac_status); } &&
6066 { ac_try='test -s conftest$ac_exeext' 6070 { ac_try='test -s conftest$ac_exeext'
6067 { (eval echo "$as_me:6067: \"$ac_try\"") >&5 6071 { (eval echo "$as_me:6071: \"$ac_try\"") >&5
6068 (eval $ac_try) 2>&5 6072 (eval $ac_try) 2>&5
6069 ac_status=$? 6073 ac_status=$?
6070 echo "$as_me:6070: \$? = $ac_status" >&5 6074 echo "$as_me:6074: \$? = $ac_status" >&5
6071 (exit $ac_status); }; }; then 6075 (exit $ac_status); }; }; then
6072 ac_cv_lib_dnet_dnet_ntoa=yes 6076 ac_cv_lib_dnet_dnet_ntoa=yes
6073 else 6077 else
6074 echo "$as_me: failed program was:" >&5 6078 echo "$as_me: failed program was:" >&5
6075 cat conftest.$ac_ext >&5 6079 cat conftest.$ac_ext >&5
6076 ac_cv_lib_dnet_dnet_ntoa=no 6080 ac_cv_lib_dnet_dnet_ntoa=no
6077 fi 6081 fi
6078 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6082 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6079 LIBS=$ac_check_lib_save_LIBS 6083 LIBS=$ac_check_lib_save_LIBS
6080 fi 6084 fi
6081 echo "$as_me:6081: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 6085 echo "$as_me:6085: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
6082 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6 6086 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
6083 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then 6087 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
6084 cat >>confdefs.h <<EOF 6088 cat >>confdefs.h <<EOF
6085 #define HAVE_LIBDNET 1 6089 #define HAVE_LIBDNET 1
6086 EOF 6090 EOF
6087 6091
6088 LIBS="-ldnet $LIBS" 6092 LIBS="-ldnet $LIBS"
6089 6093
6090 fi 6094 fi
6091 6095
6092 echo "$as_me:6092: checking for main in -lXbsd" >&5 6096 echo "$as_me:6096: checking for main in -lXbsd" >&5
6093 echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6 6097 echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6
6094 if test "${ac_cv_lib_Xbsd_main+set}" = set; then 6098 if test "${ac_cv_lib_Xbsd_main+set}" = set; then
6095 echo $ECHO_N "(cached) $ECHO_C" >&6 6099 echo $ECHO_N "(cached) $ECHO_C" >&6
6096 else 6100 else
6097 ac_check_lib_save_LIBS=$LIBS 6101 ac_check_lib_save_LIBS=$LIBS
6098 LIBS="-lXbsd $LIBS" 6102 LIBS="-lXbsd $LIBS"
6099 cat >conftest.$ac_ext <<_ACEOF 6103 cat >conftest.$ac_ext <<_ACEOF
6100 #line 6100 "configure" 6104 #line 6104 "configure"
6101 #include "confdefs.h" 6105 #include "confdefs.h"
6102 6106
6103 int 6107 int
6104 main () 6108 main ()
6105 { 6109 {
6107 ; 6111 ;
6108 return 0; 6112 return 0;
6109 } 6113 }
6110 _ACEOF 6114 _ACEOF
6111 rm -f conftest.$ac_objext conftest$ac_exeext 6115 rm -f conftest.$ac_objext conftest$ac_exeext
6112 if { (eval echo "$as_me:6112: \"$ac_link\"") >&5 6116 if { (eval echo "$as_me:6116: \"$ac_link\"") >&5
6113 (eval $ac_link) 2>&5 6117 (eval $ac_link) 2>&5
6114 ac_status=$? 6118 ac_status=$?
6115 echo "$as_me:6115: \$? = $ac_status" >&5 6119 echo "$as_me:6119: \$? = $ac_status" >&5
6116 (exit $ac_status); } && 6120 (exit $ac_status); } &&
6117 { ac_try='test -s conftest$ac_exeext' 6121 { ac_try='test -s conftest$ac_exeext'
6118 { (eval echo "$as_me:6118: \"$ac_try\"") >&5 6122 { (eval echo "$as_me:6122: \"$ac_try\"") >&5
6119 (eval $ac_try) 2>&5 6123 (eval $ac_try) 2>&5
6120 ac_status=$? 6124 ac_status=$?
6121 echo "$as_me:6121: \$? = $ac_status" >&5 6125 echo "$as_me:6125: \$? = $ac_status" >&5
6122 (exit $ac_status); }; }; then 6126 (exit $ac_status); }; }; then
6123 ac_cv_lib_Xbsd_main=yes 6127 ac_cv_lib_Xbsd_main=yes
6124 else 6128 else
6125 echo "$as_me: failed program was:" >&5 6129 echo "$as_me: failed program was:" >&5
6126 cat conftest.$ac_ext >&5 6130 cat conftest.$ac_ext >&5
6127 ac_cv_lib_Xbsd_main=no 6131 ac_cv_lib_Xbsd_main=no
6128 fi 6132 fi
6129 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6133 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6130 LIBS=$ac_check_lib_save_LIBS 6134 LIBS=$ac_check_lib_save_LIBS
6131 fi 6135 fi
6132 echo "$as_me:6132: result: $ac_cv_lib_Xbsd_main" >&5 6136 echo "$as_me:6136: result: $ac_cv_lib_Xbsd_main" >&5
6133 echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6 6137 echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6
6134 if test $ac_cv_lib_Xbsd_main = yes; then 6138 if test $ac_cv_lib_Xbsd_main = yes; then
6135 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd" 6139 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd"
6136 fi 6140 fi
6137 6141
6138 echo "$as_me:6138: checking for cma_open in -lpthreads" >&5 6142 echo "$as_me:6142: checking for cma_open in -lpthreads" >&5
6139 echo $ECHO_N "checking for cma_open in -lpthreads... $ECHO_C" >&6 6143 echo $ECHO_N "checking for cma_open in -lpthreads... $ECHO_C" >&6
6140 if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then 6144 if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then
6141 echo $ECHO_N "(cached) $ECHO_C" >&6 6145 echo $ECHO_N "(cached) $ECHO_C" >&6
6142 else 6146 else
6143 ac_check_lib_save_LIBS=$LIBS 6147 ac_check_lib_save_LIBS=$LIBS
6144 LIBS="-lpthreads $LIBS" 6148 LIBS="-lpthreads $LIBS"
6145 cat >conftest.$ac_ext <<_ACEOF 6149 cat >conftest.$ac_ext <<_ACEOF
6146 #line 6146 "configure" 6150 #line 6150 "configure"
6147 #include "confdefs.h" 6151 #include "confdefs.h"
6148 6152
6149 /* Override any gcc2 internal prototype to avoid an error. */ 6153 /* Override any gcc2 internal prototype to avoid an error. */
6150 #ifdef __cplusplus 6154 #ifdef __cplusplus
6151 extern "C" 6155 extern "C"
6160 ; 6164 ;
6161 return 0; 6165 return 0;
6162 } 6166 }
6163 _ACEOF 6167 _ACEOF
6164 rm -f conftest.$ac_objext conftest$ac_exeext 6168 rm -f conftest.$ac_objext conftest$ac_exeext
6165 if { (eval echo "$as_me:6165: \"$ac_link\"") >&5 6169 if { (eval echo "$as_me:6169: \"$ac_link\"") >&5
6166 (eval $ac_link) 2>&5 6170 (eval $ac_link) 2>&5
6167 ac_status=$? 6171 ac_status=$?
6168 echo "$as_me:6168: \$? = $ac_status" >&5 6172 echo "$as_me:6172: \$? = $ac_status" >&5
6169 (exit $ac_status); } && 6173 (exit $ac_status); } &&
6170 { ac_try='test -s conftest$ac_exeext' 6174 { ac_try='test -s conftest$ac_exeext'
6171 { (eval echo "$as_me:6171: \"$ac_try\"") >&5 6175 { (eval echo "$as_me:6175: \"$ac_try\"") >&5
6172 (eval $ac_try) 2>&5 6176 (eval $ac_try) 2>&5
6173 ac_status=$? 6177 ac_status=$?
6174 echo "$as_me:6174: \$? = $ac_status" >&5 6178 echo "$as_me:6178: \$? = $ac_status" >&5
6175 (exit $ac_status); }; }; then 6179 (exit $ac_status); }; }; then
6176 ac_cv_lib_pthreads_cma_open=yes 6180 ac_cv_lib_pthreads_cma_open=yes
6177 else 6181 else
6178 echo "$as_me: failed program was:" >&5 6182 echo "$as_me: failed program was:" >&5
6179 cat conftest.$ac_ext >&5 6183 cat conftest.$ac_ext >&5
6180 ac_cv_lib_pthreads_cma_open=no 6184 ac_cv_lib_pthreads_cma_open=no
6181 fi 6185 fi
6182 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6186 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6183 LIBS=$ac_check_lib_save_LIBS 6187 LIBS=$ac_check_lib_save_LIBS
6184 fi 6188 fi
6185 echo "$as_me:6185: result: $ac_cv_lib_pthreads_cma_open" >&5 6189 echo "$as_me:6189: result: $ac_cv_lib_pthreads_cma_open" >&5
6186 echo "${ECHO_T}$ac_cv_lib_pthreads_cma_open" >&6 6190 echo "${ECHO_T}$ac_cv_lib_pthreads_cma_open" >&6
6187 if test $ac_cv_lib_pthreads_cma_open = yes; then 6191 if test $ac_cv_lib_pthreads_cma_open = yes; then
6188 cat >>confdefs.h <<EOF 6192 cat >>confdefs.h <<EOF
6189 #define HAVE_LIBPTHREADS 1 6193 #define HAVE_LIBPTHREADS 1
6190 EOF 6194 EOF
6191 6195
6192 LIBS="-lpthreads $LIBS" 6196 LIBS="-lpthreads $LIBS"
6193 6197
6194 fi 6198 fi
6195 6199
6196 echo "$as_me:6196: checking for XFree86 in /usr/X386" >&5 6200 echo "$as_me:6200: checking for XFree86 in /usr/X386" >&5
6197 echo $ECHO_N "checking for XFree86 in /usr/X386... $ECHO_C" >&6 6201 echo $ECHO_N "checking for XFree86 in /usr/X386... $ECHO_C" >&6
6198 if test -d /usr/X386/include; then 6202 if test -d /usr/X386/include; then
6199 HAVE_XFREE386=yes 6203 HAVE_XFREE386=yes
6200 : ${C_SWITCH_X_SITE="-I/usr/X386/include"} 6204 : ${C_SWITCH_X_SITE="-I/usr/X386/include"}
6201 else 6205 else
6202 HAVE_XFREE386=no 6206 HAVE_XFREE386=no
6203 fi 6207 fi
6204 echo "$as_me:6204: result: $HAVE_XFREE386" >&5 6208 echo "$as_me:6208: result: $HAVE_XFREE386" >&5
6205 echo "${ECHO_T}$HAVE_XFREE386" >&6 6209 echo "${ECHO_T}$HAVE_XFREE386" >&6
6206 6210
6207 # Change CFLAGS temporarily so that C_SWITCH_X_SITE gets used 6211 # Change CFLAGS temporarily so that C_SWITCH_X_SITE gets used
6208 # for the tests that follow. We set it back to REAL_CFLAGS later on. 6212 # for the tests that follow. We set it back to REAL_CFLAGS later on.
6209 6213
6224 LD_RUN_PATH=$x_libraries${LD_RUN_PATH+:}$LD_RUN_PATH 6228 LD_RUN_PATH=$x_libraries${LD_RUN_PATH+:}$LD_RUN_PATH
6225 export LD_RUN_PATH 6229 export LD_RUN_PATH
6226 fi 6230 fi
6227 6231
6228 if test "${opsys}" = "gnu-linux"; then 6232 if test "${opsys}" = "gnu-linux"; then
6229 echo "$as_me:6229: checking whether X on GNU/Linux needs -b to link" >&5 6233 echo "$as_me:6233: checking whether X on GNU/Linux needs -b to link" >&5
6230 echo $ECHO_N "checking whether X on GNU/Linux needs -b to link... $ECHO_C" >&6 6234 echo $ECHO_N "checking whether X on GNU/Linux needs -b to link... $ECHO_C" >&6
6231 cat >conftest.$ac_ext <<_ACEOF 6235 cat >conftest.$ac_ext <<_ACEOF
6232 #line 6232 "configure" 6236 #line 6236 "configure"
6233 #include "confdefs.h" 6237 #include "confdefs.h"
6234 6238
6235 int 6239 int
6236 main () 6240 main ()
6237 { 6241 {
6239 ; 6243 ;
6240 return 0; 6244 return 0;
6241 } 6245 }
6242 _ACEOF 6246 _ACEOF
6243 rm -f conftest.$ac_objext conftest$ac_exeext 6247 rm -f conftest.$ac_objext conftest$ac_exeext
6244 if { (eval echo "$as_me:6244: \"$ac_link\"") >&5 6248 if { (eval echo "$as_me:6248: \"$ac_link\"") >&5
6245 (eval $ac_link) 2>&5 6249 (eval $ac_link) 2>&5
6246 ac_status=$? 6250 ac_status=$?
6247 echo "$as_me:6247: \$? = $ac_status" >&5 6251 echo "$as_me:6251: \$? = $ac_status" >&5
6248 (exit $ac_status); } && 6252 (exit $ac_status); } &&
6249 { ac_try='test -s conftest$ac_exeext' 6253 { ac_try='test -s conftest$ac_exeext'
6250 { (eval echo "$as_me:6250: \"$ac_try\"") >&5 6254 { (eval echo "$as_me:6254: \"$ac_try\"") >&5
6251 (eval $ac_try) 2>&5 6255 (eval $ac_try) 2>&5
6252 ac_status=$? 6256 ac_status=$?
6253 echo "$as_me:6253: \$? = $ac_status" >&5 6257 echo "$as_me:6257: \$? = $ac_status" >&5
6254 (exit $ac_status); }; }; then 6258 (exit $ac_status); }; }; then
6255 xlinux_first_failure=no 6259 xlinux_first_failure=no
6256 else 6260 else
6257 echo "$as_me: failed program was:" >&5 6261 echo "$as_me: failed program was:" >&5
6258 cat conftest.$ac_ext >&5 6262 cat conftest.$ac_ext >&5
6267 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -b i486-linuxaout" 6271 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -b i486-linuxaout"
6268 C_SWITCH_X_SITE="$C_SWITCH_X_SITE -b i486-linuxaout" 6272 C_SWITCH_X_SITE="$C_SWITCH_X_SITE -b i486-linuxaout"
6269 CPPFLAGS="$CPPFLAGS -b i486-linuxaout" 6273 CPPFLAGS="$CPPFLAGS -b i486-linuxaout"
6270 LIBS="$LIBS -b i486-linuxaout" 6274 LIBS="$LIBS -b i486-linuxaout"
6271 cat >conftest.$ac_ext <<_ACEOF 6275 cat >conftest.$ac_ext <<_ACEOF
6272 #line 6272 "configure" 6276 #line 6276 "configure"
6273 #include "confdefs.h" 6277 #include "confdefs.h"
6274 6278
6275 int 6279 int
6276 main () 6280 main ()
6277 { 6281 {
6279 ; 6283 ;
6280 return 0; 6284 return 0;
6281 } 6285 }
6282 _ACEOF 6286 _ACEOF
6283 rm -f conftest.$ac_objext conftest$ac_exeext 6287 rm -f conftest.$ac_objext conftest$ac_exeext
6284 if { (eval echo "$as_me:6284: \"$ac_link\"") >&5 6288 if { (eval echo "$as_me:6288: \"$ac_link\"") >&5
6285 (eval $ac_link) 2>&5 6289 (eval $ac_link) 2>&5
6286 ac_status=$? 6290 ac_status=$?
6287 echo "$as_me:6287: \$? = $ac_status" >&5 6291 echo "$as_me:6291: \$? = $ac_status" >&5
6288 (exit $ac_status); } && 6292 (exit $ac_status); } &&
6289 { ac_try='test -s conftest$ac_exeext' 6293 { ac_try='test -s conftest$ac_exeext'
6290 { (eval echo "$as_me:6290: \"$ac_try\"") >&5 6294 { (eval echo "$as_me:6294: \"$ac_try\"") >&5
6291 (eval $ac_try) 2>&5 6295 (eval $ac_try) 2>&5
6292 ac_status=$? 6296 ac_status=$?
6293 echo "$as_me:6293: \$? = $ac_status" >&5 6297 echo "$as_me:6297: \$? = $ac_status" >&5
6294 (exit $ac_status); }; }; then 6298 (exit $ac_status); }; }; then
6295 xlinux_second_failure=no 6299 xlinux_second_failure=no
6296 else 6300 else
6297 echo "$as_me: failed program was:" >&5 6301 echo "$as_me: failed program was:" >&5
6298 cat conftest.$ac_ext >&5 6302 cat conftest.$ac_ext >&5
6304 # So take it out. This plays safe. 6308 # So take it out. This plays safe.
6305 LD_SWITCH_X_SITE="$OLD_LD_SWITCH_X_SITE" 6309 LD_SWITCH_X_SITE="$OLD_LD_SWITCH_X_SITE"
6306 C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE" 6310 C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE"
6307 CPPFLAGS="$OLD_CPPFLAGS" 6311 CPPFLAGS="$OLD_CPPFLAGS"
6308 LIBS="$OLD_LIBS" 6312 LIBS="$OLD_LIBS"
6309 echo "$as_me:6309: result: no" >&5 6313 echo "$as_me:6313: result: no" >&5
6310 echo "${ECHO_T}no" >&6 6314 echo "${ECHO_T}no" >&6
6311 else 6315 else
6312 echo "$as_me:6312: result: yes" >&5 6316 echo "$as_me:6316: result: yes" >&5
6313 echo "${ECHO_T}yes" >&6 6317 echo "${ECHO_T}yes" >&6
6314 fi 6318 fi
6315 else 6319 else
6316 echo "$as_me:6316: result: no" >&5 6320 echo "$as_me:6320: result: no" >&5
6317 echo "${ECHO_T}no" >&6 6321 echo "${ECHO_T}no" >&6
6318 fi 6322 fi
6319 fi 6323 fi
6320 6324
6321 # Reportedly, some broken Solaris systems have XKBlib.h but are missing 6325 # Reportedly, some broken Solaris systems have XKBlib.h but are missing
6322 # header files included from there. 6326 # header files included from there.
6323 echo "$as_me:6323: checking for Xkb" >&5 6327 echo "$as_me:6327: checking for Xkb" >&5
6324 echo $ECHO_N "checking for Xkb... $ECHO_C" >&6 6328 echo $ECHO_N "checking for Xkb... $ECHO_C" >&6
6325 cat >conftest.$ac_ext <<_ACEOF 6329 cat >conftest.$ac_ext <<_ACEOF
6326 #line 6326 "configure" 6330 #line 6330 "configure"
6327 #include "confdefs.h" 6331 #include "confdefs.h"
6328 #include <X11/Xlib.h> 6332 #include <X11/Xlib.h>
6329 #include <X11/XKBlib.h> 6333 #include <X11/XKBlib.h>
6330 int 6334 int
6331 main () 6335 main ()
6334 ; 6338 ;
6335 return 0; 6339 return 0;
6336 } 6340 }
6337 _ACEOF 6341 _ACEOF
6338 rm -f conftest.$ac_objext conftest$ac_exeext 6342 rm -f conftest.$ac_objext conftest$ac_exeext
6339 if { (eval echo "$as_me:6339: \"$ac_link\"") >&5 6343 if { (eval echo "$as_me:6343: \"$ac_link\"") >&5
6340 (eval $ac_link) 2>&5 6344 (eval $ac_link) 2>&5
6341 ac_status=$? 6345 ac_status=$?
6342 echo "$as_me:6342: \$? = $ac_status" >&5 6346 echo "$as_me:6346: \$? = $ac_status" >&5
6343 (exit $ac_status); } && 6347 (exit $ac_status); } &&
6344 { ac_try='test -s conftest$ac_exeext' 6348 { ac_try='test -s conftest$ac_exeext'
6345 { (eval echo "$as_me:6345: \"$ac_try\"") >&5 6349 { (eval echo "$as_me:6349: \"$ac_try\"") >&5
6346 (eval $ac_try) 2>&5 6350 (eval $ac_try) 2>&5
6347 ac_status=$? 6351 ac_status=$?
6348 echo "$as_me:6348: \$? = $ac_status" >&5 6352 echo "$as_me:6352: \$? = $ac_status" >&5
6349 (exit $ac_status); }; }; then 6353 (exit $ac_status); }; }; then
6350 emacs_xkb=yes 6354 emacs_xkb=yes
6351 else 6355 else
6352 echo "$as_me: failed program was:" >&5 6356 echo "$as_me: failed program was:" >&5
6353 cat conftest.$ac_ext >&5 6357 cat conftest.$ac_ext >&5
6354 emacs_xkb=no 6358 emacs_xkb=no
6355 fi 6359 fi
6356 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6360 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6357 echo "$as_me:6357: result: $emacs_xkb" >&5 6361 echo "$as_me:6361: result: $emacs_xkb" >&5
6358 echo "${ECHO_T}$emacs_xkb" >&6 6362 echo "${ECHO_T}$emacs_xkb" >&6
6359 if test $emacs_xkb = yes; then 6363 if test $emacs_xkb = yes; then
6360 6364
6361 cat >>confdefs.h <<\EOF 6365 cat >>confdefs.h <<\EOF
6362 #define HAVE_XKBGETKEYBOARD 1 6366 #define HAVE_XKBGETKEYBOARD 1
6366 6370
6367 for ac_func in XrmSetDatabase XScreenResourceString \ 6371 for ac_func in XrmSetDatabase XScreenResourceString \
6368 XScreenNumberOfScreen XSetWMProtocols 6372 XScreenNumberOfScreen XSetWMProtocols
6369 do 6373 do
6370 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 6374 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6371 echo "$as_me:6371: checking for $ac_func" >&5 6375 echo "$as_me:6375: checking for $ac_func" >&5
6372 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6376 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6373 if eval "test \"\${$as_ac_var+set}\" = set"; then 6377 if eval "test \"\${$as_ac_var+set}\" = set"; then
6374 echo $ECHO_N "(cached) $ECHO_C" >&6 6378 echo $ECHO_N "(cached) $ECHO_C" >&6
6375 else 6379 else
6376 cat >conftest.$ac_ext <<_ACEOF 6380 cat >conftest.$ac_ext <<_ACEOF
6377 #line 6377 "configure" 6381 #line 6381 "configure"
6378 #include "confdefs.h" 6382 #include "confdefs.h"
6379 /* System header to define __stub macros and hopefully few prototypes, 6383 /* System header to define __stub macros and hopefully few prototypes,
6380 which can conflict with char $ac_func (); below. */ 6384 which can conflict with char $ac_func (); below. */
6381 #include <assert.h> 6385 #include <assert.h>
6382 /* Override any gcc2 internal prototype to avoid an error. */ 6386 /* Override any gcc2 internal prototype to avoid an error. */
6403 ; 6407 ;
6404 return 0; 6408 return 0;
6405 } 6409 }
6406 _ACEOF 6410 _ACEOF
6407 rm -f conftest.$ac_objext conftest$ac_exeext 6411 rm -f conftest.$ac_objext conftest$ac_exeext
6408 if { (eval echo "$as_me:6408: \"$ac_link\"") >&5 6412 if { (eval echo "$as_me:6412: \"$ac_link\"") >&5
6409 (eval $ac_link) 2>&5 6413 (eval $ac_link) 2>&5
6410 ac_status=$? 6414 ac_status=$?
6411 echo "$as_me:6411: \$? = $ac_status" >&5 6415 echo "$as_me:6415: \$? = $ac_status" >&5
6412 (exit $ac_status); } && 6416 (exit $ac_status); } &&
6413 { ac_try='test -s conftest$ac_exeext' 6417 { ac_try='test -s conftest$ac_exeext'
6414 { (eval echo "$as_me:6414: \"$ac_try\"") >&5 6418 { (eval echo "$as_me:6418: \"$ac_try\"") >&5
6415 (eval $ac_try) 2>&5 6419 (eval $ac_try) 2>&5
6416 ac_status=$? 6420 ac_status=$?
6417 echo "$as_me:6417: \$? = $ac_status" >&5 6421 echo "$as_me:6421: \$? = $ac_status" >&5
6418 (exit $ac_status); }; }; then 6422 (exit $ac_status); }; }; then
6419 eval "$as_ac_var=yes" 6423 eval "$as_ac_var=yes"
6420 else 6424 else
6421 echo "$as_me: failed program was:" >&5 6425 echo "$as_me: failed program was:" >&5
6422 cat conftest.$ac_ext >&5 6426 cat conftest.$ac_ext >&5
6423 eval "$as_ac_var=no" 6427 eval "$as_ac_var=no"
6424 fi 6428 fi
6425 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6429 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6426 fi 6430 fi
6427 echo "$as_me:6427: result: `eval echo '${'$as_ac_var'}'`" >&5 6431 echo "$as_me:6431: result: `eval echo '${'$as_ac_var'}'`" >&5
6428 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6432 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6429 if test `eval echo '${'$as_ac_var'}'` = yes; then 6433 if test `eval echo '${'$as_ac_var'}'` = yes; then
6430 cat >>confdefs.h <<EOF 6434 cat >>confdefs.h <<EOF
6431 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 6435 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6432 EOF 6436 EOF
6435 done 6439 done
6436 6440
6437 fi 6441 fi
6438 6442
6439 if test "${window_system}" = "x11"; then 6443 if test "${window_system}" = "x11"; then
6440 echo "$as_me:6440: checking X11 version 6" >&5 6444 echo "$as_me:6444: checking X11 version 6" >&5
6441 echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6 6445 echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6
6442 if test "${emacs_cv_x11_version_6+set}" = set; then 6446 if test "${emacs_cv_x11_version_6+set}" = set; then
6443 echo $ECHO_N "(cached) $ECHO_C" >&6 6447 echo $ECHO_N "(cached) $ECHO_C" >&6
6444 else 6448 else
6445 cat >conftest.$ac_ext <<_ACEOF 6449 cat >conftest.$ac_ext <<_ACEOF
6446 #line 6446 "configure" 6450 #line 6450 "configure"
6447 #include "confdefs.h" 6451 #include "confdefs.h"
6448 #include <X11/Xlib.h> 6452 #include <X11/Xlib.h>
6449 int 6453 int
6450 main () 6454 main ()
6451 { 6455 {
6456 ; 6460 ;
6457 return 0; 6461 return 0;
6458 } 6462 }
6459 _ACEOF 6463 _ACEOF
6460 rm -f conftest.$ac_objext conftest$ac_exeext 6464 rm -f conftest.$ac_objext conftest$ac_exeext
6461 if { (eval echo "$as_me:6461: \"$ac_link\"") >&5 6465 if { (eval echo "$as_me:6465: \"$ac_link\"") >&5
6462 (eval $ac_link) 2>&5 6466 (eval $ac_link) 2>&5
6463 ac_status=$? 6467 ac_status=$?
6464 echo "$as_me:6464: \$? = $ac_status" >&5 6468 echo "$as_me:6468: \$? = $ac_status" >&5
6465 (exit $ac_status); } && 6469 (exit $ac_status); } &&
6466 { ac_try='test -s conftest$ac_exeext' 6470 { ac_try='test -s conftest$ac_exeext'
6467 { (eval echo "$as_me:6467: \"$ac_try\"") >&5 6471 { (eval echo "$as_me:6471: \"$ac_try\"") >&5
6468 (eval $ac_try) 2>&5 6472 (eval $ac_try) 2>&5
6469 ac_status=$? 6473 ac_status=$?
6470 echo "$as_me:6470: \$? = $ac_status" >&5 6474 echo "$as_me:6474: \$? = $ac_status" >&5
6471 (exit $ac_status); }; }; then 6475 (exit $ac_status); }; }; then
6472 emacs_cv_x11_version_6=yes 6476 emacs_cv_x11_version_6=yes
6473 else 6477 else
6474 echo "$as_me: failed program was:" >&5 6478 echo "$as_me: failed program was:" >&5
6475 cat conftest.$ac_ext >&5 6479 cat conftest.$ac_ext >&5
6477 fi 6481 fi
6478 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6482 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6479 fi 6483 fi
6480 6484
6481 if test $emacs_cv_x11_version_6 = yes; then 6485 if test $emacs_cv_x11_version_6 = yes; then
6482 echo "$as_me:6482: result: 6 or newer" >&5 6486 echo "$as_me:6486: result: 6 or newer" >&5
6483 echo "${ECHO_T}6 or newer" >&6 6487 echo "${ECHO_T}6 or newer" >&6
6484 6488
6485 cat >>confdefs.h <<\EOF 6489 cat >>confdefs.h <<\EOF
6486 #define HAVE_X11R6 1 6490 #define HAVE_X11R6 1
6487 EOF 6491 EOF
6488 6492
6489 else 6493 else
6490 echo "$as_me:6490: result: before 6" >&5 6494 echo "$as_me:6494: result: before 6" >&5
6491 echo "${ECHO_T}before 6" >&6 6495 echo "${ECHO_T}before 6" >&6
6492 fi 6496 fi
6493 fi 6497 fi
6494 6498
6495 if test "${window_system}" = "x11"; then 6499 if test "${window_system}" = "x11"; then
6496 echo "$as_me:6496: checking X11 version 5" >&5 6500 echo "$as_me:6500: checking X11 version 5" >&5
6497 echo $ECHO_N "checking X11 version 5... $ECHO_C" >&6 6501 echo $ECHO_N "checking X11 version 5... $ECHO_C" >&6
6498 if test "${emacs_cv_x11_version_5+set}" = set; then 6502 if test "${emacs_cv_x11_version_5+set}" = set; then
6499 echo $ECHO_N "(cached) $ECHO_C" >&6 6503 echo $ECHO_N "(cached) $ECHO_C" >&6
6500 else 6504 else
6501 cat >conftest.$ac_ext <<_ACEOF 6505 cat >conftest.$ac_ext <<_ACEOF
6502 #line 6502 "configure" 6506 #line 6506 "configure"
6503 #include "confdefs.h" 6507 #include "confdefs.h"
6504 #include <X11/Xlib.h> 6508 #include <X11/Xlib.h>
6505 int 6509 int
6506 main () 6510 main ()
6507 { 6511 {
6512 ; 6516 ;
6513 return 0; 6517 return 0;
6514 } 6518 }
6515 _ACEOF 6519 _ACEOF
6516 rm -f conftest.$ac_objext conftest$ac_exeext 6520 rm -f conftest.$ac_objext conftest$ac_exeext
6517 if { (eval echo "$as_me:6517: \"$ac_link\"") >&5 6521 if { (eval echo "$as_me:6521: \"$ac_link\"") >&5
6518 (eval $ac_link) 2>&5 6522 (eval $ac_link) 2>&5
6519 ac_status=$? 6523 ac_status=$?
6520 echo "$as_me:6520: \$? = $ac_status" >&5 6524 echo "$as_me:6524: \$? = $ac_status" >&5
6521 (exit $ac_status); } && 6525 (exit $ac_status); } &&
6522 { ac_try='test -s conftest$ac_exeext' 6526 { ac_try='test -s conftest$ac_exeext'
6523 { (eval echo "$as_me:6523: \"$ac_try\"") >&5 6527 { (eval echo "$as_me:6527: \"$ac_try\"") >&5
6524 (eval $ac_try) 2>&5 6528 (eval $ac_try) 2>&5
6525 ac_status=$? 6529 ac_status=$?
6526 echo "$as_me:6526: \$? = $ac_status" >&5 6530 echo "$as_me:6530: \$? = $ac_status" >&5
6527 (exit $ac_status); }; }; then 6531 (exit $ac_status); }; }; then
6528 emacs_cv_x11_version_5=yes 6532 emacs_cv_x11_version_5=yes
6529 else 6533 else
6530 echo "$as_me: failed program was:" >&5 6534 echo "$as_me: failed program was:" >&5
6531 cat conftest.$ac_ext >&5 6535 cat conftest.$ac_ext >&5
6533 fi 6537 fi
6534 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6538 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6535 fi 6539 fi
6536 6540
6537 if test $emacs_cv_x11_version_5 = yes; then 6541 if test $emacs_cv_x11_version_5 = yes; then
6538 echo "$as_me:6538: result: 5 or newer" >&5 6542 echo "$as_me:6542: result: 5 or newer" >&5
6539 echo "${ECHO_T}5 or newer" >&6 6543 echo "${ECHO_T}5 or newer" >&6
6540 HAVE_X11R5=yes 6544 HAVE_X11R5=yes
6541 6545
6542 cat >>confdefs.h <<\EOF 6546 cat >>confdefs.h <<\EOF
6543 #define HAVE_X11R5 1 6547 #define HAVE_X11R5 1
6544 EOF 6548 EOF
6545 6549
6546 else 6550 else
6547 HAVE_X11R5=no 6551 HAVE_X11R5=no
6548 echo "$as_me:6548: result: before 5" >&5 6552 echo "$as_me:6552: result: before 5" >&5
6549 echo "${ECHO_T}before 5" >&6 6553 echo "${ECHO_T}before 5" >&6
6550 fi 6554 fi
6551 fi 6555 fi
6552 6556
6553 if test x"${USE_X_TOOLKIT}" = xmaybe; then 6557 if test x"${USE_X_TOOLKIT}" = xmaybe; then
6554 if test x"${HAVE_X11R5}" = xyes; then 6558 if test x"${HAVE_X11R5}" = xyes; then
6555 echo "$as_me:6555: checking X11 version 5 with Xaw" >&5 6559 echo "$as_me:6559: checking X11 version 5 with Xaw" >&5
6556 echo $ECHO_N "checking X11 version 5 with Xaw... $ECHO_C" >&6 6560 echo $ECHO_N "checking X11 version 5 with Xaw... $ECHO_C" >&6
6557 if test "${emacs_cv_x11_version_5_with_xaw+set}" = set; then 6561 if test "${emacs_cv_x11_version_5_with_xaw+set}" = set; then
6558 echo $ECHO_N "(cached) $ECHO_C" >&6 6562 echo $ECHO_N "(cached) $ECHO_C" >&6
6559 else 6563 else
6560 cat >conftest.$ac_ext <<_ACEOF 6564 cat >conftest.$ac_ext <<_ACEOF
6561 #line 6561 "configure" 6565 #line 6565 "configure"
6562 #include "confdefs.h" 6566 #include "confdefs.h"
6563 6567
6564 #include <X11/Intrinsic.h> 6568 #include <X11/Intrinsic.h>
6565 #include <X11/Xaw/Simple.h> 6569 #include <X11/Xaw/Simple.h>
6566 int 6570 int
6570 ; 6574 ;
6571 return 0; 6575 return 0;
6572 } 6576 }
6573 _ACEOF 6577 _ACEOF
6574 rm -f conftest.$ac_objext conftest$ac_exeext 6578 rm -f conftest.$ac_objext conftest$ac_exeext
6575 if { (eval echo "$as_me:6575: \"$ac_link\"") >&5 6579 if { (eval echo "$as_me:6579: \"$ac_link\"") >&5
6576 (eval $ac_link) 2>&5 6580 (eval $ac_link) 2>&5
6577 ac_status=$? 6581 ac_status=$?
6578 echo "$as_me:6578: \$? = $ac_status" >&5 6582 echo "$as_me:6582: \$? = $ac_status" >&5
6579 (exit $ac_status); } && 6583 (exit $ac_status); } &&
6580 { ac_try='test -s conftest$ac_exeext' 6584 { ac_try='test -s conftest$ac_exeext'
6581 { (eval echo "$as_me:6581: \"$ac_try\"") >&5 6585 { (eval echo "$as_me:6585: \"$ac_try\"") >&5
6582 (eval $ac_try) 2>&5 6586 (eval $ac_try) 2>&5
6583 ac_status=$? 6587 ac_status=$?
6584 echo "$as_me:6584: \$? = $ac_status" >&5 6588 echo "$as_me:6588: \$? = $ac_status" >&5
6585 (exit $ac_status); }; }; then 6589 (exit $ac_status); }; }; then
6586 emacs_cv_x11_version_5_with_xaw=yes 6590 emacs_cv_x11_version_5_with_xaw=yes
6587 else 6591 else
6588 echo "$as_me: failed program was:" >&5 6592 echo "$as_me: failed program was:" >&5
6589 cat conftest.$ac_ext >&5 6593 cat conftest.$ac_ext >&5
6591 fi 6595 fi
6592 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6596 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6593 fi 6597 fi
6594 6598
6595 if test $emacs_cv_x11_version_5_with_xaw = yes; then 6599 if test $emacs_cv_x11_version_5_with_xaw = yes; then
6596 echo "$as_me:6596: result: 5 or newer, with Xaw; use toolkit by default" >&5 6600 echo "$as_me:6600: result: 5 or newer, with Xaw; use toolkit by default" >&5
6597 echo "${ECHO_T}5 or newer, with Xaw; use toolkit by default" >&6 6601 echo "${ECHO_T}5 or newer, with Xaw; use toolkit by default" >&6
6598 USE_X_TOOLKIT=LUCID 6602 USE_X_TOOLKIT=LUCID
6599 else 6603 else
6600 echo "$as_me:6600: result: before 5 or no Xaw; do not use toolkit by default" >&5 6604 echo "$as_me:6604: result: before 5 or no Xaw; do not use toolkit by default" >&5
6601 echo "${ECHO_T}before 5 or no Xaw; do not use toolkit by default" >&6 6605 echo "${ECHO_T}before 5 or no Xaw; do not use toolkit by default" >&6
6602 USE_X_TOOLKIT=none 6606 USE_X_TOOLKIT=none
6603 fi 6607 fi
6604 else 6608 else
6605 USE_X_TOOLKIT=none 6609 USE_X_TOOLKIT=none
6607 fi 6611 fi
6608 6612
6609 X_TOOLKIT_TYPE=$USE_X_TOOLKIT 6613 X_TOOLKIT_TYPE=$USE_X_TOOLKIT
6610 6614
6611 if test "${USE_X_TOOLKIT}" != "none"; then 6615 if test "${USE_X_TOOLKIT}" != "none"; then
6612 echo "$as_me:6612: checking X11 toolkit version" >&5 6616 echo "$as_me:6616: checking X11 toolkit version" >&5
6613 echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6 6617 echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6
6614 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then 6618 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then
6615 echo $ECHO_N "(cached) $ECHO_C" >&6 6619 echo $ECHO_N "(cached) $ECHO_C" >&6
6616 else 6620 else
6617 cat >conftest.$ac_ext <<_ACEOF 6621 cat >conftest.$ac_ext <<_ACEOF
6618 #line 6618 "configure" 6622 #line 6622 "configure"
6619 #include "confdefs.h" 6623 #include "confdefs.h"
6620 #include <X11/Intrinsic.h> 6624 #include <X11/Intrinsic.h>
6621 int 6625 int
6622 main () 6626 main ()
6623 { 6627 {
6628 ; 6632 ;
6629 return 0; 6633 return 0;
6630 } 6634 }
6631 _ACEOF 6635 _ACEOF
6632 rm -f conftest.$ac_objext conftest$ac_exeext 6636 rm -f conftest.$ac_objext conftest$ac_exeext
6633 if { (eval echo "$as_me:6633: \"$ac_link\"") >&5 6637 if { (eval echo "$as_me:6637: \"$ac_link\"") >&5
6634 (eval $ac_link) 2>&5 6638 (eval $ac_link) 2>&5
6635 ac_status=$? 6639 ac_status=$?
6636 echo "$as_me:6636: \$? = $ac_status" >&5 6640 echo "$as_me:6640: \$? = $ac_status" >&5
6637 (exit $ac_status); } && 6641 (exit $ac_status); } &&
6638 { ac_try='test -s conftest$ac_exeext' 6642 { ac_try='test -s conftest$ac_exeext'
6639 { (eval echo "$as_me:6639: \"$ac_try\"") >&5 6643 { (eval echo "$as_me:6643: \"$ac_try\"") >&5
6640 (eval $ac_try) 2>&5 6644 (eval $ac_try) 2>&5
6641 ac_status=$? 6645 ac_status=$?
6642 echo "$as_me:6642: \$? = $ac_status" >&5 6646 echo "$as_me:6646: \$? = $ac_status" >&5
6643 (exit $ac_status); }; }; then 6647 (exit $ac_status); }; }; then
6644 emacs_cv_x11_toolkit_version_6=yes 6648 emacs_cv_x11_toolkit_version_6=yes
6645 else 6649 else
6646 echo "$as_me: failed program was:" >&5 6650 echo "$as_me: failed program was:" >&5
6647 cat conftest.$ac_ext >&5 6651 cat conftest.$ac_ext >&5
6650 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6654 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6651 fi 6655 fi
6652 6656
6653 HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6 6657 HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6
6654 if test $emacs_cv_x11_toolkit_version_6 = yes; then 6658 if test $emacs_cv_x11_toolkit_version_6 = yes; then
6655 echo "$as_me:6655: result: 6 or newer" >&5 6659 echo "$as_me:6659: result: 6 or newer" >&5
6656 echo "${ECHO_T}6 or newer" >&6 6660 echo "${ECHO_T}6 or newer" >&6
6657 6661
6658 cat >>confdefs.h <<\EOF 6662 cat >>confdefs.h <<\EOF
6659 #define HAVE_X11XTR6 1 6663 #define HAVE_X11XTR6 1
6660 EOF 6664 EOF
6661 6665
6662 else 6666 else
6663 echo "$as_me:6663: result: before 6" >&5 6667 echo "$as_me:6667: result: before 6" >&5
6664 echo "${ECHO_T}before 6" >&6 6668 echo "${ECHO_T}before 6" >&6
6665 fi 6669 fi
6666 6670
6667 OLDLIBS="$LIBS" 6671 OLDLIBS="$LIBS"
6668 if test x$HAVE_X11XTR6 = xyes; then 6672 if test x$HAVE_X11XTR6 = xyes; then
6669 LIBS="-lXt -lSM -lICE $LIBS" 6673 LIBS="-lXt -lSM -lICE $LIBS"
6670 else 6674 else
6671 LIBS="-lXt $LIBS" 6675 LIBS="-lXt $LIBS"
6672 fi 6676 fi
6673 6677
6674 echo "$as_me:6674: checking for XmuConvertStandardSelection in -lXmu" >&5 6678 echo "$as_me:6678: checking for XmuConvertStandardSelection in -lXmu" >&5
6675 echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C" >&6 6679 echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C" >&6
6676 if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then 6680 if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then
6677 echo $ECHO_N "(cached) $ECHO_C" >&6 6681 echo $ECHO_N "(cached) $ECHO_C" >&6
6678 else 6682 else
6679 ac_check_lib_save_LIBS=$LIBS 6683 ac_check_lib_save_LIBS=$LIBS
6680 LIBS="-lXmu $LIBS" 6684 LIBS="-lXmu $LIBS"
6681 cat >conftest.$ac_ext <<_ACEOF 6685 cat >conftest.$ac_ext <<_ACEOF
6682 #line 6682 "configure" 6686 #line 6686 "configure"
6683 #include "confdefs.h" 6687 #include "confdefs.h"
6684 6688
6685 /* Override any gcc2 internal prototype to avoid an error. */ 6689 /* Override any gcc2 internal prototype to avoid an error. */
6686 #ifdef __cplusplus 6690 #ifdef __cplusplus
6687 extern "C" 6691 extern "C"
6696 ; 6700 ;
6697 return 0; 6701 return 0;
6698 } 6702 }
6699 _ACEOF 6703 _ACEOF
6700 rm -f conftest.$ac_objext conftest$ac_exeext 6704 rm -f conftest.$ac_objext conftest$ac_exeext
6701 if { (eval echo "$as_me:6701: \"$ac_link\"") >&5 6705 if { (eval echo "$as_me:6705: \"$ac_link\"") >&5
6702 (eval $ac_link) 2>&5 6706 (eval $ac_link) 2>&5
6703 ac_status=$? 6707 ac_status=$?
6704 echo "$as_me:6704: \$? = $ac_status" >&5 6708 echo "$as_me:6708: \$? = $ac_status" >&5
6705 (exit $ac_status); } && 6709 (exit $ac_status); } &&
6706 { ac_try='test -s conftest$ac_exeext' 6710 { ac_try='test -s conftest$ac_exeext'
6707 { (eval echo "$as_me:6707: \"$ac_try\"") >&5 6711 { (eval echo "$as_me:6711: \"$ac_try\"") >&5
6708 (eval $ac_try) 2>&5 6712 (eval $ac_try) 2>&5
6709 ac_status=$? 6713 ac_status=$?
6710 echo "$as_me:6710: \$? = $ac_status" >&5 6714 echo "$as_me:6714: \$? = $ac_status" >&5
6711 (exit $ac_status); }; }; then 6715 (exit $ac_status); }; }; then
6712 ac_cv_lib_Xmu_XmuConvertStandardSelection=yes 6716 ac_cv_lib_Xmu_XmuConvertStandardSelection=yes
6713 else 6717 else
6714 echo "$as_me: failed program was:" >&5 6718 echo "$as_me: failed program was:" >&5
6715 cat conftest.$ac_ext >&5 6719 cat conftest.$ac_ext >&5
6716 ac_cv_lib_Xmu_XmuConvertStandardSelection=no 6720 ac_cv_lib_Xmu_XmuConvertStandardSelection=no
6717 fi 6721 fi
6718 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6722 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6719 LIBS=$ac_check_lib_save_LIBS 6723 LIBS=$ac_check_lib_save_LIBS
6720 fi 6724 fi
6721 echo "$as_me:6721: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5 6725 echo "$as_me:6725: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5
6722 echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6 6726 echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6
6723 if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then 6727 if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then
6724 cat >>confdefs.h <<EOF 6728 cat >>confdefs.h <<EOF
6725 #define HAVE_LIBXMU 1 6729 #define HAVE_LIBXMU 1
6726 EOF 6730 EOF
6734 6738
6735 # On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D. 6739 # On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D.
6736 if test "${HAVE_X11}" = "yes"; then 6740 if test "${HAVE_X11}" = "yes"; then
6737 if test "${USE_X_TOOLKIT}" != "none"; then 6741 if test "${USE_X_TOOLKIT}" != "none"; then
6738 6742
6739 echo "$as_me:6739: checking for XShapeQueryExtension in -lXext" >&5 6743 echo "$as_me:6743: checking for XShapeQueryExtension in -lXext" >&5
6740 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6 6744 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
6741 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then 6745 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
6742 echo $ECHO_N "(cached) $ECHO_C" >&6 6746 echo $ECHO_N "(cached) $ECHO_C" >&6
6743 else 6747 else
6744 ac_check_lib_save_LIBS=$LIBS 6748 ac_check_lib_save_LIBS=$LIBS
6745 LIBS="-lXext $LIBS" 6749 LIBS="-lXext $LIBS"
6746 cat >conftest.$ac_ext <<_ACEOF 6750 cat >conftest.$ac_ext <<_ACEOF
6747 #line 6747 "configure" 6751 #line 6751 "configure"
6748 #include "confdefs.h" 6752 #include "confdefs.h"
6749 6753
6750 /* Override any gcc2 internal prototype to avoid an error. */ 6754 /* Override any gcc2 internal prototype to avoid an error. */
6751 #ifdef __cplusplus 6755 #ifdef __cplusplus
6752 extern "C" 6756 extern "C"
6761 ; 6765 ;
6762 return 0; 6766 return 0;
6763 } 6767 }
6764 _ACEOF 6768 _ACEOF
6765 rm -f conftest.$ac_objext conftest$ac_exeext 6769 rm -f conftest.$ac_objext conftest$ac_exeext
6766 if { (eval echo "$as_me:6766: \"$ac_link\"") >&5 6770 if { (eval echo "$as_me:6770: \"$ac_link\"") >&5
6767 (eval $ac_link) 2>&5 6771 (eval $ac_link) 2>&5
6768 ac_status=$? 6772 ac_status=$?
6769 echo "$as_me:6769: \$? = $ac_status" >&5 6773 echo "$as_me:6773: \$? = $ac_status" >&5
6770 (exit $ac_status); } && 6774 (exit $ac_status); } &&
6771 { ac_try='test -s conftest$ac_exeext' 6775 { ac_try='test -s conftest$ac_exeext'
6772 { (eval echo "$as_me:6772: \"$ac_try\"") >&5 6776 { (eval echo "$as_me:6776: \"$ac_try\"") >&5
6773 (eval $ac_try) 2>&5 6777 (eval $ac_try) 2>&5
6774 ac_status=$? 6778 ac_status=$?
6775 echo "$as_me:6775: \$? = $ac_status" >&5 6779 echo "$as_me:6779: \$? = $ac_status" >&5
6776 (exit $ac_status); }; }; then 6780 (exit $ac_status); }; }; then
6777 ac_cv_lib_Xext_XShapeQueryExtension=yes 6781 ac_cv_lib_Xext_XShapeQueryExtension=yes
6778 else 6782 else
6779 echo "$as_me: failed program was:" >&5 6783 echo "$as_me: failed program was:" >&5
6780 cat conftest.$ac_ext >&5 6784 cat conftest.$ac_ext >&5
6781 ac_cv_lib_Xext_XShapeQueryExtension=no 6785 ac_cv_lib_Xext_XShapeQueryExtension=no
6782 fi 6786 fi
6783 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6787 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6784 LIBS=$ac_check_lib_save_LIBS 6788 LIBS=$ac_check_lib_save_LIBS
6785 fi 6789 fi
6786 echo "$as_me:6786: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5 6790 echo "$as_me:6790: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
6787 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6 6791 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
6788 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then 6792 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
6789 cat >>confdefs.h <<EOF 6793 cat >>confdefs.h <<EOF
6790 #define HAVE_LIBXEXT 1 6794 #define HAVE_LIBXEXT 1
6791 EOF 6795 EOF
6796 6800
6797 fi 6801 fi
6798 fi 6802 fi
6799 6803
6800 if test "${USE_X_TOOLKIT}" = "MOTIF"; then 6804 if test "${USE_X_TOOLKIT}" = "MOTIF"; then
6801 echo "$as_me:6801: checking for Motif version 2.1" >&5 6805 echo "$as_me:6805: checking for LessTif where some systems put it" >&5
6806 echo $ECHO_N "checking for LessTif where some systems put it... $ECHO_C" >&6
6807 if test "${emacs_cv_lesstif+set}" = set; then
6808 echo $ECHO_N "(cached) $ECHO_C" >&6
6809 else
6810 cat >conftest.$ac_ext <<_ACEOF
6811 #line 6811 "configure"
6812 #include "confdefs.h"
6813 #include </usr/X11R6/LessTif/Motif1.2/include/Xm/Xm.h>
6814 int
6815 main ()
6816 {
6817 int x = 5;
6818 ;
6819 return 0;
6820 }
6821 _ACEOF
6822 rm -f conftest.$ac_objext
6823 if { (eval echo "$as_me:6823: \"$ac_compile\"") >&5
6824 (eval $ac_compile) 2>&5
6825 ac_status=$?
6826 echo "$as_me:6826: \$? = $ac_status" >&5
6827 (exit $ac_status); } &&
6828 { ac_try='test -s conftest.$ac_objext'
6829 { (eval echo "$as_me:6829: \"$ac_try\"") >&5
6830 (eval $ac_try) 2>&5
6831 ac_status=$?
6832 echo "$as_me:6832: \$? = $ac_status" >&5
6833 (exit $ac_status); }; }; then
6834 emacs_cv_lesstif=yes
6835 else
6836 echo "$as_me: failed program was:" >&5
6837 cat conftest.$ac_ext >&5
6838 emacs_cv_lesstif=no
6839 fi
6840 rm -f conftest.$ac_objext conftest.$ac_ext
6841 fi
6842 echo "$as_me:6842: result: $emacs_cv_lesstif" >&5
6843 echo "${ECHO_T}$emacs_cv_lesstif" >&6
6844 if test $emacs_cv_lesstif = yes; then
6845 CPPFLAGS="-I/usr/X11R6/LessTif/Motif1.2/include $CPPFLAGS"
6846 LDFLAGS="-L/usr/X11R6/LessTif/Motif1.2/lib $LDFLAGS"
6847 fi
6848 echo "$as_me:6848: checking for Motif version 2.1" >&5
6802 echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6 6849 echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6
6803 if test "${emacs_cv_motif_version_2_1+set}" = set; then 6850 if test "${emacs_cv_motif_version_2_1+set}" = set; then
6804 echo $ECHO_N "(cached) $ECHO_C" >&6 6851 echo $ECHO_N "(cached) $ECHO_C" >&6
6805 else 6852 else
6806 cat >conftest.$ac_ext <<_ACEOF 6853 cat >conftest.$ac_ext <<_ACEOF
6807 #line 6807 "configure" 6854 #line 6854 "configure"
6808 #include "confdefs.h" 6855 #include "confdefs.h"
6809 #include <Xm/Xm.h> 6856 #include <Xm/Xm.h>
6810 int 6857 int
6811 main () 6858 main ()
6812 { 6859 {
6818 ; 6865 ;
6819 return 0; 6866 return 0;
6820 } 6867 }
6821 _ACEOF 6868 _ACEOF
6822 rm -f conftest.$ac_objext 6869 rm -f conftest.$ac_objext
6823 if { (eval echo "$as_me:6823: \"$ac_compile\"") >&5 6870 if { (eval echo "$as_me:6870: \"$ac_compile\"") >&5
6824 (eval $ac_compile) 2>&5 6871 (eval $ac_compile) 2>&5
6825 ac_status=$? 6872 ac_status=$?
6826 echo "$as_me:6826: \$? = $ac_status" >&5 6873 echo "$as_me:6873: \$? = $ac_status" >&5
6827 (exit $ac_status); } && 6874 (exit $ac_status); } &&
6828 { ac_try='test -s conftest.$ac_objext' 6875 { ac_try='test -s conftest.$ac_objext'
6829 { (eval echo "$as_me:6829: \"$ac_try\"") >&5 6876 { (eval echo "$as_me:6876: \"$ac_try\"") >&5
6830 (eval $ac_try) 2>&5 6877 (eval $ac_try) 2>&5
6831 ac_status=$? 6878 ac_status=$?
6832 echo "$as_me:6832: \$? = $ac_status" >&5 6879 echo "$as_me:6879: \$? = $ac_status" >&5
6833 (exit $ac_status); }; }; then 6880 (exit $ac_status); }; }; then
6834 emacs_cv_motif_version_2_1=yes 6881 emacs_cv_motif_version_2_1=yes
6835 else 6882 else
6836 echo "$as_me: failed program was:" >&5 6883 echo "$as_me: failed program was:" >&5
6837 cat conftest.$ac_ext >&5 6884 cat conftest.$ac_ext >&5
6838 emacs_cv_motif_version_2_1=no 6885 emacs_cv_motif_version_2_1=no
6839 fi 6886 fi
6840 rm -f conftest.$ac_objext conftest.$ac_ext 6887 rm -f conftest.$ac_objext conftest.$ac_ext
6841 fi 6888 fi
6842 echo "$as_me:6842: result: $emacs_cv_motif_version_2_1" >&5 6889 echo "$as_me:6889: result: $emacs_cv_motif_version_2_1" >&5
6843 echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6 6890 echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6
6844 HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1 6891 HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1
6845 if test $emacs_cv_motif_version_2_1 = yes; then 6892 if test $emacs_cv_motif_version_2_1 = yes; then
6846 HAVE_LIBXP=no 6893 HAVE_LIBXP=no
6847 6894
6848 cat >>confdefs.h <<\EOF 6895 cat >>confdefs.h <<\EOF
6849 #define HAVE_MOTIF_2_1 1 6896 #define HAVE_MOTIF_2_1 1
6850 EOF 6897 EOF
6851 6898
6852 echo "$as_me:6852: checking for XpCreateContext in -lXp" >&5 6899 echo "$as_me:6899: checking for XpCreateContext in -lXp" >&5
6853 echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6 6900 echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6
6854 if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then 6901 if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then
6855 echo $ECHO_N "(cached) $ECHO_C" >&6 6902 echo $ECHO_N "(cached) $ECHO_C" >&6
6856 else 6903 else
6857 ac_check_lib_save_LIBS=$LIBS 6904 ac_check_lib_save_LIBS=$LIBS
6858 LIBS="-lXp $LIBS" 6905 LIBS="-lXp $LIBS"
6859 cat >conftest.$ac_ext <<_ACEOF 6906 cat >conftest.$ac_ext <<_ACEOF
6860 #line 6860 "configure" 6907 #line 6907 "configure"
6861 #include "confdefs.h" 6908 #include "confdefs.h"
6862 6909
6863 /* Override any gcc2 internal prototype to avoid an error. */ 6910 /* Override any gcc2 internal prototype to avoid an error. */
6864 #ifdef __cplusplus 6911 #ifdef __cplusplus
6865 extern "C" 6912 extern "C"
6874 ; 6921 ;
6875 return 0; 6922 return 0;
6876 } 6923 }
6877 _ACEOF 6924 _ACEOF
6878 rm -f conftest.$ac_objext conftest$ac_exeext 6925 rm -f conftest.$ac_objext conftest$ac_exeext
6879 if { (eval echo "$as_me:6879: \"$ac_link\"") >&5 6926 if { (eval echo "$as_me:6926: \"$ac_link\"") >&5
6880 (eval $ac_link) 2>&5 6927 (eval $ac_link) 2>&5
6881 ac_status=$? 6928 ac_status=$?
6882 echo "$as_me:6882: \$? = $ac_status" >&5 6929 echo "$as_me:6929: \$? = $ac_status" >&5
6883 (exit $ac_status); } && 6930 (exit $ac_status); } &&
6884 { ac_try='test -s conftest$ac_exeext' 6931 { ac_try='test -s conftest$ac_exeext'
6885 { (eval echo "$as_me:6885: \"$ac_try\"") >&5 6932 { (eval echo "$as_me:6932: \"$ac_try\"") >&5
6886 (eval $ac_try) 2>&5 6933 (eval $ac_try) 2>&5
6887 ac_status=$? 6934 ac_status=$?
6888 echo "$as_me:6888: \$? = $ac_status" >&5 6935 echo "$as_me:6935: \$? = $ac_status" >&5
6889 (exit $ac_status); }; }; then 6936 (exit $ac_status); }; }; then
6890 ac_cv_lib_Xp_XpCreateContext=yes 6937 ac_cv_lib_Xp_XpCreateContext=yes
6891 else 6938 else
6892 echo "$as_me: failed program was:" >&5 6939 echo "$as_me: failed program was:" >&5
6893 cat conftest.$ac_ext >&5 6940 cat conftest.$ac_ext >&5
6894 ac_cv_lib_Xp_XpCreateContext=no 6941 ac_cv_lib_Xp_XpCreateContext=no
6895 fi 6942 fi
6896 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6943 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6897 LIBS=$ac_check_lib_save_LIBS 6944 LIBS=$ac_check_lib_save_LIBS
6898 fi 6945 fi
6899 echo "$as_me:6899: result: $ac_cv_lib_Xp_XpCreateContext" >&5 6946 echo "$as_me:6946: result: $ac_cv_lib_Xp_XpCreateContext" >&5
6900 echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6 6947 echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6
6901 if test $ac_cv_lib_Xp_XpCreateContext = yes; then 6948 if test $ac_cv_lib_Xp_XpCreateContext = yes; then
6902 HAVE_LIBXP=yes 6949 HAVE_LIBXP=yes
6903 fi 6950 fi
6904 6951
6914 6961
6915 ### Is -lXaw3d available? 6962 ### Is -lXaw3d available?
6916 HAVE_XAW3D=no 6963 HAVE_XAW3D=no
6917 if test "${HAVE_X11}" = "yes"; then 6964 if test "${HAVE_X11}" = "yes"; then
6918 if test "${USE_X_TOOLKIT}" != "none"; then 6965 if test "${USE_X_TOOLKIT}" != "none"; then
6919 echo "$as_me:6919: checking for X11/Xaw3d/Scrollbar.h" >&5 6966 echo "$as_me:6966: checking for X11/Xaw3d/Scrollbar.h" >&5
6920 echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6 6967 echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6
6921 if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then 6968 if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then
6922 echo $ECHO_N "(cached) $ECHO_C" >&6 6969 echo $ECHO_N "(cached) $ECHO_C" >&6
6923 else 6970 else
6924 cat >conftest.$ac_ext <<_ACEOF 6971 cat >conftest.$ac_ext <<_ACEOF
6925 #line 6925 "configure" 6972 #line 6972 "configure"
6926 #include "confdefs.h" 6973 #include "confdefs.h"
6927 #include <X11/Xaw3d/Scrollbar.h> 6974 #include <X11/Xaw3d/Scrollbar.h>
6928 _ACEOF 6975 _ACEOF
6929 if { (eval echo "$as_me:6929: \"$ac_cpp conftest.$ac_ext\"") >&5 6976 if { (eval echo "$as_me:6976: \"$ac_cpp conftest.$ac_ext\"") >&5
6930 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6977 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6931 ac_status=$? 6978 ac_status=$?
6932 egrep -v '^ *\+' conftest.er1 >conftest.err 6979 egrep -v '^ *\+' conftest.er1 >conftest.err
6933 rm -f conftest.er1 6980 rm -f conftest.er1
6934 cat conftest.err >&5 6981 cat conftest.err >&5
6935 echo "$as_me:6935: \$? = $ac_status" >&5 6982 echo "$as_me:6982: \$? = $ac_status" >&5
6936 (exit $ac_status); } >/dev/null; then 6983 (exit $ac_status); } >/dev/null; then
6937 if test -s conftest.err; then 6984 if test -s conftest.err; then
6938 ac_cpp_err=$ac_c_preproc_warn_flag 6985 ac_cpp_err=$ac_c_preproc_warn_flag
6939 else 6986 else
6940 ac_cpp_err= 6987 ac_cpp_err=
6949 cat conftest.$ac_ext >&5 6996 cat conftest.$ac_ext >&5
6950 ac_cv_header_X11_Xaw3d_Scrollbar_h=no 6997 ac_cv_header_X11_Xaw3d_Scrollbar_h=no
6951 fi 6998 fi
6952 rm -f conftest.err conftest.$ac_ext 6999 rm -f conftest.err conftest.$ac_ext
6953 fi 7000 fi
6954 echo "$as_me:6954: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5 7001 echo "$as_me:7001: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5
6955 echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6 7002 echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6
6956 if test $ac_cv_header_X11_Xaw3d_Scrollbar_h = yes; then 7003 if test $ac_cv_header_X11_Xaw3d_Scrollbar_h = yes; then
6957 echo "$as_me:6957: checking for XawScrollbarSetThumb in -lXaw3d" >&5 7004 echo "$as_me:7004: checking for XawScrollbarSetThumb in -lXaw3d" >&5
6958 echo $ECHO_N "checking for XawScrollbarSetThumb in -lXaw3d... $ECHO_C" >&6 7005 echo $ECHO_N "checking for XawScrollbarSetThumb in -lXaw3d... $ECHO_C" >&6
6959 if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then 7006 if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then
6960 echo $ECHO_N "(cached) $ECHO_C" >&6 7007 echo $ECHO_N "(cached) $ECHO_C" >&6
6961 else 7008 else
6962 ac_check_lib_save_LIBS=$LIBS 7009 ac_check_lib_save_LIBS=$LIBS
6963 LIBS="-lXaw3d $LIBS" 7010 LIBS="-lXaw3d $LIBS"
6964 cat >conftest.$ac_ext <<_ACEOF 7011 cat >conftest.$ac_ext <<_ACEOF
6965 #line 6965 "configure" 7012 #line 7012 "configure"
6966 #include "confdefs.h" 7013 #include "confdefs.h"
6967 7014
6968 /* Override any gcc2 internal prototype to avoid an error. */ 7015 /* Override any gcc2 internal prototype to avoid an error. */
6969 #ifdef __cplusplus 7016 #ifdef __cplusplus
6970 extern "C" 7017 extern "C"
6979 ; 7026 ;
6980 return 0; 7027 return 0;
6981 } 7028 }
6982 _ACEOF 7029 _ACEOF
6983 rm -f conftest.$ac_objext conftest$ac_exeext 7030 rm -f conftest.$ac_objext conftest$ac_exeext
6984 if { (eval echo "$as_me:6984: \"$ac_link\"") >&5 7031 if { (eval echo "$as_me:7031: \"$ac_link\"") >&5
6985 (eval $ac_link) 2>&5 7032 (eval $ac_link) 2>&5
6986 ac_status=$? 7033 ac_status=$?
6987 echo "$as_me:6987: \$? = $ac_status" >&5 7034 echo "$as_me:7034: \$? = $ac_status" >&5
6988 (exit $ac_status); } && 7035 (exit $ac_status); } &&
6989 { ac_try='test -s conftest$ac_exeext' 7036 { ac_try='test -s conftest$ac_exeext'
6990 { (eval echo "$as_me:6990: \"$ac_try\"") >&5 7037 { (eval echo "$as_me:7037: \"$ac_try\"") >&5
6991 (eval $ac_try) 2>&5 7038 (eval $ac_try) 2>&5
6992 ac_status=$? 7039 ac_status=$?
6993 echo "$as_me:6993: \$? = $ac_status" >&5 7040 echo "$as_me:7040: \$? = $ac_status" >&5
6994 (exit $ac_status); }; }; then 7041 (exit $ac_status); }; }; then
6995 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=yes 7042 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=yes
6996 else 7043 else
6997 echo "$as_me: failed program was:" >&5 7044 echo "$as_me: failed program was:" >&5
6998 cat conftest.$ac_ext >&5 7045 cat conftest.$ac_ext >&5
6999 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=no 7046 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=no
7000 fi 7047 fi
7001 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7048 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7002 LIBS=$ac_check_lib_save_LIBS 7049 LIBS=$ac_check_lib_save_LIBS
7003 fi 7050 fi
7004 echo "$as_me:7004: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5 7051 echo "$as_me:7051: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5
7005 echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6 7052 echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6
7006 if test $ac_cv_lib_Xaw3d_XawScrollbarSetThumb = yes; then 7053 if test $ac_cv_lib_Xaw3d_XawScrollbarSetThumb = yes; then
7007 HAVE_XAW3D=yes 7054 HAVE_XAW3D=yes
7008 fi 7055 fi
7009 7056
7049 7096
7050 ### Use -lXpm if available, unless `--with-xpm=no'. 7097 ### Use -lXpm if available, unless `--with-xpm=no'.
7051 HAVE_XPM=no 7098 HAVE_XPM=no
7052 if test "${HAVE_X11}" = "yes"; then 7099 if test "${HAVE_X11}" = "yes"; then
7053 if test "${with_xpm}" != "no"; then 7100 if test "${with_xpm}" != "no"; then
7054 echo "$as_me:7054: checking for X11/xpm.h" >&5 7101 echo "$as_me:7101: checking for X11/xpm.h" >&5
7055 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6 7102 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
7056 if test "${ac_cv_header_X11_xpm_h+set}" = set; then 7103 if test "${ac_cv_header_X11_xpm_h+set}" = set; then
7057 echo $ECHO_N "(cached) $ECHO_C" >&6 7104 echo $ECHO_N "(cached) $ECHO_C" >&6
7058 else 7105 else
7059 cat >conftest.$ac_ext <<_ACEOF 7106 cat >conftest.$ac_ext <<_ACEOF
7060 #line 7060 "configure" 7107 #line 7107 "configure"
7061 #include "confdefs.h" 7108 #include "confdefs.h"
7062 #include <X11/xpm.h> 7109 #include <X11/xpm.h>
7063 _ACEOF 7110 _ACEOF
7064 if { (eval echo "$as_me:7064: \"$ac_cpp conftest.$ac_ext\"") >&5 7111 if { (eval echo "$as_me:7111: \"$ac_cpp conftest.$ac_ext\"") >&5
7065 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7112 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7066 ac_status=$? 7113 ac_status=$?
7067 egrep -v '^ *\+' conftest.er1 >conftest.err 7114 egrep -v '^ *\+' conftest.er1 >conftest.err
7068 rm -f conftest.er1 7115 rm -f conftest.er1
7069 cat conftest.err >&5 7116 cat conftest.err >&5
7070 echo "$as_me:7070: \$? = $ac_status" >&5 7117 echo "$as_me:7117: \$? = $ac_status" >&5
7071 (exit $ac_status); } >/dev/null; then 7118 (exit $ac_status); } >/dev/null; then
7072 if test -s conftest.err; then 7119 if test -s conftest.err; then
7073 ac_cpp_err=$ac_c_preproc_warn_flag 7120 ac_cpp_err=$ac_c_preproc_warn_flag
7074 else 7121 else
7075 ac_cpp_err= 7122 ac_cpp_err=
7084 cat conftest.$ac_ext >&5 7131 cat conftest.$ac_ext >&5
7085 ac_cv_header_X11_xpm_h=no 7132 ac_cv_header_X11_xpm_h=no
7086 fi 7133 fi
7087 rm -f conftest.err conftest.$ac_ext 7134 rm -f conftest.err conftest.$ac_ext
7088 fi 7135 fi
7089 echo "$as_me:7089: result: $ac_cv_header_X11_xpm_h" >&5 7136 echo "$as_me:7136: result: $ac_cv_header_X11_xpm_h" >&5
7090 echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6 7137 echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6
7091 if test $ac_cv_header_X11_xpm_h = yes; then 7138 if test $ac_cv_header_X11_xpm_h = yes; then
7092 echo "$as_me:7092: checking for XpmReadFileToPixmap in -lXpm" >&5 7139 echo "$as_me:7139: checking for XpmReadFileToPixmap in -lXpm" >&5
7093 echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6 7140 echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6
7094 if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then 7141 if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then
7095 echo $ECHO_N "(cached) $ECHO_C" >&6 7142 echo $ECHO_N "(cached) $ECHO_C" >&6
7096 else 7143 else
7097 ac_check_lib_save_LIBS=$LIBS 7144 ac_check_lib_save_LIBS=$LIBS
7098 LIBS="-lXpm -lX11 $LIBS" 7145 LIBS="-lXpm -lX11 $LIBS"
7099 cat >conftest.$ac_ext <<_ACEOF 7146 cat >conftest.$ac_ext <<_ACEOF
7100 #line 7100 "configure" 7147 #line 7147 "configure"
7101 #include "confdefs.h" 7148 #include "confdefs.h"
7102 7149
7103 /* Override any gcc2 internal prototype to avoid an error. */ 7150 /* Override any gcc2 internal prototype to avoid an error. */
7104 #ifdef __cplusplus 7151 #ifdef __cplusplus
7105 extern "C" 7152 extern "C"
7114 ; 7161 ;
7115 return 0; 7162 return 0;
7116 } 7163 }
7117 _ACEOF 7164 _ACEOF
7118 rm -f conftest.$ac_objext conftest$ac_exeext 7165 rm -f conftest.$ac_objext conftest$ac_exeext
7119 if { (eval echo "$as_me:7119: \"$ac_link\"") >&5 7166 if { (eval echo "$as_me:7166: \"$ac_link\"") >&5
7120 (eval $ac_link) 2>&5 7167 (eval $ac_link) 2>&5
7121 ac_status=$? 7168 ac_status=$?
7122 echo "$as_me:7122: \$? = $ac_status" >&5 7169 echo "$as_me:7169: \$? = $ac_status" >&5
7123 (exit $ac_status); } && 7170 (exit $ac_status); } &&
7124 { ac_try='test -s conftest$ac_exeext' 7171 { ac_try='test -s conftest$ac_exeext'
7125 { (eval echo "$as_me:7125: \"$ac_try\"") >&5 7172 { (eval echo "$as_me:7172: \"$ac_try\"") >&5
7126 (eval $ac_try) 2>&5 7173 (eval $ac_try) 2>&5
7127 ac_status=$? 7174 ac_status=$?
7128 echo "$as_me:7128: \$? = $ac_status" >&5 7175 echo "$as_me:7175: \$? = $ac_status" >&5
7129 (exit $ac_status); }; }; then 7176 (exit $ac_status); }; }; then
7130 ac_cv_lib_Xpm_XpmReadFileToPixmap=yes 7177 ac_cv_lib_Xpm_XpmReadFileToPixmap=yes
7131 else 7178 else
7132 echo "$as_me: failed program was:" >&5 7179 echo "$as_me: failed program was:" >&5
7133 cat conftest.$ac_ext >&5 7180 cat conftest.$ac_ext >&5
7134 ac_cv_lib_Xpm_XpmReadFileToPixmap=no 7181 ac_cv_lib_Xpm_XpmReadFileToPixmap=no
7135 fi 7182 fi
7136 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7183 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7137 LIBS=$ac_check_lib_save_LIBS 7184 LIBS=$ac_check_lib_save_LIBS
7138 fi 7185 fi
7139 echo "$as_me:7139: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5 7186 echo "$as_me:7186: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5
7140 echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6 7187 echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6
7141 if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then 7188 if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then
7142 HAVE_XPM=yes 7189 HAVE_XPM=yes
7143 fi 7190 fi
7144 7191
7145 fi 7192 fi
7146 7193
7147 if test "${HAVE_XPM}" = "yes"; then 7194 if test "${HAVE_XPM}" = "yes"; then
7148 echo "$as_me:7148: checking for XpmReturnAllocPixels preprocessor define" >&5 7195 echo "$as_me:7195: checking for XpmReturnAllocPixels preprocessor define" >&5
7149 echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define... $ECHO_C" >&6 7196 echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define... $ECHO_C" >&6
7150 cat >conftest.$ac_ext <<_ACEOF 7197 cat >conftest.$ac_ext <<_ACEOF
7151 #line 7151 "configure" 7198 #line 7198 "configure"
7152 #include "confdefs.h" 7199 #include "confdefs.h"
7153 #include "X11/xpm.h" 7200 #include "X11/xpm.h"
7154 #ifndef XpmReturnAllocPixels 7201 #ifndef XpmReturnAllocPixels
7155 no_return_alloc_pixels 7202 no_return_alloc_pixels
7156 #endif 7203 #endif
7163 HAVE_XPM=yes 7210 HAVE_XPM=yes
7164 fi 7211 fi
7165 rm -f conftest* 7212 rm -f conftest*
7166 7213
7167 if test "${HAVE_XPM}" = "yes"; then 7214 if test "${HAVE_XPM}" = "yes"; then
7168 echo "$as_me:7168: result: yes" >&5 7215 echo "$as_me:7215: result: yes" >&5
7169 echo "${ECHO_T}yes" >&6 7216 echo "${ECHO_T}yes" >&6
7170 else 7217 else
7171 echo "$as_me:7171: result: no" >&5 7218 echo "$as_me:7218: result: no" >&5
7172 echo "${ECHO_T}no" >&6 7219 echo "${ECHO_T}no" >&6
7173 fi 7220 fi
7174 fi 7221 fi
7175 fi 7222 fi
7176 7223
7185 7232
7186 ### Use -ljpeg if available, unless `--with-jpeg=no'. 7233 ### Use -ljpeg if available, unless `--with-jpeg=no'.
7187 HAVE_JPEG=no 7234 HAVE_JPEG=no
7188 if test "${HAVE_X11}" = "yes"; then 7235 if test "${HAVE_X11}" = "yes"; then
7189 if test "${with_jpeg}" != "no"; then 7236 if test "${with_jpeg}" != "no"; then
7190 echo "$as_me:7190: checking for jerror.h" >&5 7237 echo "$as_me:7237: checking for jerror.h" >&5
7191 echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6 7238 echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6
7192 if test "${ac_cv_header_jerror_h+set}" = set; then 7239 if test "${ac_cv_header_jerror_h+set}" = set; then
7193 echo $ECHO_N "(cached) $ECHO_C" >&6 7240 echo $ECHO_N "(cached) $ECHO_C" >&6
7194 else 7241 else
7195 cat >conftest.$ac_ext <<_ACEOF 7242 cat >conftest.$ac_ext <<_ACEOF
7196 #line 7196 "configure" 7243 #line 7243 "configure"
7197 #include "confdefs.h" 7244 #include "confdefs.h"
7198 #include <jerror.h> 7245 #include <jerror.h>
7199 _ACEOF 7246 _ACEOF
7200 if { (eval echo "$as_me:7200: \"$ac_cpp conftest.$ac_ext\"") >&5 7247 if { (eval echo "$as_me:7247: \"$ac_cpp conftest.$ac_ext\"") >&5
7201 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7248 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7202 ac_status=$? 7249 ac_status=$?
7203 egrep -v '^ *\+' conftest.er1 >conftest.err 7250 egrep -v '^ *\+' conftest.er1 >conftest.err
7204 rm -f conftest.er1 7251 rm -f conftest.er1
7205 cat conftest.err >&5 7252 cat conftest.err >&5
7206 echo "$as_me:7206: \$? = $ac_status" >&5 7253 echo "$as_me:7253: \$? = $ac_status" >&5
7207 (exit $ac_status); } >/dev/null; then 7254 (exit $ac_status); } >/dev/null; then
7208 if test -s conftest.err; then 7255 if test -s conftest.err; then
7209 ac_cpp_err=$ac_c_preproc_warn_flag 7256 ac_cpp_err=$ac_c_preproc_warn_flag
7210 else 7257 else
7211 ac_cpp_err= 7258 ac_cpp_err=
7220 cat conftest.$ac_ext >&5 7267 cat conftest.$ac_ext >&5
7221 ac_cv_header_jerror_h=no 7268 ac_cv_header_jerror_h=no
7222 fi 7269 fi
7223 rm -f conftest.err conftest.$ac_ext 7270 rm -f conftest.err conftest.$ac_ext
7224 fi 7271 fi
7225 echo "$as_me:7225: result: $ac_cv_header_jerror_h" >&5 7272 echo "$as_me:7272: result: $ac_cv_header_jerror_h" >&5
7226 echo "${ECHO_T}$ac_cv_header_jerror_h" >&6 7273 echo "${ECHO_T}$ac_cv_header_jerror_h" >&6
7227 if test $ac_cv_header_jerror_h = yes; then 7274 if test $ac_cv_header_jerror_h = yes; then
7228 echo "$as_me:7228: checking for jpeg_destroy_compress in -ljpeg" >&5 7275 echo "$as_me:7275: checking for jpeg_destroy_compress in -ljpeg" >&5
7229 echo $ECHO_N "checking for jpeg_destroy_compress in -ljpeg... $ECHO_C" >&6 7276 echo $ECHO_N "checking for jpeg_destroy_compress in -ljpeg... $ECHO_C" >&6
7230 if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then 7277 if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then
7231 echo $ECHO_N "(cached) $ECHO_C" >&6 7278 echo $ECHO_N "(cached) $ECHO_C" >&6
7232 else 7279 else
7233 ac_check_lib_save_LIBS=$LIBS 7280 ac_check_lib_save_LIBS=$LIBS
7234 LIBS="-ljpeg $LIBS" 7281 LIBS="-ljpeg $LIBS"
7235 cat >conftest.$ac_ext <<_ACEOF 7282 cat >conftest.$ac_ext <<_ACEOF
7236 #line 7236 "configure" 7283 #line 7283 "configure"
7237 #include "confdefs.h" 7284 #include "confdefs.h"
7238 7285
7239 /* Override any gcc2 internal prototype to avoid an error. */ 7286 /* Override any gcc2 internal prototype to avoid an error. */
7240 #ifdef __cplusplus 7287 #ifdef __cplusplus
7241 extern "C" 7288 extern "C"
7250 ; 7297 ;
7251 return 0; 7298 return 0;
7252 } 7299 }
7253 _ACEOF 7300 _ACEOF
7254 rm -f conftest.$ac_objext conftest$ac_exeext 7301 rm -f conftest.$ac_objext conftest$ac_exeext
7255 if { (eval echo "$as_me:7255: \"$ac_link\"") >&5 7302 if { (eval echo "$as_me:7302: \"$ac_link\"") >&5
7256 (eval $ac_link) 2>&5 7303 (eval $ac_link) 2>&5
7257 ac_status=$? 7304 ac_status=$?
7258 echo "$as_me:7258: \$? = $ac_status" >&5 7305 echo "$as_me:7305: \$? = $ac_status" >&5
7259 (exit $ac_status); } && 7306 (exit $ac_status); } &&
7260 { ac_try='test -s conftest$ac_exeext' 7307 { ac_try='test -s conftest$ac_exeext'
7261 { (eval echo "$as_me:7261: \"$ac_try\"") >&5 7308 { (eval echo "$as_me:7308: \"$ac_try\"") >&5
7262 (eval $ac_try) 2>&5 7309 (eval $ac_try) 2>&5
7263 ac_status=$? 7310 ac_status=$?
7264 echo "$as_me:7264: \$? = $ac_status" >&5 7311 echo "$as_me:7311: \$? = $ac_status" >&5
7265 (exit $ac_status); }; }; then 7312 (exit $ac_status); }; }; then
7266 ac_cv_lib_jpeg_jpeg_destroy_compress=yes 7313 ac_cv_lib_jpeg_jpeg_destroy_compress=yes
7267 else 7314 else
7268 echo "$as_me: failed program was:" >&5 7315 echo "$as_me: failed program was:" >&5
7269 cat conftest.$ac_ext >&5 7316 cat conftest.$ac_ext >&5
7270 ac_cv_lib_jpeg_jpeg_destroy_compress=no 7317 ac_cv_lib_jpeg_jpeg_destroy_compress=no
7271 fi 7318 fi
7272 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7319 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7273 LIBS=$ac_check_lib_save_LIBS 7320 LIBS=$ac_check_lib_save_LIBS
7274 fi 7321 fi
7275 echo "$as_me:7275: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5 7322 echo "$as_me:7322: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5
7276 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6 7323 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6
7277 if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then 7324 if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then
7278 HAVE_JPEG=yes 7325 HAVE_JPEG=yes
7279 fi 7326 fi
7280 7327
7286 cat >>confdefs.h <<\EOF 7333 cat >>confdefs.h <<\EOF
7287 #define HAVE_JPEG 1 7334 #define HAVE_JPEG 1
7288 EOF 7335 EOF
7289 7336
7290 cat >conftest.$ac_ext <<_ACEOF 7337 cat >conftest.$ac_ext <<_ACEOF
7291 #line 7291 "configure" 7338 #line 7338 "configure"
7292 #include "confdefs.h" 7339 #include "confdefs.h"
7293 #include <jpeglib.h> 7340 #include <jpeglib.h>
7294 version=JPEG_LIB_VERSION 7341 version=JPEG_LIB_VERSION
7295 7342
7296 _ACEOF 7343 _ACEOF
7299 cat >>confdefs.h <<\EOF 7346 cat >>confdefs.h <<\EOF
7300 #define HAVE_JPEG 1 7347 #define HAVE_JPEG 1
7301 EOF 7348 EOF
7302 7349
7303 else 7350 else
7304 { echo "$as_me:7304: WARNING: libjpeg found, but not version 6b or later" >&5 7351 { echo "$as_me:7351: WARNING: libjpeg found, but not version 6b or later" >&5
7305 echo "$as_me: WARNING: libjpeg found, but not version 6b or later" >&2;} 7352 echo "$as_me: WARNING: libjpeg found, but not version 6b or later" >&2;}
7306 HAVE_JPEG=no 7353 HAVE_JPEG=no
7307 fi 7354 fi
7308 rm -f conftest* 7355 rm -f conftest*
7309 7356
7312 7359
7313 ### Use -lpng if available, unless `--with-png=no'. 7360 ### Use -lpng if available, unless `--with-png=no'.
7314 HAVE_PNG=no 7361 HAVE_PNG=no
7315 if test "${HAVE_X11}" = "yes"; then 7362 if test "${HAVE_X11}" = "yes"; then
7316 if test "${with_png}" != "no"; then 7363 if test "${with_png}" != "no"; then
7317 echo "$as_me:7317: checking for png.h" >&5 7364 echo "$as_me:7364: checking for png.h" >&5
7318 echo $ECHO_N "checking for png.h... $ECHO_C" >&6 7365 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
7319 if test "${ac_cv_header_png_h+set}" = set; then 7366 if test "${ac_cv_header_png_h+set}" = set; then
7320 echo $ECHO_N "(cached) $ECHO_C" >&6 7367 echo $ECHO_N "(cached) $ECHO_C" >&6
7321 else 7368 else
7322 cat >conftest.$ac_ext <<_ACEOF 7369 cat >conftest.$ac_ext <<_ACEOF
7323 #line 7323 "configure" 7370 #line 7370 "configure"
7324 #include "confdefs.h" 7371 #include "confdefs.h"
7325 #include <png.h> 7372 #include <png.h>
7326 _ACEOF 7373 _ACEOF
7327 if { (eval echo "$as_me:7327: \"$ac_cpp conftest.$ac_ext\"") >&5 7374 if { (eval echo "$as_me:7374: \"$ac_cpp conftest.$ac_ext\"") >&5
7328 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7375 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7329 ac_status=$? 7376 ac_status=$?
7330 egrep -v '^ *\+' conftest.er1 >conftest.err 7377 egrep -v '^ *\+' conftest.er1 >conftest.err
7331 rm -f conftest.er1 7378 rm -f conftest.er1
7332 cat conftest.err >&5 7379 cat conftest.err >&5
7333 echo "$as_me:7333: \$? = $ac_status" >&5 7380 echo "$as_me:7380: \$? = $ac_status" >&5
7334 (exit $ac_status); } >/dev/null; then 7381 (exit $ac_status); } >/dev/null; then
7335 if test -s conftest.err; then 7382 if test -s conftest.err; then
7336 ac_cpp_err=$ac_c_preproc_warn_flag 7383 ac_cpp_err=$ac_c_preproc_warn_flag
7337 else 7384 else
7338 ac_cpp_err= 7385 ac_cpp_err=
7347 cat conftest.$ac_ext >&5 7394 cat conftest.$ac_ext >&5
7348 ac_cv_header_png_h=no 7395 ac_cv_header_png_h=no
7349 fi 7396 fi
7350 rm -f conftest.err conftest.$ac_ext 7397 rm -f conftest.err conftest.$ac_ext
7351 fi 7398 fi
7352 echo "$as_me:7352: result: $ac_cv_header_png_h" >&5 7399 echo "$as_me:7399: result: $ac_cv_header_png_h" >&5
7353 echo "${ECHO_T}$ac_cv_header_png_h" >&6 7400 echo "${ECHO_T}$ac_cv_header_png_h" >&6
7354 if test $ac_cv_header_png_h = yes; then 7401 if test $ac_cv_header_png_h = yes; then
7355 echo "$as_me:7355: checking for png_get_channels in -lpng" >&5 7402 echo "$as_me:7402: checking for png_get_channels in -lpng" >&5
7356 echo $ECHO_N "checking for png_get_channels in -lpng... $ECHO_C" >&6 7403 echo $ECHO_N "checking for png_get_channels in -lpng... $ECHO_C" >&6
7357 if test "${ac_cv_lib_png_png_get_channels+set}" = set; then 7404 if test "${ac_cv_lib_png_png_get_channels+set}" = set; then
7358 echo $ECHO_N "(cached) $ECHO_C" >&6 7405 echo $ECHO_N "(cached) $ECHO_C" >&6
7359 else 7406 else
7360 ac_check_lib_save_LIBS=$LIBS 7407 ac_check_lib_save_LIBS=$LIBS
7361 LIBS="-lpng -lz -lm $LIBS" 7408 LIBS="-lpng -lz -lm $LIBS"
7362 cat >conftest.$ac_ext <<_ACEOF 7409 cat >conftest.$ac_ext <<_ACEOF
7363 #line 7363 "configure" 7410 #line 7410 "configure"
7364 #include "confdefs.h" 7411 #include "confdefs.h"
7365 7412
7366 /* Override any gcc2 internal prototype to avoid an error. */ 7413 /* Override any gcc2 internal prototype to avoid an error. */
7367 #ifdef __cplusplus 7414 #ifdef __cplusplus
7368 extern "C" 7415 extern "C"
7377 ; 7424 ;
7378 return 0; 7425 return 0;
7379 } 7426 }
7380 _ACEOF 7427 _ACEOF
7381 rm -f conftest.$ac_objext conftest$ac_exeext 7428 rm -f conftest.$ac_objext conftest$ac_exeext
7382 if { (eval echo "$as_me:7382: \"$ac_link\"") >&5 7429 if { (eval echo "$as_me:7429: \"$ac_link\"") >&5
7383 (eval $ac_link) 2>&5 7430 (eval $ac_link) 2>&5
7384 ac_status=$? 7431 ac_status=$?
7385 echo "$as_me:7385: \$? = $ac_status" >&5 7432 echo "$as_me:7432: \$? = $ac_status" >&5
7386 (exit $ac_status); } && 7433 (exit $ac_status); } &&
7387 { ac_try='test -s conftest$ac_exeext' 7434 { ac_try='test -s conftest$ac_exeext'
7388 { (eval echo "$as_me:7388: \"$ac_try\"") >&5 7435 { (eval echo "$as_me:7435: \"$ac_try\"") >&5
7389 (eval $ac_try) 2>&5 7436 (eval $ac_try) 2>&5
7390 ac_status=$? 7437 ac_status=$?
7391 echo "$as_me:7391: \$? = $ac_status" >&5 7438 echo "$as_me:7438: \$? = $ac_status" >&5
7392 (exit $ac_status); }; }; then 7439 (exit $ac_status); }; }; then
7393 ac_cv_lib_png_png_get_channels=yes 7440 ac_cv_lib_png_png_get_channels=yes
7394 else 7441 else
7395 echo "$as_me: failed program was:" >&5 7442 echo "$as_me: failed program was:" >&5
7396 cat conftest.$ac_ext >&5 7443 cat conftest.$ac_ext >&5
7397 ac_cv_lib_png_png_get_channels=no 7444 ac_cv_lib_png_png_get_channels=no
7398 fi 7445 fi
7399 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7446 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7400 LIBS=$ac_check_lib_save_LIBS 7447 LIBS=$ac_check_lib_save_LIBS
7401 fi 7448 fi
7402 echo "$as_me:7402: result: $ac_cv_lib_png_png_get_channels" >&5 7449 echo "$as_me:7449: result: $ac_cv_lib_png_png_get_channels" >&5
7403 echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6 7450 echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6
7404 if test $ac_cv_lib_png_png_get_channels = yes; then 7451 if test $ac_cv_lib_png_png_get_channels = yes; then
7405 HAVE_PNG=yes 7452 HAVE_PNG=yes
7406 fi 7453 fi
7407 7454
7420 7467
7421 ### Use -ltiff if available, unless `--with-tiff=no'. 7468 ### Use -ltiff if available, unless `--with-tiff=no'.
7422 HAVE_TIFF=no 7469 HAVE_TIFF=no
7423 if test "${HAVE_X11}" = "yes"; then 7470 if test "${HAVE_X11}" = "yes"; then
7424 if test "${with_tiff}" != "no"; then 7471 if test "${with_tiff}" != "no"; then
7425 echo "$as_me:7425: checking for tiffio.h" >&5 7472 echo "$as_me:7472: checking for tiffio.h" >&5
7426 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6 7473 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
7427 if test "${ac_cv_header_tiffio_h+set}" = set; then 7474 if test "${ac_cv_header_tiffio_h+set}" = set; then
7428 echo $ECHO_N "(cached) $ECHO_C" >&6 7475 echo $ECHO_N "(cached) $ECHO_C" >&6
7429 else 7476 else
7430 cat >conftest.$ac_ext <<_ACEOF 7477 cat >conftest.$ac_ext <<_ACEOF
7431 #line 7431 "configure" 7478 #line 7478 "configure"
7432 #include "confdefs.h" 7479 #include "confdefs.h"
7433 #include <tiffio.h> 7480 #include <tiffio.h>
7434 _ACEOF 7481 _ACEOF
7435 if { (eval echo "$as_me:7435: \"$ac_cpp conftest.$ac_ext\"") >&5 7482 if { (eval echo "$as_me:7482: \"$ac_cpp conftest.$ac_ext\"") >&5
7436 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7483 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7437 ac_status=$? 7484 ac_status=$?
7438 egrep -v '^ *\+' conftest.er1 >conftest.err 7485 egrep -v '^ *\+' conftest.er1 >conftest.err
7439 rm -f conftest.er1 7486 rm -f conftest.er1
7440 cat conftest.err >&5 7487 cat conftest.err >&5
7441 echo "$as_me:7441: \$? = $ac_status" >&5 7488 echo "$as_me:7488: \$? = $ac_status" >&5
7442 (exit $ac_status); } >/dev/null; then 7489 (exit $ac_status); } >/dev/null; then
7443 if test -s conftest.err; then 7490 if test -s conftest.err; then
7444 ac_cpp_err=$ac_c_preproc_warn_flag 7491 ac_cpp_err=$ac_c_preproc_warn_flag
7445 else 7492 else
7446 ac_cpp_err= 7493 ac_cpp_err=
7455 cat conftest.$ac_ext >&5 7502 cat conftest.$ac_ext >&5
7456 ac_cv_header_tiffio_h=no 7503 ac_cv_header_tiffio_h=no
7457 fi 7504 fi
7458 rm -f conftest.err conftest.$ac_ext 7505 rm -f conftest.err conftest.$ac_ext
7459 fi 7506 fi
7460 echo "$as_me:7460: result: $ac_cv_header_tiffio_h" >&5 7507 echo "$as_me:7507: result: $ac_cv_header_tiffio_h" >&5
7461 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6 7508 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
7462 if test $ac_cv_header_tiffio_h = yes; then 7509 if test $ac_cv_header_tiffio_h = yes; then
7463 tifflibs="-lz -lm" 7510 tifflibs="-lz -lm"
7464 # At least one tiff package requires the jpeg library. 7511 # At least one tiff package requires the jpeg library.
7465 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi 7512 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi
7466 echo "$as_me:7466: checking for TIFFGetVersion in -ltiff" >&5 7513 echo "$as_me:7513: checking for TIFFGetVersion in -ltiff" >&5
7467 echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6 7514 echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6
7468 if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then 7515 if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then
7469 echo $ECHO_N "(cached) $ECHO_C" >&6 7516 echo $ECHO_N "(cached) $ECHO_C" >&6
7470 else 7517 else
7471 ac_check_lib_save_LIBS=$LIBS 7518 ac_check_lib_save_LIBS=$LIBS
7472 LIBS="-ltiff $tifflibs $LIBS" 7519 LIBS="-ltiff $tifflibs $LIBS"
7473 cat >conftest.$ac_ext <<_ACEOF 7520 cat >conftest.$ac_ext <<_ACEOF
7474 #line 7474 "configure" 7521 #line 7521 "configure"
7475 #include "confdefs.h" 7522 #include "confdefs.h"
7476 7523
7477 /* Override any gcc2 internal prototype to avoid an error. */ 7524 /* Override any gcc2 internal prototype to avoid an error. */
7478 #ifdef __cplusplus 7525 #ifdef __cplusplus
7479 extern "C" 7526 extern "C"
7488 ; 7535 ;
7489 return 0; 7536 return 0;
7490 } 7537 }
7491 _ACEOF 7538 _ACEOF
7492 rm -f conftest.$ac_objext conftest$ac_exeext 7539 rm -f conftest.$ac_objext conftest$ac_exeext
7493 if { (eval echo "$as_me:7493: \"$ac_link\"") >&5 7540 if { (eval echo "$as_me:7540: \"$ac_link\"") >&5
7494 (eval $ac_link) 2>&5 7541 (eval $ac_link) 2>&5
7495 ac_status=$? 7542 ac_status=$?
7496 echo "$as_me:7496: \$? = $ac_status" >&5 7543 echo "$as_me:7543: \$? = $ac_status" >&5
7497 (exit $ac_status); } && 7544 (exit $ac_status); } &&
7498 { ac_try='test -s conftest$ac_exeext' 7545 { ac_try='test -s conftest$ac_exeext'
7499 { (eval echo "$as_me:7499: \"$ac_try\"") >&5 7546 { (eval echo "$as_me:7546: \"$ac_try\"") >&5
7500 (eval $ac_try) 2>&5 7547 (eval $ac_try) 2>&5
7501 ac_status=$? 7548 ac_status=$?
7502 echo "$as_me:7502: \$? = $ac_status" >&5 7549 echo "$as_me:7549: \$? = $ac_status" >&5
7503 (exit $ac_status); }; }; then 7550 (exit $ac_status); }; }; then
7504 ac_cv_lib_tiff_TIFFGetVersion=yes 7551 ac_cv_lib_tiff_TIFFGetVersion=yes
7505 else 7552 else
7506 echo "$as_me: failed program was:" >&5 7553 echo "$as_me: failed program was:" >&5
7507 cat conftest.$ac_ext >&5 7554 cat conftest.$ac_ext >&5
7508 ac_cv_lib_tiff_TIFFGetVersion=no 7555 ac_cv_lib_tiff_TIFFGetVersion=no
7509 fi 7556 fi
7510 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7557 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7511 LIBS=$ac_check_lib_save_LIBS 7558 LIBS=$ac_check_lib_save_LIBS
7512 fi 7559 fi
7513 echo "$as_me:7513: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5 7560 echo "$as_me:7560: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5
7514 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6 7561 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6
7515 if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then 7562 if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then
7516 HAVE_TIFF=yes 7563 HAVE_TIFF=yes
7517 fi 7564 fi
7518 7565
7531 7578
7532 ### Use -lgif if available, unless `--with-gif=no'. 7579 ### Use -lgif if available, unless `--with-gif=no'.
7533 HAVE_GIF=no 7580 HAVE_GIF=no
7534 if test "${HAVE_X11}" = "yes"; then 7581 if test "${HAVE_X11}" = "yes"; then
7535 if test "${with_gif}" != "no"; then 7582 if test "${with_gif}" != "no"; then
7536 echo "$as_me:7536: checking for gif_lib.h" >&5 7583 echo "$as_me:7583: checking for gif_lib.h" >&5
7537 echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6 7584 echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6
7538 if test "${ac_cv_header_gif_lib_h+set}" = set; then 7585 if test "${ac_cv_header_gif_lib_h+set}" = set; then
7539 echo $ECHO_N "(cached) $ECHO_C" >&6 7586 echo $ECHO_N "(cached) $ECHO_C" >&6
7540 else 7587 else
7541 cat >conftest.$ac_ext <<_ACEOF 7588 cat >conftest.$ac_ext <<_ACEOF
7542 #line 7542 "configure" 7589 #line 7589 "configure"
7543 #include "confdefs.h" 7590 #include "confdefs.h"
7544 #include <gif_lib.h> 7591 #include <gif_lib.h>
7545 _ACEOF 7592 _ACEOF
7546 if { (eval echo "$as_me:7546: \"$ac_cpp conftest.$ac_ext\"") >&5 7593 if { (eval echo "$as_me:7593: \"$ac_cpp conftest.$ac_ext\"") >&5
7547 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7594 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7548 ac_status=$? 7595 ac_status=$?
7549 egrep -v '^ *\+' conftest.er1 >conftest.err 7596 egrep -v '^ *\+' conftest.er1 >conftest.err
7550 rm -f conftest.er1 7597 rm -f conftest.er1
7551 cat conftest.err >&5 7598 cat conftest.err >&5
7552 echo "$as_me:7552: \$? = $ac_status" >&5 7599 echo "$as_me:7599: \$? = $ac_status" >&5
7553 (exit $ac_status); } >/dev/null; then 7600 (exit $ac_status); } >/dev/null; then
7554 if test -s conftest.err; then 7601 if test -s conftest.err; then
7555 ac_cpp_err=$ac_c_preproc_warn_flag 7602 ac_cpp_err=$ac_c_preproc_warn_flag
7556 else 7603 else
7557 ac_cpp_err= 7604 ac_cpp_err=
7566 cat conftest.$ac_ext >&5 7613 cat conftest.$ac_ext >&5
7567 ac_cv_header_gif_lib_h=no 7614 ac_cv_header_gif_lib_h=no
7568 fi 7615 fi
7569 rm -f conftest.err conftest.$ac_ext 7616 rm -f conftest.err conftest.$ac_ext
7570 fi 7617 fi
7571 echo "$as_me:7571: result: $ac_cv_header_gif_lib_h" >&5 7618 echo "$as_me:7618: result: $ac_cv_header_gif_lib_h" >&5
7572 echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6 7619 echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6
7573 if test $ac_cv_header_gif_lib_h = yes; then 7620 if test $ac_cv_header_gif_lib_h = yes; then
7574 # EGifPutExtensionLast only exists from version libungif-4.1.0b1. 7621 # EGifPutExtensionLast only exists from version libungif-4.1.0b1.
7575 # Earlier versions can crash Emacs. 7622 # Earlier versions can crash Emacs.
7576 echo "$as_me:7576: checking for EGifPutExtensionLast in -lungif" >&5 7623 echo "$as_me:7623: checking for EGifPutExtensionLast in -lungif" >&5
7577 echo $ECHO_N "checking for EGifPutExtensionLast in -lungif... $ECHO_C" >&6 7624 echo $ECHO_N "checking for EGifPutExtensionLast in -lungif... $ECHO_C" >&6
7578 if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then 7625 if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then
7579 echo $ECHO_N "(cached) $ECHO_C" >&6 7626 echo $ECHO_N "(cached) $ECHO_C" >&6
7580 else 7627 else
7581 ac_check_lib_save_LIBS=$LIBS 7628 ac_check_lib_save_LIBS=$LIBS
7582 LIBS="-lungif $LIBS" 7629 LIBS="-lungif $LIBS"
7583 cat >conftest.$ac_ext <<_ACEOF 7630 cat >conftest.$ac_ext <<_ACEOF
7584 #line 7584 "configure" 7631 #line 7631 "configure"
7585 #include "confdefs.h" 7632 #include "confdefs.h"
7586 7633
7587 /* Override any gcc2 internal prototype to avoid an error. */ 7634 /* Override any gcc2 internal prototype to avoid an error. */
7588 #ifdef __cplusplus 7635 #ifdef __cplusplus
7589 extern "C" 7636 extern "C"
7598 ; 7645 ;
7599 return 0; 7646 return 0;
7600 } 7647 }
7601 _ACEOF 7648 _ACEOF
7602 rm -f conftest.$ac_objext conftest$ac_exeext 7649 rm -f conftest.$ac_objext conftest$ac_exeext
7603 if { (eval echo "$as_me:7603: \"$ac_link\"") >&5 7650 if { (eval echo "$as_me:7650: \"$ac_link\"") >&5
7604 (eval $ac_link) 2>&5 7651 (eval $ac_link) 2>&5
7605 ac_status=$? 7652 ac_status=$?
7606 echo "$as_me:7606: \$? = $ac_status" >&5 7653 echo "$as_me:7653: \$? = $ac_status" >&5
7607 (exit $ac_status); } && 7654 (exit $ac_status); } &&
7608 { ac_try='test -s conftest$ac_exeext' 7655 { ac_try='test -s conftest$ac_exeext'
7609 { (eval echo "$as_me:7609: \"$ac_try\"") >&5 7656 { (eval echo "$as_me:7656: \"$ac_try\"") >&5
7610 (eval $ac_try) 2>&5 7657 (eval $ac_try) 2>&5
7611 ac_status=$? 7658 ac_status=$?
7612 echo "$as_me:7612: \$? = $ac_status" >&5 7659 echo "$as_me:7659: \$? = $ac_status" >&5
7613 (exit $ac_status); }; }; then 7660 (exit $ac_status); }; }; then
7614 ac_cv_lib_ungif_EGifPutExtensionLast=yes 7661 ac_cv_lib_ungif_EGifPutExtensionLast=yes
7615 else 7662 else
7616 echo "$as_me: failed program was:" >&5 7663 echo "$as_me: failed program was:" >&5
7617 cat conftest.$ac_ext >&5 7664 cat conftest.$ac_ext >&5
7618 ac_cv_lib_ungif_EGifPutExtensionLast=no 7665 ac_cv_lib_ungif_EGifPutExtensionLast=no
7619 fi 7666 fi
7620 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7667 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7621 LIBS=$ac_check_lib_save_LIBS 7668 LIBS=$ac_check_lib_save_LIBS
7622 fi 7669 fi
7623 echo "$as_me:7623: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5 7670 echo "$as_me:7670: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5
7624 echo "${ECHO_T}$ac_cv_lib_ungif_EGifPutExtensionLast" >&6 7671 echo "${ECHO_T}$ac_cv_lib_ungif_EGifPutExtensionLast" >&6
7625 if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then 7672 if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then
7626 HAVE_GIF=yes 7673 HAVE_GIF=yes
7627 fi 7674 fi
7628 7675
7640 fi 7687 fi
7641 7688
7642 ### Use Mac OS X Carbon API to implement GUI. 7689 ### Use Mac OS X Carbon API to implement GUI.
7643 HAVE_CARBON=no 7690 HAVE_CARBON=no
7644 if test "${with_carbon}" != "no"; then 7691 if test "${with_carbon}" != "no"; then
7645 echo "$as_me:7645: checking for Carbon/Carbon.h" >&5 7692 echo "$as_me:7692: checking for Carbon/Carbon.h" >&5
7646 echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6 7693 echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6
7647 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then 7694 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
7648 echo $ECHO_N "(cached) $ECHO_C" >&6 7695 echo $ECHO_N "(cached) $ECHO_C" >&6
7649 else 7696 else
7650 cat >conftest.$ac_ext <<_ACEOF 7697 cat >conftest.$ac_ext <<_ACEOF
7651 #line 7651 "configure" 7698 #line 7698 "configure"
7652 #include "confdefs.h" 7699 #include "confdefs.h"
7653 #include <Carbon/Carbon.h> 7700 #include <Carbon/Carbon.h>
7654 _ACEOF 7701 _ACEOF
7655 if { (eval echo "$as_me:7655: \"$ac_cpp conftest.$ac_ext\"") >&5 7702 if { (eval echo "$as_me:7702: \"$ac_cpp conftest.$ac_ext\"") >&5
7656 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7703 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7657 ac_status=$? 7704 ac_status=$?
7658 egrep -v '^ *\+' conftest.er1 >conftest.err 7705 egrep -v '^ *\+' conftest.er1 >conftest.err
7659 rm -f conftest.er1 7706 rm -f conftest.er1
7660 cat conftest.err >&5 7707 cat conftest.err >&5
7661 echo "$as_me:7661: \$? = $ac_status" >&5 7708 echo "$as_me:7708: \$? = $ac_status" >&5
7662 (exit $ac_status); } >/dev/null; then 7709 (exit $ac_status); } >/dev/null; then
7663 if test -s conftest.err; then 7710 if test -s conftest.err; then
7664 ac_cpp_err=$ac_c_preproc_warn_flag 7711 ac_cpp_err=$ac_c_preproc_warn_flag
7665 else 7712 else
7666 ac_cpp_err= 7713 ac_cpp_err=
7675 cat conftest.$ac_ext >&5 7722 cat conftest.$ac_ext >&5
7676 ac_cv_header_Carbon_Carbon_h=no 7723 ac_cv_header_Carbon_Carbon_h=no
7677 fi 7724 fi
7678 rm -f conftest.err conftest.$ac_ext 7725 rm -f conftest.err conftest.$ac_ext
7679 fi 7726 fi
7680 echo "$as_me:7680: result: $ac_cv_header_Carbon_Carbon_h" >&5 7727 echo "$as_me:7727: result: $ac_cv_header_Carbon_Carbon_h" >&5
7681 echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6 7728 echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6
7682 if test $ac_cv_header_Carbon_Carbon_h = yes; then 7729 if test $ac_cv_header_Carbon_Carbon_h = yes; then
7683 HAVE_CARBON=yes 7730 HAVE_CARBON=yes
7684 fi 7731 fi
7685 7732
7694 fi 7741 fi
7695 7742
7696 ### Use session management (-lSM -lICE) if available 7743 ### Use session management (-lSM -lICE) if available
7697 HAVE_X_SM=no 7744 HAVE_X_SM=no
7698 if test "${HAVE_X11}" = "yes"; then 7745 if test "${HAVE_X11}" = "yes"; then
7699 echo "$as_me:7699: checking for X11/SM/SMlib.h" >&5 7746 echo "$as_me:7746: checking for X11/SM/SMlib.h" >&5
7700 echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6 7747 echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6
7701 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then 7748 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
7702 echo $ECHO_N "(cached) $ECHO_C" >&6 7749 echo $ECHO_N "(cached) $ECHO_C" >&6
7703 else 7750 else
7704 cat >conftest.$ac_ext <<_ACEOF 7751 cat >conftest.$ac_ext <<_ACEOF
7705 #line 7705 "configure" 7752 #line 7752 "configure"
7706 #include "confdefs.h" 7753 #include "confdefs.h"
7707 #include <X11/SM/SMlib.h> 7754 #include <X11/SM/SMlib.h>
7708 _ACEOF 7755 _ACEOF
7709 if { (eval echo "$as_me:7709: \"$ac_cpp conftest.$ac_ext\"") >&5 7756 if { (eval echo "$as_me:7756: \"$ac_cpp conftest.$ac_ext\"") >&5
7710 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7757 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7711 ac_status=$? 7758 ac_status=$?
7712 egrep -v '^ *\+' conftest.er1 >conftest.err 7759 egrep -v '^ *\+' conftest.er1 >conftest.err
7713 rm -f conftest.er1 7760 rm -f conftest.er1
7714 cat conftest.err >&5 7761 cat conftest.err >&5
7715 echo "$as_me:7715: \$? = $ac_status" >&5 7762 echo "$as_me:7762: \$? = $ac_status" >&5
7716 (exit $ac_status); } >/dev/null; then 7763 (exit $ac_status); } >/dev/null; then
7717 if test -s conftest.err; then 7764 if test -s conftest.err; then
7718 ac_cpp_err=$ac_c_preproc_warn_flag 7765 ac_cpp_err=$ac_c_preproc_warn_flag
7719 else 7766 else
7720 ac_cpp_err= 7767 ac_cpp_err=
7729 cat conftest.$ac_ext >&5 7776 cat conftest.$ac_ext >&5
7730 ac_cv_header_X11_SM_SMlib_h=no 7777 ac_cv_header_X11_SM_SMlib_h=no
7731 fi 7778 fi
7732 rm -f conftest.err conftest.$ac_ext 7779 rm -f conftest.err conftest.$ac_ext
7733 fi 7780 fi
7734 echo "$as_me:7734: result: $ac_cv_header_X11_SM_SMlib_h" >&5 7781 echo "$as_me:7781: result: $ac_cv_header_X11_SM_SMlib_h" >&5
7735 echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6 7782 echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6
7736 if test $ac_cv_header_X11_SM_SMlib_h = yes; then 7783 if test $ac_cv_header_X11_SM_SMlib_h = yes; then
7737 echo "$as_me:7737: checking for SmcOpenConnection in -lSM" >&5 7784 echo "$as_me:7784: checking for SmcOpenConnection in -lSM" >&5
7738 echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6 7785 echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6
7739 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then 7786 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then
7740 echo $ECHO_N "(cached) $ECHO_C" >&6 7787 echo $ECHO_N "(cached) $ECHO_C" >&6
7741 else 7788 else
7742 ac_check_lib_save_LIBS=$LIBS 7789 ac_check_lib_save_LIBS=$LIBS
7743 LIBS="-lSM $LIBS" 7790 LIBS="-lSM $LIBS"
7744 cat >conftest.$ac_ext <<_ACEOF 7791 cat >conftest.$ac_ext <<_ACEOF
7745 #line 7745 "configure" 7792 #line 7792 "configure"
7746 #include "confdefs.h" 7793 #include "confdefs.h"
7747 7794
7748 /* Override any gcc2 internal prototype to avoid an error. */ 7795 /* Override any gcc2 internal prototype to avoid an error. */
7749 #ifdef __cplusplus 7796 #ifdef __cplusplus
7750 extern "C" 7797 extern "C"
7759 ; 7806 ;
7760 return 0; 7807 return 0;
7761 } 7808 }
7762 _ACEOF 7809 _ACEOF
7763 rm -f conftest.$ac_objext conftest$ac_exeext 7810 rm -f conftest.$ac_objext conftest$ac_exeext
7764 if { (eval echo "$as_me:7764: \"$ac_link\"") >&5 7811 if { (eval echo "$as_me:7811: \"$ac_link\"") >&5
7765 (eval $ac_link) 2>&5 7812 (eval $ac_link) 2>&5
7766 ac_status=$? 7813 ac_status=$?
7767 echo "$as_me:7767: \$? = $ac_status" >&5 7814 echo "$as_me:7814: \$? = $ac_status" >&5
7768 (exit $ac_status); } && 7815 (exit $ac_status); } &&
7769 { ac_try='test -s conftest$ac_exeext' 7816 { ac_try='test -s conftest$ac_exeext'
7770 { (eval echo "$as_me:7770: \"$ac_try\"") >&5 7817 { (eval echo "$as_me:7817: \"$ac_try\"") >&5
7771 (eval $ac_try) 2>&5 7818 (eval $ac_try) 2>&5
7772 ac_status=$? 7819 ac_status=$?
7773 echo "$as_me:7773: \$? = $ac_status" >&5 7820 echo "$as_me:7820: \$? = $ac_status" >&5
7774 (exit $ac_status); }; }; then 7821 (exit $ac_status); }; }; then
7775 ac_cv_lib_SM_SmcOpenConnection=yes 7822 ac_cv_lib_SM_SmcOpenConnection=yes
7776 else 7823 else
7777 echo "$as_me: failed program was:" >&5 7824 echo "$as_me: failed program was:" >&5
7778 cat conftest.$ac_ext >&5 7825 cat conftest.$ac_ext >&5
7779 ac_cv_lib_SM_SmcOpenConnection=no 7826 ac_cv_lib_SM_SmcOpenConnection=no
7780 fi 7827 fi
7781 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7828 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7782 LIBS=$ac_check_lib_save_LIBS 7829 LIBS=$ac_check_lib_save_LIBS
7783 fi 7830 fi
7784 echo "$as_me:7784: result: $ac_cv_lib_SM_SmcOpenConnection" >&5 7831 echo "$as_me:7831: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
7785 echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6 7832 echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6
7786 if test $ac_cv_lib_SM_SmcOpenConnection = yes; then 7833 if test $ac_cv_lib_SM_SmcOpenConnection = yes; then
7787 HAVE_X_SM=yes 7834 HAVE_X_SM=yes
7788 else 7835 else
7789 -lICE 7836 -lICE
7803 esac 7850 esac
7804 fi 7851 fi
7805 fi 7852 fi
7806 7853
7807 # If netdb.h doesn't declare h_errno, we must declare it by hand. 7854 # If netdb.h doesn't declare h_errno, we must declare it by hand.
7808 echo "$as_me:7808: checking whether netdb declares h_errno" >&5 7855 echo "$as_me:7855: checking whether netdb declares h_errno" >&5
7809 echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6 7856 echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6
7810 if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then 7857 if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then
7811 echo $ECHO_N "(cached) $ECHO_C" >&6 7858 echo $ECHO_N "(cached) $ECHO_C" >&6
7812 else 7859 else
7813 cat >conftest.$ac_ext <<_ACEOF 7860 cat >conftest.$ac_ext <<_ACEOF
7814 #line 7814 "configure" 7861 #line 7861 "configure"
7815 #include "confdefs.h" 7862 #include "confdefs.h"
7816 #include <netdb.h> 7863 #include <netdb.h>
7817 int 7864 int
7818 main () 7865 main ()
7819 { 7866 {
7821 ; 7868 ;
7822 return 0; 7869 return 0;
7823 } 7870 }
7824 _ACEOF 7871 _ACEOF
7825 rm -f conftest.$ac_objext conftest$ac_exeext 7872 rm -f conftest.$ac_objext conftest$ac_exeext
7826 if { (eval echo "$as_me:7826: \"$ac_link\"") >&5 7873 if { (eval echo "$as_me:7873: \"$ac_link\"") >&5
7827 (eval $ac_link) 2>&5 7874 (eval $ac_link) 2>&5
7828 ac_status=$? 7875 ac_status=$?
7829 echo "$as_me:7829: \$? = $ac_status" >&5 7876 echo "$as_me:7876: \$? = $ac_status" >&5
7830 (exit $ac_status); } && 7877 (exit $ac_status); } &&
7831 { ac_try='test -s conftest$ac_exeext' 7878 { ac_try='test -s conftest$ac_exeext'
7832 { (eval echo "$as_me:7832: \"$ac_try\"") >&5 7879 { (eval echo "$as_me:7879: \"$ac_try\"") >&5
7833 (eval $ac_try) 2>&5 7880 (eval $ac_try) 2>&5
7834 ac_status=$? 7881 ac_status=$?
7835 echo "$as_me:7835: \$? = $ac_status" >&5 7882 echo "$as_me:7882: \$? = $ac_status" >&5
7836 (exit $ac_status); }; }; then 7883 (exit $ac_status); }; }; then
7837 emacs_cv_netdb_declares_h_errno=yes 7884 emacs_cv_netdb_declares_h_errno=yes
7838 else 7885 else
7839 echo "$as_me: failed program was:" >&5 7886 echo "$as_me: failed program was:" >&5
7840 cat conftest.$ac_ext >&5 7887 cat conftest.$ac_ext >&5
7841 emacs_cv_netdb_declares_h_errno=no 7888 emacs_cv_netdb_declares_h_errno=no
7842 fi 7889 fi
7843 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7890 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7844 fi 7891 fi
7845 echo "$as_me:7845: result: $emacs_cv_netdb_declares_h_errno" >&5 7892 echo "$as_me:7892: result: $emacs_cv_netdb_declares_h_errno" >&5
7846 echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6 7893 echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6
7847 if test $emacs_cv_netdb_declares_h_errno = yes; then 7894 if test $emacs_cv_netdb_declares_h_errno = yes; then
7848 7895
7849 cat >>confdefs.h <<\EOF 7896 cat >>confdefs.h <<\EOF
7850 #define HAVE_H_ERRNO 1 7897 #define HAVE_H_ERRNO 1
7852 7899
7853 fi 7900 fi
7854 7901
7855 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 7902 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
7856 # for constant arguments. Useless! 7903 # for constant arguments. Useless!
7857 echo "$as_me:7857: checking for working alloca.h" >&5 7904 echo "$as_me:7904: checking for working alloca.h" >&5
7858 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 7905 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
7859 if test "${ac_cv_working_alloca_h+set}" = set; then 7906 if test "${ac_cv_working_alloca_h+set}" = set; then
7860 echo $ECHO_N "(cached) $ECHO_C" >&6 7907 echo $ECHO_N "(cached) $ECHO_C" >&6
7861 else 7908 else
7862 cat >conftest.$ac_ext <<_ACEOF 7909 cat >conftest.$ac_ext <<_ACEOF
7863 #line 7863 "configure" 7910 #line 7910 "configure"
7864 #include "confdefs.h" 7911 #include "confdefs.h"
7865 #include <alloca.h> 7912 #include <alloca.h>
7866 int 7913 int
7867 main () 7914 main ()
7868 { 7915 {
7870 ; 7917 ;
7871 return 0; 7918 return 0;
7872 } 7919 }
7873 _ACEOF 7920 _ACEOF
7874 rm -f conftest.$ac_objext conftest$ac_exeext 7921 rm -f conftest.$ac_objext conftest$ac_exeext
7875 if { (eval echo "$as_me:7875: \"$ac_link\"") >&5 7922 if { (eval echo "$as_me:7922: \"$ac_link\"") >&5
7876 (eval $ac_link) 2>&5 7923 (eval $ac_link) 2>&5
7877 ac_status=$? 7924 ac_status=$?
7878 echo "$as_me:7878: \$? = $ac_status" >&5 7925 echo "$as_me:7925: \$? = $ac_status" >&5
7879 (exit $ac_status); } && 7926 (exit $ac_status); } &&
7880 { ac_try='test -s conftest$ac_exeext' 7927 { ac_try='test -s conftest$ac_exeext'
7881 { (eval echo "$as_me:7881: \"$ac_try\"") >&5 7928 { (eval echo "$as_me:7928: \"$ac_try\"") >&5
7882 (eval $ac_try) 2>&5 7929 (eval $ac_try) 2>&5
7883 ac_status=$? 7930 ac_status=$?
7884 echo "$as_me:7884: \$? = $ac_status" >&5 7931 echo "$as_me:7931: \$? = $ac_status" >&5
7885 (exit $ac_status); }; }; then 7932 (exit $ac_status); }; }; then
7886 ac_cv_working_alloca_h=yes 7933 ac_cv_working_alloca_h=yes
7887 else 7934 else
7888 echo "$as_me: failed program was:" >&5 7935 echo "$as_me: failed program was:" >&5
7889 cat conftest.$ac_ext >&5 7936 cat conftest.$ac_ext >&5
7890 ac_cv_working_alloca_h=no 7937 ac_cv_working_alloca_h=no
7891 fi 7938 fi
7892 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7939 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7893 fi 7940 fi
7894 echo "$as_me:7894: result: $ac_cv_working_alloca_h" >&5 7941 echo "$as_me:7941: result: $ac_cv_working_alloca_h" >&5
7895 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 7942 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
7896 if test $ac_cv_working_alloca_h = yes; then 7943 if test $ac_cv_working_alloca_h = yes; then
7897 7944
7898 cat >>confdefs.h <<\EOF 7945 cat >>confdefs.h <<\EOF
7899 #define HAVE_ALLOCA_H 1 7946 #define HAVE_ALLOCA_H 1
7900 EOF 7947 EOF
7901 7948
7902 fi 7949 fi
7903 7950
7904 echo "$as_me:7904: checking for alloca" >&5 7951 echo "$as_me:7951: checking for alloca" >&5
7905 echo $ECHO_N "checking for alloca... $ECHO_C" >&6 7952 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
7906 if test "${ac_cv_func_alloca_works+set}" = set; then 7953 if test "${ac_cv_func_alloca_works+set}" = set; then
7907 echo $ECHO_N "(cached) $ECHO_C" >&6 7954 echo $ECHO_N "(cached) $ECHO_C" >&6
7908 else 7955 else
7909 cat >conftest.$ac_ext <<_ACEOF 7956 cat >conftest.$ac_ext <<_ACEOF
7910 #line 7910 "configure" 7957 #line 7957 "configure"
7911 #include "confdefs.h" 7958 #include "confdefs.h"
7912 #ifdef __GNUC__ 7959 #ifdef __GNUC__
7913 # define alloca __builtin_alloca 7960 # define alloca __builtin_alloca
7914 #else 7961 #else
7915 # ifdef _MSC_VER 7962 # ifdef _MSC_VER
7937 ; 7984 ;
7938 return 0; 7985 return 0;
7939 } 7986 }
7940 _ACEOF 7987 _ACEOF
7941 rm -f conftest.$ac_objext conftest$ac_exeext 7988 rm -f conftest.$ac_objext conftest$ac_exeext
7942 if { (eval echo "$as_me:7942: \"$ac_link\"") >&5 7989 if { (eval echo "$as_me:7989: \"$ac_link\"") >&5
7943 (eval $ac_link) 2>&5 7990 (eval $ac_link) 2>&5
7944 ac_status=$? 7991 ac_status=$?
7945 echo "$as_me:7945: \$? = $ac_status" >&5 7992 echo "$as_me:7992: \$? = $ac_status" >&5
7946 (exit $ac_status); } && 7993 (exit $ac_status); } &&
7947 { ac_try='test -s conftest$ac_exeext' 7994 { ac_try='test -s conftest$ac_exeext'
7948 { (eval echo "$as_me:7948: \"$ac_try\"") >&5 7995 { (eval echo "$as_me:7995: \"$ac_try\"") >&5
7949 (eval $ac_try) 2>&5 7996 (eval $ac_try) 2>&5
7950 ac_status=$? 7997 ac_status=$?
7951 echo "$as_me:7951: \$? = $ac_status" >&5 7998 echo "$as_me:7998: \$? = $ac_status" >&5
7952 (exit $ac_status); }; }; then 7999 (exit $ac_status); }; }; then
7953 ac_cv_func_alloca_works=yes 8000 ac_cv_func_alloca_works=yes
7954 else 8001 else
7955 echo "$as_me: failed program was:" >&5 8002 echo "$as_me: failed program was:" >&5
7956 cat conftest.$ac_ext >&5 8003 cat conftest.$ac_ext >&5
7957 ac_cv_func_alloca_works=no 8004 ac_cv_func_alloca_works=no
7958 fi 8005 fi
7959 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8006 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7960 fi 8007 fi
7961 echo "$as_me:7961: result: $ac_cv_func_alloca_works" >&5 8008 echo "$as_me:8008: result: $ac_cv_func_alloca_works" >&5
7962 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 8009 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
7963 8010
7964 if test $ac_cv_func_alloca_works = yes; then 8011 if test $ac_cv_func_alloca_works = yes; then
7965 8012
7966 cat >>confdefs.h <<\EOF 8013 cat >>confdefs.h <<\EOF
7977 8024
7978 cat >>confdefs.h <<\EOF 8025 cat >>confdefs.h <<\EOF
7979 #define C_ALLOCA 1 8026 #define C_ALLOCA 1
7980 EOF 8027 EOF
7981 8028
7982 echo "$as_me:7982: checking whether \`alloca.c' needs Cray hooks" >&5 8029 echo "$as_me:8029: checking whether \`alloca.c' needs Cray hooks" >&5
7983 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 8030 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
7984 if test "${ac_cv_os_cray+set}" = set; then 8031 if test "${ac_cv_os_cray+set}" = set; then
7985 echo $ECHO_N "(cached) $ECHO_C" >&6 8032 echo $ECHO_N "(cached) $ECHO_C" >&6
7986 else 8033 else
7987 cat >conftest.$ac_ext <<_ACEOF 8034 cat >conftest.$ac_ext <<_ACEOF
7988 #line 7988 "configure" 8035 #line 8035 "configure"
7989 #include "confdefs.h" 8036 #include "confdefs.h"
7990 #if defined(CRAY) && ! defined(CRAY2) 8037 #if defined(CRAY) && ! defined(CRAY2)
7991 webecray 8038 webecray
7992 #else 8039 #else
7993 wenotbecray 8040 wenotbecray
8001 ac_cv_os_cray=no 8048 ac_cv_os_cray=no
8002 fi 8049 fi
8003 rm -f conftest* 8050 rm -f conftest*
8004 8051
8005 fi 8052 fi
8006 echo "$as_me:8006: result: $ac_cv_os_cray" >&5 8053 echo "$as_me:8053: result: $ac_cv_os_cray" >&5
8007 echo "${ECHO_T}$ac_cv_os_cray" >&6 8054 echo "${ECHO_T}$ac_cv_os_cray" >&6
8008 if test $ac_cv_os_cray = yes; then 8055 if test $ac_cv_os_cray = yes; then
8009 for ac_func in _getb67 GETB67 getb67; do 8056 for ac_func in _getb67 GETB67 getb67; do
8010 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 8057 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8011 echo "$as_me:8011: checking for $ac_func" >&5 8058 echo "$as_me:8058: checking for $ac_func" >&5
8012 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8059 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8013 if eval "test \"\${$as_ac_var+set}\" = set"; then 8060 if eval "test \"\${$as_ac_var+set}\" = set"; then
8014 echo $ECHO_N "(cached) $ECHO_C" >&6 8061 echo $ECHO_N "(cached) $ECHO_C" >&6
8015 else 8062 else
8016 cat >conftest.$ac_ext <<_ACEOF 8063 cat >conftest.$ac_ext <<_ACEOF
8017 #line 8017 "configure" 8064 #line 8064 "configure"
8018 #include "confdefs.h" 8065 #include "confdefs.h"
8019 /* System header to define __stub macros and hopefully few prototypes, 8066 /* System header to define __stub macros and hopefully few prototypes,
8020 which can conflict with char $ac_func (); below. */ 8067 which can conflict with char $ac_func (); below. */
8021 #include <assert.h> 8068 #include <assert.h>
8022 /* Override any gcc2 internal prototype to avoid an error. */ 8069 /* Override any gcc2 internal prototype to avoid an error. */
8043 ; 8090 ;
8044 return 0; 8091 return 0;
8045 } 8092 }
8046 _ACEOF 8093 _ACEOF
8047 rm -f conftest.$ac_objext conftest$ac_exeext 8094 rm -f conftest.$ac_objext conftest$ac_exeext
8048 if { (eval echo "$as_me:8048: \"$ac_link\"") >&5 8095 if { (eval echo "$as_me:8095: \"$ac_link\"") >&5
8049 (eval $ac_link) 2>&5 8096 (eval $ac_link) 2>&5
8050 ac_status=$? 8097 ac_status=$?
8051 echo "$as_me:8051: \$? = $ac_status" >&5 8098 echo "$as_me:8098: \$? = $ac_status" >&5
8052 (exit $ac_status); } && 8099 (exit $ac_status); } &&
8053 { ac_try='test -s conftest$ac_exeext' 8100 { ac_try='test -s conftest$ac_exeext'
8054 { (eval echo "$as_me:8054: \"$ac_try\"") >&5 8101 { (eval echo "$as_me:8101: \"$ac_try\"") >&5
8055 (eval $ac_try) 2>&5 8102 (eval $ac_try) 2>&5
8056 ac_status=$? 8103 ac_status=$?
8057 echo "$as_me:8057: \$? = $ac_status" >&5 8104 echo "$as_me:8104: \$? = $ac_status" >&5
8058 (exit $ac_status); }; }; then 8105 (exit $ac_status); }; }; then
8059 eval "$as_ac_var=yes" 8106 eval "$as_ac_var=yes"
8060 else 8107 else
8061 echo "$as_me: failed program was:" >&5 8108 echo "$as_me: failed program was:" >&5
8062 cat conftest.$ac_ext >&5 8109 cat conftest.$ac_ext >&5
8063 eval "$as_ac_var=no" 8110 eval "$as_ac_var=no"
8064 fi 8111 fi
8065 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8112 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8066 fi 8113 fi
8067 echo "$as_me:8067: result: `eval echo '${'$as_ac_var'}'`" >&5 8114 echo "$as_me:8114: result: `eval echo '${'$as_ac_var'}'`" >&5
8068 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8115 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8069 if test `eval echo '${'$as_ac_var'}'` = yes; then 8116 if test `eval echo '${'$as_ac_var'}'` = yes; then
8070 8117
8071 cat >>confdefs.h <<EOF 8118 cat >>confdefs.h <<EOF
8072 #define CRAY_STACKSEG_END $ac_func 8119 #define CRAY_STACKSEG_END $ac_func
8076 fi 8123 fi
8077 8124
8078 done 8125 done
8079 fi 8126 fi
8080 8127
8081 echo "$as_me:8081: checking stack direction for C alloca" >&5 8128 echo "$as_me:8128: checking stack direction for C alloca" >&5
8082 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 8129 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
8083 if test "${ac_cv_c_stack_direction+set}" = set; then 8130 if test "${ac_cv_c_stack_direction+set}" = set; then
8084 echo $ECHO_N "(cached) $ECHO_C" >&6 8131 echo $ECHO_N "(cached) $ECHO_C" >&6
8085 else 8132 else
8086 if test "$cross_compiling" = yes; then 8133 if test "$cross_compiling" = yes; then
8087 ac_cv_c_stack_direction=0 8134 ac_cv_c_stack_direction=0
8088 else 8135 else
8089 cat >conftest.$ac_ext <<_ACEOF 8136 cat >conftest.$ac_ext <<_ACEOF
8090 #line 8090 "configure" 8137 #line 8137 "configure"
8091 #include "confdefs.h" 8138 #include "confdefs.h"
8092 int 8139 int
8093 find_stack_direction () 8140 find_stack_direction ()
8094 { 8141 {
8095 static char *addr = 0; 8142 static char *addr = 0;
8108 { 8155 {
8109 exit (find_stack_direction () < 0); 8156 exit (find_stack_direction () < 0);
8110 } 8157 }
8111 _ACEOF 8158 _ACEOF
8112 rm -f conftest$ac_exeext 8159 rm -f conftest$ac_exeext
8113 if { (eval echo "$as_me:8113: \"$ac_link\"") >&5 8160 if { (eval echo "$as_me:8160: \"$ac_link\"") >&5
8114 (eval $ac_link) 2>&5 8161 (eval $ac_link) 2>&5
8115 ac_status=$? 8162 ac_status=$?
8116 echo "$as_me:8116: \$? = $ac_status" >&5 8163 echo "$as_me:8163: \$? = $ac_status" >&5
8117 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 8164 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8118 { (eval echo "$as_me:8118: \"$ac_try\"") >&5 8165 { (eval echo "$as_me:8165: \"$ac_try\"") >&5
8119 (eval $ac_try) 2>&5 8166 (eval $ac_try) 2>&5
8120 ac_status=$? 8167 ac_status=$?
8121 echo "$as_me:8121: \$? = $ac_status" >&5 8168 echo "$as_me:8168: \$? = $ac_status" >&5
8122 (exit $ac_status); }; }; then 8169 (exit $ac_status); }; }; then
8123 ac_cv_c_stack_direction=1 8170 ac_cv_c_stack_direction=1
8124 else 8171 else
8125 echo "$as_me: program exited with status $ac_status" >&5 8172 echo "$as_me: program exited with status $ac_status" >&5
8126 echo "$as_me: failed program was:" >&5 8173 echo "$as_me: failed program was:" >&5
8128 ac_cv_c_stack_direction=-1 8175 ac_cv_c_stack_direction=-1
8129 fi 8176 fi
8130 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 8177 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8131 fi 8178 fi
8132 fi 8179 fi
8133 echo "$as_me:8133: result: $ac_cv_c_stack_direction" >&5 8180 echo "$as_me:8180: result: $ac_cv_c_stack_direction" >&5
8134 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 8181 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
8135 8182
8136 cat >>confdefs.h <<EOF 8183 cat >>confdefs.h <<EOF
8137 #define STACK_DIRECTION $ac_cv_c_stack_direction 8184 #define STACK_DIRECTION $ac_cv_c_stack_direction
8138 EOF 8185 EOF
8140 fi 8187 fi
8141 8188
8142 # fmod, logb, and frexp are found in -lm on most systems. 8189 # fmod, logb, and frexp are found in -lm on most systems.
8143 # On HPUX 9.01, -lm does not contain logb, so check for sqrt. 8190 # On HPUX 9.01, -lm does not contain logb, so check for sqrt.
8144 8191
8145 echo "$as_me:8145: checking for sqrt in -lm" >&5 8192 echo "$as_me:8192: checking for sqrt in -lm" >&5
8146 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6 8193 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
8147 if test "${ac_cv_lib_m_sqrt+set}" = set; then 8194 if test "${ac_cv_lib_m_sqrt+set}" = set; then
8148 echo $ECHO_N "(cached) $ECHO_C" >&6 8195 echo $ECHO_N "(cached) $ECHO_C" >&6
8149 else 8196 else
8150 ac_check_lib_save_LIBS=$LIBS 8197 ac_check_lib_save_LIBS=$LIBS
8151 LIBS="-lm $LIBS" 8198 LIBS="-lm $LIBS"
8152 cat >conftest.$ac_ext <<_ACEOF 8199 cat >conftest.$ac_ext <<_ACEOF
8153 #line 8153 "configure" 8200 #line 8200 "configure"
8154 #include "confdefs.h" 8201 #include "confdefs.h"
8155 8202
8156 /* Override any gcc2 internal prototype to avoid an error. */ 8203 /* Override any gcc2 internal prototype to avoid an error. */
8157 #ifdef __cplusplus 8204 #ifdef __cplusplus
8158 extern "C" 8205 extern "C"
8167 ; 8214 ;
8168 return 0; 8215 return 0;
8169 } 8216 }
8170 _ACEOF 8217 _ACEOF
8171 rm -f conftest.$ac_objext conftest$ac_exeext 8218 rm -f conftest.$ac_objext conftest$ac_exeext
8172 if { (eval echo "$as_me:8172: \"$ac_link\"") >&5 8219 if { (eval echo "$as_me:8219: \"$ac_link\"") >&5
8173 (eval $ac_link) 2>&5 8220 (eval $ac_link) 2>&5
8174 ac_status=$? 8221 ac_status=$?
8175 echo "$as_me:8175: \$? = $ac_status" >&5 8222 echo "$as_me:8222: \$? = $ac_status" >&5
8176 (exit $ac_status); } && 8223 (exit $ac_status); } &&
8177 { ac_try='test -s conftest$ac_exeext' 8224 { ac_try='test -s conftest$ac_exeext'
8178 { (eval echo "$as_me:8178: \"$ac_try\"") >&5 8225 { (eval echo "$as_me:8225: \"$ac_try\"") >&5
8179 (eval $ac_try) 2>&5 8226 (eval $ac_try) 2>&5
8180 ac_status=$? 8227 ac_status=$?
8181 echo "$as_me:8181: \$? = $ac_status" >&5 8228 echo "$as_me:8228: \$? = $ac_status" >&5
8182 (exit $ac_status); }; }; then 8229 (exit $ac_status); }; }; then
8183 ac_cv_lib_m_sqrt=yes 8230 ac_cv_lib_m_sqrt=yes
8184 else 8231 else
8185 echo "$as_me: failed program was:" >&5 8232 echo "$as_me: failed program was:" >&5
8186 cat conftest.$ac_ext >&5 8233 cat conftest.$ac_ext >&5
8187 ac_cv_lib_m_sqrt=no 8234 ac_cv_lib_m_sqrt=no
8188 fi 8235 fi
8189 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8236 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8190 LIBS=$ac_check_lib_save_LIBS 8237 LIBS=$ac_check_lib_save_LIBS
8191 fi 8238 fi
8192 echo "$as_me:8192: result: $ac_cv_lib_m_sqrt" >&5 8239 echo "$as_me:8239: result: $ac_cv_lib_m_sqrt" >&5
8193 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6 8240 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
8194 if test $ac_cv_lib_m_sqrt = yes; then 8241 if test $ac_cv_lib_m_sqrt = yes; then
8195 cat >>confdefs.h <<EOF 8242 cat >>confdefs.h <<EOF
8196 #define HAVE_LIBM 1 8243 #define HAVE_LIBM 1
8197 EOF 8244 EOF
8200 8247
8201 fi 8248 fi
8202 8249
8203 # Check for mail-locking functions in a "mail" library 8250 # Check for mail-locking functions in a "mail" library
8204 8251
8205 echo "$as_me:8205: checking for maillock in -lmail" >&5 8252 echo "$as_me:8252: checking for maillock in -lmail" >&5
8206 echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6 8253 echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6
8207 if test "${ac_cv_lib_mail_maillock+set}" = set; then 8254 if test "${ac_cv_lib_mail_maillock+set}" = set; then
8208 echo $ECHO_N "(cached) $ECHO_C" >&6 8255 echo $ECHO_N "(cached) $ECHO_C" >&6
8209 else 8256 else
8210 ac_check_lib_save_LIBS=$LIBS 8257 ac_check_lib_save_LIBS=$LIBS
8211 LIBS="-lmail $LIBS" 8258 LIBS="-lmail $LIBS"
8212 cat >conftest.$ac_ext <<_ACEOF 8259 cat >conftest.$ac_ext <<_ACEOF
8213 #line 8213 "configure" 8260 #line 8260 "configure"
8214 #include "confdefs.h" 8261 #include "confdefs.h"
8215 8262
8216 /* Override any gcc2 internal prototype to avoid an error. */ 8263 /* Override any gcc2 internal prototype to avoid an error. */
8217 #ifdef __cplusplus 8264 #ifdef __cplusplus
8218 extern "C" 8265 extern "C"
8227 ; 8274 ;
8228 return 0; 8275 return 0;
8229 } 8276 }
8230 _ACEOF 8277 _ACEOF
8231 rm -f conftest.$ac_objext conftest$ac_exeext 8278 rm -f conftest.$ac_objext conftest$ac_exeext
8232 if { (eval echo "$as_me:8232: \"$ac_link\"") >&5 8279 if { (eval echo "$as_me:8279: \"$ac_link\"") >&5
8233 (eval $ac_link) 2>&5 8280 (eval $ac_link) 2>&5
8234 ac_status=$? 8281 ac_status=$?
8235 echo "$as_me:8235: \$? = $ac_status" >&5 8282 echo "$as_me:8282: \$? = $ac_status" >&5
8236 (exit $ac_status); } && 8283 (exit $ac_status); } &&
8237 { ac_try='test -s conftest$ac_exeext' 8284 { ac_try='test -s conftest$ac_exeext'
8238 { (eval echo "$as_me:8238: \"$ac_try\"") >&5 8285 { (eval echo "$as_me:8285: \"$ac_try\"") >&5
8239 (eval $ac_try) 2>&5 8286 (eval $ac_try) 2>&5
8240 ac_status=$? 8287 ac_status=$?
8241 echo "$as_me:8241: \$? = $ac_status" >&5 8288 echo "$as_me:8288: \$? = $ac_status" >&5
8242 (exit $ac_status); }; }; then 8289 (exit $ac_status); }; }; then
8243 ac_cv_lib_mail_maillock=yes 8290 ac_cv_lib_mail_maillock=yes
8244 else 8291 else
8245 echo "$as_me: failed program was:" >&5 8292 echo "$as_me: failed program was:" >&5
8246 cat conftest.$ac_ext >&5 8293 cat conftest.$ac_ext >&5
8247 ac_cv_lib_mail_maillock=no 8294 ac_cv_lib_mail_maillock=no
8248 fi 8295 fi
8249 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8296 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8250 LIBS=$ac_check_lib_save_LIBS 8297 LIBS=$ac_check_lib_save_LIBS
8251 fi 8298 fi
8252 echo "$as_me:8252: result: $ac_cv_lib_mail_maillock" >&5 8299 echo "$as_me:8299: result: $ac_cv_lib_mail_maillock" >&5
8253 echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6 8300 echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6
8254 if test $ac_cv_lib_mail_maillock = yes; then 8301 if test $ac_cv_lib_mail_maillock = yes; then
8255 cat >>confdefs.h <<EOF 8302 cat >>confdefs.h <<EOF
8256 #define HAVE_LIBMAIL 1 8303 #define HAVE_LIBMAIL 1
8257 EOF 8304 EOF
8258 8305
8259 LIBS="-lmail $LIBS" 8306 LIBS="-lmail $LIBS"
8260 8307
8261 fi 8308 fi
8262 8309
8263 echo "$as_me:8263: checking for maillock in -llockfile" >&5 8310 echo "$as_me:8310: checking for maillock in -llockfile" >&5
8264 echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6 8311 echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6
8265 if test "${ac_cv_lib_lockfile_maillock+set}" = set; then 8312 if test "${ac_cv_lib_lockfile_maillock+set}" = set; then
8266 echo $ECHO_N "(cached) $ECHO_C" >&6 8313 echo $ECHO_N "(cached) $ECHO_C" >&6
8267 else 8314 else
8268 ac_check_lib_save_LIBS=$LIBS 8315 ac_check_lib_save_LIBS=$LIBS
8269 LIBS="-llockfile $LIBS" 8316 LIBS="-llockfile $LIBS"
8270 cat >conftest.$ac_ext <<_ACEOF 8317 cat >conftest.$ac_ext <<_ACEOF
8271 #line 8271 "configure" 8318 #line 8318 "configure"
8272 #include "confdefs.h" 8319 #include "confdefs.h"
8273 8320
8274 /* Override any gcc2 internal prototype to avoid an error. */ 8321 /* Override any gcc2 internal prototype to avoid an error. */
8275 #ifdef __cplusplus 8322 #ifdef __cplusplus
8276 extern "C" 8323 extern "C"
8285 ; 8332 ;
8286 return 0; 8333 return 0;
8287 } 8334 }
8288 _ACEOF 8335 _ACEOF
8289 rm -f conftest.$ac_objext conftest$ac_exeext 8336 rm -f conftest.$ac_objext conftest$ac_exeext
8290 if { (eval echo "$as_me:8290: \"$ac_link\"") >&5 8337 if { (eval echo "$as_me:8337: \"$ac_link\"") >&5
8291 (eval $ac_link) 2>&5 8338 (eval $ac_link) 2>&5
8292 ac_status=$? 8339 ac_status=$?
8293 echo "$as_me:8293: \$? = $ac_status" >&5 8340 echo "$as_me:8340: \$? = $ac_status" >&5
8294 (exit $ac_status); } && 8341 (exit $ac_status); } &&
8295 { ac_try='test -s conftest$ac_exeext' 8342 { ac_try='test -s conftest$ac_exeext'
8296 { (eval echo "$as_me:8296: \"$ac_try\"") >&5 8343 { (eval echo "$as_me:8343: \"$ac_try\"") >&5
8297 (eval $ac_try) 2>&5 8344 (eval $ac_try) 2>&5
8298 ac_status=$? 8345 ac_status=$?
8299 echo "$as_me:8299: \$? = $ac_status" >&5 8346 echo "$as_me:8346: \$? = $ac_status" >&5
8300 (exit $ac_status); }; }; then 8347 (exit $ac_status); }; }; then
8301 ac_cv_lib_lockfile_maillock=yes 8348 ac_cv_lib_lockfile_maillock=yes
8302 else 8349 else
8303 echo "$as_me: failed program was:" >&5 8350 echo "$as_me: failed program was:" >&5
8304 cat conftest.$ac_ext >&5 8351 cat conftest.$ac_ext >&5
8305 ac_cv_lib_lockfile_maillock=no 8352 ac_cv_lib_lockfile_maillock=no
8306 fi 8353 fi
8307 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8354 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8308 LIBS=$ac_check_lib_save_LIBS 8355 LIBS=$ac_check_lib_save_LIBS
8309 fi 8356 fi
8310 echo "$as_me:8310: result: $ac_cv_lib_lockfile_maillock" >&5 8357 echo "$as_me:8357: result: $ac_cv_lib_lockfile_maillock" >&5
8311 echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6 8358 echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6
8312 if test $ac_cv_lib_lockfile_maillock = yes; then 8359 if test $ac_cv_lib_lockfile_maillock = yes; then
8313 cat >>confdefs.h <<EOF 8360 cat >>confdefs.h <<EOF
8314 #define HAVE_LIBLOCKFILE 1 8361 #define HAVE_LIBLOCKFILE 1
8315 EOF 8362 EOF
8322 # locking (e.g. Debian). If we couldn't link against liblockfile 8369 # locking (e.g. Debian). If we couldn't link against liblockfile
8323 # (no liblockfile.a installed), ensure that we don't need to. 8370 # (no liblockfile.a installed), ensure that we don't need to.
8324 if test "$ac_cv_lib_lockfile_maillock" = no; then 8371 if test "$ac_cv_lib_lockfile_maillock" = no; then
8325 # Extract the first word of "liblockfile.so", so it can be a program name with args. 8372 # Extract the first word of "liblockfile.so", so it can be a program name with args.
8326 set dummy liblockfile.so; ac_word=$2 8373 set dummy liblockfile.so; ac_word=$2
8327 echo "$as_me:8327: checking for $ac_word" >&5 8374 echo "$as_me:8374: checking for $ac_word" >&5
8328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 8375 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8329 if test "${ac_cv_prog_liblockfile+set}" = set; then 8376 if test "${ac_cv_prog_liblockfile+set}" = set; then
8330 echo $ECHO_N "(cached) $ECHO_C" >&6 8377 echo $ECHO_N "(cached) $ECHO_C" >&6
8331 else 8378 else
8332 if test -n "$liblockfile"; then 8379 if test -n "$liblockfile"; then
8337 for ac_dir in $ac_dummy; do 8384 for ac_dir in $ac_dummy; do
8338 IFS=$ac_save_IFS 8385 IFS=$ac_save_IFS
8339 test -z "$ac_dir" && ac_dir=. 8386 test -z "$ac_dir" && ac_dir=.
8340 $as_executable_p "$ac_dir/$ac_word" || continue 8387 $as_executable_p "$ac_dir/$ac_word" || continue
8341 ac_cv_prog_liblockfile="yes" 8388 ac_cv_prog_liblockfile="yes"
8342 echo "$as_me:8342: found $ac_dir/$ac_word" >&5 8389 echo "$as_me:8389: found $ac_dir/$ac_word" >&5
8343 break 8390 break
8344 done 8391 done
8345 8392
8346 test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no" 8393 test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no"
8347 fi 8394 fi
8348 fi 8395 fi
8349 liblockfile=$ac_cv_prog_liblockfile 8396 liblockfile=$ac_cv_prog_liblockfile
8350 if test -n "$liblockfile"; then 8397 if test -n "$liblockfile"; then
8351 echo "$as_me:8351: result: $liblockfile" >&5 8398 echo "$as_me:8398: result: $liblockfile" >&5
8352 echo "${ECHO_T}$liblockfile" >&6 8399 echo "${ECHO_T}$liblockfile" >&6
8353 else 8400 else
8354 echo "$as_me:8354: result: no" >&5 8401 echo "$as_me:8401: result: no" >&5
8355 echo "${ECHO_T}no" >&6 8402 echo "${ECHO_T}no" >&6
8356 fi 8403 fi
8357 8404
8358 if test $ac_cv_prog_liblockfile = yes; then 8405 if test $ac_cv_prog_liblockfile = yes; then
8359 { { echo "$as_me:8359: error: Shared liblockfile found but can't link against it. 8406 { { echo "$as_me:8406: error: Shared liblockfile found but can't link against it.
8360 This probably means that movemail could lose mail. 8407 This probably means that movemail could lose mail.
8361 There may be a \`development' package to install containing liblockfile." >&5 8408 There may be a \`development' package to install containing liblockfile." >&5
8362 echo "$as_me: error: Shared liblockfile found but can't link against it. 8409 echo "$as_me: error: Shared liblockfile found but can't link against it.
8363 This probably means that movemail could lose mail. 8410 This probably means that movemail could lose mail.
8364 There may be a \`development' package to install containing liblockfile." >&2;} 8411 There may be a \`development' package to install containing liblockfile." >&2;}
8373 fi 8420 fi
8374 8421
8375 for ac_func in touchlock 8422 for ac_func in touchlock
8376 do 8423 do
8377 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 8424 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8378 echo "$as_me:8378: checking for $ac_func" >&5 8425 echo "$as_me:8425: checking for $ac_func" >&5
8379 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8426 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8380 if eval "test \"\${$as_ac_var+set}\" = set"; then 8427 if eval "test \"\${$as_ac_var+set}\" = set"; then
8381 echo $ECHO_N "(cached) $ECHO_C" >&6 8428 echo $ECHO_N "(cached) $ECHO_C" >&6
8382 else 8429 else
8383 cat >conftest.$ac_ext <<_ACEOF 8430 cat >conftest.$ac_ext <<_ACEOF
8384 #line 8384 "configure" 8431 #line 8431 "configure"
8385 #include "confdefs.h" 8432 #include "confdefs.h"
8386 /* System header to define __stub macros and hopefully few prototypes, 8433 /* System header to define __stub macros and hopefully few prototypes,
8387 which can conflict with char $ac_func (); below. */ 8434 which can conflict with char $ac_func (); below. */
8388 #include <assert.h> 8435 #include <assert.h>
8389 /* Override any gcc2 internal prototype to avoid an error. */ 8436 /* Override any gcc2 internal prototype to avoid an error. */
8410 ; 8457 ;
8411 return 0; 8458 return 0;
8412 } 8459 }
8413 _ACEOF 8460 _ACEOF
8414 rm -f conftest.$ac_objext conftest$ac_exeext 8461 rm -f conftest.$ac_objext conftest$ac_exeext
8415 if { (eval echo "$as_me:8415: \"$ac_link\"") >&5 8462 if { (eval echo "$as_me:8462: \"$ac_link\"") >&5
8416 (eval $ac_link) 2>&5 8463 (eval $ac_link) 2>&5
8417 ac_status=$? 8464 ac_status=$?
8418 echo "$as_me:8418: \$? = $ac_status" >&5 8465 echo "$as_me:8465: \$? = $ac_status" >&5
8419 (exit $ac_status); } && 8466 (exit $ac_status); } &&
8420 { ac_try='test -s conftest$ac_exeext' 8467 { ac_try='test -s conftest$ac_exeext'
8421 { (eval echo "$as_me:8421: \"$ac_try\"") >&5 8468 { (eval echo "$as_me:8468: \"$ac_try\"") >&5
8422 (eval $ac_try) 2>&5 8469 (eval $ac_try) 2>&5
8423 ac_status=$? 8470 ac_status=$?
8424 echo "$as_me:8424: \$? = $ac_status" >&5 8471 echo "$as_me:8471: \$? = $ac_status" >&5
8425 (exit $ac_status); }; }; then 8472 (exit $ac_status); }; }; then
8426 eval "$as_ac_var=yes" 8473 eval "$as_ac_var=yes"
8427 else 8474 else
8428 echo "$as_me: failed program was:" >&5 8475 echo "$as_me: failed program was:" >&5
8429 cat conftest.$ac_ext >&5 8476 cat conftest.$ac_ext >&5
8430 eval "$as_ac_var=no" 8477 eval "$as_ac_var=no"
8431 fi 8478 fi
8432 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8479 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8433 fi 8480 fi
8434 echo "$as_me:8434: result: `eval echo '${'$as_ac_var'}'`" >&5 8481 echo "$as_me:8481: result: `eval echo '${'$as_ac_var'}'`" >&5
8435 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8482 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8436 if test `eval echo '${'$as_ac_var'}'` = yes; then 8483 if test `eval echo '${'$as_ac_var'}'` = yes; then
8437 cat >>confdefs.h <<EOF 8484 cat >>confdefs.h <<EOF
8438 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 8485 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8439 EOF 8486 EOF
8442 done 8489 done
8443 8490
8444 for ac_header in maillock.h 8491 for ac_header in maillock.h
8445 do 8492 do
8446 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8493 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8447 echo "$as_me:8447: checking for $ac_header" >&5 8494 echo "$as_me:8494: checking for $ac_header" >&5
8448 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 8495 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8449 if eval "test \"\${$as_ac_Header+set}\" = set"; then 8496 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8450 echo $ECHO_N "(cached) $ECHO_C" >&6 8497 echo $ECHO_N "(cached) $ECHO_C" >&6
8451 else 8498 else
8452 cat >conftest.$ac_ext <<_ACEOF 8499 cat >conftest.$ac_ext <<_ACEOF
8453 #line 8453 "configure" 8500 #line 8500 "configure"
8454 #include "confdefs.h" 8501 #include "confdefs.h"
8455 #include <$ac_header> 8502 #include <$ac_header>
8456 _ACEOF 8503 _ACEOF
8457 if { (eval echo "$as_me:8457: \"$ac_cpp conftest.$ac_ext\"") >&5 8504 if { (eval echo "$as_me:8504: \"$ac_cpp conftest.$ac_ext\"") >&5
8458 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 8505 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8459 ac_status=$? 8506 ac_status=$?
8460 egrep -v '^ *\+' conftest.er1 >conftest.err 8507 egrep -v '^ *\+' conftest.er1 >conftest.err
8461 rm -f conftest.er1 8508 rm -f conftest.er1
8462 cat conftest.err >&5 8509 cat conftest.err >&5
8463 echo "$as_me:8463: \$? = $ac_status" >&5 8510 echo "$as_me:8510: \$? = $ac_status" >&5
8464 (exit $ac_status); } >/dev/null; then 8511 (exit $ac_status); } >/dev/null; then
8465 if test -s conftest.err; then 8512 if test -s conftest.err; then
8466 ac_cpp_err=$ac_c_preproc_warn_flag 8513 ac_cpp_err=$ac_c_preproc_warn_flag
8467 else 8514 else
8468 ac_cpp_err= 8515 ac_cpp_err=
8477 cat conftest.$ac_ext >&5 8524 cat conftest.$ac_ext >&5
8478 eval "$as_ac_Header=no" 8525 eval "$as_ac_Header=no"
8479 fi 8526 fi
8480 rm -f conftest.err conftest.$ac_ext 8527 rm -f conftest.err conftest.$ac_ext
8481 fi 8528 fi
8482 echo "$as_me:8482: result: `eval echo '${'$as_ac_Header'}'`" >&5 8529 echo "$as_me:8529: result: `eval echo '${'$as_ac_Header'}'`" >&5
8483 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 8530 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8484 if test `eval echo '${'$as_ac_Header'}'` = yes; then 8531 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8485 cat >>confdefs.h <<EOF 8532 cat >>confdefs.h <<EOF
8486 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8533 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8487 EOF 8534 EOF
8497 __fpending mblen mbrlen mbsinit strsignal setitimer ualarm index rindex \ 8544 __fpending mblen mbrlen mbsinit strsignal setitimer ualarm index rindex \
8498 sendto recvfrom getsockopt setsockopt getsockname getpeername \ 8545 sendto recvfrom getsockopt setsockopt getsockname getpeername \
8499 gai_strerror mkstemp getline getdelim 8546 gai_strerror mkstemp getline getdelim
8500 do 8547 do
8501 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 8548 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8502 echo "$as_me:8502: checking for $ac_func" >&5 8549 echo "$as_me:8549: checking for $ac_func" >&5
8503 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8550 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8504 if eval "test \"\${$as_ac_var+set}\" = set"; then 8551 if eval "test \"\${$as_ac_var+set}\" = set"; then
8505 echo $ECHO_N "(cached) $ECHO_C" >&6 8552 echo $ECHO_N "(cached) $ECHO_C" >&6
8506 else 8553 else
8507 cat >conftest.$ac_ext <<_ACEOF 8554 cat >conftest.$ac_ext <<_ACEOF
8508 #line 8508 "configure" 8555 #line 8555 "configure"
8509 #include "confdefs.h" 8556 #include "confdefs.h"
8510 /* System header to define __stub macros and hopefully few prototypes, 8557 /* System header to define __stub macros and hopefully few prototypes,
8511 which can conflict with char $ac_func (); below. */ 8558 which can conflict with char $ac_func (); below. */
8512 #include <assert.h> 8559 #include <assert.h>
8513 /* Override any gcc2 internal prototype to avoid an error. */ 8560 /* Override any gcc2 internal prototype to avoid an error. */
8534 ; 8581 ;
8535 return 0; 8582 return 0;
8536 } 8583 }
8537 _ACEOF 8584 _ACEOF
8538 rm -f conftest.$ac_objext conftest$ac_exeext 8585 rm -f conftest.$ac_objext conftest$ac_exeext
8539 if { (eval echo "$as_me:8539: \"$ac_link\"") >&5 8586 if { (eval echo "$as_me:8586: \"$ac_link\"") >&5
8540 (eval $ac_link) 2>&5 8587 (eval $ac_link) 2>&5
8541 ac_status=$? 8588 ac_status=$?
8542 echo "$as_me:8542: \$? = $ac_status" >&5 8589 echo "$as_me:8589: \$? = $ac_status" >&5
8543 (exit $ac_status); } && 8590 (exit $ac_status); } &&
8544 { ac_try='test -s conftest$ac_exeext' 8591 { ac_try='test -s conftest$ac_exeext'
8545 { (eval echo "$as_me:8545: \"$ac_try\"") >&5 8592 { (eval echo "$as_me:8592: \"$ac_try\"") >&5
8546 (eval $ac_try) 2>&5 8593 (eval $ac_try) 2>&5
8547 ac_status=$? 8594 ac_status=$?
8548 echo "$as_me:8548: \$? = $ac_status" >&5 8595 echo "$as_me:8595: \$? = $ac_status" >&5
8549 (exit $ac_status); }; }; then 8596 (exit $ac_status); }; }; then
8550 eval "$as_ac_var=yes" 8597 eval "$as_ac_var=yes"
8551 else 8598 else
8552 echo "$as_me: failed program was:" >&5 8599 echo "$as_me: failed program was:" >&5
8553 cat conftest.$ac_ext >&5 8600 cat conftest.$ac_ext >&5
8554 eval "$as_ac_var=no" 8601 eval "$as_ac_var=no"
8555 fi 8602 fi
8556 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8603 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8557 fi 8604 fi
8558 echo "$as_me:8558: result: `eval echo '${'$as_ac_var'}'`" >&5 8605 echo "$as_me:8605: result: `eval echo '${'$as_ac_var'}'`" >&5
8559 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8606 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8560 if test `eval echo '${'$as_ac_var'}'` = yes; then 8607 if test `eval echo '${'$as_ac_var'}'` = yes; then
8561 cat >>confdefs.h <<EOF 8608 cat >>confdefs.h <<EOF
8562 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 8609 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8563 EOF 8610 EOF
8566 done 8613 done
8567 8614
8568 for ac_header in sys/un.h 8615 for ac_header in sys/un.h
8569 do 8616 do
8570 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8617 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8571 echo "$as_me:8571: checking for $ac_header" >&5 8618 echo "$as_me:8618: checking for $ac_header" >&5
8572 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 8619 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8573 if eval "test \"\${$as_ac_Header+set}\" = set"; then 8620 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8574 echo $ECHO_N "(cached) $ECHO_C" >&6 8621 echo $ECHO_N "(cached) $ECHO_C" >&6
8575 else 8622 else
8576 cat >conftest.$ac_ext <<_ACEOF 8623 cat >conftest.$ac_ext <<_ACEOF
8577 #line 8577 "configure" 8624 #line 8624 "configure"
8578 #include "confdefs.h" 8625 #include "confdefs.h"
8579 #include <$ac_header> 8626 #include <$ac_header>
8580 _ACEOF 8627 _ACEOF
8581 if { (eval echo "$as_me:8581: \"$ac_cpp conftest.$ac_ext\"") >&5 8628 if { (eval echo "$as_me:8628: \"$ac_cpp conftest.$ac_ext\"") >&5
8582 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 8629 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8583 ac_status=$? 8630 ac_status=$?
8584 egrep -v '^ *\+' conftest.er1 >conftest.err 8631 egrep -v '^ *\+' conftest.er1 >conftest.err
8585 rm -f conftest.er1 8632 rm -f conftest.er1
8586 cat conftest.err >&5 8633 cat conftest.err >&5
8587 echo "$as_me:8587: \$? = $ac_status" >&5 8634 echo "$as_me:8634: \$? = $ac_status" >&5
8588 (exit $ac_status); } >/dev/null; then 8635 (exit $ac_status); } >/dev/null; then
8589 if test -s conftest.err; then 8636 if test -s conftest.err; then
8590 ac_cpp_err=$ac_c_preproc_warn_flag 8637 ac_cpp_err=$ac_c_preproc_warn_flag
8591 else 8638 else
8592 ac_cpp_err= 8639 ac_cpp_err=
8601 cat conftest.$ac_ext >&5 8648 cat conftest.$ac_ext >&5
8602 eval "$as_ac_Header=no" 8649 eval "$as_ac_Header=no"
8603 fi 8650 fi
8604 rm -f conftest.err conftest.$ac_ext 8651 rm -f conftest.err conftest.$ac_ext
8605 fi 8652 fi
8606 echo "$as_me:8606: result: `eval echo '${'$as_ac_Header'}'`" >&5 8653 echo "$as_me:8653: result: `eval echo '${'$as_ac_Header'}'`" >&5
8607 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 8654 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8608 if test `eval echo '${'$as_ac_Header'}'` = yes; then 8655 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8609 cat >>confdefs.h <<EOF 8656 cat >>confdefs.h <<EOF
8610 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8657 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8611 EOF 8658 EOF
8614 done 8661 done
8615 8662
8616 for ac_header in sys/time.h unistd.h 8663 for ac_header in sys/time.h unistd.h
8617 do 8664 do
8618 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8665 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8619 echo "$as_me:8619: checking for $ac_header" >&5 8666 echo "$as_me:8666: checking for $ac_header" >&5
8620 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 8667 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8621 if eval "test \"\${$as_ac_Header+set}\" = set"; then 8668 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8622 echo $ECHO_N "(cached) $ECHO_C" >&6 8669 echo $ECHO_N "(cached) $ECHO_C" >&6
8623 else 8670 else
8624 cat >conftest.$ac_ext <<_ACEOF 8671 cat >conftest.$ac_ext <<_ACEOF
8625 #line 8625 "configure" 8672 #line 8672 "configure"
8626 #include "confdefs.h" 8673 #include "confdefs.h"
8627 #include <$ac_header> 8674 #include <$ac_header>
8628 _ACEOF 8675 _ACEOF
8629 if { (eval echo "$as_me:8629: \"$ac_cpp conftest.$ac_ext\"") >&5 8676 if { (eval echo "$as_me:8676: \"$ac_cpp conftest.$ac_ext\"") >&5
8630 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 8677 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8631 ac_status=$? 8678 ac_status=$?
8632 egrep -v '^ *\+' conftest.er1 >conftest.err 8679 egrep -v '^ *\+' conftest.er1 >conftest.err
8633 rm -f conftest.er1 8680 rm -f conftest.er1
8634 cat conftest.err >&5 8681 cat conftest.err >&5
8635 echo "$as_me:8635: \$? = $ac_status" >&5 8682 echo "$as_me:8682: \$? = $ac_status" >&5
8636 (exit $ac_status); } >/dev/null; then 8683 (exit $ac_status); } >/dev/null; then
8637 if test -s conftest.err; then 8684 if test -s conftest.err; then
8638 ac_cpp_err=$ac_c_preproc_warn_flag 8685 ac_cpp_err=$ac_c_preproc_warn_flag
8639 else 8686 else
8640 ac_cpp_err= 8687 ac_cpp_err=
8649 cat conftest.$ac_ext >&5 8696 cat conftest.$ac_ext >&5
8650 eval "$as_ac_Header=no" 8697 eval "$as_ac_Header=no"
8651 fi 8698 fi
8652 rm -f conftest.err conftest.$ac_ext 8699 rm -f conftest.err conftest.$ac_ext
8653 fi 8700 fi
8654 echo "$as_me:8654: result: `eval echo '${'$as_ac_Header'}'`" >&5 8701 echo "$as_me:8701: result: `eval echo '${'$as_ac_Header'}'`" >&5
8655 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 8702 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8656 if test `eval echo '${'$as_ac_Header'}'` = yes; then 8703 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8657 cat >>confdefs.h <<EOF 8704 cat >>confdefs.h <<EOF
8658 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8705 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8659 EOF 8706 EOF
8662 done 8709 done
8663 8710
8664 for ac_func in alarm 8711 for ac_func in alarm
8665 do 8712 do
8666 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 8713 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8667 echo "$as_me:8667: checking for $ac_func" >&5 8714 echo "$as_me:8714: checking for $ac_func" >&5
8668 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8715 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8669 if eval "test \"\${$as_ac_var+set}\" = set"; then 8716 if eval "test \"\${$as_ac_var+set}\" = set"; then
8670 echo $ECHO_N "(cached) $ECHO_C" >&6 8717 echo $ECHO_N "(cached) $ECHO_C" >&6
8671 else 8718 else
8672 cat >conftest.$ac_ext <<_ACEOF 8719 cat >conftest.$ac_ext <<_ACEOF
8673 #line 8673 "configure" 8720 #line 8720 "configure"
8674 #include "confdefs.h" 8721 #include "confdefs.h"
8675 /* System header to define __stub macros and hopefully few prototypes, 8722 /* System header to define __stub macros and hopefully few prototypes,
8676 which can conflict with char $ac_func (); below. */ 8723 which can conflict with char $ac_func (); below. */
8677 #include <assert.h> 8724 #include <assert.h>
8678 /* Override any gcc2 internal prototype to avoid an error. */ 8725 /* Override any gcc2 internal prototype to avoid an error. */
8699 ; 8746 ;
8700 return 0; 8747 return 0;
8701 } 8748 }
8702 _ACEOF 8749 _ACEOF
8703 rm -f conftest.$ac_objext conftest$ac_exeext 8750 rm -f conftest.$ac_objext conftest$ac_exeext
8704 if { (eval echo "$as_me:8704: \"$ac_link\"") >&5 8751 if { (eval echo "$as_me:8751: \"$ac_link\"") >&5
8705 (eval $ac_link) 2>&5 8752 (eval $ac_link) 2>&5
8706 ac_status=$? 8753 ac_status=$?
8707 echo "$as_me:8707: \$? = $ac_status" >&5 8754 echo "$as_me:8754: \$? = $ac_status" >&5
8708 (exit $ac_status); } && 8755 (exit $ac_status); } &&
8709 { ac_try='test -s conftest$ac_exeext' 8756 { ac_try='test -s conftest$ac_exeext'
8710 { (eval echo "$as_me:8710: \"$ac_try\"") >&5 8757 { (eval echo "$as_me:8757: \"$ac_try\"") >&5
8711 (eval $ac_try) 2>&5 8758 (eval $ac_try) 2>&5
8712 ac_status=$? 8759 ac_status=$?
8713 echo "$as_me:8713: \$? = $ac_status" >&5 8760 echo "$as_me:8760: \$? = $ac_status" >&5
8714 (exit $ac_status); }; }; then 8761 (exit $ac_status); }; }; then
8715 eval "$as_ac_var=yes" 8762 eval "$as_ac_var=yes"
8716 else 8763 else
8717 echo "$as_me: failed program was:" >&5 8764 echo "$as_me: failed program was:" >&5
8718 cat conftest.$ac_ext >&5 8765 cat conftest.$ac_ext >&5
8719 eval "$as_ac_var=no" 8766 eval "$as_ac_var=no"
8720 fi 8767 fi
8721 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8768 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8722 fi 8769 fi
8723 echo "$as_me:8723: result: `eval echo '${'$as_ac_var'}'`" >&5 8770 echo "$as_me:8770: result: `eval echo '${'$as_ac_var'}'`" >&5
8724 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8771 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8725 if test `eval echo '${'$as_ac_var'}'` = yes; then 8772 if test `eval echo '${'$as_ac_var'}'` = yes; then
8726 cat >>confdefs.h <<EOF 8773 cat >>confdefs.h <<EOF
8727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 8774 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8728 EOF 8775 EOF
8729 8776
8730 fi 8777 fi
8731 done 8778 done
8732 8779
8733 echo "$as_me:8733: checking for working mktime" >&5 8780 echo "$as_me:8780: checking for working mktime" >&5
8734 echo $ECHO_N "checking for working mktime... $ECHO_C" >&6 8781 echo $ECHO_N "checking for working mktime... $ECHO_C" >&6
8735 if test "${ac_cv_func_working_mktime+set}" = set; then 8782 if test "${ac_cv_func_working_mktime+set}" = set; then
8736 echo $ECHO_N "(cached) $ECHO_C" >&6 8783 echo $ECHO_N "(cached) $ECHO_C" >&6
8737 else 8784 else
8738 if test "$cross_compiling" = yes; then 8785 if test "$cross_compiling" = yes; then
8739 ac_cv_func_working_mktime=no 8786 ac_cv_func_working_mktime=no
8740 else 8787 else
8741 cat >conftest.$ac_ext <<_ACEOF 8788 cat >conftest.$ac_ext <<_ACEOF
8742 #line 8742 "configure" 8789 #line 8789 "configure"
8743 #include "confdefs.h" 8790 #include "confdefs.h"
8744 /* Test program from Paul Eggert and Tony Leneis. */ 8791 /* Test program from Paul Eggert and Tony Leneis. */
8745 #if TIME_WITH_SYS_TIME 8792 #if TIME_WITH_SYS_TIME
8746 # include <sys/time.h> 8793 # include <sys/time.h>
8747 # include <time.h> 8794 # include <time.h>
8886 spring_forward_gap (); 8933 spring_forward_gap ();
8887 exit (0); 8934 exit (0);
8888 } 8935 }
8889 _ACEOF 8936 _ACEOF
8890 rm -f conftest$ac_exeext 8937 rm -f conftest$ac_exeext
8891 if { (eval echo "$as_me:8891: \"$ac_link\"") >&5 8938 if { (eval echo "$as_me:8938: \"$ac_link\"") >&5
8892 (eval $ac_link) 2>&5 8939 (eval $ac_link) 2>&5
8893 ac_status=$? 8940 ac_status=$?
8894 echo "$as_me:8894: \$? = $ac_status" >&5 8941 echo "$as_me:8941: \$? = $ac_status" >&5
8895 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 8942 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8896 { (eval echo "$as_me:8896: \"$ac_try\"") >&5 8943 { (eval echo "$as_me:8943: \"$ac_try\"") >&5
8897 (eval $ac_try) 2>&5 8944 (eval $ac_try) 2>&5
8898 ac_status=$? 8945 ac_status=$?
8899 echo "$as_me:8899: \$? = $ac_status" >&5 8946 echo "$as_me:8946: \$? = $ac_status" >&5
8900 (exit $ac_status); }; }; then 8947 (exit $ac_status); }; }; then
8901 ac_cv_func_working_mktime=yes 8948 ac_cv_func_working_mktime=yes
8902 else 8949 else
8903 echo "$as_me: program exited with status $ac_status" >&5 8950 echo "$as_me: program exited with status $ac_status" >&5
8904 echo "$as_me: failed program was:" >&5 8951 echo "$as_me: failed program was:" >&5
8906 ac_cv_func_working_mktime=no 8953 ac_cv_func_working_mktime=no
8907 fi 8954 fi
8908 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 8955 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8909 fi 8956 fi
8910 fi 8957 fi
8911 echo "$as_me:8911: result: $ac_cv_func_working_mktime" >&5 8958 echo "$as_me:8958: result: $ac_cv_func_working_mktime" >&5
8912 echo "${ECHO_T}$ac_cv_func_working_mktime" >&6 8959 echo "${ECHO_T}$ac_cv_func_working_mktime" >&6
8913 if test $ac_cv_func_working_mktime = no; then 8960 if test $ac_cv_func_working_mktime = no; then
8914 LIBOBJS="$LIBOBJS mktime.$ac_objext" 8961 LIBOBJS="$LIBOBJS mktime.$ac_objext"
8915 fi 8962 fi
8916 8963
8925 ac_have_func=no # yes means we've found a way to get the load average. 8972 ac_have_func=no # yes means we've found a way to get the load average.
8926 8973
8927 ac_save_LIBS=$LIBS 8974 ac_save_LIBS=$LIBS
8928 8975
8929 # Check for getloadavg, but be sure not to touch the cache variable. 8976 # Check for getloadavg, but be sure not to touch the cache variable.
8930 (echo "$as_me:8930: checking for getloadavg" >&5 8977 (echo "$as_me:8977: checking for getloadavg" >&5
8931 echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6 8978 echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6
8932 if test "${ac_cv_func_getloadavg+set}" = set; then 8979 if test "${ac_cv_func_getloadavg+set}" = set; then
8933 echo $ECHO_N "(cached) $ECHO_C" >&6 8980 echo $ECHO_N "(cached) $ECHO_C" >&6
8934 else 8981 else
8935 cat >conftest.$ac_ext <<_ACEOF 8982 cat >conftest.$ac_ext <<_ACEOF
8936 #line 8936 "configure" 8983 #line 8983 "configure"
8937 #include "confdefs.h" 8984 #include "confdefs.h"
8938 /* System header to define __stub macros and hopefully few prototypes, 8985 /* System header to define __stub macros and hopefully few prototypes,
8939 which can conflict with char getloadavg (); below. */ 8986 which can conflict with char getloadavg (); below. */
8940 #include <assert.h> 8987 #include <assert.h>
8941 /* Override any gcc2 internal prototype to avoid an error. */ 8988 /* Override any gcc2 internal prototype to avoid an error. */
8962 ; 9009 ;
8963 return 0; 9010 return 0;
8964 } 9011 }
8965 _ACEOF 9012 _ACEOF
8966 rm -f conftest.$ac_objext conftest$ac_exeext 9013 rm -f conftest.$ac_objext conftest$ac_exeext
8967 if { (eval echo "$as_me:8967: \"$ac_link\"") >&5 9014 if { (eval echo "$as_me:9014: \"$ac_link\"") >&5
8968 (eval $ac_link) 2>&5 9015 (eval $ac_link) 2>&5
8969 ac_status=$? 9016 ac_status=$?
8970 echo "$as_me:8970: \$? = $ac_status" >&5 9017 echo "$as_me:9017: \$? = $ac_status" >&5
8971 (exit $ac_status); } && 9018 (exit $ac_status); } &&
8972 { ac_try='test -s conftest$ac_exeext' 9019 { ac_try='test -s conftest$ac_exeext'
8973 { (eval echo "$as_me:8973: \"$ac_try\"") >&5 9020 { (eval echo "$as_me:9020: \"$ac_try\"") >&5
8974 (eval $ac_try) 2>&5 9021 (eval $ac_try) 2>&5
8975 ac_status=$? 9022 ac_status=$?
8976 echo "$as_me:8976: \$? = $ac_status" >&5 9023 echo "$as_me:9023: \$? = $ac_status" >&5
8977 (exit $ac_status); }; }; then 9024 (exit $ac_status); }; }; then
8978 ac_cv_func_getloadavg=yes 9025 ac_cv_func_getloadavg=yes
8979 else 9026 else
8980 echo "$as_me: failed program was:" >&5 9027 echo "$as_me: failed program was:" >&5
8981 cat conftest.$ac_ext >&5 9028 cat conftest.$ac_ext >&5
8982 ac_cv_func_getloadavg=no 9029 ac_cv_func_getloadavg=no
8983 fi 9030 fi
8984 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9031 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8985 fi 9032 fi
8986 echo "$as_me:8986: result: $ac_cv_func_getloadavg" >&5 9033 echo "$as_me:9033: result: $ac_cv_func_getloadavg" >&5
8987 echo "${ECHO_T}$ac_cv_func_getloadavg" >&6 9034 echo "${ECHO_T}$ac_cv_func_getloadavg" >&6
8988 if test $ac_cv_func_getloadavg = yes; then 9035 if test $ac_cv_func_getloadavg = yes; then
8989 exit 0 9036 exit 0
8990 else 9037 else
8991 exit 1 9038 exit 1
8995 # On HPUX9, an unprivileged user can get load averages through this function. 9042 # On HPUX9, an unprivileged user can get load averages through this function.
8996 9043
8997 for ac_func in pstat_getdynamic 9044 for ac_func in pstat_getdynamic
8998 do 9045 do
8999 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9046 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9000 echo "$as_me:9000: checking for $ac_func" >&5 9047 echo "$as_me:9047: checking for $ac_func" >&5
9001 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 9048 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9002 if eval "test \"\${$as_ac_var+set}\" = set"; then 9049 if eval "test \"\${$as_ac_var+set}\" = set"; then
9003 echo $ECHO_N "(cached) $ECHO_C" >&6 9050 echo $ECHO_N "(cached) $ECHO_C" >&6
9004 else 9051 else
9005 cat >conftest.$ac_ext <<_ACEOF 9052 cat >conftest.$ac_ext <<_ACEOF
9006 #line 9006 "configure" 9053 #line 9053 "configure"
9007 #include "confdefs.h" 9054 #include "confdefs.h"
9008 /* System header to define __stub macros and hopefully few prototypes, 9055 /* System header to define __stub macros and hopefully few prototypes,
9009 which can conflict with char $ac_func (); below. */ 9056 which can conflict with char $ac_func (); below. */
9010 #include <assert.h> 9057 #include <assert.h>
9011 /* Override any gcc2 internal prototype to avoid an error. */ 9058 /* Override any gcc2 internal prototype to avoid an error. */
9032 ; 9079 ;
9033 return 0; 9080 return 0;
9034 } 9081 }
9035 _ACEOF 9082 _ACEOF
9036 rm -f conftest.$ac_objext conftest$ac_exeext 9083 rm -f conftest.$ac_objext conftest$ac_exeext
9037 if { (eval echo "$as_me:9037: \"$ac_link\"") >&5 9084 if { (eval echo "$as_me:9084: \"$ac_link\"") >&5
9038 (eval $ac_link) 2>&5 9085 (eval $ac_link) 2>&5
9039 ac_status=$? 9086 ac_status=$?
9040 echo "$as_me:9040: \$? = $ac_status" >&5 9087 echo "$as_me:9087: \$? = $ac_status" >&5
9041 (exit $ac_status); } && 9088 (exit $ac_status); } &&
9042 { ac_try='test -s conftest$ac_exeext' 9089 { ac_try='test -s conftest$ac_exeext'
9043 { (eval echo "$as_me:9043: \"$ac_try\"") >&5 9090 { (eval echo "$as_me:9090: \"$ac_try\"") >&5
9044 (eval $ac_try) 2>&5 9091 (eval $ac_try) 2>&5
9045 ac_status=$? 9092 ac_status=$?
9046 echo "$as_me:9046: \$? = $ac_status" >&5 9093 echo "$as_me:9093: \$? = $ac_status" >&5
9047 (exit $ac_status); }; }; then 9094 (exit $ac_status); }; }; then
9048 eval "$as_ac_var=yes" 9095 eval "$as_ac_var=yes"
9049 else 9096 else
9050 echo "$as_me: failed program was:" >&5 9097 echo "$as_me: failed program was:" >&5
9051 cat conftest.$ac_ext >&5 9098 cat conftest.$ac_ext >&5
9052 eval "$as_ac_var=no" 9099 eval "$as_ac_var=no"
9053 fi 9100 fi
9054 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9101 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9055 fi 9102 fi
9056 echo "$as_me:9056: result: `eval echo '${'$as_ac_var'}'`" >&5 9103 echo "$as_me:9103: result: `eval echo '${'$as_ac_var'}'`" >&5
9057 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 9104 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9058 if test `eval echo '${'$as_ac_var'}'` = yes; then 9105 if test `eval echo '${'$as_ac_var'}'` = yes; then
9059 cat >>confdefs.h <<EOF 9106 cat >>confdefs.h <<EOF
9060 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 9107 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9061 EOF 9108 EOF
9063 fi 9110 fi
9064 done 9111 done
9065 9112
9066 # Solaris has libkstat which does not require root. 9113 # Solaris has libkstat which does not require root.
9067 9114
9068 echo "$as_me:9068: checking for kstat_open in -lkstat" >&5 9115 echo "$as_me:9115: checking for kstat_open in -lkstat" >&5
9069 echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6 9116 echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6
9070 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then 9117 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then
9071 echo $ECHO_N "(cached) $ECHO_C" >&6 9118 echo $ECHO_N "(cached) $ECHO_C" >&6
9072 else 9119 else
9073 ac_check_lib_save_LIBS=$LIBS 9120 ac_check_lib_save_LIBS=$LIBS
9074 LIBS="-lkstat $LIBS" 9121 LIBS="-lkstat $LIBS"
9075 cat >conftest.$ac_ext <<_ACEOF 9122 cat >conftest.$ac_ext <<_ACEOF
9076 #line 9076 "configure" 9123 #line 9123 "configure"
9077 #include "confdefs.h" 9124 #include "confdefs.h"
9078 9125
9079 /* Override any gcc2 internal prototype to avoid an error. */ 9126 /* Override any gcc2 internal prototype to avoid an error. */
9080 #ifdef __cplusplus 9127 #ifdef __cplusplus
9081 extern "C" 9128 extern "C"
9090 ; 9137 ;
9091 return 0; 9138 return 0;
9092 } 9139 }
9093 _ACEOF 9140 _ACEOF
9094 rm -f conftest.$ac_objext conftest$ac_exeext 9141 rm -f conftest.$ac_objext conftest$ac_exeext
9095 if { (eval echo "$as_me:9095: \"$ac_link\"") >&5 9142 if { (eval echo "$as_me:9142: \"$ac_link\"") >&5
9096 (eval $ac_link) 2>&5 9143 (eval $ac_link) 2>&5
9097 ac_status=$? 9144 ac_status=$?
9098 echo "$as_me:9098: \$? = $ac_status" >&5 9145 echo "$as_me:9145: \$? = $ac_status" >&5
9099 (exit $ac_status); } && 9146 (exit $ac_status); } &&
9100 { ac_try='test -s conftest$ac_exeext' 9147 { ac_try='test -s conftest$ac_exeext'
9101 { (eval echo "$as_me:9101: \"$ac_try\"") >&5 9148 { (eval echo "$as_me:9148: \"$ac_try\"") >&5
9102 (eval $ac_try) 2>&5 9149 (eval $ac_try) 2>&5
9103 ac_status=$? 9150 ac_status=$?
9104 echo "$as_me:9104: \$? = $ac_status" >&5 9151 echo "$as_me:9151: \$? = $ac_status" >&5
9105 (exit $ac_status); }; }; then 9152 (exit $ac_status); }; }; then
9106 ac_cv_lib_kstat_kstat_open=yes 9153 ac_cv_lib_kstat_kstat_open=yes
9107 else 9154 else
9108 echo "$as_me: failed program was:" >&5 9155 echo "$as_me: failed program was:" >&5
9109 cat conftest.$ac_ext >&5 9156 cat conftest.$ac_ext >&5
9110 ac_cv_lib_kstat_kstat_open=no 9157 ac_cv_lib_kstat_kstat_open=no
9111 fi 9158 fi
9112 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9159 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9113 LIBS=$ac_check_lib_save_LIBS 9160 LIBS=$ac_check_lib_save_LIBS
9114 fi 9161 fi
9115 echo "$as_me:9115: result: $ac_cv_lib_kstat_kstat_open" >&5 9162 echo "$as_me:9162: result: $ac_cv_lib_kstat_kstat_open" >&5
9116 echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6 9163 echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6
9117 if test $ac_cv_lib_kstat_kstat_open = yes; then 9164 if test $ac_cv_lib_kstat_kstat_open = yes; then
9118 cat >>confdefs.h <<EOF 9165 cat >>confdefs.h <<EOF
9119 #define HAVE_LIBKSTAT 1 9166 #define HAVE_LIBKSTAT 1
9120 EOF 9167 EOF
9128 # Some systems with -lutil have (and need) -lkvm as well, some do not. 9175 # Some systems with -lutil have (and need) -lkvm as well, some do not.
9129 # On Solaris, -lkvm requires nlist from -lelf, so check that first 9176 # On Solaris, -lkvm requires nlist from -lelf, so check that first
9130 # to get the right answer into the cache. 9177 # to get the right answer into the cache.
9131 # For kstat on solaris, we need libelf to force the definition of SVR4 below. 9178 # For kstat on solaris, we need libelf to force the definition of SVR4 below.
9132 if test $ac_have_func = no; then 9179 if test $ac_have_func = no; then
9133 echo "$as_me:9133: checking for elf_begin in -lelf" >&5 9180 echo "$as_me:9180: checking for elf_begin in -lelf" >&5
9134 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6 9181 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
9135 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then 9182 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
9136 echo $ECHO_N "(cached) $ECHO_C" >&6 9183 echo $ECHO_N "(cached) $ECHO_C" >&6
9137 else 9184 else
9138 ac_check_lib_save_LIBS=$LIBS 9185 ac_check_lib_save_LIBS=$LIBS
9139 LIBS="-lelf $LIBS" 9186 LIBS="-lelf $LIBS"
9140 cat >conftest.$ac_ext <<_ACEOF 9187 cat >conftest.$ac_ext <<_ACEOF
9141 #line 9141 "configure" 9188 #line 9188 "configure"
9142 #include "confdefs.h" 9189 #include "confdefs.h"
9143 9190
9144 /* Override any gcc2 internal prototype to avoid an error. */ 9191 /* Override any gcc2 internal prototype to avoid an error. */
9145 #ifdef __cplusplus 9192 #ifdef __cplusplus
9146 extern "C" 9193 extern "C"
9155 ; 9202 ;
9156 return 0; 9203 return 0;
9157 } 9204 }
9158 _ACEOF 9205 _ACEOF
9159 rm -f conftest.$ac_objext conftest$ac_exeext 9206 rm -f conftest.$ac_objext conftest$ac_exeext
9160 if { (eval echo "$as_me:9160: \"$ac_link\"") >&5 9207 if { (eval echo "$as_me:9207: \"$ac_link\"") >&5
9161 (eval $ac_link) 2>&5 9208 (eval $ac_link) 2>&5
9162 ac_status=$? 9209 ac_status=$?
9163 echo "$as_me:9163: \$? = $ac_status" >&5 9210 echo "$as_me:9210: \$? = $ac_status" >&5
9164 (exit $ac_status); } && 9211 (exit $ac_status); } &&
9165 { ac_try='test -s conftest$ac_exeext' 9212 { ac_try='test -s conftest$ac_exeext'
9166 { (eval echo "$as_me:9166: \"$ac_try\"") >&5 9213 { (eval echo "$as_me:9213: \"$ac_try\"") >&5
9167 (eval $ac_try) 2>&5 9214 (eval $ac_try) 2>&5
9168 ac_status=$? 9215 ac_status=$?
9169 echo "$as_me:9169: \$? = $ac_status" >&5 9216 echo "$as_me:9216: \$? = $ac_status" >&5
9170 (exit $ac_status); }; }; then 9217 (exit $ac_status); }; }; then
9171 ac_cv_lib_elf_elf_begin=yes 9218 ac_cv_lib_elf_elf_begin=yes
9172 else 9219 else
9173 echo "$as_me: failed program was:" >&5 9220 echo "$as_me: failed program was:" >&5
9174 cat conftest.$ac_ext >&5 9221 cat conftest.$ac_ext >&5
9175 ac_cv_lib_elf_elf_begin=no 9222 ac_cv_lib_elf_elf_begin=no
9176 fi 9223 fi
9177 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9224 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9178 LIBS=$ac_check_lib_save_LIBS 9225 LIBS=$ac_check_lib_save_LIBS
9179 fi 9226 fi
9180 echo "$as_me:9180: result: $ac_cv_lib_elf_elf_begin" >&5 9227 echo "$as_me:9227: result: $ac_cv_lib_elf_elf_begin" >&5
9181 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6 9228 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
9182 if test $ac_cv_lib_elf_elf_begin = yes; then 9229 if test $ac_cv_lib_elf_elf_begin = yes; then
9183 LIBS="-lelf $LIBS" 9230 LIBS="-lelf $LIBS"
9184 fi 9231 fi
9185 9232
9186 fi 9233 fi
9187 if test $ac_have_func = no; then 9234 if test $ac_have_func = no; then
9188 echo "$as_me:9188: checking for kvm_open in -lkvm" >&5 9235 echo "$as_me:9235: checking for kvm_open in -lkvm" >&5
9189 echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6 9236 echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6
9190 if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then 9237 if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then
9191 echo $ECHO_N "(cached) $ECHO_C" >&6 9238 echo $ECHO_N "(cached) $ECHO_C" >&6
9192 else 9239 else
9193 ac_check_lib_save_LIBS=$LIBS 9240 ac_check_lib_save_LIBS=$LIBS
9194 LIBS="-lkvm $LIBS" 9241 LIBS="-lkvm $LIBS"
9195 cat >conftest.$ac_ext <<_ACEOF 9242 cat >conftest.$ac_ext <<_ACEOF
9196 #line 9196 "configure" 9243 #line 9243 "configure"
9197 #include "confdefs.h" 9244 #include "confdefs.h"
9198 9245
9199 /* Override any gcc2 internal prototype to avoid an error. */ 9246 /* Override any gcc2 internal prototype to avoid an error. */
9200 #ifdef __cplusplus 9247 #ifdef __cplusplus
9201 extern "C" 9248 extern "C"
9210 ; 9257 ;
9211 return 0; 9258 return 0;
9212 } 9259 }
9213 _ACEOF 9260 _ACEOF
9214 rm -f conftest.$ac_objext conftest$ac_exeext 9261 rm -f conftest.$ac_objext conftest$ac_exeext
9215 if { (eval echo "$as_me:9215: \"$ac_link\"") >&5 9262 if { (eval echo "$as_me:9262: \"$ac_link\"") >&5
9216 (eval $ac_link) 2>&5 9263 (eval $ac_link) 2>&5
9217 ac_status=$? 9264 ac_status=$?
9218 echo "$as_me:9218: \$? = $ac_status" >&5 9265 echo "$as_me:9265: \$? = $ac_status" >&5
9219 (exit $ac_status); } && 9266 (exit $ac_status); } &&
9220 { ac_try='test -s conftest$ac_exeext' 9267 { ac_try='test -s conftest$ac_exeext'
9221 { (eval echo "$as_me:9221: \"$ac_try\"") >&5 9268 { (eval echo "$as_me:9268: \"$ac_try\"") >&5
9222 (eval $ac_try) 2>&5 9269 (eval $ac_try) 2>&5
9223 ac_status=$? 9270 ac_status=$?
9224 echo "$as_me:9224: \$? = $ac_status" >&5 9271 echo "$as_me:9271: \$? = $ac_status" >&5
9225 (exit $ac_status); }; }; then 9272 (exit $ac_status); }; }; then
9226 ac_cv_lib_kvm_kvm_open=yes 9273 ac_cv_lib_kvm_kvm_open=yes
9227 else 9274 else
9228 echo "$as_me: failed program was:" >&5 9275 echo "$as_me: failed program was:" >&5
9229 cat conftest.$ac_ext >&5 9276 cat conftest.$ac_ext >&5
9230 ac_cv_lib_kvm_kvm_open=no 9277 ac_cv_lib_kvm_kvm_open=no
9231 fi 9278 fi
9232 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9279 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9233 LIBS=$ac_check_lib_save_LIBS 9280 LIBS=$ac_check_lib_save_LIBS
9234 fi 9281 fi
9235 echo "$as_me:9235: result: $ac_cv_lib_kvm_kvm_open" >&5 9282 echo "$as_me:9282: result: $ac_cv_lib_kvm_kvm_open" >&5
9236 echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6 9283 echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6
9237 if test $ac_cv_lib_kvm_kvm_open = yes; then 9284 if test $ac_cv_lib_kvm_kvm_open = yes; then
9238 LIBS="-lkvm $LIBS" 9285 LIBS="-lkvm $LIBS"
9239 fi 9286 fi
9240 9287
9241 # Check for the 4.4BSD definition of getloadavg. 9288 # Check for the 4.4BSD definition of getloadavg.
9242 echo "$as_me:9242: checking for getloadavg in -lutil" >&5 9289 echo "$as_me:9289: checking for getloadavg in -lutil" >&5
9243 echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6 9290 echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6
9244 if test "${ac_cv_lib_util_getloadavg+set}" = set; then 9291 if test "${ac_cv_lib_util_getloadavg+set}" = set; then
9245 echo $ECHO_N "(cached) $ECHO_C" >&6 9292 echo $ECHO_N "(cached) $ECHO_C" >&6
9246 else 9293 else
9247 ac_check_lib_save_LIBS=$LIBS 9294 ac_check_lib_save_LIBS=$LIBS
9248 LIBS="-lutil $LIBS" 9295 LIBS="-lutil $LIBS"
9249 cat >conftest.$ac_ext <<_ACEOF 9296 cat >conftest.$ac_ext <<_ACEOF
9250 #line 9250 "configure" 9297 #line 9297 "configure"
9251 #include "confdefs.h" 9298 #include "confdefs.h"
9252 9299
9253 /* Override any gcc2 internal prototype to avoid an error. */ 9300 /* Override any gcc2 internal prototype to avoid an error. */
9254 #ifdef __cplusplus 9301 #ifdef __cplusplus
9255 extern "C" 9302 extern "C"
9264 ; 9311 ;
9265 return 0; 9312 return 0;
9266 } 9313 }
9267 _ACEOF 9314 _ACEOF
9268 rm -f conftest.$ac_objext conftest$ac_exeext 9315 rm -f conftest.$ac_objext conftest$ac_exeext
9269 if { (eval echo "$as_me:9269: \"$ac_link\"") >&5 9316 if { (eval echo "$as_me:9316: \"$ac_link\"") >&5
9270 (eval $ac_link) 2>&5 9317 (eval $ac_link) 2>&5
9271 ac_status=$? 9318 ac_status=$?
9272 echo "$as_me:9272: \$? = $ac_status" >&5 9319 echo "$as_me:9319: \$? = $ac_status" >&5
9273 (exit $ac_status); } && 9320 (exit $ac_status); } &&
9274 { ac_try='test -s conftest$ac_exeext' 9321 { ac_try='test -s conftest$ac_exeext'
9275 { (eval echo "$as_me:9275: \"$ac_try\"") >&5 9322 { (eval echo "$as_me:9322: \"$ac_try\"") >&5
9276 (eval $ac_try) 2>&5 9323 (eval $ac_try) 2>&5
9277 ac_status=$? 9324 ac_status=$?
9278 echo "$as_me:9278: \$? = $ac_status" >&5 9325 echo "$as_me:9325: \$? = $ac_status" >&5
9279 (exit $ac_status); }; }; then 9326 (exit $ac_status); }; }; then
9280 ac_cv_lib_util_getloadavg=yes 9327 ac_cv_lib_util_getloadavg=yes
9281 else 9328 else
9282 echo "$as_me: failed program was:" >&5 9329 echo "$as_me: failed program was:" >&5
9283 cat conftest.$ac_ext >&5 9330 cat conftest.$ac_ext >&5
9284 ac_cv_lib_util_getloadavg=no 9331 ac_cv_lib_util_getloadavg=no
9285 fi 9332 fi
9286 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9333 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9287 LIBS=$ac_check_lib_save_LIBS 9334 LIBS=$ac_check_lib_save_LIBS
9288 fi 9335 fi
9289 echo "$as_me:9289: result: $ac_cv_lib_util_getloadavg" >&5 9336 echo "$as_me:9336: result: $ac_cv_lib_util_getloadavg" >&5
9290 echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6 9337 echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6
9291 if test $ac_cv_lib_util_getloadavg = yes; then 9338 if test $ac_cv_lib_util_getloadavg = yes; then
9292 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes 9339 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes
9293 fi 9340 fi
9294 9341
9297 if test $ac_have_func = no; then 9344 if test $ac_have_func = no; then
9298 # There is a commonly available library for RS/6000 AIX. 9345 # There is a commonly available library for RS/6000 AIX.
9299 # Since it is not a standard part of AIX, it might be installed locally. 9346 # Since it is not a standard part of AIX, it might be installed locally.
9300 ac_getloadavg_LIBS=$LIBS 9347 ac_getloadavg_LIBS=$LIBS
9301 LIBS="-L/usr/local/lib $LIBS" 9348 LIBS="-L/usr/local/lib $LIBS"
9302 echo "$as_me:9302: checking for getloadavg in -lgetloadavg" >&5 9349 echo "$as_me:9349: checking for getloadavg in -lgetloadavg" >&5
9303 echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6 9350 echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6
9304 if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then 9351 if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then
9305 echo $ECHO_N "(cached) $ECHO_C" >&6 9352 echo $ECHO_N "(cached) $ECHO_C" >&6
9306 else 9353 else
9307 ac_check_lib_save_LIBS=$LIBS 9354 ac_check_lib_save_LIBS=$LIBS
9308 LIBS="-lgetloadavg $LIBS" 9355 LIBS="-lgetloadavg $LIBS"
9309 cat >conftest.$ac_ext <<_ACEOF 9356 cat >conftest.$ac_ext <<_ACEOF
9310 #line 9310 "configure" 9357 #line 9357 "configure"
9311 #include "confdefs.h" 9358 #include "confdefs.h"
9312 9359
9313 /* Override any gcc2 internal prototype to avoid an error. */ 9360 /* Override any gcc2 internal prototype to avoid an error. */
9314 #ifdef __cplusplus 9361 #ifdef __cplusplus
9315 extern "C" 9362 extern "C"
9324 ; 9371 ;
9325 return 0; 9372 return 0;
9326 } 9373 }
9327 _ACEOF 9374 _ACEOF
9328 rm -f conftest.$ac_objext conftest$ac_exeext 9375 rm -f conftest.$ac_objext conftest$ac_exeext
9329 if { (eval echo "$as_me:9329: \"$ac_link\"") >&5 9376 if { (eval echo "$as_me:9376: \"$ac_link\"") >&5
9330 (eval $ac_link) 2>&5 9377 (eval $ac_link) 2>&5
9331 ac_status=$? 9378 ac_status=$?
9332 echo "$as_me:9332: \$? = $ac_status" >&5 9379 echo "$as_me:9379: \$? = $ac_status" >&5
9333 (exit $ac_status); } && 9380 (exit $ac_status); } &&
9334 { ac_try='test -s conftest$ac_exeext' 9381 { ac_try='test -s conftest$ac_exeext'
9335 { (eval echo "$as_me:9335: \"$ac_try\"") >&5 9382 { (eval echo "$as_me:9382: \"$ac_try\"") >&5
9336 (eval $ac_try) 2>&5 9383 (eval $ac_try) 2>&5
9337 ac_status=$? 9384 ac_status=$?
9338 echo "$as_me:9338: \$? = $ac_status" >&5 9385 echo "$as_me:9385: \$? = $ac_status" >&5
9339 (exit $ac_status); }; }; then 9386 (exit $ac_status); }; }; then
9340 ac_cv_lib_getloadavg_getloadavg=yes 9387 ac_cv_lib_getloadavg_getloadavg=yes
9341 else 9388 else
9342 echo "$as_me: failed program was:" >&5 9389 echo "$as_me: failed program was:" >&5
9343 cat conftest.$ac_ext >&5 9390 cat conftest.$ac_ext >&5
9344 ac_cv_lib_getloadavg_getloadavg=no 9391 ac_cv_lib_getloadavg_getloadavg=no
9345 fi 9392 fi
9346 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9393 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9347 LIBS=$ac_check_lib_save_LIBS 9394 LIBS=$ac_check_lib_save_LIBS
9348 fi 9395 fi
9349 echo "$as_me:9349: result: $ac_cv_lib_getloadavg_getloadavg" >&5 9396 echo "$as_me:9396: result: $ac_cv_lib_getloadavg_getloadavg" >&5
9350 echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6 9397 echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6
9351 if test $ac_cv_lib_getloadavg_getloadavg = yes; then 9398 if test $ac_cv_lib_getloadavg_getloadavg = yes; then
9352 LIBS="-lgetloadavg $LIBS" 9399 LIBS="-lgetloadavg $LIBS"
9353 else 9400 else
9354 LIBS=$ac_getloadavg_LIBS 9401 LIBS=$ac_getloadavg_LIBS
9360 # otherwise set up the replacement function. 9407 # otherwise set up the replacement function.
9361 9408
9362 for ac_func in getloadavg 9409 for ac_func in getloadavg
9363 do 9410 do
9364 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9411 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9365 echo "$as_me:9365: checking for $ac_func" >&5 9412 echo "$as_me:9412: checking for $ac_func" >&5
9366 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 9413 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9367 if eval "test \"\${$as_ac_var+set}\" = set"; then 9414 if eval "test \"\${$as_ac_var+set}\" = set"; then
9368 echo $ECHO_N "(cached) $ECHO_C" >&6 9415 echo $ECHO_N "(cached) $ECHO_C" >&6
9369 else 9416 else
9370 cat >conftest.$ac_ext <<_ACEOF 9417 cat >conftest.$ac_ext <<_ACEOF
9371 #line 9371 "configure" 9418 #line 9418 "configure"
9372 #include "confdefs.h" 9419 #include "confdefs.h"
9373 /* System header to define __stub macros and hopefully few prototypes, 9420 /* System header to define __stub macros and hopefully few prototypes,
9374 which can conflict with char $ac_func (); below. */ 9421 which can conflict with char $ac_func (); below. */
9375 #include <assert.h> 9422 #include <assert.h>
9376 /* Override any gcc2 internal prototype to avoid an error. */ 9423 /* Override any gcc2 internal prototype to avoid an error. */
9397 ; 9444 ;
9398 return 0; 9445 return 0;
9399 } 9446 }
9400 _ACEOF 9447 _ACEOF
9401 rm -f conftest.$ac_objext conftest$ac_exeext 9448 rm -f conftest.$ac_objext conftest$ac_exeext
9402 if { (eval echo "$as_me:9402: \"$ac_link\"") >&5 9449 if { (eval echo "$as_me:9449: \"$ac_link\"") >&5
9403 (eval $ac_link) 2>&5 9450 (eval $ac_link) 2>&5
9404 ac_status=$? 9451 ac_status=$?
9405 echo "$as_me:9405: \$? = $ac_status" >&5 9452 echo "$as_me:9452: \$? = $ac_status" >&5
9406 (exit $ac_status); } && 9453 (exit $ac_status); } &&
9407 { ac_try='test -s conftest$ac_exeext' 9454 { ac_try='test -s conftest$ac_exeext'
9408 { (eval echo "$as_me:9408: \"$ac_try\"") >&5 9455 { (eval echo "$as_me:9455: \"$ac_try\"") >&5
9409 (eval $ac_try) 2>&5 9456 (eval $ac_try) 2>&5
9410 ac_status=$? 9457 ac_status=$?
9411 echo "$as_me:9411: \$? = $ac_status" >&5 9458 echo "$as_me:9458: \$? = $ac_status" >&5
9412 (exit $ac_status); }; }; then 9459 (exit $ac_status); }; }; then
9413 eval "$as_ac_var=yes" 9460 eval "$as_ac_var=yes"
9414 else 9461 else
9415 echo "$as_me: failed program was:" >&5 9462 echo "$as_me: failed program was:" >&5
9416 cat conftest.$ac_ext >&5 9463 cat conftest.$ac_ext >&5
9417 eval "$as_ac_var=no" 9464 eval "$as_ac_var=no"
9418 fi 9465 fi
9419 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9466 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9420 fi 9467 fi
9421 echo "$as_me:9421: result: `eval echo '${'$as_ac_var'}'`" >&5 9468 echo "$as_me:9468: result: `eval echo '${'$as_ac_var'}'`" >&5
9422 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 9469 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9423 if test `eval echo '${'$as_ac_var'}'` = yes; then 9470 if test `eval echo '${'$as_ac_var'}'` = yes; then
9424 cat >>confdefs.h <<EOF 9471 cat >>confdefs.h <<EOF
9425 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 9472 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9426 EOF 9473 EOF
9432 #define C_GETLOADAVG 1 9479 #define C_GETLOADAVG 1
9433 EOF 9480 EOF
9434 9481
9435 # Figure out what our getloadavg.c needs. 9482 # Figure out what our getloadavg.c needs.
9436 ac_have_func=no 9483 ac_have_func=no
9437 echo "$as_me:9437: checking for sys/dg_sys_info.h" >&5 9484 echo "$as_me:9484: checking for sys/dg_sys_info.h" >&5
9438 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6 9485 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
9439 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then 9486 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
9440 echo $ECHO_N "(cached) $ECHO_C" >&6 9487 echo $ECHO_N "(cached) $ECHO_C" >&6
9441 else 9488 else
9442 cat >conftest.$ac_ext <<_ACEOF 9489 cat >conftest.$ac_ext <<_ACEOF
9443 #line 9443 "configure" 9490 #line 9490 "configure"
9444 #include "confdefs.h" 9491 #include "confdefs.h"
9445 #include <sys/dg_sys_info.h> 9492 #include <sys/dg_sys_info.h>
9446 _ACEOF 9493 _ACEOF
9447 if { (eval echo "$as_me:9447: \"$ac_cpp conftest.$ac_ext\"") >&5 9494 if { (eval echo "$as_me:9494: \"$ac_cpp conftest.$ac_ext\"") >&5
9448 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9495 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9449 ac_status=$? 9496 ac_status=$?
9450 egrep -v '^ *\+' conftest.er1 >conftest.err 9497 egrep -v '^ *\+' conftest.er1 >conftest.err
9451 rm -f conftest.er1 9498 rm -f conftest.er1
9452 cat conftest.err >&5 9499 cat conftest.err >&5
9453 echo "$as_me:9453: \$? = $ac_status" >&5 9500 echo "$as_me:9500: \$? = $ac_status" >&5
9454 (exit $ac_status); } >/dev/null; then 9501 (exit $ac_status); } >/dev/null; then
9455 if test -s conftest.err; then 9502 if test -s conftest.err; then
9456 ac_cpp_err=$ac_c_preproc_warn_flag 9503 ac_cpp_err=$ac_c_preproc_warn_flag
9457 else 9504 else
9458 ac_cpp_err= 9505 ac_cpp_err=
9467 cat conftest.$ac_ext >&5 9514 cat conftest.$ac_ext >&5
9468 ac_cv_header_sys_dg_sys_info_h=no 9515 ac_cv_header_sys_dg_sys_info_h=no
9469 fi 9516 fi
9470 rm -f conftest.err conftest.$ac_ext 9517 rm -f conftest.err conftest.$ac_ext
9471 fi 9518 fi
9472 echo "$as_me:9472: result: $ac_cv_header_sys_dg_sys_info_h" >&5 9519 echo "$as_me:9519: result: $ac_cv_header_sys_dg_sys_info_h" >&5
9473 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6 9520 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
9474 if test $ac_cv_header_sys_dg_sys_info_h = yes; then 9521 if test $ac_cv_header_sys_dg_sys_info_h = yes; then
9475 ac_have_func=yes 9522 ac_have_func=yes
9476 9523
9477 cat >>confdefs.h <<\EOF 9524 cat >>confdefs.h <<\EOF
9478 #define DGUX 1 9525 #define DGUX 1
9479 EOF 9526 EOF
9480 9527
9481 echo "$as_me:9481: checking for dg_sys_info in -ldgc" >&5 9528 echo "$as_me:9528: checking for dg_sys_info in -ldgc" >&5
9482 echo $ECHO_N "checking for dg_sys_info in -ldgc... $ECHO_C" >&6 9529 echo $ECHO_N "checking for dg_sys_info in -ldgc... $ECHO_C" >&6
9483 if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then 9530 if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then
9484 echo $ECHO_N "(cached) $ECHO_C" >&6 9531 echo $ECHO_N "(cached) $ECHO_C" >&6
9485 else 9532 else
9486 ac_check_lib_save_LIBS=$LIBS 9533 ac_check_lib_save_LIBS=$LIBS
9487 LIBS="-ldgc $LIBS" 9534 LIBS="-ldgc $LIBS"
9488 cat >conftest.$ac_ext <<_ACEOF 9535 cat >conftest.$ac_ext <<_ACEOF
9489 #line 9489 "configure" 9536 #line 9536 "configure"
9490 #include "confdefs.h" 9537 #include "confdefs.h"
9491 9538
9492 /* Override any gcc2 internal prototype to avoid an error. */ 9539 /* Override any gcc2 internal prototype to avoid an error. */
9493 #ifdef __cplusplus 9540 #ifdef __cplusplus
9494 extern "C" 9541 extern "C"
9503 ; 9550 ;
9504 return 0; 9551 return 0;
9505 } 9552 }
9506 _ACEOF 9553 _ACEOF
9507 rm -f conftest.$ac_objext conftest$ac_exeext 9554 rm -f conftest.$ac_objext conftest$ac_exeext
9508 if { (eval echo "$as_me:9508: \"$ac_link\"") >&5 9555 if { (eval echo "$as_me:9555: \"$ac_link\"") >&5
9509 (eval $ac_link) 2>&5 9556 (eval $ac_link) 2>&5
9510 ac_status=$? 9557 ac_status=$?
9511 echo "$as_me:9511: \$? = $ac_status" >&5 9558 echo "$as_me:9558: \$? = $ac_status" >&5
9512 (exit $ac_status); } && 9559 (exit $ac_status); } &&
9513 { ac_try='test -s conftest$ac_exeext' 9560 { ac_try='test -s conftest$ac_exeext'
9514 { (eval echo "$as_me:9514: \"$ac_try\"") >&5 9561 { (eval echo "$as_me:9561: \"$ac_try\"") >&5
9515 (eval $ac_try) 2>&5 9562 (eval $ac_try) 2>&5
9516 ac_status=$? 9563 ac_status=$?
9517 echo "$as_me:9517: \$? = $ac_status" >&5 9564 echo "$as_me:9564: \$? = $ac_status" >&5
9518 (exit $ac_status); }; }; then 9565 (exit $ac_status); }; }; then
9519 ac_cv_lib_dgc_dg_sys_info=yes 9566 ac_cv_lib_dgc_dg_sys_info=yes
9520 else 9567 else
9521 echo "$as_me: failed program was:" >&5 9568 echo "$as_me: failed program was:" >&5
9522 cat conftest.$ac_ext >&5 9569 cat conftest.$ac_ext >&5
9523 ac_cv_lib_dgc_dg_sys_info=no 9570 ac_cv_lib_dgc_dg_sys_info=no
9524 fi 9571 fi
9525 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9572 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9526 LIBS=$ac_check_lib_save_LIBS 9573 LIBS=$ac_check_lib_save_LIBS
9527 fi 9574 fi
9528 echo "$as_me:9528: result: $ac_cv_lib_dgc_dg_sys_info" >&5 9575 echo "$as_me:9575: result: $ac_cv_lib_dgc_dg_sys_info" >&5
9529 echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6 9576 echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6
9530 if test $ac_cv_lib_dgc_dg_sys_info = yes; then 9577 if test $ac_cv_lib_dgc_dg_sys_info = yes; then
9531 cat >>confdefs.h <<EOF 9578 cat >>confdefs.h <<EOF
9532 #define HAVE_LIBDGC 1 9579 #define HAVE_LIBDGC 1
9533 EOF 9580 EOF
9536 9583
9537 fi 9584 fi
9538 9585
9539 fi 9586 fi
9540 9587
9541 echo "$as_me:9541: checking for locale.h" >&5 9588 echo "$as_me:9588: checking for locale.h" >&5
9542 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6 9589 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
9543 if test "${ac_cv_header_locale_h+set}" = set; then 9590 if test "${ac_cv_header_locale_h+set}" = set; then
9544 echo $ECHO_N "(cached) $ECHO_C" >&6 9591 echo $ECHO_N "(cached) $ECHO_C" >&6
9545 else 9592 else
9546 cat >conftest.$ac_ext <<_ACEOF 9593 cat >conftest.$ac_ext <<_ACEOF
9547 #line 9547 "configure" 9594 #line 9594 "configure"
9548 #include "confdefs.h" 9595 #include "confdefs.h"
9549 #include <locale.h> 9596 #include <locale.h>
9550 _ACEOF 9597 _ACEOF
9551 if { (eval echo "$as_me:9551: \"$ac_cpp conftest.$ac_ext\"") >&5 9598 if { (eval echo "$as_me:9598: \"$ac_cpp conftest.$ac_ext\"") >&5
9552 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9599 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9553 ac_status=$? 9600 ac_status=$?
9554 egrep -v '^ *\+' conftest.er1 >conftest.err 9601 egrep -v '^ *\+' conftest.er1 >conftest.err
9555 rm -f conftest.er1 9602 rm -f conftest.er1
9556 cat conftest.err >&5 9603 cat conftest.err >&5
9557 echo "$as_me:9557: \$? = $ac_status" >&5 9604 echo "$as_me:9604: \$? = $ac_status" >&5
9558 (exit $ac_status); } >/dev/null; then 9605 (exit $ac_status); } >/dev/null; then
9559 if test -s conftest.err; then 9606 if test -s conftest.err; then
9560 ac_cpp_err=$ac_c_preproc_warn_flag 9607 ac_cpp_err=$ac_c_preproc_warn_flag
9561 else 9608 else
9562 ac_cpp_err= 9609 ac_cpp_err=
9571 cat conftest.$ac_ext >&5 9618 cat conftest.$ac_ext >&5
9572 ac_cv_header_locale_h=no 9619 ac_cv_header_locale_h=no
9573 fi 9620 fi
9574 rm -f conftest.err conftest.$ac_ext 9621 rm -f conftest.err conftest.$ac_ext
9575 fi 9622 fi
9576 echo "$as_me:9576: result: $ac_cv_header_locale_h" >&5 9623 echo "$as_me:9623: result: $ac_cv_header_locale_h" >&5
9577 echo "${ECHO_T}$ac_cv_header_locale_h" >&6 9624 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
9578 9625
9579 for ac_func in setlocale 9626 for ac_func in setlocale
9580 do 9627 do
9581 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9628 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9582 echo "$as_me:9582: checking for $ac_func" >&5 9629 echo "$as_me:9629: checking for $ac_func" >&5
9583 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 9630 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9584 if eval "test \"\${$as_ac_var+set}\" = set"; then 9631 if eval "test \"\${$as_ac_var+set}\" = set"; then
9585 echo $ECHO_N "(cached) $ECHO_C" >&6 9632 echo $ECHO_N "(cached) $ECHO_C" >&6
9586 else 9633 else
9587 cat >conftest.$ac_ext <<_ACEOF 9634 cat >conftest.$ac_ext <<_ACEOF
9588 #line 9588 "configure" 9635 #line 9635 "configure"
9589 #include "confdefs.h" 9636 #include "confdefs.h"
9590 /* System header to define __stub macros and hopefully few prototypes, 9637 /* System header to define __stub macros and hopefully few prototypes,
9591 which can conflict with char $ac_func (); below. */ 9638 which can conflict with char $ac_func (); below. */
9592 #include <assert.h> 9639 #include <assert.h>
9593 /* Override any gcc2 internal prototype to avoid an error. */ 9640 /* Override any gcc2 internal prototype to avoid an error. */
9614 ; 9661 ;
9615 return 0; 9662 return 0;
9616 } 9663 }
9617 _ACEOF 9664 _ACEOF
9618 rm -f conftest.$ac_objext conftest$ac_exeext 9665 rm -f conftest.$ac_objext conftest$ac_exeext
9619 if { (eval echo "$as_me:9619: \"$ac_link\"") >&5 9666 if { (eval echo "$as_me:9666: \"$ac_link\"") >&5
9620 (eval $ac_link) 2>&5 9667 (eval $ac_link) 2>&5
9621 ac_status=$? 9668 ac_status=$?
9622 echo "$as_me:9622: \$? = $ac_status" >&5 9669 echo "$as_me:9669: \$? = $ac_status" >&5
9623 (exit $ac_status); } && 9670 (exit $ac_status); } &&
9624 { ac_try='test -s conftest$ac_exeext' 9671 { ac_try='test -s conftest$ac_exeext'
9625 { (eval echo "$as_me:9625: \"$ac_try\"") >&5 9672 { (eval echo "$as_me:9672: \"$ac_try\"") >&5
9626 (eval $ac_try) 2>&5 9673 (eval $ac_try) 2>&5
9627 ac_status=$? 9674 ac_status=$?
9628 echo "$as_me:9628: \$? = $ac_status" >&5 9675 echo "$as_me:9675: \$? = $ac_status" >&5
9629 (exit $ac_status); }; }; then 9676 (exit $ac_status); }; }; then
9630 eval "$as_ac_var=yes" 9677 eval "$as_ac_var=yes"
9631 else 9678 else
9632 echo "$as_me: failed program was:" >&5 9679 echo "$as_me: failed program was:" >&5
9633 cat conftest.$ac_ext >&5 9680 cat conftest.$ac_ext >&5
9634 eval "$as_ac_var=no" 9681 eval "$as_ac_var=no"
9635 fi 9682 fi
9636 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9683 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9637 fi 9684 fi
9638 echo "$as_me:9638: result: `eval echo '${'$as_ac_var'}'`" >&5 9685 echo "$as_me:9685: result: `eval echo '${'$as_ac_var'}'`" >&5
9639 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 9686 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9640 if test `eval echo '${'$as_ac_var'}'` = yes; then 9687 if test `eval echo '${'$as_ac_var'}'` = yes; then
9641 cat >>confdefs.h <<EOF 9688 cat >>confdefs.h <<EOF
9642 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 9689 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9643 EOF 9690 EOF
9656 EOF 9703 EOF
9657 9704
9658 fi 9705 fi
9659 9706
9660 if test $ac_have_func = no; then 9707 if test $ac_have_func = no; then
9661 echo "$as_me:9661: checking for inq_stats/cpustats.h" >&5 9708 echo "$as_me:9708: checking for inq_stats/cpustats.h" >&5
9662 echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6 9709 echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6
9663 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then 9710 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
9664 echo $ECHO_N "(cached) $ECHO_C" >&6 9711 echo $ECHO_N "(cached) $ECHO_C" >&6
9665 else 9712 else
9666 cat >conftest.$ac_ext <<_ACEOF 9713 cat >conftest.$ac_ext <<_ACEOF
9667 #line 9667 "configure" 9714 #line 9714 "configure"
9668 #include "confdefs.h" 9715 #include "confdefs.h"
9669 #include <inq_stats/cpustats.h> 9716 #include <inq_stats/cpustats.h>
9670 _ACEOF 9717 _ACEOF
9671 if { (eval echo "$as_me:9671: \"$ac_cpp conftest.$ac_ext\"") >&5 9718 if { (eval echo "$as_me:9718: \"$ac_cpp conftest.$ac_ext\"") >&5
9672 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9719 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9673 ac_status=$? 9720 ac_status=$?
9674 egrep -v '^ *\+' conftest.er1 >conftest.err 9721 egrep -v '^ *\+' conftest.er1 >conftest.err
9675 rm -f conftest.er1 9722 rm -f conftest.er1
9676 cat conftest.err >&5 9723 cat conftest.err >&5
9677 echo "$as_me:9677: \$? = $ac_status" >&5 9724 echo "$as_me:9724: \$? = $ac_status" >&5
9678 (exit $ac_status); } >/dev/null; then 9725 (exit $ac_status); } >/dev/null; then
9679 if test -s conftest.err; then 9726 if test -s conftest.err; then
9680 ac_cpp_err=$ac_c_preproc_warn_flag 9727 ac_cpp_err=$ac_c_preproc_warn_flag
9681 else 9728 else
9682 ac_cpp_err= 9729 ac_cpp_err=
9691 cat conftest.$ac_ext >&5 9738 cat conftest.$ac_ext >&5
9692 ac_cv_header_inq_stats_cpustats_h=no 9739 ac_cv_header_inq_stats_cpustats_h=no
9693 fi 9740 fi
9694 rm -f conftest.err conftest.$ac_ext 9741 rm -f conftest.err conftest.$ac_ext
9695 fi 9742 fi
9696 echo "$as_me:9696: result: $ac_cv_header_inq_stats_cpustats_h" >&5 9743 echo "$as_me:9743: result: $ac_cv_header_inq_stats_cpustats_h" >&5
9697 echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6 9744 echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6
9698 if test $ac_cv_header_inq_stats_cpustats_h = yes; then 9745 if test $ac_cv_header_inq_stats_cpustats_h = yes; then
9699 ac_have_func=yes 9746 ac_have_func=yes
9700 9747
9701 cat >>confdefs.h <<\EOF 9748 cat >>confdefs.h <<\EOF
9709 fi 9756 fi
9710 9757
9711 fi 9758 fi
9712 9759
9713 if test $ac_have_func = no; then 9760 if test $ac_have_func = no; then
9714 echo "$as_me:9714: checking for sys/cpustats.h" >&5 9761 echo "$as_me:9761: checking for sys/cpustats.h" >&5
9715 echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6 9762 echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6
9716 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then 9763 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
9717 echo $ECHO_N "(cached) $ECHO_C" >&6 9764 echo $ECHO_N "(cached) $ECHO_C" >&6
9718 else 9765 else
9719 cat >conftest.$ac_ext <<_ACEOF 9766 cat >conftest.$ac_ext <<_ACEOF
9720 #line 9720 "configure" 9767 #line 9767 "configure"
9721 #include "confdefs.h" 9768 #include "confdefs.h"
9722 #include <sys/cpustats.h> 9769 #include <sys/cpustats.h>
9723 _ACEOF 9770 _ACEOF
9724 if { (eval echo "$as_me:9724: \"$ac_cpp conftest.$ac_ext\"") >&5 9771 if { (eval echo "$as_me:9771: \"$ac_cpp conftest.$ac_ext\"") >&5
9725 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9772 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9726 ac_status=$? 9773 ac_status=$?
9727 egrep -v '^ *\+' conftest.er1 >conftest.err 9774 egrep -v '^ *\+' conftest.er1 >conftest.err
9728 rm -f conftest.er1 9775 rm -f conftest.er1
9729 cat conftest.err >&5 9776 cat conftest.err >&5
9730 echo "$as_me:9730: \$? = $ac_status" >&5 9777 echo "$as_me:9777: \$? = $ac_status" >&5
9731 (exit $ac_status); } >/dev/null; then 9778 (exit $ac_status); } >/dev/null; then
9732 if test -s conftest.err; then 9779 if test -s conftest.err; then
9733 ac_cpp_err=$ac_c_preproc_warn_flag 9780 ac_cpp_err=$ac_c_preproc_warn_flag
9734 else 9781 else
9735 ac_cpp_err= 9782 ac_cpp_err=
9744 cat conftest.$ac_ext >&5 9791 cat conftest.$ac_ext >&5
9745 ac_cv_header_sys_cpustats_h=no 9792 ac_cv_header_sys_cpustats_h=no
9746 fi 9793 fi
9747 rm -f conftest.err conftest.$ac_ext 9794 rm -f conftest.err conftest.$ac_ext
9748 fi 9795 fi
9749 echo "$as_me:9749: result: $ac_cv_header_sys_cpustats_h" >&5 9796 echo "$as_me:9796: result: $ac_cv_header_sys_cpustats_h" >&5
9750 echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6 9797 echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6
9751 if test $ac_cv_header_sys_cpustats_h = yes; then 9798 if test $ac_cv_header_sys_cpustats_h = yes; then
9752 ac_have_func=yes; cat >>confdefs.h <<\EOF 9799 ac_have_func=yes; cat >>confdefs.h <<\EOF
9753 #define UMAX 1 9800 #define UMAX 1
9754 EOF 9801 EOF
9760 if test $ac_have_func = no; then 9807 if test $ac_have_func = no; then
9761 9808
9762 for ac_header in mach/mach.h 9809 for ac_header in mach/mach.h
9763 do 9810 do
9764 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 9811 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9765 echo "$as_me:9765: checking for $ac_header" >&5 9812 echo "$as_me:9812: checking for $ac_header" >&5
9766 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 9813 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9767 if eval "test \"\${$as_ac_Header+set}\" = set"; then 9814 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9768 echo $ECHO_N "(cached) $ECHO_C" >&6 9815 echo $ECHO_N "(cached) $ECHO_C" >&6
9769 else 9816 else
9770 cat >conftest.$ac_ext <<_ACEOF 9817 cat >conftest.$ac_ext <<_ACEOF
9771 #line 9771 "configure" 9818 #line 9818 "configure"
9772 #include "confdefs.h" 9819 #include "confdefs.h"
9773 #include <$ac_header> 9820 #include <$ac_header>
9774 _ACEOF 9821 _ACEOF
9775 if { (eval echo "$as_me:9775: \"$ac_cpp conftest.$ac_ext\"") >&5 9822 if { (eval echo "$as_me:9822: \"$ac_cpp conftest.$ac_ext\"") >&5
9776 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9823 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9777 ac_status=$? 9824 ac_status=$?
9778 egrep -v '^ *\+' conftest.er1 >conftest.err 9825 egrep -v '^ *\+' conftest.er1 >conftest.err
9779 rm -f conftest.er1 9826 rm -f conftest.er1
9780 cat conftest.err >&5 9827 cat conftest.err >&5
9781 echo "$as_me:9781: \$? = $ac_status" >&5 9828 echo "$as_me:9828: \$? = $ac_status" >&5
9782 (exit $ac_status); } >/dev/null; then 9829 (exit $ac_status); } >/dev/null; then
9783 if test -s conftest.err; then 9830 if test -s conftest.err; then
9784 ac_cpp_err=$ac_c_preproc_warn_flag 9831 ac_cpp_err=$ac_c_preproc_warn_flag
9785 else 9832 else
9786 ac_cpp_err= 9833 ac_cpp_err=
9795 cat conftest.$ac_ext >&5 9842 cat conftest.$ac_ext >&5
9796 eval "$as_ac_Header=no" 9843 eval "$as_ac_Header=no"
9797 fi 9844 fi
9798 rm -f conftest.err conftest.$ac_ext 9845 rm -f conftest.err conftest.$ac_ext
9799 fi 9846 fi
9800 echo "$as_me:9800: result: `eval echo '${'$as_ac_Header'}'`" >&5 9847 echo "$as_me:9847: result: `eval echo '${'$as_ac_Header'}'`" >&5
9801 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 9848 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9802 if test `eval echo '${'$as_ac_Header'}'` = yes; then 9849 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9803 cat >>confdefs.h <<EOF 9850 cat >>confdefs.h <<EOF
9804 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 9851 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9805 EOF 9852 EOF
9810 fi 9857 fi
9811 9858
9812 for ac_header in nlist.h 9859 for ac_header in nlist.h
9813 do 9860 do
9814 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 9861 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9815 echo "$as_me:9815: checking for $ac_header" >&5 9862 echo "$as_me:9862: checking for $ac_header" >&5
9816 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 9863 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9817 if eval "test \"\${$as_ac_Header+set}\" = set"; then 9864 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9818 echo $ECHO_N "(cached) $ECHO_C" >&6 9865 echo $ECHO_N "(cached) $ECHO_C" >&6
9819 else 9866 else
9820 cat >conftest.$ac_ext <<_ACEOF 9867 cat >conftest.$ac_ext <<_ACEOF
9821 #line 9821 "configure" 9868 #line 9868 "configure"
9822 #include "confdefs.h" 9869 #include "confdefs.h"
9823 #include <$ac_header> 9870 #include <$ac_header>
9824 _ACEOF 9871 _ACEOF
9825 if { (eval echo "$as_me:9825: \"$ac_cpp conftest.$ac_ext\"") >&5 9872 if { (eval echo "$as_me:9872: \"$ac_cpp conftest.$ac_ext\"") >&5
9826 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9873 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9827 ac_status=$? 9874 ac_status=$?
9828 egrep -v '^ *\+' conftest.er1 >conftest.err 9875 egrep -v '^ *\+' conftest.er1 >conftest.err
9829 rm -f conftest.er1 9876 rm -f conftest.er1
9830 cat conftest.err >&5 9877 cat conftest.err >&5
9831 echo "$as_me:9831: \$? = $ac_status" >&5 9878 echo "$as_me:9878: \$? = $ac_status" >&5
9832 (exit $ac_status); } >/dev/null; then 9879 (exit $ac_status); } >/dev/null; then
9833 if test -s conftest.err; then 9880 if test -s conftest.err; then
9834 ac_cpp_err=$ac_c_preproc_warn_flag 9881 ac_cpp_err=$ac_c_preproc_warn_flag
9835 else 9882 else
9836 ac_cpp_err= 9883 ac_cpp_err=
9845 cat conftest.$ac_ext >&5 9892 cat conftest.$ac_ext >&5
9846 eval "$as_ac_Header=no" 9893 eval "$as_ac_Header=no"
9847 fi 9894 fi
9848 rm -f conftest.err conftest.$ac_ext 9895 rm -f conftest.err conftest.$ac_ext
9849 fi 9896 fi
9850 echo "$as_me:9850: result: `eval echo '${'$as_ac_Header'}'`" >&5 9897 echo "$as_me:9897: result: `eval echo '${'$as_ac_Header'}'`" >&5
9851 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 9898 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9852 if test `eval echo '${'$as_ac_Header'}'` = yes; then 9899 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9853 cat >>confdefs.h <<EOF 9900 cat >>confdefs.h <<EOF
9854 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 9901 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9855 EOF 9902 EOF
9856 echo "$as_me:9856: checking for struct nlist.n_un.n_name" >&5 9903 echo "$as_me:9903: checking for struct nlist.n_un.n_name" >&5
9857 echo $ECHO_N "checking for struct nlist.n_un.n_name... $ECHO_C" >&6 9904 echo $ECHO_N "checking for struct nlist.n_un.n_name... $ECHO_C" >&6
9858 if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then 9905 if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then
9859 echo $ECHO_N "(cached) $ECHO_C" >&6 9906 echo $ECHO_N "(cached) $ECHO_C" >&6
9860 else 9907 else
9861 cat >conftest.$ac_ext <<_ACEOF 9908 cat >conftest.$ac_ext <<_ACEOF
9862 #line 9862 "configure" 9909 #line 9909 "configure"
9863 #include "confdefs.h" 9910 #include "confdefs.h"
9864 #include <nlist.h> 9911 #include <nlist.h>
9865 9912
9866 int 9913 int
9867 main () 9914 main ()
9872 ; 9919 ;
9873 return 0; 9920 return 0;
9874 } 9921 }
9875 _ACEOF 9922 _ACEOF
9876 rm -f conftest.$ac_objext 9923 rm -f conftest.$ac_objext
9877 if { (eval echo "$as_me:9877: \"$ac_compile\"") >&5 9924 if { (eval echo "$as_me:9924: \"$ac_compile\"") >&5
9878 (eval $ac_compile) 2>&5 9925 (eval $ac_compile) 2>&5
9879 ac_status=$? 9926 ac_status=$?
9880 echo "$as_me:9880: \$? = $ac_status" >&5 9927 echo "$as_me:9927: \$? = $ac_status" >&5
9881 (exit $ac_status); } && 9928 (exit $ac_status); } &&
9882 { ac_try='test -s conftest.$ac_objext' 9929 { ac_try='test -s conftest.$ac_objext'
9883 { (eval echo "$as_me:9883: \"$ac_try\"") >&5 9930 { (eval echo "$as_me:9930: \"$ac_try\"") >&5
9884 (eval $ac_try) 2>&5 9931 (eval $ac_try) 2>&5
9885 ac_status=$? 9932 ac_status=$?
9886 echo "$as_me:9886: \$? = $ac_status" >&5 9933 echo "$as_me:9933: \$? = $ac_status" >&5
9887 (exit $ac_status); }; }; then 9934 (exit $ac_status); }; }; then
9888 ac_cv_member_struct_nlist_n_un_n_name=yes 9935 ac_cv_member_struct_nlist_n_un_n_name=yes
9889 else 9936 else
9890 echo "$as_me: failed program was:" >&5 9937 echo "$as_me: failed program was:" >&5
9891 cat conftest.$ac_ext >&5 9938 cat conftest.$ac_ext >&5
9892 ac_cv_member_struct_nlist_n_un_n_name=no 9939 ac_cv_member_struct_nlist_n_un_n_name=no
9893 fi 9940 fi
9894 rm -f conftest.$ac_objext conftest.$ac_ext 9941 rm -f conftest.$ac_objext conftest.$ac_ext
9895 fi 9942 fi
9896 echo "$as_me:9896: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5 9943 echo "$as_me:9943: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5
9897 echo "${ECHO_T}$ac_cv_member_struct_nlist_n_un_n_name" >&6 9944 echo "${ECHO_T}$ac_cv_member_struct_nlist_n_un_n_name" >&6
9898 if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then 9945 if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then
9899 9946
9900 cat >>confdefs.h <<EOF 9947 cat >>confdefs.h <<EOF
9901 #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1 9948 #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1
9912 9959
9913 fi 9960 fi
9914 done 9961 done
9915 9962
9916 # Some definitions of getloadavg require that the program be installed setgid. 9963 # Some definitions of getloadavg require that the program be installed setgid.
9917 echo "$as_me:9917: checking whether getloadavg requires setgid" >&5 9964 echo "$as_me:9964: checking whether getloadavg requires setgid" >&5
9918 echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6 9965 echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6
9919 if test "${ac_cv_func_getloadavg_setgid+set}" = set; then 9966 if test "${ac_cv_func_getloadavg_setgid+set}" = set; then
9920 echo $ECHO_N "(cached) $ECHO_C" >&6 9967 echo $ECHO_N "(cached) $ECHO_C" >&6
9921 else 9968 else
9922 cat >conftest.$ac_ext <<_ACEOF 9969 cat >conftest.$ac_ext <<_ACEOF
9923 #line 9923 "configure" 9970 #line 9970 "configure"
9924 #include "confdefs.h" 9971 #include "confdefs.h"
9925 #include "$srcdir/getloadavg.c" 9972 #include "$srcdir/getloadavg.c"
9926 #ifdef LDAV_PRIVILEGED 9973 #ifdef LDAV_PRIVILEGED
9927 Yowza Am I SETGID yet 9974 Yowza Am I SETGID yet
9928 #endif 9975 #endif
9934 ac_cv_func_getloadavg_setgid=no 9981 ac_cv_func_getloadavg_setgid=no
9935 fi 9982 fi
9936 rm -f conftest* 9983 rm -f conftest*
9937 9984
9938 fi 9985 fi
9939 echo "$as_me:9939: result: $ac_cv_func_getloadavg_setgid" >&5 9986 echo "$as_me:9986: result: $ac_cv_func_getloadavg_setgid" >&5
9940 echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6 9987 echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6
9941 if test $ac_cv_func_getloadavg_setgid = yes; then 9988 if test $ac_cv_func_getloadavg_setgid = yes; then
9942 NEED_SETGID=true 9989 NEED_SETGID=true
9943 9990
9944 cat >>confdefs.h <<\EOF 9991 cat >>confdefs.h <<\EOF
9948 else 9995 else
9949 NEED_SETGID=false 9996 NEED_SETGID=false
9950 fi 9997 fi
9951 9998
9952 if test $ac_cv_func_getloadavg_setgid = yes; then 9999 if test $ac_cv_func_getloadavg_setgid = yes; then
9953 echo "$as_me:9953: checking group of /dev/kmem" >&5 10000 echo "$as_me:10000: checking group of /dev/kmem" >&5
9954 echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6 10001 echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6
9955 if test "${ac_cv_group_kmem+set}" = set; then 10002 if test "${ac_cv_group_kmem+set}" = set; then
9956 echo $ECHO_N "(cached) $ECHO_C" >&6 10003 echo $ECHO_N "(cached) $ECHO_C" >&6
9957 else 10004 else
9958 # On Solaris, /dev/kmem is a symlink. Get info on the real file. 10005 # On Solaris, /dev/kmem is a symlink. Get info on the real file.
9963 | sed -ne 's/[ ][ ]*/ /g; 10010 | sed -ne 's/[ ][ ]*/ /g;
9964 s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\) *.*/\1/; 10011 s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\) *.*/\1/;
9965 / /s/.* //;p;'` 10012 / /s/.* //;p;'`
9966 10013
9967 fi 10014 fi
9968 echo "$as_me:9968: result: $ac_cv_group_kmem" >&5 10015 echo "$as_me:10015: result: $ac_cv_group_kmem" >&5
9969 echo "${ECHO_T}$ac_cv_group_kmem" >&6 10016 echo "${ECHO_T}$ac_cv_group_kmem" >&6
9970 KMEM_GROUP=$ac_cv_group_kmem 10017 KMEM_GROUP=$ac_cv_group_kmem
9971 fi 10018 fi
9972 if test "x$ac_save_LIBS" = x; then 10019 if test "x$ac_save_LIBS" = x; then
9973 GETLOADAVG_LIBS=$LIBS 10020 GETLOADAVG_LIBS=$LIBS
9974 else 10021 else
9975 GETLOADAVG_LIBS=`echo "$LIBS" | sed "s!$ac_save_LIBS!!"` 10022 GETLOADAVG_LIBS=`echo "$LIBS" | sed "s!$ac_save_LIBS!!"`
9976 fi 10023 fi
9977 LIBS=$ac_save_LIBS 10024 LIBS=$ac_save_LIBS
9978 10025
9979 echo "$as_me:9979: checking for _LARGEFILE_SOURCE value needed for large files" >&5 10026 echo "$as_me:10026: checking for _LARGEFILE_SOURCE value needed for large files" >&5
9980 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6 10027 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
9981 if test "${ac_cv_sys_largefile_source+set}" = set; then 10028 if test "${ac_cv_sys_largefile_source+set}" = set; then
9982 echo $ECHO_N "(cached) $ECHO_C" >&6 10029 echo $ECHO_N "(cached) $ECHO_C" >&6
9983 else 10030 else
9984 while :; do 10031 while :; do
9985 ac_cv_sys_largefile_source=no 10032 ac_cv_sys_largefile_source=no
9986 cat >conftest.$ac_ext <<_ACEOF 10033 cat >conftest.$ac_ext <<_ACEOF
9987 #line 9987 "configure" 10034 #line 10034 "configure"
9988 #include "confdefs.h" 10035 #include "confdefs.h"
9989 #include <stdio.h> 10036 #include <stdio.h>
9990 int 10037 int
9991 main () 10038 main ()
9992 { 10039 {
9994 ; 10041 ;
9995 return 0; 10042 return 0;
9996 } 10043 }
9997 _ACEOF 10044 _ACEOF
9998 rm -f conftest.$ac_objext 10045 rm -f conftest.$ac_objext
9999 if { (eval echo "$as_me:9999: \"$ac_compile\"") >&5 10046 if { (eval echo "$as_me:10046: \"$ac_compile\"") >&5
10000 (eval $ac_compile) 2>&5 10047 (eval $ac_compile) 2>&5
10001 ac_status=$? 10048 ac_status=$?
10002 echo "$as_me:10002: \$? = $ac_status" >&5 10049 echo "$as_me:10049: \$? = $ac_status" >&5
10003 (exit $ac_status); } && 10050 (exit $ac_status); } &&
10004 { ac_try='test -s conftest.$ac_objext' 10051 { ac_try='test -s conftest.$ac_objext'
10005 { (eval echo "$as_me:10005: \"$ac_try\"") >&5 10052 { (eval echo "$as_me:10052: \"$ac_try\"") >&5
10006 (eval $ac_try) 2>&5 10053 (eval $ac_try) 2>&5
10007 ac_status=$? 10054 ac_status=$?
10008 echo "$as_me:10008: \$? = $ac_status" >&5 10055 echo "$as_me:10055: \$? = $ac_status" >&5
10009 (exit $ac_status); }; }; then 10056 (exit $ac_status); }; }; then
10010 break 10057 break
10011 else 10058 else
10012 echo "$as_me: failed program was:" >&5 10059 echo "$as_me: failed program was:" >&5
10013 cat conftest.$ac_ext >&5 10060 cat conftest.$ac_ext >&5
10014 fi 10061 fi
10015 rm -f conftest.$ac_objext conftest.$ac_ext 10062 rm -f conftest.$ac_objext conftest.$ac_ext
10016 cat >conftest.$ac_ext <<_ACEOF 10063 cat >conftest.$ac_ext <<_ACEOF
10017 #line 10017 "configure" 10064 #line 10064 "configure"
10018 #include "confdefs.h" 10065 #include "confdefs.h"
10019 #define _LARGEFILE_SOURCE 1 10066 #define _LARGEFILE_SOURCE 1
10020 #include <stdio.h> 10067 #include <stdio.h>
10021 int 10068 int
10022 main () 10069 main ()
10025 ; 10072 ;
10026 return 0; 10073 return 0;
10027 } 10074 }
10028 _ACEOF 10075 _ACEOF
10029 rm -f conftest.$ac_objext 10076 rm -f conftest.$ac_objext
10030 if { (eval echo "$as_me:10030: \"$ac_compile\"") >&5 10077 if { (eval echo "$as_me:10077: \"$ac_compile\"") >&5
10031 (eval $ac_compile) 2>&5 10078 (eval $ac_compile) 2>&5
10032 ac_status=$? 10079 ac_status=$?
10033 echo "$as_me:10033: \$? = $ac_status" >&5 10080 echo "$as_me:10080: \$? = $ac_status" >&5
10034 (exit $ac_status); } && 10081 (exit $ac_status); } &&
10035 { ac_try='test -s conftest.$ac_objext' 10082 { ac_try='test -s conftest.$ac_objext'
10036 { (eval echo "$as_me:10036: \"$ac_try\"") >&5 10083 { (eval echo "$as_me:10083: \"$ac_try\"") >&5
10037 (eval $ac_try) 2>&5 10084 (eval $ac_try) 2>&5
10038 ac_status=$? 10085 ac_status=$?
10039 echo "$as_me:10039: \$? = $ac_status" >&5 10086 echo "$as_me:10086: \$? = $ac_status" >&5
10040 (exit $ac_status); }; }; then 10087 (exit $ac_status); }; }; then
10041 ac_cv_sys_largefile_source=1; break 10088 ac_cv_sys_largefile_source=1; break
10042 else 10089 else
10043 echo "$as_me: failed program was:" >&5 10090 echo "$as_me: failed program was:" >&5
10044 cat conftest.$ac_ext >&5 10091 cat conftest.$ac_ext >&5
10045 fi 10092 fi
10046 rm -f conftest.$ac_objext conftest.$ac_ext 10093 rm -f conftest.$ac_objext conftest.$ac_ext
10047 break 10094 break
10048 done 10095 done
10049 fi 10096 fi
10050 echo "$as_me:10050: result: $ac_cv_sys_largefile_source" >&5 10097 echo "$as_me:10097: result: $ac_cv_sys_largefile_source" >&5
10051 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6 10098 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
10052 if test "$ac_cv_sys_largefile_source" != no; then 10099 if test "$ac_cv_sys_largefile_source" != no; then
10053 10100
10054 cat >>confdefs.h <<EOF 10101 cat >>confdefs.h <<EOF
10055 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source 10102 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
10059 rm -f conftest* 10106 rm -f conftest*
10060 10107
10061 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug 10108 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
10062 # in glibc 2.1.3, but that breaks too many other things. 10109 # in glibc 2.1.3, but that breaks too many other things.
10063 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc. 10110 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
10064 echo "$as_me:10064: checking for fseeko" >&5 10111 echo "$as_me:10111: checking for fseeko" >&5
10065 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6 10112 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
10066 if test "${ac_cv_func_fseeko+set}" = set; then 10113 if test "${ac_cv_func_fseeko+set}" = set; then
10067 echo $ECHO_N "(cached) $ECHO_C" >&6 10114 echo $ECHO_N "(cached) $ECHO_C" >&6
10068 else 10115 else
10069 cat >conftest.$ac_ext <<_ACEOF 10116 cat >conftest.$ac_ext <<_ACEOF
10070 #line 10070 "configure" 10117 #line 10117 "configure"
10071 #include "confdefs.h" 10118 #include "confdefs.h"
10072 #include <stdio.h> 10119 #include <stdio.h>
10073 int 10120 int
10074 main () 10121 main ()
10075 { 10122 {
10077 ; 10124 ;
10078 return 0; 10125 return 0;
10079 } 10126 }
10080 _ACEOF 10127 _ACEOF
10081 rm -f conftest.$ac_objext conftest$ac_exeext 10128 rm -f conftest.$ac_objext conftest$ac_exeext
10082 if { (eval echo "$as_me:10082: \"$ac_link\"") >&5 10129 if { (eval echo "$as_me:10129: \"$ac_link\"") >&5
10083 (eval $ac_link) 2>&5 10130 (eval $ac_link) 2>&5
10084 ac_status=$? 10131 ac_status=$?
10085 echo "$as_me:10085: \$? = $ac_status" >&5 10132 echo "$as_me:10132: \$? = $ac_status" >&5
10086 (exit $ac_status); } && 10133 (exit $ac_status); } &&
10087 { ac_try='test -s conftest$ac_exeext' 10134 { ac_try='test -s conftest$ac_exeext'
10088 { (eval echo "$as_me:10088: \"$ac_try\"") >&5 10135 { (eval echo "$as_me:10135: \"$ac_try\"") >&5
10089 (eval $ac_try) 2>&5 10136 (eval $ac_try) 2>&5
10090 ac_status=$? 10137 ac_status=$?
10091 echo "$as_me:10091: \$? = $ac_status" >&5 10138 echo "$as_me:10138: \$? = $ac_status" >&5
10092 (exit $ac_status); }; }; then 10139 (exit $ac_status); }; }; then
10093 ac_cv_func_fseeko=yes 10140 ac_cv_func_fseeko=yes
10094 else 10141 else
10095 echo "$as_me: failed program was:" >&5 10142 echo "$as_me: failed program was:" >&5
10096 cat conftest.$ac_ext >&5 10143 cat conftest.$ac_ext >&5
10097 ac_cv_func_fseeko=no 10144 ac_cv_func_fseeko=no
10098 fi 10145 fi
10099 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10146 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10100 fi 10147 fi
10101 echo "$as_me:10101: result: $ac_cv_func_fseeko" >&5 10148 echo "$as_me:10148: result: $ac_cv_func_fseeko" >&5
10102 echo "${ECHO_T}$ac_cv_func_fseeko" >&6 10149 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
10103 if test $ac_cv_func_fseeko = yes; then 10150 if test $ac_cv_func_fseeko = yes; then
10104 10151
10105 cat >>confdefs.h <<\EOF 10152 cat >>confdefs.h <<\EOF
10106 #define HAVE_FSEEKO 1 10153 #define HAVE_FSEEKO 1
10111 # UNIX98 PTYs. 10158 # UNIX98 PTYs.
10112 10159
10113 for ac_func in grantpt 10160 for ac_func in grantpt
10114 do 10161 do
10115 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 10162 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10116 echo "$as_me:10116: checking for $ac_func" >&5 10163 echo "$as_me:10163: checking for $ac_func" >&5
10117 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 10164 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10118 if eval "test \"\${$as_ac_var+set}\" = set"; then 10165 if eval "test \"\${$as_ac_var+set}\" = set"; then
10119 echo $ECHO_N "(cached) $ECHO_C" >&6 10166 echo $ECHO_N "(cached) $ECHO_C" >&6
10120 else 10167 else
10121 cat >conftest.$ac_ext <<_ACEOF 10168 cat >conftest.$ac_ext <<_ACEOF
10122 #line 10122 "configure" 10169 #line 10169 "configure"
10123 #include "confdefs.h" 10170 #include "confdefs.h"
10124 /* System header to define __stub macros and hopefully few prototypes, 10171 /* System header to define __stub macros and hopefully few prototypes,
10125 which can conflict with char $ac_func (); below. */ 10172 which can conflict with char $ac_func (); below. */
10126 #include <assert.h> 10173 #include <assert.h>
10127 /* Override any gcc2 internal prototype to avoid an error. */ 10174 /* Override any gcc2 internal prototype to avoid an error. */
10148 ; 10195 ;
10149 return 0; 10196 return 0;
10150 } 10197 }
10151 _ACEOF 10198 _ACEOF
10152 rm -f conftest.$ac_objext conftest$ac_exeext 10199 rm -f conftest.$ac_objext conftest$ac_exeext
10153 if { (eval echo "$as_me:10153: \"$ac_link\"") >&5 10200 if { (eval echo "$as_me:10200: \"$ac_link\"") >&5
10154 (eval $ac_link) 2>&5 10201 (eval $ac_link) 2>&5
10155 ac_status=$? 10202 ac_status=$?
10156 echo "$as_me:10156: \$? = $ac_status" >&5 10203 echo "$as_me:10203: \$? = $ac_status" >&5
10157 (exit $ac_status); } && 10204 (exit $ac_status); } &&
10158 { ac_try='test -s conftest$ac_exeext' 10205 { ac_try='test -s conftest$ac_exeext'
10159 { (eval echo "$as_me:10159: \"$ac_try\"") >&5 10206 { (eval echo "$as_me:10206: \"$ac_try\"") >&5
10160 (eval $ac_try) 2>&5 10207 (eval $ac_try) 2>&5
10161 ac_status=$? 10208 ac_status=$?
10162 echo "$as_me:10162: \$? = $ac_status" >&5 10209 echo "$as_me:10209: \$? = $ac_status" >&5
10163 (exit $ac_status); }; }; then 10210 (exit $ac_status); }; }; then
10164 eval "$as_ac_var=yes" 10211 eval "$as_ac_var=yes"
10165 else 10212 else
10166 echo "$as_me: failed program was:" >&5 10213 echo "$as_me: failed program was:" >&5
10167 cat conftest.$ac_ext >&5 10214 cat conftest.$ac_ext >&5
10168 eval "$as_ac_var=no" 10215 eval "$as_ac_var=no"
10169 fi 10216 fi
10170 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10217 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10171 fi 10218 fi
10172 echo "$as_me:10172: result: `eval echo '${'$as_ac_var'}'`" >&5 10219 echo "$as_me:10219: result: `eval echo '${'$as_ac_var'}'`" >&5
10173 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 10220 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10174 if test `eval echo '${'$as_ac_var'}'` = yes; then 10221 if test `eval echo '${'$as_ac_var'}'` = yes; then
10175 cat >>confdefs.h <<EOF 10222 cat >>confdefs.h <<EOF
10176 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 10223 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10177 EOF 10224 EOF
10182 # PTY-related GNU extensions. 10229 # PTY-related GNU extensions.
10183 10230
10184 for ac_func in getpt 10231 for ac_func in getpt
10185 do 10232 do
10186 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 10233 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10187 echo "$as_me:10187: checking for $ac_func" >&5 10234 echo "$as_me:10234: checking for $ac_func" >&5
10188 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 10235 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10189 if eval "test \"\${$as_ac_var+set}\" = set"; then 10236 if eval "test \"\${$as_ac_var+set}\" = set"; then
10190 echo $ECHO_N "(cached) $ECHO_C" >&6 10237 echo $ECHO_N "(cached) $ECHO_C" >&6
10191 else 10238 else
10192 cat >conftest.$ac_ext <<_ACEOF 10239 cat >conftest.$ac_ext <<_ACEOF
10193 #line 10193 "configure" 10240 #line 10240 "configure"
10194 #include "confdefs.h" 10241 #include "confdefs.h"
10195 /* System header to define __stub macros and hopefully few prototypes, 10242 /* System header to define __stub macros and hopefully few prototypes,
10196 which can conflict with char $ac_func (); below. */ 10243 which can conflict with char $ac_func (); below. */
10197 #include <assert.h> 10244 #include <assert.h>
10198 /* Override any gcc2 internal prototype to avoid an error. */ 10245 /* Override any gcc2 internal prototype to avoid an error. */
10219 ; 10266 ;
10220 return 0; 10267 return 0;
10221 } 10268 }
10222 _ACEOF 10269 _ACEOF
10223 rm -f conftest.$ac_objext conftest$ac_exeext 10270 rm -f conftest.$ac_objext conftest$ac_exeext
10224 if { (eval echo "$as_me:10224: \"$ac_link\"") >&5 10271 if { (eval echo "$as_me:10271: \"$ac_link\"") >&5
10225 (eval $ac_link) 2>&5 10272 (eval $ac_link) 2>&5
10226 ac_status=$? 10273 ac_status=$?
10227 echo "$as_me:10227: \$? = $ac_status" >&5 10274 echo "$as_me:10274: \$? = $ac_status" >&5
10228 (exit $ac_status); } && 10275 (exit $ac_status); } &&
10229 { ac_try='test -s conftest$ac_exeext' 10276 { ac_try='test -s conftest$ac_exeext'
10230 { (eval echo "$as_me:10230: \"$ac_try\"") >&5 10277 { (eval echo "$as_me:10277: \"$ac_try\"") >&5
10231 (eval $ac_try) 2>&5 10278 (eval $ac_try) 2>&5
10232 ac_status=$? 10279 ac_status=$?
10233 echo "$as_me:10233: \$? = $ac_status" >&5 10280 echo "$as_me:10280: \$? = $ac_status" >&5
10234 (exit $ac_status); }; }; then 10281 (exit $ac_status); }; }; then
10235 eval "$as_ac_var=yes" 10282 eval "$as_ac_var=yes"
10236 else 10283 else
10237 echo "$as_me: failed program was:" >&5 10284 echo "$as_me: failed program was:" >&5
10238 cat conftest.$ac_ext >&5 10285 cat conftest.$ac_ext >&5
10239 eval "$as_ac_var=no" 10286 eval "$as_ac_var=no"
10240 fi 10287 fi
10241 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10288 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10242 fi 10289 fi
10243 echo "$as_me:10243: result: `eval echo '${'$as_ac_var'}'`" >&5 10290 echo "$as_me:10290: result: `eval echo '${'$as_ac_var'}'`" >&5
10244 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 10291 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10245 if test `eval echo '${'$as_ac_var'}'` = yes; then 10292 if test `eval echo '${'$as_ac_var'}'` = yes; then
10246 cat >>confdefs.h <<EOF 10293 cat >>confdefs.h <<EOF
10247 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 10294 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10248 EOF 10295 EOF
10253 # Check this now, so that we will NOT find the above functions in ncurses. 10300 # Check this now, so that we will NOT find the above functions in ncurses.
10254 # That is because we have not set up to link ncurses in lib-src. 10301 # That is because we have not set up to link ncurses in lib-src.
10255 # It's better to believe a function is not available 10302 # It's better to believe a function is not available
10256 # than to expect to find it in ncurses. 10303 # than to expect to find it in ncurses.
10257 10304
10258 echo "$as_me:10258: checking for tparm in -lncurses" >&5 10305 echo "$as_me:10305: checking for tparm in -lncurses" >&5
10259 echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6 10306 echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6
10260 if test "${ac_cv_lib_ncurses_tparm+set}" = set; then 10307 if test "${ac_cv_lib_ncurses_tparm+set}" = set; then
10261 echo $ECHO_N "(cached) $ECHO_C" >&6 10308 echo $ECHO_N "(cached) $ECHO_C" >&6
10262 else 10309 else
10263 ac_check_lib_save_LIBS=$LIBS 10310 ac_check_lib_save_LIBS=$LIBS
10264 LIBS="-lncurses $LIBS" 10311 LIBS="-lncurses $LIBS"
10265 cat >conftest.$ac_ext <<_ACEOF 10312 cat >conftest.$ac_ext <<_ACEOF
10266 #line 10266 "configure" 10313 #line 10313 "configure"
10267 #include "confdefs.h" 10314 #include "confdefs.h"
10268 10315
10269 /* Override any gcc2 internal prototype to avoid an error. */ 10316 /* Override any gcc2 internal prototype to avoid an error. */
10270 #ifdef __cplusplus 10317 #ifdef __cplusplus
10271 extern "C" 10318 extern "C"
10280 ; 10327 ;
10281 return 0; 10328 return 0;
10282 } 10329 }
10283 _ACEOF 10330 _ACEOF
10284 rm -f conftest.$ac_objext conftest$ac_exeext 10331 rm -f conftest.$ac_objext conftest$ac_exeext
10285 if { (eval echo "$as_me:10285: \"$ac_link\"") >&5 10332 if { (eval echo "$as_me:10332: \"$ac_link\"") >&5
10286 (eval $ac_link) 2>&5 10333 (eval $ac_link) 2>&5
10287 ac_status=$? 10334 ac_status=$?
10288 echo "$as_me:10288: \$? = $ac_status" >&5 10335 echo "$as_me:10335: \$? = $ac_status" >&5
10289 (exit $ac_status); } && 10336 (exit $ac_status); } &&
10290 { ac_try='test -s conftest$ac_exeext' 10337 { ac_try='test -s conftest$ac_exeext'
10291 { (eval echo "$as_me:10291: \"$ac_try\"") >&5 10338 { (eval echo "$as_me:10338: \"$ac_try\"") >&5
10292 (eval $ac_try) 2>&5 10339 (eval $ac_try) 2>&5
10293 ac_status=$? 10340 ac_status=$?
10294 echo "$as_me:10294: \$? = $ac_status" >&5 10341 echo "$as_me:10341: \$? = $ac_status" >&5
10295 (exit $ac_status); }; }; then 10342 (exit $ac_status); }; }; then
10296 ac_cv_lib_ncurses_tparm=yes 10343 ac_cv_lib_ncurses_tparm=yes
10297 else 10344 else
10298 echo "$as_me: failed program was:" >&5 10345 echo "$as_me: failed program was:" >&5
10299 cat conftest.$ac_ext >&5 10346 cat conftest.$ac_ext >&5
10300 ac_cv_lib_ncurses_tparm=no 10347 ac_cv_lib_ncurses_tparm=no
10301 fi 10348 fi
10302 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10349 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10303 LIBS=$ac_check_lib_save_LIBS 10350 LIBS=$ac_check_lib_save_LIBS
10304 fi 10351 fi
10305 echo "$as_me:10305: result: $ac_cv_lib_ncurses_tparm" >&5 10352 echo "$as_me:10352: result: $ac_cv_lib_ncurses_tparm" >&5
10306 echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6 10353 echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6
10307 if test $ac_cv_lib_ncurses_tparm = yes; then 10354 if test $ac_cv_lib_ncurses_tparm = yes; then
10308 cat >>confdefs.h <<EOF 10355 cat >>confdefs.h <<EOF
10309 #define HAVE_LIBNCURSES 1 10356 #define HAVE_LIBNCURSES 1
10310 EOF 10357 EOF
10315 10362
10316 # Do we need the Hesiod library to provide the support routines? 10363 # Do we need the Hesiod library to provide the support routines?
10317 if test "$with_hesiod" = yes ; then 10364 if test "$with_hesiod" = yes ; then
10318 # Don't set $LIBS here -- see comments above. 10365 # Don't set $LIBS here -- see comments above.
10319 resolv=no 10366 resolv=no
10320 echo "$as_me:10320: checking for res_send" >&5 10367 echo "$as_me:10367: checking for res_send" >&5
10321 echo $ECHO_N "checking for res_send... $ECHO_C" >&6 10368 echo $ECHO_N "checking for res_send... $ECHO_C" >&6
10322 if test "${ac_cv_func_res_send+set}" = set; then 10369 if test "${ac_cv_func_res_send+set}" = set; then
10323 echo $ECHO_N "(cached) $ECHO_C" >&6 10370 echo $ECHO_N "(cached) $ECHO_C" >&6
10324 else 10371 else
10325 cat >conftest.$ac_ext <<_ACEOF 10372 cat >conftest.$ac_ext <<_ACEOF
10326 #line 10326 "configure" 10373 #line 10373 "configure"
10327 #include "confdefs.h" 10374 #include "confdefs.h"
10328 /* System header to define __stub macros and hopefully few prototypes, 10375 /* System header to define __stub macros and hopefully few prototypes,
10329 which can conflict with char res_send (); below. */ 10376 which can conflict with char res_send (); below. */
10330 #include <assert.h> 10377 #include <assert.h>
10331 /* Override any gcc2 internal prototype to avoid an error. */ 10378 /* Override any gcc2 internal prototype to avoid an error. */
10352 ; 10399 ;
10353 return 0; 10400 return 0;
10354 } 10401 }
10355 _ACEOF 10402 _ACEOF
10356 rm -f conftest.$ac_objext conftest$ac_exeext 10403 rm -f conftest.$ac_objext conftest$ac_exeext
10357 if { (eval echo "$as_me:10357: \"$ac_link\"") >&5 10404 if { (eval echo "$as_me:10404: \"$ac_link\"") >&5
10358 (eval $ac_link) 2>&5 10405 (eval $ac_link) 2>&5
10359 ac_status=$? 10406 ac_status=$?
10360 echo "$as_me:10360: \$? = $ac_status" >&5 10407 echo "$as_me:10407: \$? = $ac_status" >&5
10361 (exit $ac_status); } && 10408 (exit $ac_status); } &&
10362 { ac_try='test -s conftest$ac_exeext' 10409 { ac_try='test -s conftest$ac_exeext'
10363 { (eval echo "$as_me:10363: \"$ac_try\"") >&5 10410 { (eval echo "$as_me:10410: \"$ac_try\"") >&5
10364 (eval $ac_try) 2>&5 10411 (eval $ac_try) 2>&5
10365 ac_status=$? 10412 ac_status=$?
10366 echo "$as_me:10366: \$? = $ac_status" >&5 10413 echo "$as_me:10413: \$? = $ac_status" >&5
10367 (exit $ac_status); }; }; then 10414 (exit $ac_status); }; }; then
10368 ac_cv_func_res_send=yes 10415 ac_cv_func_res_send=yes
10369 else 10416 else
10370 echo "$as_me: failed program was:" >&5 10417 echo "$as_me: failed program was:" >&5
10371 cat conftest.$ac_ext >&5 10418 cat conftest.$ac_ext >&5
10372 ac_cv_func_res_send=no 10419 ac_cv_func_res_send=no
10373 fi 10420 fi
10374 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10421 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10375 fi 10422 fi
10376 echo "$as_me:10376: result: $ac_cv_func_res_send" >&5 10423 echo "$as_me:10423: result: $ac_cv_func_res_send" >&5
10377 echo "${ECHO_T}$ac_cv_func_res_send" >&6 10424 echo "${ECHO_T}$ac_cv_func_res_send" >&6
10378 if test $ac_cv_func_res_send = yes; then 10425 if test $ac_cv_func_res_send = yes; then
10379 : 10426 :
10380 else 10427 else
10381 echo "$as_me:10381: checking for __res_send" >&5 10428 echo "$as_me:10428: checking for __res_send" >&5
10382 echo $ECHO_N "checking for __res_send... $ECHO_C" >&6 10429 echo $ECHO_N "checking for __res_send... $ECHO_C" >&6
10383 if test "${ac_cv_func___res_send+set}" = set; then 10430 if test "${ac_cv_func___res_send+set}" = set; then
10384 echo $ECHO_N "(cached) $ECHO_C" >&6 10431 echo $ECHO_N "(cached) $ECHO_C" >&6
10385 else 10432 else
10386 cat >conftest.$ac_ext <<_ACEOF 10433 cat >conftest.$ac_ext <<_ACEOF
10387 #line 10387 "configure" 10434 #line 10434 "configure"
10388 #include "confdefs.h" 10435 #include "confdefs.h"
10389 /* System header to define __stub macros and hopefully few prototypes, 10436 /* System header to define __stub macros and hopefully few prototypes,
10390 which can conflict with char __res_send (); below. */ 10437 which can conflict with char __res_send (); below. */
10391 #include <assert.h> 10438 #include <assert.h>
10392 /* Override any gcc2 internal prototype to avoid an error. */ 10439 /* Override any gcc2 internal prototype to avoid an error. */
10413 ; 10460 ;
10414 return 0; 10461 return 0;
10415 } 10462 }
10416 _ACEOF 10463 _ACEOF
10417 rm -f conftest.$ac_objext conftest$ac_exeext 10464 rm -f conftest.$ac_objext conftest$ac_exeext
10418 if { (eval echo "$as_me:10418: \"$ac_link\"") >&5 10465 if { (eval echo "$as_me:10465: \"$ac_link\"") >&5
10419 (eval $ac_link) 2>&5 10466 (eval $ac_link) 2>&5
10420 ac_status=$? 10467 ac_status=$?
10421 echo "$as_me:10421: \$? = $ac_status" >&5 10468 echo "$as_me:10468: \$? = $ac_status" >&5
10422 (exit $ac_status); } && 10469 (exit $ac_status); } &&
10423 { ac_try='test -s conftest$ac_exeext' 10470 { ac_try='test -s conftest$ac_exeext'
10424 { (eval echo "$as_me:10424: \"$ac_try\"") >&5 10471 { (eval echo "$as_me:10471: \"$ac_try\"") >&5
10425 (eval $ac_try) 2>&5 10472 (eval $ac_try) 2>&5
10426 ac_status=$? 10473 ac_status=$?
10427 echo "$as_me:10427: \$? = $ac_status" >&5 10474 echo "$as_me:10474: \$? = $ac_status" >&5
10428 (exit $ac_status); }; }; then 10475 (exit $ac_status); }; }; then
10429 ac_cv_func___res_send=yes 10476 ac_cv_func___res_send=yes
10430 else 10477 else
10431 echo "$as_me: failed program was:" >&5 10478 echo "$as_me: failed program was:" >&5
10432 cat conftest.$ac_ext >&5 10479 cat conftest.$ac_ext >&5
10433 ac_cv_func___res_send=no 10480 ac_cv_func___res_send=no
10434 fi 10481 fi
10435 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10482 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10436 fi 10483 fi
10437 echo "$as_me:10437: result: $ac_cv_func___res_send" >&5 10484 echo "$as_me:10484: result: $ac_cv_func___res_send" >&5
10438 echo "${ECHO_T}$ac_cv_func___res_send" >&6 10485 echo "${ECHO_T}$ac_cv_func___res_send" >&6
10439 if test $ac_cv_func___res_send = yes; then 10486 if test $ac_cv_func___res_send = yes; then
10440 : 10487 :
10441 else 10488 else
10442 echo "$as_me:10442: checking for res_send in -lresolv" >&5 10489 echo "$as_me:10489: checking for res_send in -lresolv" >&5
10443 echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6 10490 echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6
10444 if test "${ac_cv_lib_resolv_res_send+set}" = set; then 10491 if test "${ac_cv_lib_resolv_res_send+set}" = set; then
10445 echo $ECHO_N "(cached) $ECHO_C" >&6 10492 echo $ECHO_N "(cached) $ECHO_C" >&6
10446 else 10493 else
10447 ac_check_lib_save_LIBS=$LIBS 10494 ac_check_lib_save_LIBS=$LIBS
10448 LIBS="-lresolv $LIBS" 10495 LIBS="-lresolv $LIBS"
10449 cat >conftest.$ac_ext <<_ACEOF 10496 cat >conftest.$ac_ext <<_ACEOF
10450 #line 10450 "configure" 10497 #line 10497 "configure"
10451 #include "confdefs.h" 10498 #include "confdefs.h"
10452 10499
10453 /* Override any gcc2 internal prototype to avoid an error. */ 10500 /* Override any gcc2 internal prototype to avoid an error. */
10454 #ifdef __cplusplus 10501 #ifdef __cplusplus
10455 extern "C" 10502 extern "C"
10464 ; 10511 ;
10465 return 0; 10512 return 0;
10466 } 10513 }
10467 _ACEOF 10514 _ACEOF
10468 rm -f conftest.$ac_objext conftest$ac_exeext 10515 rm -f conftest.$ac_objext conftest$ac_exeext
10469 if { (eval echo "$as_me:10469: \"$ac_link\"") >&5 10516 if { (eval echo "$as_me:10516: \"$ac_link\"") >&5
10470 (eval $ac_link) 2>&5 10517 (eval $ac_link) 2>&5
10471 ac_status=$? 10518 ac_status=$?
10472 echo "$as_me:10472: \$? = $ac_status" >&5 10519 echo "$as_me:10519: \$? = $ac_status" >&5
10473 (exit $ac_status); } && 10520 (exit $ac_status); } &&
10474 { ac_try='test -s conftest$ac_exeext' 10521 { ac_try='test -s conftest$ac_exeext'
10475 { (eval echo "$as_me:10475: \"$ac_try\"") >&5 10522 { (eval echo "$as_me:10522: \"$ac_try\"") >&5
10476 (eval $ac_try) 2>&5 10523 (eval $ac_try) 2>&5
10477 ac_status=$? 10524 ac_status=$?
10478 echo "$as_me:10478: \$? = $ac_status" >&5 10525 echo "$as_me:10525: \$? = $ac_status" >&5
10479 (exit $ac_status); }; }; then 10526 (exit $ac_status); }; }; then
10480 ac_cv_lib_resolv_res_send=yes 10527 ac_cv_lib_resolv_res_send=yes
10481 else 10528 else
10482 echo "$as_me: failed program was:" >&5 10529 echo "$as_me: failed program was:" >&5
10483 cat conftest.$ac_ext >&5 10530 cat conftest.$ac_ext >&5
10484 ac_cv_lib_resolv_res_send=no 10531 ac_cv_lib_resolv_res_send=no
10485 fi 10532 fi
10486 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10533 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10487 LIBS=$ac_check_lib_save_LIBS 10534 LIBS=$ac_check_lib_save_LIBS
10488 fi 10535 fi
10489 echo "$as_me:10489: result: $ac_cv_lib_resolv_res_send" >&5 10536 echo "$as_me:10536: result: $ac_cv_lib_resolv_res_send" >&5
10490 echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6 10537 echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6
10491 if test $ac_cv_lib_resolv_res_send = yes; then 10538 if test $ac_cv_lib_resolv_res_send = yes; then
10492 resolv=yes 10539 resolv=yes
10493 else 10540 else
10494 echo "$as_me:10494: checking for __res_send in -lresolv" >&5 10541 echo "$as_me:10541: checking for __res_send in -lresolv" >&5
10495 echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6 10542 echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6
10496 if test "${ac_cv_lib_resolv___res_send+set}" = set; then 10543 if test "${ac_cv_lib_resolv___res_send+set}" = set; then
10497 echo $ECHO_N "(cached) $ECHO_C" >&6 10544 echo $ECHO_N "(cached) $ECHO_C" >&6
10498 else 10545 else
10499 ac_check_lib_save_LIBS=$LIBS 10546 ac_check_lib_save_LIBS=$LIBS
10500 LIBS="-lresolv $LIBS" 10547 LIBS="-lresolv $LIBS"
10501 cat >conftest.$ac_ext <<_ACEOF 10548 cat >conftest.$ac_ext <<_ACEOF
10502 #line 10502 "configure" 10549 #line 10549 "configure"
10503 #include "confdefs.h" 10550 #include "confdefs.h"
10504 10551
10505 /* Override any gcc2 internal prototype to avoid an error. */ 10552 /* Override any gcc2 internal prototype to avoid an error. */
10506 #ifdef __cplusplus 10553 #ifdef __cplusplus
10507 extern "C" 10554 extern "C"
10516 ; 10563 ;
10517 return 0; 10564 return 0;
10518 } 10565 }
10519 _ACEOF 10566 _ACEOF
10520 rm -f conftest.$ac_objext conftest$ac_exeext 10567 rm -f conftest.$ac_objext conftest$ac_exeext
10521 if { (eval echo "$as_me:10521: \"$ac_link\"") >&5 10568 if { (eval echo "$as_me:10568: \"$ac_link\"") >&5
10522 (eval $ac_link) 2>&5 10569 (eval $ac_link) 2>&5
10523 ac_status=$? 10570 ac_status=$?
10524 echo "$as_me:10524: \$? = $ac_status" >&5 10571 echo "$as_me:10571: \$? = $ac_status" >&5
10525 (exit $ac_status); } && 10572 (exit $ac_status); } &&
10526 { ac_try='test -s conftest$ac_exeext' 10573 { ac_try='test -s conftest$ac_exeext'
10527 { (eval echo "$as_me:10527: \"$ac_try\"") >&5 10574 { (eval echo "$as_me:10574: \"$ac_try\"") >&5
10528 (eval $ac_try) 2>&5 10575 (eval $ac_try) 2>&5
10529 ac_status=$? 10576 ac_status=$?
10530 echo "$as_me:10530: \$? = $ac_status" >&5 10577 echo "$as_me:10577: \$? = $ac_status" >&5
10531 (exit $ac_status); }; }; then 10578 (exit $ac_status); }; }; then
10532 ac_cv_lib_resolv___res_send=yes 10579 ac_cv_lib_resolv___res_send=yes
10533 else 10580 else
10534 echo "$as_me: failed program was:" >&5 10581 echo "$as_me: failed program was:" >&5
10535 cat conftest.$ac_ext >&5 10582 cat conftest.$ac_ext >&5
10536 ac_cv_lib_resolv___res_send=no 10583 ac_cv_lib_resolv___res_send=no
10537 fi 10584 fi
10538 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10585 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10539 LIBS=$ac_check_lib_save_LIBS 10586 LIBS=$ac_check_lib_save_LIBS
10540 fi 10587 fi
10541 echo "$as_me:10541: result: $ac_cv_lib_resolv___res_send" >&5 10588 echo "$as_me:10588: result: $ac_cv_lib_resolv___res_send" >&5
10542 echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6 10589 echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6
10543 if test $ac_cv_lib_resolv___res_send = yes; then 10590 if test $ac_cv_lib_resolv___res_send = yes; then
10544 resolv=yes 10591 resolv=yes
10545 fi 10592 fi
10546 10593
10558 EOF 10605 EOF
10559 10606
10560 else 10607 else
10561 RESOLVLIB= 10608 RESOLVLIB=
10562 fi 10609 fi
10563 echo "$as_me:10563: checking for hes_getmailhost" >&5 10610 echo "$as_me:10610: checking for hes_getmailhost" >&5
10564 echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6 10611 echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6
10565 if test "${ac_cv_func_hes_getmailhost+set}" = set; then 10612 if test "${ac_cv_func_hes_getmailhost+set}" = set; then
10566 echo $ECHO_N "(cached) $ECHO_C" >&6 10613 echo $ECHO_N "(cached) $ECHO_C" >&6
10567 else 10614 else
10568 cat >conftest.$ac_ext <<_ACEOF 10615 cat >conftest.$ac_ext <<_ACEOF
10569 #line 10569 "configure" 10616 #line 10616 "configure"
10570 #include "confdefs.h" 10617 #include "confdefs.h"
10571 /* System header to define __stub macros and hopefully few prototypes, 10618 /* System header to define __stub macros and hopefully few prototypes,
10572 which can conflict with char hes_getmailhost (); below. */ 10619 which can conflict with char hes_getmailhost (); below. */
10573 #include <assert.h> 10620 #include <assert.h>
10574 /* Override any gcc2 internal prototype to avoid an error. */ 10621 /* Override any gcc2 internal prototype to avoid an error. */
10595 ; 10642 ;
10596 return 0; 10643 return 0;
10597 } 10644 }
10598 _ACEOF 10645 _ACEOF
10599 rm -f conftest.$ac_objext conftest$ac_exeext 10646 rm -f conftest.$ac_objext conftest$ac_exeext
10600 if { (eval echo "$as_me:10600: \"$ac_link\"") >&5 10647 if { (eval echo "$as_me:10647: \"$ac_link\"") >&5
10601 (eval $ac_link) 2>&5 10648 (eval $ac_link) 2>&5
10602 ac_status=$? 10649 ac_status=$?
10603 echo "$as_me:10603: \$? = $ac_status" >&5 10650 echo "$as_me:10650: \$? = $ac_status" >&5
10604 (exit $ac_status); } && 10651 (exit $ac_status); } &&
10605 { ac_try='test -s conftest$ac_exeext' 10652 { ac_try='test -s conftest$ac_exeext'
10606 { (eval echo "$as_me:10606: \"$ac_try\"") >&5 10653 { (eval echo "$as_me:10653: \"$ac_try\"") >&5
10607 (eval $ac_try) 2>&5 10654 (eval $ac_try) 2>&5
10608 ac_status=$? 10655 ac_status=$?
10609 echo "$as_me:10609: \$? = $ac_status" >&5 10656 echo "$as_me:10656: \$? = $ac_status" >&5
10610 (exit $ac_status); }; }; then 10657 (exit $ac_status); }; }; then
10611 ac_cv_func_hes_getmailhost=yes 10658 ac_cv_func_hes_getmailhost=yes
10612 else 10659 else
10613 echo "$as_me: failed program was:" >&5 10660 echo "$as_me: failed program was:" >&5
10614 cat conftest.$ac_ext >&5 10661 cat conftest.$ac_ext >&5
10615 ac_cv_func_hes_getmailhost=no 10662 ac_cv_func_hes_getmailhost=no
10616 fi 10663 fi
10617 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10664 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10618 fi 10665 fi
10619 echo "$as_me:10619: result: $ac_cv_func_hes_getmailhost" >&5 10666 echo "$as_me:10666: result: $ac_cv_func_hes_getmailhost" >&5
10620 echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6 10667 echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6
10621 if test $ac_cv_func_hes_getmailhost = yes; then 10668 if test $ac_cv_func_hes_getmailhost = yes; then
10622 : 10669 :
10623 else 10670 else
10624 echo "$as_me:10624: checking for hes_getmailhost in -lhesiod" >&5 10671 echo "$as_me:10671: checking for hes_getmailhost in -lhesiod" >&5
10625 echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6 10672 echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6
10626 if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then 10673 if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then
10627 echo $ECHO_N "(cached) $ECHO_C" >&6 10674 echo $ECHO_N "(cached) $ECHO_C" >&6
10628 else 10675 else
10629 ac_check_lib_save_LIBS=$LIBS 10676 ac_check_lib_save_LIBS=$LIBS
10630 LIBS="-lhesiod $RESOLVLIB $LIBS" 10677 LIBS="-lhesiod $RESOLVLIB $LIBS"
10631 cat >conftest.$ac_ext <<_ACEOF 10678 cat >conftest.$ac_ext <<_ACEOF
10632 #line 10632 "configure" 10679 #line 10679 "configure"
10633 #include "confdefs.h" 10680 #include "confdefs.h"
10634 10681
10635 /* Override any gcc2 internal prototype to avoid an error. */ 10682 /* Override any gcc2 internal prototype to avoid an error. */
10636 #ifdef __cplusplus 10683 #ifdef __cplusplus
10637 extern "C" 10684 extern "C"
10646 ; 10693 ;
10647 return 0; 10694 return 0;
10648 } 10695 }
10649 _ACEOF 10696 _ACEOF
10650 rm -f conftest.$ac_objext conftest$ac_exeext 10697 rm -f conftest.$ac_objext conftest$ac_exeext
10651 if { (eval echo "$as_me:10651: \"$ac_link\"") >&5 10698 if { (eval echo "$as_me:10698: \"$ac_link\"") >&5
10652 (eval $ac_link) 2>&5 10699 (eval $ac_link) 2>&5
10653 ac_status=$? 10700 ac_status=$?
10654 echo "$as_me:10654: \$? = $ac_status" >&5 10701 echo "$as_me:10701: \$? = $ac_status" >&5
10655 (exit $ac_status); } && 10702 (exit $ac_status); } &&
10656 { ac_try='test -s conftest$ac_exeext' 10703 { ac_try='test -s conftest$ac_exeext'
10657 { (eval echo "$as_me:10657: \"$ac_try\"") >&5 10704 { (eval echo "$as_me:10704: \"$ac_try\"") >&5
10658 (eval $ac_try) 2>&5 10705 (eval $ac_try) 2>&5
10659 ac_status=$? 10706 ac_status=$?
10660 echo "$as_me:10660: \$? = $ac_status" >&5 10707 echo "$as_me:10707: \$? = $ac_status" >&5
10661 (exit $ac_status); }; }; then 10708 (exit $ac_status); }; }; then
10662 ac_cv_lib_hesiod_hes_getmailhost=yes 10709 ac_cv_lib_hesiod_hes_getmailhost=yes
10663 else 10710 else
10664 echo "$as_me: failed program was:" >&5 10711 echo "$as_me: failed program was:" >&5
10665 cat conftest.$ac_ext >&5 10712 cat conftest.$ac_ext >&5
10666 ac_cv_lib_hesiod_hes_getmailhost=no 10713 ac_cv_lib_hesiod_hes_getmailhost=no
10667 fi 10714 fi
10668 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10715 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10669 LIBS=$ac_check_lib_save_LIBS 10716 LIBS=$ac_check_lib_save_LIBS
10670 fi 10717 fi
10671 echo "$as_me:10671: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5 10718 echo "$as_me:10718: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5
10672 echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6 10719 echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6
10673 if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then 10720 if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then
10674 10721
10675 cat >>confdefs.h <<\EOF 10722 cat >>confdefs.h <<\EOF
10676 #define HAVE_LIBHESIOD 1 10723 #define HAVE_LIBHESIOD 1
10685 fi 10732 fi
10686 10733
10687 # These tell us which Kerberos-related libraries to use. 10734 # These tell us which Kerberos-related libraries to use.
10688 if test "${with_kerberos+set}" = set; then 10735 if test "${with_kerberos+set}" = set; then
10689 10736
10690 echo "$as_me:10690: checking for com_err in -lcom_err" >&5 10737 echo "$as_me:10737: checking for com_err in -lcom_err" >&5
10691 echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6 10738 echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6
10692 if test "${ac_cv_lib_com_err_com_err+set}" = set; then 10739 if test "${ac_cv_lib_com_err_com_err+set}" = set; then
10693 echo $ECHO_N "(cached) $ECHO_C" >&6 10740 echo $ECHO_N "(cached) $ECHO_C" >&6
10694 else 10741 else
10695 ac_check_lib_save_LIBS=$LIBS 10742 ac_check_lib_save_LIBS=$LIBS
10696 LIBS="-lcom_err $LIBS" 10743 LIBS="-lcom_err $LIBS"
10697 cat >conftest.$ac_ext <<_ACEOF 10744 cat >conftest.$ac_ext <<_ACEOF
10698 #line 10698 "configure" 10745 #line 10745 "configure"
10699 #include "confdefs.h" 10746 #include "confdefs.h"
10700 10747
10701 /* Override any gcc2 internal prototype to avoid an error. */ 10748 /* Override any gcc2 internal prototype to avoid an error. */
10702 #ifdef __cplusplus 10749 #ifdef __cplusplus
10703 extern "C" 10750 extern "C"
10712 ; 10759 ;
10713 return 0; 10760 return 0;
10714 } 10761 }
10715 _ACEOF 10762 _ACEOF
10716 rm -f conftest.$ac_objext conftest$ac_exeext 10763 rm -f conftest.$ac_objext conftest$ac_exeext
10717 if { (eval echo "$as_me:10717: \"$ac_link\"") >&5 10764 if { (eval echo "$as_me:10764: \"$ac_link\"") >&5
10718 (eval $ac_link) 2>&5 10765 (eval $ac_link) 2>&5
10719 ac_status=$? 10766 ac_status=$?
10720 echo "$as_me:10720: \$? = $ac_status" >&5 10767 echo "$as_me:10767: \$? = $ac_status" >&5
10721 (exit $ac_status); } && 10768 (exit $ac_status); } &&
10722 { ac_try='test -s conftest$ac_exeext' 10769 { ac_try='test -s conftest$ac_exeext'
10723 { (eval echo "$as_me:10723: \"$ac_try\"") >&5 10770 { (eval echo "$as_me:10770: \"$ac_try\"") >&5
10724 (eval $ac_try) 2>&5 10771 (eval $ac_try) 2>&5
10725 ac_status=$? 10772 ac_status=$?
10726 echo "$as_me:10726: \$? = $ac_status" >&5 10773 echo "$as_me:10773: \$? = $ac_status" >&5
10727 (exit $ac_status); }; }; then 10774 (exit $ac_status); }; }; then
10728 ac_cv_lib_com_err_com_err=yes 10775 ac_cv_lib_com_err_com_err=yes
10729 else 10776 else
10730 echo "$as_me: failed program was:" >&5 10777 echo "$as_me: failed program was:" >&5
10731 cat conftest.$ac_ext >&5 10778 cat conftest.$ac_ext >&5
10732 ac_cv_lib_com_err_com_err=no 10779 ac_cv_lib_com_err_com_err=no
10733 fi 10780 fi
10734 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10781 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10735 LIBS=$ac_check_lib_save_LIBS 10782 LIBS=$ac_check_lib_save_LIBS
10736 fi 10783 fi
10737 echo "$as_me:10737: result: $ac_cv_lib_com_err_com_err" >&5 10784 echo "$as_me:10784: result: $ac_cv_lib_com_err_com_err" >&5
10738 echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6 10785 echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6
10739 if test $ac_cv_lib_com_err_com_err = yes; then 10786 if test $ac_cv_lib_com_err_com_err = yes; then
10740 cat >>confdefs.h <<EOF 10787 cat >>confdefs.h <<EOF
10741 #define HAVE_LIBCOM_ERR 1 10788 #define HAVE_LIBCOM_ERR 1
10742 EOF 10789 EOF
10743 10790
10744 LIBS="-lcom_err $LIBS" 10791 LIBS="-lcom_err $LIBS"
10745 10792
10746 fi 10793 fi
10747 10794
10748 echo "$as_me:10748: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 10795 echo "$as_me:10795: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
10749 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lk5crypto... $ECHO_C" >&6 10796 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lk5crypto... $ECHO_C" >&6
10750 if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then 10797 if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then
10751 echo $ECHO_N "(cached) $ECHO_C" >&6 10798 echo $ECHO_N "(cached) $ECHO_C" >&6
10752 else 10799 else
10753 ac_check_lib_save_LIBS=$LIBS 10800 ac_check_lib_save_LIBS=$LIBS
10754 LIBS="-lk5crypto $LIBS" 10801 LIBS="-lk5crypto $LIBS"
10755 cat >conftest.$ac_ext <<_ACEOF 10802 cat >conftest.$ac_ext <<_ACEOF
10756 #line 10756 "configure" 10803 #line 10803 "configure"
10757 #include "confdefs.h" 10804 #include "confdefs.h"
10758 10805
10759 /* Override any gcc2 internal prototype to avoid an error. */ 10806 /* Override any gcc2 internal prototype to avoid an error. */
10760 #ifdef __cplusplus 10807 #ifdef __cplusplus
10761 extern "C" 10808 extern "C"
10770 ; 10817 ;
10771 return 0; 10818 return 0;
10772 } 10819 }
10773 _ACEOF 10820 _ACEOF
10774 rm -f conftest.$ac_objext conftest$ac_exeext 10821 rm -f conftest.$ac_objext conftest$ac_exeext
10775 if { (eval echo "$as_me:10775: \"$ac_link\"") >&5 10822 if { (eval echo "$as_me:10822: \"$ac_link\"") >&5
10776 (eval $ac_link) 2>&5 10823 (eval $ac_link) 2>&5
10777 ac_status=$? 10824 ac_status=$?
10778 echo "$as_me:10778: \$? = $ac_status" >&5 10825 echo "$as_me:10825: \$? = $ac_status" >&5
10779 (exit $ac_status); } && 10826 (exit $ac_status); } &&
10780 { ac_try='test -s conftest$ac_exeext' 10827 { ac_try='test -s conftest$ac_exeext'
10781 { (eval echo "$as_me:10781: \"$ac_try\"") >&5 10828 { (eval echo "$as_me:10828: \"$ac_try\"") >&5
10782 (eval $ac_try) 2>&5 10829 (eval $ac_try) 2>&5
10783 ac_status=$? 10830 ac_status=$?
10784 echo "$as_me:10784: \$? = $ac_status" >&5 10831 echo "$as_me:10831: \$? = $ac_status" >&5
10785 (exit $ac_status); }; }; then 10832 (exit $ac_status); }; }; then
10786 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes 10833 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes
10787 else 10834 else
10788 echo "$as_me: failed program was:" >&5 10835 echo "$as_me: failed program was:" >&5
10789 cat conftest.$ac_ext >&5 10836 cat conftest.$ac_ext >&5
10790 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=no 10837 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=no
10791 fi 10838 fi
10792 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10839 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10793 LIBS=$ac_check_lib_save_LIBS 10840 LIBS=$ac_check_lib_save_LIBS
10794 fi 10841 fi
10795 echo "$as_me:10795: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5 10842 echo "$as_me:10842: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5
10796 echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6 10843 echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6
10797 if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then 10844 if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then
10798 cat >>confdefs.h <<EOF 10845 cat >>confdefs.h <<EOF
10799 #define HAVE_LIBK5CRYPTO 1 10846 #define HAVE_LIBK5CRYPTO 1
10800 EOF 10847 EOF
10801 10848
10802 LIBS="-lk5crypto $LIBS" 10849 LIBS="-lk5crypto $LIBS"
10803 10850
10804 fi 10851 fi
10805 10852
10806 echo "$as_me:10806: checking for mit_des_cbc_encrypt in -lcrypto" >&5 10853 echo "$as_me:10853: checking for mit_des_cbc_encrypt in -lcrypto" >&5
10807 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lcrypto... $ECHO_C" >&6 10854 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lcrypto... $ECHO_C" >&6
10808 if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then 10855 if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then
10809 echo $ECHO_N "(cached) $ECHO_C" >&6 10856 echo $ECHO_N "(cached) $ECHO_C" >&6
10810 else 10857 else
10811 ac_check_lib_save_LIBS=$LIBS 10858 ac_check_lib_save_LIBS=$LIBS
10812 LIBS="-lcrypto $LIBS" 10859 LIBS="-lcrypto $LIBS"
10813 cat >conftest.$ac_ext <<_ACEOF 10860 cat >conftest.$ac_ext <<_ACEOF
10814 #line 10814 "configure" 10861 #line 10861 "configure"
10815 #include "confdefs.h" 10862 #include "confdefs.h"
10816 10863
10817 /* Override any gcc2 internal prototype to avoid an error. */ 10864 /* Override any gcc2 internal prototype to avoid an error. */
10818 #ifdef __cplusplus 10865 #ifdef __cplusplus
10819 extern "C" 10866 extern "C"
10828 ; 10875 ;
10829 return 0; 10876 return 0;
10830 } 10877 }
10831 _ACEOF 10878 _ACEOF
10832 rm -f conftest.$ac_objext conftest$ac_exeext 10879 rm -f conftest.$ac_objext conftest$ac_exeext
10833 if { (eval echo "$as_me:10833: \"$ac_link\"") >&5 10880 if { (eval echo "$as_me:10880: \"$ac_link\"") >&5
10834 (eval $ac_link) 2>&5 10881 (eval $ac_link) 2>&5
10835 ac_status=$? 10882 ac_status=$?
10836 echo "$as_me:10836: \$? = $ac_status" >&5 10883 echo "$as_me:10883: \$? = $ac_status" >&5
10837 (exit $ac_status); } && 10884 (exit $ac_status); } &&
10838 { ac_try='test -s conftest$ac_exeext' 10885 { ac_try='test -s conftest$ac_exeext'
10839 { (eval echo "$as_me:10839: \"$ac_try\"") >&5 10886 { (eval echo "$as_me:10886: \"$ac_try\"") >&5
10840 (eval $ac_try) 2>&5 10887 (eval $ac_try) 2>&5
10841 ac_status=$? 10888 ac_status=$?
10842 echo "$as_me:10842: \$? = $ac_status" >&5 10889 echo "$as_me:10889: \$? = $ac_status" >&5
10843 (exit $ac_status); }; }; then 10890 (exit $ac_status); }; }; then
10844 ac_cv_lib_crypto_mit_des_cbc_encrypt=yes 10891 ac_cv_lib_crypto_mit_des_cbc_encrypt=yes
10845 else 10892 else
10846 echo "$as_me: failed program was:" >&5 10893 echo "$as_me: failed program was:" >&5
10847 cat conftest.$ac_ext >&5 10894 cat conftest.$ac_ext >&5
10848 ac_cv_lib_crypto_mit_des_cbc_encrypt=no 10895 ac_cv_lib_crypto_mit_des_cbc_encrypt=no
10849 fi 10896 fi
10850 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10897 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10851 LIBS=$ac_check_lib_save_LIBS 10898 LIBS=$ac_check_lib_save_LIBS
10852 fi 10899 fi
10853 echo "$as_me:10853: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5 10900 echo "$as_me:10900: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5
10854 echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6 10901 echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6
10855 if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then 10902 if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then
10856 cat >>confdefs.h <<EOF 10903 cat >>confdefs.h <<EOF
10857 #define HAVE_LIBCRYPTO 1 10904 #define HAVE_LIBCRYPTO 1
10858 EOF 10905 EOF
10859 10906
10860 LIBS="-lcrypto $LIBS" 10907 LIBS="-lcrypto $LIBS"
10861 10908
10862 fi 10909 fi
10863 10910
10864 echo "$as_me:10864: checking for krb5_init_context in -lkrb5" >&5 10911 echo "$as_me:10911: checking for krb5_init_context in -lkrb5" >&5
10865 echo $ECHO_N "checking for krb5_init_context in -lkrb5... $ECHO_C" >&6 10912 echo $ECHO_N "checking for krb5_init_context in -lkrb5... $ECHO_C" >&6
10866 if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then 10913 if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then
10867 echo $ECHO_N "(cached) $ECHO_C" >&6 10914 echo $ECHO_N "(cached) $ECHO_C" >&6
10868 else 10915 else
10869 ac_check_lib_save_LIBS=$LIBS 10916 ac_check_lib_save_LIBS=$LIBS
10870 LIBS="-lkrb5 $LIBS" 10917 LIBS="-lkrb5 $LIBS"
10871 cat >conftest.$ac_ext <<_ACEOF 10918 cat >conftest.$ac_ext <<_ACEOF
10872 #line 10872 "configure" 10919 #line 10919 "configure"
10873 #include "confdefs.h" 10920 #include "confdefs.h"
10874 10921
10875 /* Override any gcc2 internal prototype to avoid an error. */ 10922 /* Override any gcc2 internal prototype to avoid an error. */
10876 #ifdef __cplusplus 10923 #ifdef __cplusplus
10877 extern "C" 10924 extern "C"
10886 ; 10933 ;
10887 return 0; 10934 return 0;
10888 } 10935 }
10889 _ACEOF 10936 _ACEOF
10890 rm -f conftest.$ac_objext conftest$ac_exeext 10937 rm -f conftest.$ac_objext conftest$ac_exeext
10891 if { (eval echo "$as_me:10891: \"$ac_link\"") >&5 10938 if { (eval echo "$as_me:10938: \"$ac_link\"") >&5
10892 (eval $ac_link) 2>&5 10939 (eval $ac_link) 2>&5
10893 ac_status=$? 10940 ac_status=$?
10894 echo "$as_me:10894: \$? = $ac_status" >&5 10941 echo "$as_me:10941: \$? = $ac_status" >&5
10895 (exit $ac_status); } && 10942 (exit $ac_status); } &&
10896 { ac_try='test -s conftest$ac_exeext' 10943 { ac_try='test -s conftest$ac_exeext'
10897 { (eval echo "$as_me:10897: \"$ac_try\"") >&5 10944 { (eval echo "$as_me:10944: \"$ac_try\"") >&5
10898 (eval $ac_try) 2>&5 10945 (eval $ac_try) 2>&5
10899 ac_status=$? 10946 ac_status=$?
10900 echo "$as_me:10900: \$? = $ac_status" >&5 10947 echo "$as_me:10947: \$? = $ac_status" >&5
10901 (exit $ac_status); }; }; then 10948 (exit $ac_status); }; }; then
10902 ac_cv_lib_krb5_krb5_init_context=yes 10949 ac_cv_lib_krb5_krb5_init_context=yes
10903 else 10950 else
10904 echo "$as_me: failed program was:" >&5 10951 echo "$as_me: failed program was:" >&5
10905 cat conftest.$ac_ext >&5 10952 cat conftest.$ac_ext >&5
10906 ac_cv_lib_krb5_krb5_init_context=no 10953 ac_cv_lib_krb5_krb5_init_context=no
10907 fi 10954 fi
10908 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10955 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10909 LIBS=$ac_check_lib_save_LIBS 10956 LIBS=$ac_check_lib_save_LIBS
10910 fi 10957 fi
10911 echo "$as_me:10911: result: $ac_cv_lib_krb5_krb5_init_context" >&5 10958 echo "$as_me:10958: result: $ac_cv_lib_krb5_krb5_init_context" >&5
10912 echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6 10959 echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6
10913 if test $ac_cv_lib_krb5_krb5_init_context = yes; then 10960 if test $ac_cv_lib_krb5_krb5_init_context = yes; then
10914 cat >>confdefs.h <<EOF 10961 cat >>confdefs.h <<EOF
10915 #define HAVE_LIBKRB5 1 10962 #define HAVE_LIBKRB5 1
10916 EOF 10963 EOF
10919 10966
10920 fi 10967 fi
10921 10968
10922 if test "${with_kerberos5+set}" != set; then 10969 if test "${with_kerberos5+set}" != set; then
10923 10970
10924 echo "$as_me:10924: checking for des_cbc_encrypt in -ldes425" >&5 10971 echo "$as_me:10971: checking for des_cbc_encrypt in -ldes425" >&5
10925 echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6 10972 echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6
10926 if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then 10973 if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then
10927 echo $ECHO_N "(cached) $ECHO_C" >&6 10974 echo $ECHO_N "(cached) $ECHO_C" >&6
10928 else 10975 else
10929 ac_check_lib_save_LIBS=$LIBS 10976 ac_check_lib_save_LIBS=$LIBS
10930 LIBS="-ldes425 $LIBS" 10977 LIBS="-ldes425 $LIBS"
10931 cat >conftest.$ac_ext <<_ACEOF 10978 cat >conftest.$ac_ext <<_ACEOF
10932 #line 10932 "configure" 10979 #line 10979 "configure"
10933 #include "confdefs.h" 10980 #include "confdefs.h"
10934 10981
10935 /* Override any gcc2 internal prototype to avoid an error. */ 10982 /* Override any gcc2 internal prototype to avoid an error. */
10936 #ifdef __cplusplus 10983 #ifdef __cplusplus
10937 extern "C" 10984 extern "C"
10946 ; 10993 ;
10947 return 0; 10994 return 0;
10948 } 10995 }
10949 _ACEOF 10996 _ACEOF
10950 rm -f conftest.$ac_objext conftest$ac_exeext 10997 rm -f conftest.$ac_objext conftest$ac_exeext
10951 if { (eval echo "$as_me:10951: \"$ac_link\"") >&5 10998 if { (eval echo "$as_me:10998: \"$ac_link\"") >&5
10952 (eval $ac_link) 2>&5 10999 (eval $ac_link) 2>&5
10953 ac_status=$? 11000 ac_status=$?
10954 echo "$as_me:10954: \$? = $ac_status" >&5 11001 echo "$as_me:11001: \$? = $ac_status" >&5
10955 (exit $ac_status); } && 11002 (exit $ac_status); } &&
10956 { ac_try='test -s conftest$ac_exeext' 11003 { ac_try='test -s conftest$ac_exeext'
10957 { (eval echo "$as_me:10957: \"$ac_try\"") >&5 11004 { (eval echo "$as_me:11004: \"$ac_try\"") >&5
10958 (eval $ac_try) 2>&5 11005 (eval $ac_try) 2>&5
10959 ac_status=$? 11006 ac_status=$?
10960 echo "$as_me:10960: \$? = $ac_status" >&5 11007 echo "$as_me:11007: \$? = $ac_status" >&5
10961 (exit $ac_status); }; }; then 11008 (exit $ac_status); }; }; then
10962 ac_cv_lib_des425_des_cbc_encrypt=yes 11009 ac_cv_lib_des425_des_cbc_encrypt=yes
10963 else 11010 else
10964 echo "$as_me: failed program was:" >&5 11011 echo "$as_me: failed program was:" >&5
10965 cat conftest.$ac_ext >&5 11012 cat conftest.$ac_ext >&5
10966 ac_cv_lib_des425_des_cbc_encrypt=no 11013 ac_cv_lib_des425_des_cbc_encrypt=no
10967 fi 11014 fi
10968 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11015 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10969 LIBS=$ac_check_lib_save_LIBS 11016 LIBS=$ac_check_lib_save_LIBS
10970 fi 11017 fi
10971 echo "$as_me:10971: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5 11018 echo "$as_me:11018: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5
10972 echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6 11019 echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6
10973 if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then 11020 if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then
10974 cat >>confdefs.h <<EOF 11021 cat >>confdefs.h <<EOF
10975 #define HAVE_LIBDES425 1 11022 #define HAVE_LIBDES425 1
10976 EOF 11023 EOF
10977 11024
10978 LIBS="-ldes425 $LIBS" 11025 LIBS="-ldes425 $LIBS"
10979 11026
10980 else 11027 else
10981 11028
10982 echo "$as_me:10982: checking for des_cbc_encrypt in -ldes" >&5 11029 echo "$as_me:11029: checking for des_cbc_encrypt in -ldes" >&5
10983 echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6 11030 echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6
10984 if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then 11031 if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then
10985 echo $ECHO_N "(cached) $ECHO_C" >&6 11032 echo $ECHO_N "(cached) $ECHO_C" >&6
10986 else 11033 else
10987 ac_check_lib_save_LIBS=$LIBS 11034 ac_check_lib_save_LIBS=$LIBS
10988 LIBS="-ldes $LIBS" 11035 LIBS="-ldes $LIBS"
10989 cat >conftest.$ac_ext <<_ACEOF 11036 cat >conftest.$ac_ext <<_ACEOF
10990 #line 10990 "configure" 11037 #line 11037 "configure"
10991 #include "confdefs.h" 11038 #include "confdefs.h"
10992 11039
10993 /* Override any gcc2 internal prototype to avoid an error. */ 11040 /* Override any gcc2 internal prototype to avoid an error. */
10994 #ifdef __cplusplus 11041 #ifdef __cplusplus
10995 extern "C" 11042 extern "C"
11004 ; 11051 ;
11005 return 0; 11052 return 0;
11006 } 11053 }
11007 _ACEOF 11054 _ACEOF
11008 rm -f conftest.$ac_objext conftest$ac_exeext 11055 rm -f conftest.$ac_objext conftest$ac_exeext
11009 if { (eval echo "$as_me:11009: \"$ac_link\"") >&5 11056 if { (eval echo "$as_me:11056: \"$ac_link\"") >&5
11010 (eval $ac_link) 2>&5 11057 (eval $ac_link) 2>&5
11011 ac_status=$? 11058 ac_status=$?
11012 echo "$as_me:11012: \$? = $ac_status" >&5 11059 echo "$as_me:11059: \$? = $ac_status" >&5
11013 (exit $ac_status); } && 11060 (exit $ac_status); } &&
11014 { ac_try='test -s conftest$ac_exeext' 11061 { ac_try='test -s conftest$ac_exeext'
11015 { (eval echo "$as_me:11015: \"$ac_try\"") >&5 11062 { (eval echo "$as_me:11062: \"$ac_try\"") >&5
11016 (eval $ac_try) 2>&5 11063 (eval $ac_try) 2>&5
11017 ac_status=$? 11064 ac_status=$?
11018 echo "$as_me:11018: \$? = $ac_status" >&5 11065 echo "$as_me:11065: \$? = $ac_status" >&5
11019 (exit $ac_status); }; }; then 11066 (exit $ac_status); }; }; then
11020 ac_cv_lib_des_des_cbc_encrypt=yes 11067 ac_cv_lib_des_des_cbc_encrypt=yes
11021 else 11068 else
11022 echo "$as_me: failed program was:" >&5 11069 echo "$as_me: failed program was:" >&5
11023 cat conftest.$ac_ext >&5 11070 cat conftest.$ac_ext >&5
11024 ac_cv_lib_des_des_cbc_encrypt=no 11071 ac_cv_lib_des_des_cbc_encrypt=no
11025 fi 11072 fi
11026 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11073 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11027 LIBS=$ac_check_lib_save_LIBS 11074 LIBS=$ac_check_lib_save_LIBS
11028 fi 11075 fi
11029 echo "$as_me:11029: result: $ac_cv_lib_des_des_cbc_encrypt" >&5 11076 echo "$as_me:11076: result: $ac_cv_lib_des_des_cbc_encrypt" >&5
11030 echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6 11077 echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6
11031 if test $ac_cv_lib_des_des_cbc_encrypt = yes; then 11078 if test $ac_cv_lib_des_des_cbc_encrypt = yes; then
11032 cat >>confdefs.h <<EOF 11079 cat >>confdefs.h <<EOF
11033 #define HAVE_LIBDES 1 11080 #define HAVE_LIBDES 1
11034 EOF 11081 EOF
11037 11084
11038 fi 11085 fi
11039 11086
11040 fi 11087 fi
11041 11088
11042 echo "$as_me:11042: checking for krb_get_cred in -lkrb4" >&5 11089 echo "$as_me:11089: checking for krb_get_cred in -lkrb4" >&5
11043 echo $ECHO_N "checking for krb_get_cred in -lkrb4... $ECHO_C" >&6 11090 echo $ECHO_N "checking for krb_get_cred in -lkrb4... $ECHO_C" >&6
11044 if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then 11091 if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then
11045 echo $ECHO_N "(cached) $ECHO_C" >&6 11092 echo $ECHO_N "(cached) $ECHO_C" >&6
11046 else 11093 else
11047 ac_check_lib_save_LIBS=$LIBS 11094 ac_check_lib_save_LIBS=$LIBS
11048 LIBS="-lkrb4 $LIBS" 11095 LIBS="-lkrb4 $LIBS"
11049 cat >conftest.$ac_ext <<_ACEOF 11096 cat >conftest.$ac_ext <<_ACEOF
11050 #line 11050 "configure" 11097 #line 11097 "configure"
11051 #include "confdefs.h" 11098 #include "confdefs.h"
11052 11099
11053 /* Override any gcc2 internal prototype to avoid an error. */ 11100 /* Override any gcc2 internal prototype to avoid an error. */
11054 #ifdef __cplusplus 11101 #ifdef __cplusplus
11055 extern "C" 11102 extern "C"
11064 ; 11111 ;
11065 return 0; 11112 return 0;
11066 } 11113 }
11067 _ACEOF 11114 _ACEOF
11068 rm -f conftest.$ac_objext conftest$ac_exeext 11115 rm -f conftest.$ac_objext conftest$ac_exeext
11069 if { (eval echo "$as_me:11069: \"$ac_link\"") >&5 11116 if { (eval echo "$as_me:11116: \"$ac_link\"") >&5
11070 (eval $ac_link) 2>&5 11117 (eval $ac_link) 2>&5
11071 ac_status=$? 11118 ac_status=$?
11072 echo "$as_me:11072: \$? = $ac_status" >&5 11119 echo "$as_me:11119: \$? = $ac_status" >&5
11073 (exit $ac_status); } && 11120 (exit $ac_status); } &&
11074 { ac_try='test -s conftest$ac_exeext' 11121 { ac_try='test -s conftest$ac_exeext'
11075 { (eval echo "$as_me:11075: \"$ac_try\"") >&5 11122 { (eval echo "$as_me:11122: \"$ac_try\"") >&5
11076 (eval $ac_try) 2>&5 11123 (eval $ac_try) 2>&5
11077 ac_status=$? 11124 ac_status=$?
11078 echo "$as_me:11078: \$? = $ac_status" >&5 11125 echo "$as_me:11125: \$? = $ac_status" >&5
11079 (exit $ac_status); }; }; then 11126 (exit $ac_status); }; }; then
11080 ac_cv_lib_krb4_krb_get_cred=yes 11127 ac_cv_lib_krb4_krb_get_cred=yes
11081 else 11128 else
11082 echo "$as_me: failed program was:" >&5 11129 echo "$as_me: failed program was:" >&5
11083 cat conftest.$ac_ext >&5 11130 cat conftest.$ac_ext >&5
11084 ac_cv_lib_krb4_krb_get_cred=no 11131 ac_cv_lib_krb4_krb_get_cred=no
11085 fi 11132 fi
11086 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11133 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11087 LIBS=$ac_check_lib_save_LIBS 11134 LIBS=$ac_check_lib_save_LIBS
11088 fi 11135 fi
11089 echo "$as_me:11089: result: $ac_cv_lib_krb4_krb_get_cred" >&5 11136 echo "$as_me:11136: result: $ac_cv_lib_krb4_krb_get_cred" >&5
11090 echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6 11137 echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6
11091 if test $ac_cv_lib_krb4_krb_get_cred = yes; then 11138 if test $ac_cv_lib_krb4_krb_get_cred = yes; then
11092 cat >>confdefs.h <<EOF 11139 cat >>confdefs.h <<EOF
11093 #define HAVE_LIBKRB4 1 11140 #define HAVE_LIBKRB4 1
11094 EOF 11141 EOF
11095 11142
11096 LIBS="-lkrb4 $LIBS" 11143 LIBS="-lkrb4 $LIBS"
11097 11144
11098 else 11145 else
11099 11146
11100 echo "$as_me:11100: checking for krb_get_cred in -lkrb" >&5 11147 echo "$as_me:11147: checking for krb_get_cred in -lkrb" >&5
11101 echo $ECHO_N "checking for krb_get_cred in -lkrb... $ECHO_C" >&6 11148 echo $ECHO_N "checking for krb_get_cred in -lkrb... $ECHO_C" >&6
11102 if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then 11149 if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then
11103 echo $ECHO_N "(cached) $ECHO_C" >&6 11150 echo $ECHO_N "(cached) $ECHO_C" >&6
11104 else 11151 else
11105 ac_check_lib_save_LIBS=$LIBS 11152 ac_check_lib_save_LIBS=$LIBS
11106 LIBS="-lkrb $LIBS" 11153 LIBS="-lkrb $LIBS"
11107 cat >conftest.$ac_ext <<_ACEOF 11154 cat >conftest.$ac_ext <<_ACEOF
11108 #line 11108 "configure" 11155 #line 11155 "configure"
11109 #include "confdefs.h" 11156 #include "confdefs.h"
11110 11157
11111 /* Override any gcc2 internal prototype to avoid an error. */ 11158 /* Override any gcc2 internal prototype to avoid an error. */
11112 #ifdef __cplusplus 11159 #ifdef __cplusplus
11113 extern "C" 11160 extern "C"
11122 ; 11169 ;
11123 return 0; 11170 return 0;
11124 } 11171 }
11125 _ACEOF 11172 _ACEOF
11126 rm -f conftest.$ac_objext conftest$ac_exeext 11173 rm -f conftest.$ac_objext conftest$ac_exeext
11127 if { (eval echo "$as_me:11127: \"$ac_link\"") >&5 11174 if { (eval echo "$as_me:11174: \"$ac_link\"") >&5
11128 (eval $ac_link) 2>&5 11175 (eval $ac_link) 2>&5
11129 ac_status=$? 11176 ac_status=$?
11130 echo "$as_me:11130: \$? = $ac_status" >&5 11177 echo "$as_me:11177: \$? = $ac_status" >&5
11131 (exit $ac_status); } && 11178 (exit $ac_status); } &&
11132 { ac_try='test -s conftest$ac_exeext' 11179 { ac_try='test -s conftest$ac_exeext'
11133 { (eval echo "$as_me:11133: \"$ac_try\"") >&5 11180 { (eval echo "$as_me:11180: \"$ac_try\"") >&5
11134 (eval $ac_try) 2>&5 11181 (eval $ac_try) 2>&5
11135 ac_status=$? 11182 ac_status=$?
11136 echo "$as_me:11136: \$? = $ac_status" >&5 11183 echo "$as_me:11183: \$? = $ac_status" >&5
11137 (exit $ac_status); }; }; then 11184 (exit $ac_status); }; }; then
11138 ac_cv_lib_krb_krb_get_cred=yes 11185 ac_cv_lib_krb_krb_get_cred=yes
11139 else 11186 else
11140 echo "$as_me: failed program was:" >&5 11187 echo "$as_me: failed program was:" >&5
11141 cat conftest.$ac_ext >&5 11188 cat conftest.$ac_ext >&5
11142 ac_cv_lib_krb_krb_get_cred=no 11189 ac_cv_lib_krb_krb_get_cred=no
11143 fi 11190 fi
11144 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11191 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11145 LIBS=$ac_check_lib_save_LIBS 11192 LIBS=$ac_check_lib_save_LIBS
11146 fi 11193 fi
11147 echo "$as_me:11147: result: $ac_cv_lib_krb_krb_get_cred" >&5 11194 echo "$as_me:11194: result: $ac_cv_lib_krb_krb_get_cred" >&5
11148 echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6 11195 echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6
11149 if test $ac_cv_lib_krb_krb_get_cred = yes; then 11196 if test $ac_cv_lib_krb_krb_get_cred = yes; then
11150 cat >>confdefs.h <<EOF 11197 cat >>confdefs.h <<EOF
11151 #define HAVE_LIBKRB 1 11198 #define HAVE_LIBKRB 1
11152 EOF 11199 EOF
11162 if test "${with_kerberos5+set}" = set; then 11209 if test "${with_kerberos5+set}" = set; then
11163 11210
11164 for ac_header in krb5.h 11211 for ac_header in krb5.h
11165 do 11212 do
11166 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11213 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11167 echo "$as_me:11167: checking for $ac_header" >&5 11214 echo "$as_me:11214: checking for $ac_header" >&5
11168 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11215 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11169 if eval "test \"\${$as_ac_Header+set}\" = set"; then 11216 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11170 echo $ECHO_N "(cached) $ECHO_C" >&6 11217 echo $ECHO_N "(cached) $ECHO_C" >&6
11171 else 11218 else
11172 cat >conftest.$ac_ext <<_ACEOF 11219 cat >conftest.$ac_ext <<_ACEOF
11173 #line 11173 "configure" 11220 #line 11220 "configure"
11174 #include "confdefs.h" 11221 #include "confdefs.h"
11175 #include <$ac_header> 11222 #include <$ac_header>
11176 _ACEOF 11223 _ACEOF
11177 if { (eval echo "$as_me:11177: \"$ac_cpp conftest.$ac_ext\"") >&5 11224 if { (eval echo "$as_me:11224: \"$ac_cpp conftest.$ac_ext\"") >&5
11178 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11225 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11179 ac_status=$? 11226 ac_status=$?
11180 egrep -v '^ *\+' conftest.er1 >conftest.err 11227 egrep -v '^ *\+' conftest.er1 >conftest.err
11181 rm -f conftest.er1 11228 rm -f conftest.er1
11182 cat conftest.err >&5 11229 cat conftest.err >&5
11183 echo "$as_me:11183: \$? = $ac_status" >&5 11230 echo "$as_me:11230: \$? = $ac_status" >&5
11184 (exit $ac_status); } >/dev/null; then 11231 (exit $ac_status); } >/dev/null; then
11185 if test -s conftest.err; then 11232 if test -s conftest.err; then
11186 ac_cpp_err=$ac_c_preproc_warn_flag 11233 ac_cpp_err=$ac_c_preproc_warn_flag
11187 else 11234 else
11188 ac_cpp_err= 11235 ac_cpp_err=
11197 cat conftest.$ac_ext >&5 11244 cat conftest.$ac_ext >&5
11198 eval "$as_ac_Header=no" 11245 eval "$as_ac_Header=no"
11199 fi 11246 fi
11200 rm -f conftest.err conftest.$ac_ext 11247 rm -f conftest.err conftest.$ac_ext
11201 fi 11248 fi
11202 echo "$as_me:11202: result: `eval echo '${'$as_ac_Header'}'`" >&5 11249 echo "$as_me:11249: result: `eval echo '${'$as_ac_Header'}'`" >&5
11203 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11250 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11204 if test `eval echo '${'$as_ac_Header'}'` = yes; then 11251 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11205 cat >>confdefs.h <<EOF 11252 cat >>confdefs.h <<EOF
11206 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11253 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11207 EOF 11254 EOF
11210 done 11257 done
11211 11258
11212 else 11259 else
11213 11260
11214 for ac_header in des.h 11261 for ac_header in des.h
11215 do
11216 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11217 echo "$as_me:11217: checking for $ac_header" >&5
11218 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11219 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11220 echo $ECHO_N "(cached) $ECHO_C" >&6
11221 else
11222 cat >conftest.$ac_ext <<_ACEOF
11223 #line 11223 "configure"
11224 #include "confdefs.h"
11225 #include <$ac_header>
11226 _ACEOF
11227 if { (eval echo "$as_me:11227: \"$ac_cpp conftest.$ac_ext\"") >&5
11228 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11229 ac_status=$?
11230 egrep -v '^ *\+' conftest.er1 >conftest.err
11231 rm -f conftest.er1
11232 cat conftest.err >&5
11233 echo "$as_me:11233: \$? = $ac_status" >&5
11234 (exit $ac_status); } >/dev/null; then
11235 if test -s conftest.err; then
11236 ac_cpp_err=$ac_c_preproc_warn_flag
11237 else
11238 ac_cpp_err=
11239 fi
11240 else
11241 ac_cpp_err=yes
11242 fi
11243 if test -z "$ac_cpp_err"; then
11244 eval "$as_ac_Header=yes"
11245 else
11246 echo "$as_me: failed program was:" >&5
11247 cat conftest.$ac_ext >&5
11248 eval "$as_ac_Header=no"
11249 fi
11250 rm -f conftest.err conftest.$ac_ext
11251 fi
11252 echo "$as_me:11252: result: `eval echo '${'$as_ac_Header'}'`" >&5
11253 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11254 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11255 cat >>confdefs.h <<EOF
11256 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11257 EOF
11258
11259 else
11260
11261 for ac_header in kerberosIV/des.h
11262 do 11262 do
11263 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`
11264 echo "$as_me:11264: checking for $ac_header" >&5 11264 echo "$as_me:11264: checking for $ac_header" >&5
11265 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11265 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11266 if eval "test \"\${$as_ac_Header+set}\" = set"; then 11266 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11303 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11303 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11304 EOF 11304 EOF
11305 11305
11306 else 11306 else
11307 11307
11308 for ac_header in kerberos/des.h 11308 for ac_header in kerberosIV/des.h
11309 do 11309 do
11310 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`
11311 echo "$as_me:11311: checking for $ac_header" >&5 11311 echo "$as_me:11311: checking for $ac_header" >&5
11312 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11312 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11313 if eval "test \"\${$as_ac_Header+set}\" = set"; then 11313 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11348 if test `eval echo '${'$as_ac_Header'}'` = yes; then 11348 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11349 cat >>confdefs.h <<EOF 11349 cat >>confdefs.h <<EOF
11350 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11350 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11351 EOF 11351 EOF
11352 11352
11353 fi 11353 else
11354 done 11354
11355 11355 for ac_header in kerberos/des.h
11356 fi
11357 done
11358
11359 fi
11360 done
11361
11362 for ac_header in krb.h
11363 do 11356 do
11364 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11357 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11365 echo "$as_me:11365: checking for $ac_header" >&5 11358 echo "$as_me:11358: checking for $ac_header" >&5
11366 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11359 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11367 if eval "test \"\${$as_ac_Header+set}\" = set"; then 11360 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11368 echo $ECHO_N "(cached) $ECHO_C" >&6 11361 echo $ECHO_N "(cached) $ECHO_C" >&6
11369 else 11362 else
11370 cat >conftest.$ac_ext <<_ACEOF 11363 cat >conftest.$ac_ext <<_ACEOF
11371 #line 11371 "configure" 11364 #line 11364 "configure"
11372 #include "confdefs.h" 11365 #include "confdefs.h"
11373 #include <$ac_header> 11366 #include <$ac_header>
11374 _ACEOF 11367 _ACEOF
11375 if { (eval echo "$as_me:11375: \"$ac_cpp conftest.$ac_ext\"") >&5 11368 if { (eval echo "$as_me:11368: \"$ac_cpp conftest.$ac_ext\"") >&5
11376 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11369 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11377 ac_status=$? 11370 ac_status=$?
11378 egrep -v '^ *\+' conftest.er1 >conftest.err 11371 egrep -v '^ *\+' conftest.er1 >conftest.err
11379 rm -f conftest.er1 11372 rm -f conftest.er1
11380 cat conftest.err >&5 11373 cat conftest.err >&5
11381 echo "$as_me:11381: \$? = $ac_status" >&5 11374 echo "$as_me:11374: \$? = $ac_status" >&5
11382 (exit $ac_status); } >/dev/null; then 11375 (exit $ac_status); } >/dev/null; then
11383 if test -s conftest.err; then 11376 if test -s conftest.err; then
11384 ac_cpp_err=$ac_c_preproc_warn_flag 11377 ac_cpp_err=$ac_c_preproc_warn_flag
11385 else 11378 else
11386 ac_cpp_err= 11379 ac_cpp_err=
11395 cat conftest.$ac_ext >&5 11388 cat conftest.$ac_ext >&5
11396 eval "$as_ac_Header=no" 11389 eval "$as_ac_Header=no"
11397 fi 11390 fi
11398 rm -f conftest.err conftest.$ac_ext 11391 rm -f conftest.err conftest.$ac_ext
11399 fi 11392 fi
11400 echo "$as_me:11400: result: `eval echo '${'$as_ac_Header'}'`" >&5 11393 echo "$as_me:11393: result: `eval echo '${'$as_ac_Header'}'`" >&5
11401 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11394 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11402 if test `eval echo '${'$as_ac_Header'}'` = yes; then 11395 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11403 cat >>confdefs.h <<EOF 11396 cat >>confdefs.h <<EOF
11404 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11397 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11405 EOF 11398 EOF
11406 11399
11407 else 11400 fi
11408 11401 done
11409 for ac_header in kerberosIV/krb.h 11402
11403 fi
11404 done
11405
11406 fi
11407 done
11408
11409 for ac_header in krb.h
11410 do 11410 do
11411 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`
11412 echo "$as_me:11412: checking for $ac_header" >&5 11412 echo "$as_me:11412: checking for $ac_header" >&5
11413 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11413 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11414 if eval "test \"\${$as_ac_Header+set}\" = set"; then 11414 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11451 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11451 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11452 EOF 11452 EOF
11453 11453
11454 else 11454 else
11455 11455
11456 for ac_header in kerberos/krb.h 11456 for ac_header in kerberosIV/krb.h
11457 do 11457 do
11458 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`
11459 echo "$as_me:11459: checking for $ac_header" >&5 11459 echo "$as_me:11459: checking for $ac_header" >&5
11460 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11460 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11461 if eval "test \"\${$as_ac_Header+set}\" = set"; then 11461 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11496 if test `eval echo '${'$as_ac_Header'}'` = yes; then 11496 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11497 cat >>confdefs.h <<EOF 11497 cat >>confdefs.h <<EOF
11498 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11498 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11499 EOF 11499 EOF
11500 11500
11501 fi 11501 else
11502 done 11502
11503 11503 for ac_header in kerberos/krb.h
11504 fi
11505 done
11506
11507 fi
11508 done
11509
11510 fi
11511
11512 for ac_header in com_err.h
11513 do 11504 do
11514 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11505 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11515 echo "$as_me:11515: checking for $ac_header" >&5 11506 echo "$as_me:11506: checking for $ac_header" >&5
11516 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11507 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11517 if eval "test \"\${$as_ac_Header+set}\" = set"; then 11508 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11518 echo $ECHO_N "(cached) $ECHO_C" >&6 11509 echo $ECHO_N "(cached) $ECHO_C" >&6
11519 else 11510 else
11520 cat >conftest.$ac_ext <<_ACEOF 11511 cat >conftest.$ac_ext <<_ACEOF
11521 #line 11521 "configure" 11512 #line 11512 "configure"
11522 #include "confdefs.h" 11513 #include "confdefs.h"
11523 #include <$ac_header> 11514 #include <$ac_header>
11524 _ACEOF 11515 _ACEOF
11525 if { (eval echo "$as_me:11525: \"$ac_cpp conftest.$ac_ext\"") >&5 11516 if { (eval echo "$as_me:11516: \"$ac_cpp conftest.$ac_ext\"") >&5
11526 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11517 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11527 ac_status=$? 11518 ac_status=$?
11528 egrep -v '^ *\+' conftest.er1 >conftest.err 11519 egrep -v '^ *\+' conftest.er1 >conftest.err
11529 rm -f conftest.er1 11520 rm -f conftest.er1
11530 cat conftest.err >&5 11521 cat conftest.err >&5
11531 echo "$as_me:11531: \$? = $ac_status" >&5 11522 echo "$as_me:11522: \$? = $ac_status" >&5
11532 (exit $ac_status); } >/dev/null; then 11523 (exit $ac_status); } >/dev/null; then
11533 if test -s conftest.err; then 11524 if test -s conftest.err; then
11534 ac_cpp_err=$ac_c_preproc_warn_flag 11525 ac_cpp_err=$ac_c_preproc_warn_flag
11535 else 11526 else
11536 ac_cpp_err= 11527 ac_cpp_err=
11545 cat conftest.$ac_ext >&5 11536 cat conftest.$ac_ext >&5
11546 eval "$as_ac_Header=no" 11537 eval "$as_ac_Header=no"
11547 fi 11538 fi
11548 rm -f conftest.err conftest.$ac_ext 11539 rm -f conftest.err conftest.$ac_ext
11549 fi 11540 fi
11550 echo "$as_me:11550: result: `eval echo '${'$as_ac_Header'}'`" >&5 11541 echo "$as_me:11541: result: `eval echo '${'$as_ac_Header'}'`" >&5
11551 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11542 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11552 if test `eval echo '${'$as_ac_Header'}'` = yes; then 11543 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11553 cat >>confdefs.h <<EOF 11544 cat >>confdefs.h <<EOF
11554 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11545 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11555 EOF 11546 EOF
11556 11547
11557 fi 11548 fi
11558 done 11549 done
11559 11550
11560 fi 11551 fi
11552 done
11553
11554 fi
11555 done
11556
11557 fi
11558
11559 for ac_header in com_err.h
11560 do
11561 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11562 echo "$as_me:11562: checking for $ac_header" >&5
11563 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11564 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11565 echo $ECHO_N "(cached) $ECHO_C" >&6
11566 else
11567 cat >conftest.$ac_ext <<_ACEOF
11568 #line 11568 "configure"
11569 #include "confdefs.h"
11570 #include <$ac_header>
11571 _ACEOF
11572 if { (eval echo "$as_me:11572: \"$ac_cpp conftest.$ac_ext\"") >&5
11573 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11574 ac_status=$?
11575 egrep -v '^ *\+' conftest.er1 >conftest.err
11576 rm -f conftest.er1
11577 cat conftest.err >&5
11578 echo "$as_me:11578: \$? = $ac_status" >&5
11579 (exit $ac_status); } >/dev/null; then
11580 if test -s conftest.err; then
11581 ac_cpp_err=$ac_c_preproc_warn_flag
11582 else
11583 ac_cpp_err=
11584 fi
11585 else
11586 ac_cpp_err=yes
11587 fi
11588 if test -z "$ac_cpp_err"; then
11589 eval "$as_ac_Header=yes"
11590 else
11591 echo "$as_me: failed program was:" >&5
11592 cat conftest.$ac_ext >&5
11593 eval "$as_ac_Header=no"
11594 fi
11595 rm -f conftest.err conftest.$ac_ext
11596 fi
11597 echo "$as_me:11597: result: `eval echo '${'$as_ac_Header'}'`" >&5
11598 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11599 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11600 cat >>confdefs.h <<EOF
11601 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11602 EOF
11603
11604 fi
11605 done
11606
11607 fi
11561 11608
11562 # Solaris requires -lintl if you want strerror (which calls dgettext) 11609 # Solaris requires -lintl if you want strerror (which calls dgettext)
11563 # to return localized messages. 11610 # to return localized messages.
11564 11611
11565 echo "$as_me:11565: checking for dgettext in -lintl" >&5 11612 echo "$as_me:11612: checking for dgettext in -lintl" >&5
11566 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6 11613 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6
11567 if test "${ac_cv_lib_intl_dgettext+set}" = set; then 11614 if test "${ac_cv_lib_intl_dgettext+set}" = set; then
11568 echo $ECHO_N "(cached) $ECHO_C" >&6 11615 echo $ECHO_N "(cached) $ECHO_C" >&6
11569 else 11616 else
11570 ac_check_lib_save_LIBS=$LIBS 11617 ac_check_lib_save_LIBS=$LIBS
11571 LIBS="-lintl $LIBS" 11618 LIBS="-lintl $LIBS"
11572 cat >conftest.$ac_ext <<_ACEOF 11619 cat >conftest.$ac_ext <<_ACEOF
11573 #line 11573 "configure" 11620 #line 11620 "configure"
11574 #include "confdefs.h" 11621 #include "confdefs.h"
11575 11622
11576 /* Override any gcc2 internal prototype to avoid an error. */ 11623 /* Override any gcc2 internal prototype to avoid an error. */
11577 #ifdef __cplusplus 11624 #ifdef __cplusplus
11578 extern "C" 11625 extern "C"
11587 ; 11634 ;
11588 return 0; 11635 return 0;
11589 } 11636 }
11590 _ACEOF 11637 _ACEOF
11591 rm -f conftest.$ac_objext conftest$ac_exeext 11638 rm -f conftest.$ac_objext conftest$ac_exeext
11592 if { (eval echo "$as_me:11592: \"$ac_link\"") >&5 11639 if { (eval echo "$as_me:11639: \"$ac_link\"") >&5
11593 (eval $ac_link) 2>&5 11640 (eval $ac_link) 2>&5
11594 ac_status=$? 11641 ac_status=$?
11595 echo "$as_me:11595: \$? = $ac_status" >&5 11642 echo "$as_me:11642: \$? = $ac_status" >&5
11596 (exit $ac_status); } && 11643 (exit $ac_status); } &&
11597 { ac_try='test -s conftest$ac_exeext' 11644 { ac_try='test -s conftest$ac_exeext'
11598 { (eval echo "$as_me:11598: \"$ac_try\"") >&5 11645 { (eval echo "$as_me:11645: \"$ac_try\"") >&5
11599 (eval $ac_try) 2>&5 11646 (eval $ac_try) 2>&5
11600 ac_status=$? 11647 ac_status=$?
11601 echo "$as_me:11601: \$? = $ac_status" >&5 11648 echo "$as_me:11648: \$? = $ac_status" >&5
11602 (exit $ac_status); }; }; then 11649 (exit $ac_status); }; }; then
11603 ac_cv_lib_intl_dgettext=yes 11650 ac_cv_lib_intl_dgettext=yes
11604 else 11651 else
11605 echo "$as_me: failed program was:" >&5 11652 echo "$as_me: failed program was:" >&5
11606 cat conftest.$ac_ext >&5 11653 cat conftest.$ac_ext >&5
11607 ac_cv_lib_intl_dgettext=no 11654 ac_cv_lib_intl_dgettext=no
11608 fi 11655 fi
11609 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11656 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11610 LIBS=$ac_check_lib_save_LIBS 11657 LIBS=$ac_check_lib_save_LIBS
11611 fi 11658 fi
11612 echo "$as_me:11612: result: $ac_cv_lib_intl_dgettext" >&5 11659 echo "$as_me:11659: result: $ac_cv_lib_intl_dgettext" >&5
11613 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6 11660 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6
11614 if test $ac_cv_lib_intl_dgettext = yes; then 11661 if test $ac_cv_lib_intl_dgettext = yes; then
11615 cat >>confdefs.h <<EOF 11662 cat >>confdefs.h <<EOF
11616 #define HAVE_LIBINTL 1 11663 #define HAVE_LIBINTL 1
11617 EOF 11664 EOF
11618 11665
11619 LIBS="-lintl $LIBS" 11666 LIBS="-lintl $LIBS"
11620 11667
11621 fi 11668 fi
11622 11669
11623 echo "$as_me:11623: checking whether localtime caches TZ" >&5 11670 echo "$as_me:11670: checking whether localtime caches TZ" >&5
11624 echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6 11671 echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6
11625 if test "${emacs_cv_localtime_cache+set}" = set; then 11672 if test "${emacs_cv_localtime_cache+set}" = set; then
11626 echo $ECHO_N "(cached) $ECHO_C" >&6 11673 echo $ECHO_N "(cached) $ECHO_C" >&6
11627 else 11674 else
11628 if test x$ac_cv_func_tzset = xyes; then 11675 if test x$ac_cv_func_tzset = xyes; then
11629 if test "$cross_compiling" = yes; then 11676 if test "$cross_compiling" = yes; then
11630 # If we have tzset, assume the worst when cross-compiling. 11677 # If we have tzset, assume the worst when cross-compiling.
11631 emacs_cv_localtime_cache=yes 11678 emacs_cv_localtime_cache=yes
11632 else 11679 else
11633 cat >conftest.$ac_ext <<_ACEOF 11680 cat >conftest.$ac_ext <<_ACEOF
11634 #line 11634 "configure" 11681 #line 11681 "configure"
11635 #include "confdefs.h" 11682 #include "confdefs.h"
11636 #include <time.h> 11683 #include <time.h>
11637 extern char **environ; 11684 extern char **environ;
11638 unset_TZ () 11685 unset_TZ ()
11639 { 11686 {
11662 exit (1); 11709 exit (1);
11663 exit (0); 11710 exit (0);
11664 } 11711 }
11665 _ACEOF 11712 _ACEOF
11666 rm -f conftest$ac_exeext 11713 rm -f conftest$ac_exeext
11667 if { (eval echo "$as_me:11667: \"$ac_link\"") >&5 11714 if { (eval echo "$as_me:11714: \"$ac_link\"") >&5
11668 (eval $ac_link) 2>&5 11715 (eval $ac_link) 2>&5
11669 ac_status=$? 11716 ac_status=$?
11670 echo "$as_me:11670: \$? = $ac_status" >&5 11717 echo "$as_me:11717: \$? = $ac_status" >&5
11671 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 11718 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11672 { (eval echo "$as_me:11672: \"$ac_try\"") >&5 11719 { (eval echo "$as_me:11719: \"$ac_try\"") >&5
11673 (eval $ac_try) 2>&5 11720 (eval $ac_try) 2>&5
11674 ac_status=$? 11721 ac_status=$?
11675 echo "$as_me:11675: \$? = $ac_status" >&5 11722 echo "$as_me:11722: \$? = $ac_status" >&5
11676 (exit $ac_status); }; }; then 11723 (exit $ac_status); }; }; then
11677 emacs_cv_localtime_cache=no 11724 emacs_cv_localtime_cache=no
11678 else 11725 else
11679 echo "$as_me: program exited with status $ac_status" >&5 11726 echo "$as_me: program exited with status $ac_status" >&5
11680 echo "$as_me: failed program was:" >&5 11727 echo "$as_me: failed program was:" >&5
11687 # If we lack tzset, report that localtime does not cache TZ, 11734 # If we lack tzset, report that localtime does not cache TZ,
11688 # since we can't invalidate the cache if we don't have tzset. 11735 # since we can't invalidate the cache if we don't have tzset.
11689 emacs_cv_localtime_cache=no 11736 emacs_cv_localtime_cache=no
11690 fi 11737 fi
11691 fi 11738 fi
11692 echo "$as_me:11692: result: $emacs_cv_localtime_cache" >&5 11739 echo "$as_me:11739: result: $emacs_cv_localtime_cache" >&5
11693 echo "${ECHO_T}$emacs_cv_localtime_cache" >&6 11740 echo "${ECHO_T}$emacs_cv_localtime_cache" >&6
11694 if test $emacs_cv_localtime_cache = yes; then 11741 if test $emacs_cv_localtime_cache = yes; then
11695 11742
11696 cat >>confdefs.h <<\EOF 11743 cat >>confdefs.h <<\EOF
11697 #define LOCALTIME_CACHE 1 11744 #define LOCALTIME_CACHE 1
11702 if test "x$HAVE_TIMEVAL" = xyes; then 11749 if test "x$HAVE_TIMEVAL" = xyes; then
11703 11750
11704 for ac_func in gettimeofday 11751 for ac_func in gettimeofday
11705 do 11752 do
11706 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 11753 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11707 echo "$as_me:11707: checking for $ac_func" >&5 11754 echo "$as_me:11754: checking for $ac_func" >&5
11708 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 11755 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11709 if eval "test \"\${$as_ac_var+set}\" = set"; then 11756 if eval "test \"\${$as_ac_var+set}\" = set"; then
11710 echo $ECHO_N "(cached) $ECHO_C" >&6 11757 echo $ECHO_N "(cached) $ECHO_C" >&6
11711 else 11758 else
11712 cat >conftest.$ac_ext <<_ACEOF 11759 cat >conftest.$ac_ext <<_ACEOF
11713 #line 11713 "configure" 11760 #line 11760 "configure"
11714 #include "confdefs.h" 11761 #include "confdefs.h"
11715 /* System header to define __stub macros and hopefully few prototypes, 11762 /* System header to define __stub macros and hopefully few prototypes,
11716 which can conflict with char $ac_func (); below. */ 11763 which can conflict with char $ac_func (); below. */
11717 #include <assert.h> 11764 #include <assert.h>
11718 /* Override any gcc2 internal prototype to avoid an error. */ 11765 /* Override any gcc2 internal prototype to avoid an error. */
11739 ; 11786 ;
11740 return 0; 11787 return 0;
11741 } 11788 }
11742 _ACEOF 11789 _ACEOF
11743 rm -f conftest.$ac_objext conftest$ac_exeext 11790 rm -f conftest.$ac_objext conftest$ac_exeext
11744 if { (eval echo "$as_me:11744: \"$ac_link\"") >&5 11791 if { (eval echo "$as_me:11791: \"$ac_link\"") >&5
11745 (eval $ac_link) 2>&5 11792 (eval $ac_link) 2>&5
11746 ac_status=$? 11793 ac_status=$?
11747 echo "$as_me:11747: \$? = $ac_status" >&5 11794 echo "$as_me:11794: \$? = $ac_status" >&5
11748 (exit $ac_status); } && 11795 (exit $ac_status); } &&
11749 { ac_try='test -s conftest$ac_exeext' 11796 { ac_try='test -s conftest$ac_exeext'
11750 { (eval echo "$as_me:11750: \"$ac_try\"") >&5 11797 { (eval echo "$as_me:11797: \"$ac_try\"") >&5
11751 (eval $ac_try) 2>&5 11798 (eval $ac_try) 2>&5
11752 ac_status=$? 11799 ac_status=$?
11753 echo "$as_me:11753: \$? = $ac_status" >&5 11800 echo "$as_me:11800: \$? = $ac_status" >&5
11754 (exit $ac_status); }; }; then 11801 (exit $ac_status); }; }; then
11755 eval "$as_ac_var=yes" 11802 eval "$as_ac_var=yes"
11756 else 11803 else
11757 echo "$as_me: failed program was:" >&5 11804 echo "$as_me: failed program was:" >&5
11758 cat conftest.$ac_ext >&5 11805 cat conftest.$ac_ext >&5
11759 eval "$as_ac_var=no" 11806 eval "$as_ac_var=no"
11760 fi 11807 fi
11761 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11808 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11762 fi 11809 fi
11763 echo "$as_me:11763: result: `eval echo '${'$as_ac_var'}'`" >&5 11810 echo "$as_me:11810: result: `eval echo '${'$as_ac_var'}'`" >&5
11764 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 11811 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11765 if test `eval echo '${'$as_ac_var'}'` = yes; then 11812 if test `eval echo '${'$as_ac_var'}'` = yes; then
11766 cat >>confdefs.h <<EOF 11813 cat >>confdefs.h <<EOF
11767 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 11814 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11768 EOF 11815 EOF
11769 11816
11770 fi 11817 fi
11771 done 11818 done
11772 11819
11773 if test $ac_cv_func_gettimeofday = yes; then 11820 if test $ac_cv_func_gettimeofday = yes; then
11774 echo "$as_me:11774: checking whether gettimeofday can accept two arguments" >&5 11821 echo "$as_me:11821: checking whether gettimeofday can accept two arguments" >&5
11775 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6 11822 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6
11776 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then 11823 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
11777 echo $ECHO_N "(cached) $ECHO_C" >&6 11824 echo $ECHO_N "(cached) $ECHO_C" >&6
11778 else 11825 else
11779 cat >conftest.$ac_ext <<_ACEOF 11826 cat >conftest.$ac_ext <<_ACEOF
11780 #line 11780 "configure" 11827 #line 11827 "configure"
11781 #include "confdefs.h" 11828 #include "confdefs.h"
11782 11829
11783 #ifdef TIME_WITH_SYS_TIME 11830 #ifdef TIME_WITH_SYS_TIME
11784 #include <sys/time.h> 11831 #include <sys/time.h>
11785 #include <time.h> 11832 #include <time.h>
11798 ; 11845 ;
11799 return 0; 11846 return 0;
11800 } 11847 }
11801 _ACEOF 11848 _ACEOF
11802 rm -f conftest.$ac_objext 11849 rm -f conftest.$ac_objext
11803 if { (eval echo "$as_me:11803: \"$ac_compile\"") >&5 11850 if { (eval echo "$as_me:11850: \"$ac_compile\"") >&5
11804 (eval $ac_compile) 2>&5 11851 (eval $ac_compile) 2>&5
11805 ac_status=$? 11852 ac_status=$?
11806 echo "$as_me:11806: \$? = $ac_status" >&5 11853 echo "$as_me:11853: \$? = $ac_status" >&5
11807 (exit $ac_status); } && 11854 (exit $ac_status); } &&
11808 { ac_try='test -s conftest.$ac_objext' 11855 { ac_try='test -s conftest.$ac_objext'
11809 { (eval echo "$as_me:11809: \"$ac_try\"") >&5 11856 { (eval echo "$as_me:11856: \"$ac_try\"") >&5
11810 (eval $ac_try) 2>&5 11857 (eval $ac_try) 2>&5
11811 ac_status=$? 11858 ac_status=$?
11812 echo "$as_me:11812: \$? = $ac_status" >&5 11859 echo "$as_me:11859: \$? = $ac_status" >&5
11813 (exit $ac_status); }; }; then 11860 (exit $ac_status); }; }; then
11814 emacs_cv_gettimeofday_two_arguments=yes 11861 emacs_cv_gettimeofday_two_arguments=yes
11815 else 11862 else
11816 echo "$as_me: failed program was:" >&5 11863 echo "$as_me: failed program was:" >&5
11817 cat conftest.$ac_ext >&5 11864 cat conftest.$ac_ext >&5
11818 emacs_cv_gettimeofday_two_arguments=no 11865 emacs_cv_gettimeofday_two_arguments=no
11819 fi 11866 fi
11820 rm -f conftest.$ac_objext conftest.$ac_ext 11867 rm -f conftest.$ac_objext conftest.$ac_ext
11821 fi 11868 fi
11822 echo "$as_me:11822: result: $emacs_cv_gettimeofday_two_arguments" >&5 11869 echo "$as_me:11869: result: $emacs_cv_gettimeofday_two_arguments" >&5
11823 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6 11870 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
11824 if test $emacs_cv_gettimeofday_two_arguments = no; then 11871 if test $emacs_cv_gettimeofday_two_arguments = no; then
11825 11872
11826 cat >>confdefs.h <<\EOF 11873 cat >>confdefs.h <<\EOF
11827 #define GETTIMEOFDAY_ONE_ARGUMENT 1 11874 #define GETTIMEOFDAY_ONE_ARGUMENT 1
11830 fi 11877 fi
11831 fi 11878 fi
11832 fi 11879 fi
11833 11880
11834 if test "$ac_cv_func_gettimeofday" = yes; then 11881 if test "$ac_cv_func_gettimeofday" = yes; then
11835 echo "$as_me:11835: checking for struct timezone" >&5 11882 echo "$as_me:11882: checking for struct timezone" >&5
11836 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6 11883 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
11837 if test "${emacs_cv_struct_timezone+set}" = set; then 11884 if test "${emacs_cv_struct_timezone+set}" = set; then
11838 echo $ECHO_N "(cached) $ECHO_C" >&6 11885 echo $ECHO_N "(cached) $ECHO_C" >&6
11839 else 11886 else
11840 cat >conftest.$ac_ext <<_ACEOF 11887 cat >conftest.$ac_ext <<_ACEOF
11841 #line 11841 "configure" 11888 #line 11888 "configure"
11842 #include "confdefs.h" 11889 #include "confdefs.h"
11843 #include <sys/time.h> 11890 #include <sys/time.h>
11844 int 11891 int
11845 main () 11892 main ()
11846 { 11893 {
11848 ; 11895 ;
11849 return 0; 11896 return 0;
11850 } 11897 }
11851 _ACEOF 11898 _ACEOF
11852 rm -f conftest.$ac_objext 11899 rm -f conftest.$ac_objext
11853 if { (eval echo "$as_me:11853: \"$ac_compile\"") >&5 11900 if { (eval echo "$as_me:11900: \"$ac_compile\"") >&5
11854 (eval $ac_compile) 2>&5 11901 (eval $ac_compile) 2>&5
11855 ac_status=$? 11902 ac_status=$?
11856 echo "$as_me:11856: \$? = $ac_status" >&5 11903 echo "$as_me:11903: \$? = $ac_status" >&5
11857 (exit $ac_status); } && 11904 (exit $ac_status); } &&
11858 { ac_try='test -s conftest.$ac_objext' 11905 { ac_try='test -s conftest.$ac_objext'
11859 { (eval echo "$as_me:11859: \"$ac_try\"") >&5 11906 { (eval echo "$as_me:11906: \"$ac_try\"") >&5
11860 (eval $ac_try) 2>&5 11907 (eval $ac_try) 2>&5
11861 ac_status=$? 11908 ac_status=$?
11862 echo "$as_me:11862: \$? = $ac_status" >&5 11909 echo "$as_me:11909: \$? = $ac_status" >&5
11863 (exit $ac_status); }; }; then 11910 (exit $ac_status); }; }; then
11864 if test "$cross_compiling" = yes; then 11911 if test "$cross_compiling" = yes; then
11865 emacs_cv_struct_timezone=yes 11912 emacs_cv_struct_timezone=yes
11866 else 11913 else
11867 cat >conftest.$ac_ext <<_ACEOF 11914 cat >conftest.$ac_ext <<_ACEOF
11868 #line 11868 "configure" 11915 #line 11915 "configure"
11869 #include "confdefs.h" 11916 #include "confdefs.h"
11870 11917
11871 #ifdef TIME_WITH_SYS_TIME 11918 #ifdef TIME_WITH_SYS_TIME
11872 #include <sys/time.h> 11919 #include <sys/time.h>
11873 #include <time.h> 11920 #include <time.h>
11883 struct timezone dummy; 11930 struct timezone dummy;
11884 exit (gettimeofday (&time, &dummy)); 11931 exit (gettimeofday (&time, &dummy));
11885 } 11932 }
11886 _ACEOF 11933 _ACEOF
11887 rm -f conftest$ac_exeext 11934 rm -f conftest$ac_exeext
11888 if { (eval echo "$as_me:11888: \"$ac_link\"") >&5 11935 if { (eval echo "$as_me:11935: \"$ac_link\"") >&5
11889 (eval $ac_link) 2>&5 11936 (eval $ac_link) 2>&5
11890 ac_status=$? 11937 ac_status=$?
11891 echo "$as_me:11891: \$? = $ac_status" >&5 11938 echo "$as_me:11938: \$? = $ac_status" >&5
11892 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 11939 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11893 { (eval echo "$as_me:11893: \"$ac_try\"") >&5 11940 { (eval echo "$as_me:11940: \"$ac_try\"") >&5
11894 (eval $ac_try) 2>&5 11941 (eval $ac_try) 2>&5
11895 ac_status=$? 11942 ac_status=$?
11896 echo "$as_me:11896: \$? = $ac_status" >&5 11943 echo "$as_me:11943: \$? = $ac_status" >&5
11897 (exit $ac_status); }; }; then 11944 (exit $ac_status); }; }; then
11898 emacs_cv_struct_timezone=yes 11945 emacs_cv_struct_timezone=yes
11899 else 11946 else
11900 echo "$as_me: program exited with status $ac_status" >&5 11947 echo "$as_me: program exited with status $ac_status" >&5
11901 echo "$as_me: failed program was:" >&5 11948 echo "$as_me: failed program was:" >&5
11909 cat conftest.$ac_ext >&5 11956 cat conftest.$ac_ext >&5
11910 emacs_cv_struct_timezone=no 11957 emacs_cv_struct_timezone=no
11911 fi 11958 fi
11912 rm -f conftest.$ac_objext conftest.$ac_ext 11959 rm -f conftest.$ac_objext conftest.$ac_ext
11913 fi 11960 fi
11914 echo "$as_me:11914: result: $emacs_cv_struct_timezone" >&5 11961 echo "$as_me:11961: result: $emacs_cv_struct_timezone" >&5
11915 echo "${ECHO_T}$emacs_cv_struct_timezone" >&6 11962 echo "${ECHO_T}$emacs_cv_struct_timezone" >&6
11916 fi 11963 fi
11917 11964
11918 ok_so_far=yes 11965 ok_so_far=yes
11919 echo "$as_me:11919: checking for socket" >&5 11966 echo "$as_me:11966: checking for socket" >&5
11920 echo $ECHO_N "checking for socket... $ECHO_C" >&6 11967 echo $ECHO_N "checking for socket... $ECHO_C" >&6
11921 if test "${ac_cv_func_socket+set}" = set; then 11968 if test "${ac_cv_func_socket+set}" = set; then
11922 echo $ECHO_N "(cached) $ECHO_C" >&6 11969 echo $ECHO_N "(cached) $ECHO_C" >&6
11923 else 11970 else
11924 cat >conftest.$ac_ext <<_ACEOF 11971 cat >conftest.$ac_ext <<_ACEOF
11925 #line 11925 "configure" 11972 #line 11972 "configure"
11926 #include "confdefs.h" 11973 #include "confdefs.h"
11927 /* System header to define __stub macros and hopefully few prototypes, 11974 /* System header to define __stub macros and hopefully few prototypes,
11928 which can conflict with char socket (); below. */ 11975 which can conflict with char socket (); below. */
11929 #include <assert.h> 11976 #include <assert.h>
11930 /* Override any gcc2 internal prototype to avoid an error. */ 11977 /* Override any gcc2 internal prototype to avoid an error. */
11951 ; 11998 ;
11952 return 0; 11999 return 0;
11953 } 12000 }
11954 _ACEOF 12001 _ACEOF
11955 rm -f conftest.$ac_objext conftest$ac_exeext 12002 rm -f conftest.$ac_objext conftest$ac_exeext
11956 if { (eval echo "$as_me:11956: \"$ac_link\"") >&5 12003 if { (eval echo "$as_me:12003: \"$ac_link\"") >&5
11957 (eval $ac_link) 2>&5 12004 (eval $ac_link) 2>&5
11958 ac_status=$? 12005 ac_status=$?
11959 echo "$as_me:11959: \$? = $ac_status" >&5 12006 echo "$as_me:12006: \$? = $ac_status" >&5
11960 (exit $ac_status); } && 12007 (exit $ac_status); } &&
11961 { ac_try='test -s conftest$ac_exeext' 12008 { ac_try='test -s conftest$ac_exeext'
11962 { (eval echo "$as_me:11962: \"$ac_try\"") >&5 12009 { (eval echo "$as_me:12009: \"$ac_try\"") >&5
11963 (eval $ac_try) 2>&5 12010 (eval $ac_try) 2>&5
11964 ac_status=$? 12011 ac_status=$?
11965 echo "$as_me:11965: \$? = $ac_status" >&5 12012 echo "$as_me:12012: \$? = $ac_status" >&5
11966 (exit $ac_status); }; }; then 12013 (exit $ac_status); }; }; then
11967 ac_cv_func_socket=yes 12014 ac_cv_func_socket=yes
11968 else 12015 else
11969 echo "$as_me: failed program was:" >&5 12016 echo "$as_me: failed program was:" >&5
11970 cat conftest.$ac_ext >&5 12017 cat conftest.$ac_ext >&5
11971 ac_cv_func_socket=no 12018 ac_cv_func_socket=no
11972 fi 12019 fi
11973 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 12020 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11974 fi 12021 fi
11975 echo "$as_me:11975: result: $ac_cv_func_socket" >&5 12022 echo "$as_me:12022: result: $ac_cv_func_socket" >&5
11976 echo "${ECHO_T}$ac_cv_func_socket" >&6 12023 echo "${ECHO_T}$ac_cv_func_socket" >&6
11977 if test $ac_cv_func_socket = yes; then 12024 if test $ac_cv_func_socket = yes; then
11978 : 12025 :
11979 else 12026 else
11980 ok_so_far=no 12027 ok_so_far=no
11981 fi 12028 fi
11982 12029
11983 if test $ok_so_far = yes; then 12030 if test $ok_so_far = yes; then
11984 echo "$as_me:11984: checking for netinet/in.h" >&5 12031 echo "$as_me:12031: checking for netinet/in.h" >&5
11985 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6 12032 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6
11986 if test "${ac_cv_header_netinet_in_h+set}" = set; then 12033 if test "${ac_cv_header_netinet_in_h+set}" = set; then
11987 echo $ECHO_N "(cached) $ECHO_C" >&6 12034 echo $ECHO_N "(cached) $ECHO_C" >&6
11988 else 12035 else
11989 cat >conftest.$ac_ext <<_ACEOF 12036 cat >conftest.$ac_ext <<_ACEOF
11990 #line 11990 "configure" 12037 #line 12037 "configure"
11991 #include "confdefs.h" 12038 #include "confdefs.h"
11992 #include <netinet/in.h> 12039 #include <netinet/in.h>
11993 _ACEOF 12040 _ACEOF
11994 if { (eval echo "$as_me:11994: \"$ac_cpp conftest.$ac_ext\"") >&5 12041 if { (eval echo "$as_me:12041: \"$ac_cpp conftest.$ac_ext\"") >&5
11995 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 12042 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11996 ac_status=$? 12043 ac_status=$?
11997 egrep -v '^ *\+' conftest.er1 >conftest.err 12044 egrep -v '^ *\+' conftest.er1 >conftest.err
11998 rm -f conftest.er1 12045 rm -f conftest.er1
11999 cat conftest.err >&5 12046 cat conftest.err >&5
12000 echo "$as_me:12000: \$? = $ac_status" >&5 12047 echo "$as_me:12047: \$? = $ac_status" >&5
12001 (exit $ac_status); } >/dev/null; then 12048 (exit $ac_status); } >/dev/null; then
12002 if test -s conftest.err; then 12049 if test -s conftest.err; then
12003 ac_cpp_err=$ac_c_preproc_warn_flag 12050 ac_cpp_err=$ac_c_preproc_warn_flag
12004 else 12051 else
12005 ac_cpp_err= 12052 ac_cpp_err=
12014 cat conftest.$ac_ext >&5 12061 cat conftest.$ac_ext >&5
12015 ac_cv_header_netinet_in_h=no 12062 ac_cv_header_netinet_in_h=no
12016 fi 12063 fi
12017 rm -f conftest.err conftest.$ac_ext 12064 rm -f conftest.err conftest.$ac_ext
12018 fi 12065 fi
12019 echo "$as_me:12019: result: $ac_cv_header_netinet_in_h" >&5 12066 echo "$as_me:12066: result: $ac_cv_header_netinet_in_h" >&5
12020 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6 12067 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6
12021 if test $ac_cv_header_netinet_in_h = yes; then 12068 if test $ac_cv_header_netinet_in_h = yes; then
12022 : 12069 :
12023 else 12070 else
12024 ok_so_far=no 12071 ok_so_far=no
12025 fi 12072 fi
12026 12073
12027 fi 12074 fi
12028 if test $ok_so_far = yes; then 12075 if test $ok_so_far = yes; then
12029 echo "$as_me:12029: checking for arpa/inet.h" >&5 12076 echo "$as_me:12076: checking for arpa/inet.h" >&5
12030 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6 12077 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6
12031 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 12078 if test "${ac_cv_header_arpa_inet_h+set}" = set; then
12032 echo $ECHO_N "(cached) $ECHO_C" >&6 12079 echo $ECHO_N "(cached) $ECHO_C" >&6
12033 else 12080 else
12034 cat >conftest.$ac_ext <<_ACEOF 12081 cat >conftest.$ac_ext <<_ACEOF
12035 #line 12035 "configure" 12082 #line 12082 "configure"
12036 #include "confdefs.h" 12083 #include "confdefs.h"
12037 #include <arpa/inet.h> 12084 #include <arpa/inet.h>
12038 _ACEOF 12085 _ACEOF
12039 if { (eval echo "$as_me:12039: \"$ac_cpp conftest.$ac_ext\"") >&5 12086 if { (eval echo "$as_me:12086: \"$ac_cpp conftest.$ac_ext\"") >&5
12040 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 12087 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12041 ac_status=$? 12088 ac_status=$?
12042 egrep -v '^ *\+' conftest.er1 >conftest.err 12089 egrep -v '^ *\+' conftest.er1 >conftest.err
12043 rm -f conftest.er1 12090 rm -f conftest.er1
12044 cat conftest.err >&5 12091 cat conftest.err >&5
12045 echo "$as_me:12045: \$? = $ac_status" >&5 12092 echo "$as_me:12092: \$? = $ac_status" >&5
12046 (exit $ac_status); } >/dev/null; then 12093 (exit $ac_status); } >/dev/null; then
12047 if test -s conftest.err; then 12094 if test -s conftest.err; then
12048 ac_cpp_err=$ac_c_preproc_warn_flag 12095 ac_cpp_err=$ac_c_preproc_warn_flag
12049 else 12096 else
12050 ac_cpp_err= 12097 ac_cpp_err=
12059 cat conftest.$ac_ext >&5 12106 cat conftest.$ac_ext >&5
12060 ac_cv_header_arpa_inet_h=no 12107 ac_cv_header_arpa_inet_h=no
12061 fi 12108 fi
12062 rm -f conftest.err conftest.$ac_ext 12109 rm -f conftest.err conftest.$ac_ext
12063 fi 12110 fi
12064 echo "$as_me:12064: result: $ac_cv_header_arpa_inet_h" >&5 12111 echo "$as_me:12111: result: $ac_cv_header_arpa_inet_h" >&5
12065 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6 12112 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6
12066 if test $ac_cv_header_arpa_inet_h = yes; then 12113 if test $ac_cv_header_arpa_inet_h = yes; then
12067 : 12114 :
12068 else 12115 else
12069 ok_so_far=no 12116 ok_so_far=no
12084 #define HAVE_AIX_SMT_EXP 1 12131 #define HAVE_AIX_SMT_EXP 1
12085 EOF 12132 EOF
12086 12133
12087 fi 12134 fi
12088 12135
12089 echo "$as_me:12089: checking whether system supports dynamic ptys" >&5 12136 echo "$as_me:12136: checking whether system supports dynamic ptys" >&5
12090 echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6 12137 echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6
12091 if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then 12138 if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then
12092 echo "$as_me:12092: result: yes" >&5 12139 echo "$as_me:12139: result: yes" >&5
12093 echo "${ECHO_T}yes" >&6 12140 echo "${ECHO_T}yes" >&6
12094 12141
12095 cat >>confdefs.h <<\EOF 12142 cat >>confdefs.h <<\EOF
12096 #define HAVE_DEV_PTMX 1 12143 #define HAVE_DEV_PTMX 1
12097 EOF 12144 EOF
12098 12145
12099 else 12146 else
12100 echo "$as_me:12100: result: no" >&5 12147 echo "$as_me:12147: result: no" >&5
12101 echo "${ECHO_T}no" >&6 12148 echo "${ECHO_T}no" >&6
12102 fi 12149 fi
12103 12150
12104 echo "$as_me:12104: checking for pid_t" >&5 12151 echo "$as_me:12151: checking for pid_t" >&5
12105 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 12152 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
12106 if test "${ac_cv_type_pid_t+set}" = set; then 12153 if test "${ac_cv_type_pid_t+set}" = set; then
12107 echo $ECHO_N "(cached) $ECHO_C" >&6 12154 echo $ECHO_N "(cached) $ECHO_C" >&6
12108 else 12155 else
12109 cat >conftest.$ac_ext <<_ACEOF 12156 cat >conftest.$ac_ext <<_ACEOF
12110 #line 12110 "configure" 12157 #line 12157 "configure"
12111 #include "confdefs.h" 12158 #include "confdefs.h"
12112 $ac_includes_default 12159 $ac_includes_default
12113 int 12160 int
12114 main () 12161 main ()
12115 { 12162 {
12120 ; 12167 ;
12121 return 0; 12168 return 0;
12122 } 12169 }
12123 _ACEOF 12170 _ACEOF
12124 rm -f conftest.$ac_objext 12171 rm -f conftest.$ac_objext
12125 if { (eval echo "$as_me:12125: \"$ac_compile\"") >&5 12172 if { (eval echo "$as_me:12172: \"$ac_compile\"") >&5
12126 (eval $ac_compile) 2>&5 12173 (eval $ac_compile) 2>&5
12127 ac_status=$? 12174 ac_status=$?
12128 echo "$as_me:12128: \$? = $ac_status" >&5 12175 echo "$as_me:12175: \$? = $ac_status" >&5
12129 (exit $ac_status); } && 12176 (exit $ac_status); } &&
12130 { ac_try='test -s conftest.$ac_objext' 12177 { ac_try='test -s conftest.$ac_objext'
12131 { (eval echo "$as_me:12131: \"$ac_try\"") >&5 12178 { (eval echo "$as_me:12178: \"$ac_try\"") >&5
12132 (eval $ac_try) 2>&5 12179 (eval $ac_try) 2>&5
12133 ac_status=$? 12180 ac_status=$?
12134 echo "$as_me:12134: \$? = $ac_status" >&5 12181 echo "$as_me:12181: \$? = $ac_status" >&5
12135 (exit $ac_status); }; }; then 12182 (exit $ac_status); }; }; then
12136 ac_cv_type_pid_t=yes 12183 ac_cv_type_pid_t=yes
12137 else 12184 else
12138 echo "$as_me: failed program was:" >&5 12185 echo "$as_me: failed program was:" >&5
12139 cat conftest.$ac_ext >&5 12186 cat conftest.$ac_ext >&5
12140 ac_cv_type_pid_t=no 12187 ac_cv_type_pid_t=no
12141 fi 12188 fi
12142 rm -f conftest.$ac_objext conftest.$ac_ext 12189 rm -f conftest.$ac_objext conftest.$ac_ext
12143 fi 12190 fi
12144 echo "$as_me:12144: result: $ac_cv_type_pid_t" >&5 12191 echo "$as_me:12191: result: $ac_cv_type_pid_t" >&5
12145 echo "${ECHO_T}$ac_cv_type_pid_t" >&6 12192 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
12146 if test $ac_cv_type_pid_t = yes; then 12193 if test $ac_cv_type_pid_t = yes; then
12147 : 12194 :
12148 else 12195 else
12149 12196
12154 fi 12201 fi
12155 12202
12156 for ac_header in unistd.h vfork.h 12203 for ac_header in unistd.h vfork.h
12157 do 12204 do
12158 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 12205 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12159 echo "$as_me:12159: checking for $ac_header" >&5 12206 echo "$as_me:12206: checking for $ac_header" >&5
12160 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 12207 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12161 if eval "test \"\${$as_ac_Header+set}\" = set"; then 12208 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12162 echo $ECHO_N "(cached) $ECHO_C" >&6 12209 echo $ECHO_N "(cached) $ECHO_C" >&6
12163 else 12210 else
12164 cat >conftest.$ac_ext <<_ACEOF 12211 cat >conftest.$ac_ext <<_ACEOF
12165 #line 12165 "configure" 12212 #line 12212 "configure"
12166 #include "confdefs.h" 12213 #include "confdefs.h"
12167 #include <$ac_header> 12214 #include <$ac_header>
12168 _ACEOF 12215 _ACEOF
12169 if { (eval echo "$as_me:12169: \"$ac_cpp conftest.$ac_ext\"") >&5 12216 if { (eval echo "$as_me:12216: \"$ac_cpp conftest.$ac_ext\"") >&5
12170 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 12217 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12171 ac_status=$? 12218 ac_status=$?
12172 egrep -v '^ *\+' conftest.er1 >conftest.err 12219 egrep -v '^ *\+' conftest.er1 >conftest.err
12173 rm -f conftest.er1 12220 rm -f conftest.er1
12174 cat conftest.err >&5 12221 cat conftest.err >&5
12175 echo "$as_me:12175: \$? = $ac_status" >&5 12222 echo "$as_me:12222: \$? = $ac_status" >&5
12176 (exit $ac_status); } >/dev/null; then 12223 (exit $ac_status); } >/dev/null; then
12177 if test -s conftest.err; then 12224 if test -s conftest.err; then
12178 ac_cpp_err=$ac_c_preproc_warn_flag 12225 ac_cpp_err=$ac_c_preproc_warn_flag
12179 else 12226 else
12180 ac_cpp_err= 12227 ac_cpp_err=
12189 cat conftest.$ac_ext >&5 12236 cat conftest.$ac_ext >&5
12190 eval "$as_ac_Header=no" 12237 eval "$as_ac_Header=no"
12191 fi 12238 fi
12192 rm -f conftest.err conftest.$ac_ext 12239 rm -f conftest.err conftest.$ac_ext
12193 fi 12240 fi
12194 echo "$as_me:12194: result: `eval echo '${'$as_ac_Header'}'`" >&5 12241 echo "$as_me:12241: result: `eval echo '${'$as_ac_Header'}'`" >&5
12195 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 12242 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12196 if test `eval echo '${'$as_ac_Header'}'` = yes; then 12243 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12197 cat >>confdefs.h <<EOF 12244 cat >>confdefs.h <<EOF
12198 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 12245 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12199 EOF 12246 EOF
12202 done 12249 done
12203 12250
12204 for ac_func in fork vfork 12251 for ac_func in fork vfork
12205 do 12252 do
12206 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 12253 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12207 echo "$as_me:12207: checking for $ac_func" >&5 12254 echo "$as_me:12254: checking for $ac_func" >&5
12208 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 12255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12209 if eval "test \"\${$as_ac_var+set}\" = set"; then 12256 if eval "test \"\${$as_ac_var+set}\" = set"; then
12210 echo $ECHO_N "(cached) $ECHO_C" >&6 12257 echo $ECHO_N "(cached) $ECHO_C" >&6
12211 else 12258 else
12212 cat >conftest.$ac_ext <<_ACEOF 12259 cat >conftest.$ac_ext <<_ACEOF
12213 #line 12213 "configure" 12260 #line 12260 "configure"
12214 #include "confdefs.h" 12261 #include "confdefs.h"
12215 /* System header to define __stub macros and hopefully few prototypes, 12262 /* System header to define __stub macros and hopefully few prototypes,
12216 which can conflict with char $ac_func (); below. */ 12263 which can conflict with char $ac_func (); below. */
12217 #include <assert.h> 12264 #include <assert.h>
12218 /* Override any gcc2 internal prototype to avoid an error. */ 12265 /* Override any gcc2 internal prototype to avoid an error. */
12239 ; 12286 ;
12240 return 0; 12287 return 0;
12241 } 12288 }
12242 _ACEOF 12289 _ACEOF
12243 rm -f conftest.$ac_objext conftest$ac_exeext 12290 rm -f conftest.$ac_objext conftest$ac_exeext
12244 if { (eval echo "$as_me:12244: \"$ac_link\"") >&5 12291 if { (eval echo "$as_me:12291: \"$ac_link\"") >&5
12245 (eval $ac_link) 2>&5 12292 (eval $ac_link) 2>&5
12246 ac_status=$? 12293 ac_status=$?
12247 echo "$as_me:12247: \$? = $ac_status" >&5 12294 echo "$as_me:12294: \$? = $ac_status" >&5
12248 (exit $ac_status); } && 12295 (exit $ac_status); } &&
12249 { ac_try='test -s conftest$ac_exeext' 12296 { ac_try='test -s conftest$ac_exeext'
12250 { (eval echo "$as_me:12250: \"$ac_try\"") >&5 12297 { (eval echo "$as_me:12297: \"$ac_try\"") >&5
12251 (eval $ac_try) 2>&5 12298 (eval $ac_try) 2>&5
12252 ac_status=$? 12299 ac_status=$?
12253 echo "$as_me:12253: \$? = $ac_status" >&5 12300 echo "$as_me:12300: \$? = $ac_status" >&5
12254 (exit $ac_status); }; }; then 12301 (exit $ac_status); }; }; then
12255 eval "$as_ac_var=yes" 12302 eval "$as_ac_var=yes"
12256 else 12303 else
12257 echo "$as_me: failed program was:" >&5 12304 echo "$as_me: failed program was:" >&5
12258 cat conftest.$ac_ext >&5 12305 cat conftest.$ac_ext >&5
12259 eval "$as_ac_var=no" 12306 eval "$as_ac_var=no"
12260 fi 12307 fi
12261 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 12308 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12262 fi 12309 fi
12263 echo "$as_me:12263: result: `eval echo '${'$as_ac_var'}'`" >&5 12310 echo "$as_me:12310: result: `eval echo '${'$as_ac_var'}'`" >&5
12264 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 12311 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12265 if test `eval echo '${'$as_ac_var'}'` = yes; then 12312 if test `eval echo '${'$as_ac_var'}'` = yes; then
12266 cat >>confdefs.h <<EOF 12313 cat >>confdefs.h <<EOF
12267 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 12314 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12268 EOF 12315 EOF
12270 fi 12317 fi
12271 done 12318 done
12272 12319
12273 ac_cv_func_fork_works=$ac_cv_func_fork 12320 ac_cv_func_fork_works=$ac_cv_func_fork
12274 if test "x$ac_cv_func_fork" = xyes; then 12321 if test "x$ac_cv_func_fork" = xyes; then
12275 echo "$as_me:12275: checking for working fork" >&5 12322 echo "$as_me:12322: checking for working fork" >&5
12276 echo $ECHO_N "checking for working fork... $ECHO_C" >&6 12323 echo $ECHO_N "checking for working fork... $ECHO_C" >&6
12277 if test "${ac_cv_func_fork_works+set}" = set; then 12324 if test "${ac_cv_func_fork_works+set}" = set; then
12278 echo $ECHO_N "(cached) $ECHO_C" >&6 12325 echo $ECHO_N "(cached) $ECHO_C" >&6
12279 else 12326 else
12280 if test "$cross_compiling" = yes; then 12327 if test "$cross_compiling" = yes; then
12293 exit (1); 12340 exit (1);
12294 exit (0); 12341 exit (0);
12295 } 12342 }
12296 _ACEOF 12343 _ACEOF
12297 rm -f conftest$ac_exeext 12344 rm -f conftest$ac_exeext
12298 if { (eval echo "$as_me:12298: \"$ac_link\"") >&5 12345 if { (eval echo "$as_me:12345: \"$ac_link\"") >&5
12299 (eval $ac_link) 2>&5 12346 (eval $ac_link) 2>&5
12300 ac_status=$? 12347 ac_status=$?
12301 echo "$as_me:12301: \$? = $ac_status" >&5 12348 echo "$as_me:12348: \$? = $ac_status" >&5
12302 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 12349 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12303 { (eval echo "$as_me:12303: \"$ac_try\"") >&5 12350 { (eval echo "$as_me:12350: \"$ac_try\"") >&5
12304 (eval $ac_try) 2>&5 12351 (eval $ac_try) 2>&5
12305 ac_status=$? 12352 ac_status=$?
12306 echo "$as_me:12306: \$? = $ac_status" >&5 12353 echo "$as_me:12353: \$? = $ac_status" >&5
12307 (exit $ac_status); }; }; then 12354 (exit $ac_status); }; }; then
12308 ac_cv_func_fork_works=yes 12355 ac_cv_func_fork_works=yes
12309 else 12356 else
12310 echo "$as_me: program exited with status $ac_status" >&5 12357 echo "$as_me: program exited with status $ac_status" >&5
12311 echo "$as_me: failed program was:" >&5 12358 echo "$as_me: failed program was:" >&5
12313 ac_cv_func_fork_works=no 12360 ac_cv_func_fork_works=no
12314 fi 12361 fi
12315 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 12362 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12316 fi 12363 fi
12317 fi 12364 fi
12318 echo "$as_me:12318: result: $ac_cv_func_fork_works" >&5 12365 echo "$as_me:12365: result: $ac_cv_func_fork_works" >&5
12319 echo "${ECHO_T}$ac_cv_func_fork_works" >&6 12366 echo "${ECHO_T}$ac_cv_func_fork_works" >&6
12320 12367
12321 fi 12368 fi
12322 if test "x$ac_cv_func_fork_works" = xcross; then 12369 if test "x$ac_cv_func_fork_works" = xcross; then
12323 case $host in 12370 case $host in
12327 ;; 12374 ;;
12328 *) 12375 *)
12329 ac_cv_func_fork_works=yes 12376 ac_cv_func_fork_works=yes
12330 ;; 12377 ;;
12331 esac 12378 esac
12332 { echo "$as_me:12332: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&5 12379 { echo "$as_me:12379: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&5
12333 echo "$as_me: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&2;} 12380 echo "$as_me: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&2;}
12334 fi 12381 fi
12335 ac_cv_func_vfork_works=$ac_cv_func_vfork 12382 ac_cv_func_vfork_works=$ac_cv_func_vfork
12336 if test "x$ac_cv_func_vfork" = xyes; then 12383 if test "x$ac_cv_func_vfork" = xyes; then
12337 echo "$as_me:12337: checking for working vfork" >&5 12384 echo "$as_me:12384: checking for working vfork" >&5
12338 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6 12385 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
12339 if test "${ac_cv_func_vfork_works+set}" = set; then 12386 if test "${ac_cv_func_vfork_works+set}" = set; then
12340 echo $ECHO_N "(cached) $ECHO_C" >&6 12387 echo $ECHO_N "(cached) $ECHO_C" >&6
12341 else 12388 else
12342 if test "$cross_compiling" = yes; then 12389 if test "$cross_compiling" = yes; then
12343 ac_cv_func_vfork_works=cross 12390 ac_cv_func_vfork_works=cross
12344 else 12391 else
12345 cat >conftest.$ac_ext <<_ACEOF 12392 cat >conftest.$ac_ext <<_ACEOF
12346 #line 12346 "configure" 12393 #line 12393 "configure"
12347 #include "confdefs.h" 12394 #include "confdefs.h"
12348 /* Thanks to Paul Eggert for this test. */ 12395 /* Thanks to Paul Eggert for this test. */
12349 #include <stdio.h> 12396 #include <stdio.h>
12350 #include <sys/types.h> 12397 #include <sys/types.h>
12351 #include <sys/stat.h> 12398 #include <sys/stat.h>
12438 ); 12485 );
12439 } 12486 }
12440 } 12487 }
12441 _ACEOF 12488 _ACEOF
12442 rm -f conftest$ac_exeext 12489 rm -f conftest$ac_exeext
12443 if { (eval echo "$as_me:12443: \"$ac_link\"") >&5 12490 if { (eval echo "$as_me:12490: \"$ac_link\"") >&5
12444 (eval $ac_link) 2>&5 12491 (eval $ac_link) 2>&5
12445 ac_status=$? 12492 ac_status=$?
12446 echo "$as_me:12446: \$? = $ac_status" >&5 12493 echo "$as_me:12493: \$? = $ac_status" >&5
12447 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 12494 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12448 { (eval echo "$as_me:12448: \"$ac_try\"") >&5 12495 { (eval echo "$as_me:12495: \"$ac_try\"") >&5
12449 (eval $ac_try) 2>&5 12496 (eval $ac_try) 2>&5
12450 ac_status=$? 12497 ac_status=$?
12451 echo "$as_me:12451: \$? = $ac_status" >&5 12498 echo "$as_me:12498: \$? = $ac_status" >&5
12452 (exit $ac_status); }; }; then 12499 (exit $ac_status); }; }; then
12453 ac_cv_func_vfork_works=yes 12500 ac_cv_func_vfork_works=yes
12454 else 12501 else
12455 echo "$as_me: program exited with status $ac_status" >&5 12502 echo "$as_me: program exited with status $ac_status" >&5
12456 echo "$as_me: failed program was:" >&5 12503 echo "$as_me: failed program was:" >&5
12458 ac_cv_func_vfork_works=no 12505 ac_cv_func_vfork_works=no
12459 fi 12506 fi
12460 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 12507 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12461 fi 12508 fi
12462 fi 12509 fi
12463 echo "$as_me:12463: result: $ac_cv_func_vfork_works" >&5 12510 echo "$as_me:12510: result: $ac_cv_func_vfork_works" >&5
12464 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6 12511 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
12465 12512
12466 fi; 12513 fi;
12467 if test "x$ac_cv_func_fork_works" = xcross; then 12514 if test "x$ac_cv_func_fork_works" = xcross; then
12468 ac_cv_func_vfork_works=ac_cv_func_vfork 12515 ac_cv_func_vfork_works=ac_cv_func_vfork
12469 { echo "$as_me:12469: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&5 12516 { echo "$as_me:12516: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&5
12470 echo "$as_me: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&2;} 12517 echo "$as_me: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&2;}
12471 fi 12518 fi
12472 12519
12473 if test "x$ac_cv_func_vfork_works" = xyes; then 12520 if test "x$ac_cv_func_vfork_works" = xyes; then
12474 12521
12490 EOF 12537 EOF
12491 12538
12492 fi 12539 fi
12493 12540
12494 # Fixme: This should be replaced when we have autoconf 2.14. 12541 # Fixme: This should be replaced when we have autoconf 2.14.
12495 echo "$as_me:12495: checking for size_t" >&5 12542 echo "$as_me:12542: checking for size_t" >&5
12496 echo $ECHO_N "checking for size_t... $ECHO_C" >&6 12543 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
12497 if test "${ac_cv_type_size_t+set}" = set; then 12544 if test "${ac_cv_type_size_t+set}" = set; then
12498 echo $ECHO_N "(cached) $ECHO_C" >&6 12545 echo $ECHO_N "(cached) $ECHO_C" >&6
12499 else 12546 else
12500 cat >conftest.$ac_ext <<_ACEOF 12547 cat >conftest.$ac_ext <<_ACEOF
12501 #line 12501 "configure" 12548 #line 12548 "configure"
12502 #include "confdefs.h" 12549 #include "confdefs.h"
12503 $ac_includes_default 12550 $ac_includes_default
12504 int 12551 int
12505 main () 12552 main ()
12506 { 12553 {
12511 ; 12558 ;
12512 return 0; 12559 return 0;
12513 } 12560 }
12514 _ACEOF 12561 _ACEOF
12515 rm -f conftest.$ac_objext 12562 rm -f conftest.$ac_objext
12516 if { (eval echo "$as_me:12516: \"$ac_compile\"") >&5 12563 if { (eval echo "$as_me:12563: \"$ac_compile\"") >&5
12517 (eval $ac_compile) 2>&5 12564 (eval $ac_compile) 2>&5
12518 ac_status=$? 12565 ac_status=$?
12519 echo "$as_me:12519: \$? = $ac_status" >&5 12566 echo "$as_me:12566: \$? = $ac_status" >&5
12520 (exit $ac_status); } && 12567 (exit $ac_status); } &&
12521 { ac_try='test -s conftest.$ac_objext' 12568 { ac_try='test -s conftest.$ac_objext'
12522 { (eval echo "$as_me:12522: \"$ac_try\"") >&5 12569 { (eval echo "$as_me:12569: \"$ac_try\"") >&5
12523 (eval $ac_try) 2>&5 12570 (eval $ac_try) 2>&5
12524 ac_status=$? 12571 ac_status=$?
12525 echo "$as_me:12525: \$? = $ac_status" >&5 12572 echo "$as_me:12572: \$? = $ac_status" >&5
12526 (exit $ac_status); }; }; then 12573 (exit $ac_status); }; }; then
12527 ac_cv_type_size_t=yes 12574 ac_cv_type_size_t=yes
12528 else 12575 else
12529 echo "$as_me: failed program was:" >&5 12576 echo "$as_me: failed program was:" >&5
12530 cat conftest.$ac_ext >&5 12577 cat conftest.$ac_ext >&5
12531 ac_cv_type_size_t=no 12578 ac_cv_type_size_t=no
12532 fi 12579 fi
12533 rm -f conftest.$ac_objext conftest.$ac_ext 12580 rm -f conftest.$ac_objext conftest.$ac_ext
12534 fi 12581 fi
12535 echo "$as_me:12535: result: $ac_cv_type_size_t" >&5 12582 echo "$as_me:12582: result: $ac_cv_type_size_t" >&5
12536 echo "${ECHO_T}$ac_cv_type_size_t" >&6 12583 echo "${ECHO_T}$ac_cv_type_size_t" >&6
12537 if test $ac_cv_type_size_t = yes; then 12584 if test $ac_cv_type_size_t = yes; then
12538 : 12585 :
12539 else 12586 else
12540 12587
12550 12597
12551 #### Find out which version of Emacs this is. 12598 #### Find out which version of Emacs this is.
12552 version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \ 12599 version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \
12553 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'` 12600 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'`
12554 if test x"${version}" = x; then 12601 if test x"${version}" = x; then
12555 { { echo "$as_me:12555: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5 12602 { { echo "$as_me:12602: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5
12556 echo "$as_me: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&2;} 12603 echo "$as_me: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&2;}
12557 { (exit 1); exit 1; }; } 12604 { (exit 1); exit 1; }; }
12558 fi 12605 fi
12559 12606
12560 ### Specify what sort of things we'll be editing into Makefile and config.h. 12607 ### Specify what sort of things we'll be editing into Makefile and config.h.
12643 fi 12690 fi
12644 12691
12645 for ac_header in nlist.h 12692 for ac_header in nlist.h
12646 do 12693 do
12647 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 12694 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12648 echo "$as_me:12648: checking for $ac_header" >&5 12695 echo "$as_me:12695: checking for $ac_header" >&5
12649 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 12696 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12650 if eval "test \"\${$as_ac_Header+set}\" = set"; then 12697 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12651 echo $ECHO_N "(cached) $ECHO_C" >&6 12698 echo $ECHO_N "(cached) $ECHO_C" >&6
12652 else 12699 else
12653 cat >conftest.$ac_ext <<_ACEOF 12700 cat >conftest.$ac_ext <<_ACEOF
12654 #line 12654 "configure" 12701 #line 12701 "configure"
12655 #include "confdefs.h" 12702 #include "confdefs.h"
12656 #include <$ac_header> 12703 #include <$ac_header>
12657 _ACEOF 12704 _ACEOF
12658 if { (eval echo "$as_me:12658: \"$ac_cpp conftest.$ac_ext\"") >&5 12705 if { (eval echo "$as_me:12705: \"$ac_cpp conftest.$ac_ext\"") >&5
12659 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 12706 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12660 ac_status=$? 12707 ac_status=$?
12661 egrep -v '^ *\+' conftest.er1 >conftest.err 12708 egrep -v '^ *\+' conftest.er1 >conftest.err
12662 rm -f conftest.er1 12709 rm -f conftest.er1
12663 cat conftest.err >&5 12710 cat conftest.err >&5
12664 echo "$as_me:12664: \$? = $ac_status" >&5 12711 echo "$as_me:12711: \$? = $ac_status" >&5
12665 (exit $ac_status); } >/dev/null; then 12712 (exit $ac_status); } >/dev/null; then
12666 if test -s conftest.err; then 12713 if test -s conftest.err; then
12667 ac_cpp_err=$ac_c_preproc_warn_flag 12714 ac_cpp_err=$ac_c_preproc_warn_flag
12668 else 12715 else
12669 ac_cpp_err= 12716 ac_cpp_err=
12678 cat conftest.$ac_ext >&5 12725 cat conftest.$ac_ext >&5
12679 eval "$as_ac_Header=no" 12726 eval "$as_ac_Header=no"
12680 fi 12727 fi
12681 rm -f conftest.err conftest.$ac_ext 12728 rm -f conftest.err conftest.$ac_ext
12682 fi 12729 fi
12683 echo "$as_me:12683: result: `eval echo '${'$as_ac_Header'}'`" >&5 12730 echo "$as_me:12730: result: `eval echo '${'$as_ac_Header'}'`" >&5
12684 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 12731 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12685 if test `eval echo '${'$as_ac_Header'}'` = yes; then 12732 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12686 cat >>confdefs.h <<EOF 12733 cat >>confdefs.h <<EOF
12687 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 12734 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12688 EOF 12735 EOF
12704 What compiler should emacs be built with? ${CC} ${CFLAGS} 12751 What compiler should emacs be built with? ${CC} ${CFLAGS}
12705 Should Emacs use the GNU version of malloc? ${GNU_MALLOC}${GNU_MALLOC_reason} 12752 Should Emacs use the GNU version of malloc? ${GNU_MALLOC}${GNU_MALLOC_reason}
12706 Should Emacs use a relocating allocator for buffers? ${REL_ALLOC} 12753 Should Emacs use a relocating allocator for buffers? ${REL_ALLOC}
12707 Should Emacs use mmap(2) for buffer allocation? $use_mmap_for_buffers 12754 Should Emacs use mmap(2) for buffer allocation? $use_mmap_for_buffers
12708 What window system should Emacs use? ${window_system} 12755 What window system should Emacs use? ${window_system}
12709 What toolkit should Emacs use? ${USE_X_TOOLKIT} 12756 What toolkit should Emacs use? ${USE_X_TOOLKIT}"
12710 Should Emacs use a shared game state directory? ${gamedir}"
12711 12757
12712 if test -n "${x_includes}"; then 12758 if test -n "${x_includes}"; then
12713 echo " Where do we find X Windows header files? ${x_includes}" 12759 echo " Where do we find X Windows header files? ${x_includes}"
12714 else 12760 else
12715 echo " Where do we find X Windows header files? Standard dirs" 12761 echo " Where do we find X Windows header files? Standard dirs"
12739 ## CPP_NEED_TRADITIONAL to `yes' so that the code to generate Makefile 12785 ## CPP_NEED_TRADITIONAL to `yes' so that the code to generate Makefile
12740 ## from Makefile.c can correctly provide the arg `-traditional' to the 12786 ## from Makefile.c can correctly provide the arg `-traditional' to the
12741 ## C preprocessor. 12787 ## C preprocessor.
12742 12788
12743 cat >conftest.$ac_ext <<_ACEOF 12789 cat >conftest.$ac_ext <<_ACEOF
12744 #line 12744 "configure" 12790 #line 12790 "configure"
12745 #include "confdefs.h" 12791 #include "confdefs.h"
12746 yes..yes 12792 yes..yes
12747 _ACEOF 12793 _ACEOF
12748 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 12794 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12749 egrep "yes..yes" >/dev/null 2>&1; then 12795 egrep "yes..yes" >/dev/null 2>&1; then
12832 DEFS=-DHAVE_CONFIG_H 12878 DEFS=-DHAVE_CONFIG_H
12833 12879
12834 : ${CONFIG_STATUS=./config.status} 12880 : ${CONFIG_STATUS=./config.status}
12835 ac_clean_files_save=$ac_clean_files 12881 ac_clean_files_save=$ac_clean_files
12836 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 12882 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12837 { echo "$as_me:12837: creating $CONFIG_STATUS" >&5 12883 { echo "$as_me:12883: creating $CONFIG_STATUS" >&5
12838 echo "$as_me: creating $CONFIG_STATUS" >&6;} 12884 echo "$as_me: creating $CONFIG_STATUS" >&6;}
12839 cat >$CONFIG_STATUS <<_ACEOF 12885 cat >$CONFIG_STATUS <<_ACEOF
12840 #! $SHELL 12886 #! $SHELL
12841 # Generated automatically by configure. 12887 # Generated automatically by configure.
12842 # Run this file to recreate the current configuration. 12888 # Run this file to recreate the current configuration.
13008 cat >>$CONFIG_STATUS <<\EOF 13054 cat >>$CONFIG_STATUS <<\EOF
13009 --version | --vers* | -V ) 13055 --version | --vers* | -V )
13010 echo "$ac_cs_version"; exit 0 ;; 13056 echo "$ac_cs_version"; exit 0 ;;
13011 --he | --h) 13057 --he | --h)
13012 # Conflict between --help and --header 13058 # Conflict between --help and --header
13013 { { echo "$as_me:13013: error: ambiguous option: $1 13059 { { echo "$as_me:13059: error: ambiguous option: $1
13014 Try \`$0 --help' for more information." >&5 13060 Try \`$0 --help' for more information." >&5
13015 echo "$as_me: error: ambiguous option: $1 13061 echo "$as_me: error: ambiguous option: $1
13016 Try \`$0 --help' for more information." >&2;} 13062 Try \`$0 --help' for more information." >&2;}
13017 { (exit 1); exit 1; }; };; 13063 { (exit 1); exit 1; }; };;
13018 --help | --hel | -h ) 13064 --help | --hel | -h )
13027 shift 13073 shift
13028 CONFIG_HEADERS="$CONFIG_HEADERS $1" 13074 CONFIG_HEADERS="$CONFIG_HEADERS $1"
13029 ac_need_defaults=false;; 13075 ac_need_defaults=false;;
13030 13076
13031 # This is an error. 13077 # This is an error.
13032 -*) { { echo "$as_me:13032: error: unrecognized option: $1 13078 -*) { { echo "$as_me:13078: error: unrecognized option: $1
13033 Try \`$0 --help' for more information." >&5 13079 Try \`$0 --help' for more information." >&5
13034 echo "$as_me: error: unrecognized option: $1 13080 echo "$as_me: error: unrecognized option: $1
13035 Try \`$0 --help' for more information." >&2;} 13081 Try \`$0 --help' for more information." >&2;}
13036 { (exit 1); exit 1; }; } ;; 13082 { (exit 1); exit 1; }; } ;;
13037 13083
13083 "lispref/Makefile" ) CONFIG_FILES="$CONFIG_FILES lispref/Makefile" ;; 13129 "lispref/Makefile" ) CONFIG_FILES="$CONFIG_FILES lispref/Makefile" ;;
13084 "lispintro/Makefile" ) CONFIG_FILES="$CONFIG_FILES lispintro/Makefile" ;; 13130 "lispintro/Makefile" ) CONFIG_FILES="$CONFIG_FILES lispintro/Makefile" ;;
13085 "leim/Makefile" ) CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; 13131 "leim/Makefile" ) CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;;
13086 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; 13132 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
13087 "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h:src/config.in" ;; 13133 "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h:src/config.in" ;;
13088 *) { { echo "$as_me:13088: error: invalid argument: $ac_config_target" >&5 13134 *) { { echo "$as_me:13134: error: invalid argument: $ac_config_target" >&5
13089 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 13135 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13090 { (exit 1); exit 1; }; };; 13136 { (exit 1); exit 1; }; };;
13091 esac 13137 esac
13092 done 13138 done
13093 13139
13332 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 13378 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13333 *) ac_INSTALL=$ac_dots$INSTALL ;; 13379 *) ac_INSTALL=$ac_dots$INSTALL ;;
13334 esac 13380 esac
13335 13381
13336 if test x"$ac_file" != x-; then 13382 if test x"$ac_file" != x-; then
13337 { echo "$as_me:13337: creating $ac_file" >&5 13383 { echo "$as_me:13383: creating $ac_file" >&5
13338 echo "$as_me: creating $ac_file" >&6;} 13384 echo "$as_me: creating $ac_file" >&6;}
13339 rm -f "$ac_file" 13385 rm -f "$ac_file"
13340 fi 13386 fi
13341 # Let's still pretend it is `configure' which instantiates (i.e., don't 13387 # Let's still pretend it is `configure' which instantiates (i.e., don't
13342 # use $as_me), people would be surprised to read: 13388 # use $as_me), people would be surprised to read:
13350 for f in $ac_file_in; do 13396 for f in $ac_file_in; do
13351 case $f in 13397 case $f in
13352 -) echo $tmp/stdin ;; 13398 -) echo $tmp/stdin ;;
13353 [\\/$]*) 13399 [\\/$]*)
13354 # Absolute (can't be DOS-style, as IFS=:) 13400 # Absolute (can't be DOS-style, as IFS=:)
13355 test -f "$f" || { { echo "$as_me:13355: error: cannot find input file: $f" >&5 13401 test -f "$f" || { { echo "$as_me:13401: error: cannot find input file: $f" >&5
13356 echo "$as_me: error: cannot find input file: $f" >&2;} 13402 echo "$as_me: error: cannot find input file: $f" >&2;}
13357 { (exit 1); exit 1; }; } 13403 { (exit 1); exit 1; }; }
13358 echo $f;; 13404 echo $f;;
13359 *) # Relative 13405 *) # Relative
13360 if test -f "$f"; then 13406 if test -f "$f"; then
13363 elif test -f "$srcdir/$f"; then 13409 elif test -f "$srcdir/$f"; then
13364 # Source tree 13410 # Source tree
13365 echo $srcdir/$f 13411 echo $srcdir/$f
13366 else 13412 else
13367 # /dev/null tree 13413 # /dev/null tree
13368 { { echo "$as_me:13368: error: cannot find input file: $f" >&5 13414 { { echo "$as_me:13414: error: cannot find input file: $f" >&5
13369 echo "$as_me: error: cannot find input file: $f" >&2;} 13415 echo "$as_me: error: cannot find input file: $f" >&2;}
13370 { (exit 1); exit 1; }; } 13416 { (exit 1); exit 1; }; }
13371 fi;; 13417 fi;;
13372 esac 13418 esac
13373 done` || { (exit 1); exit 1; } 13419 done` || { (exit 1); exit 1; }
13424 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 13470 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
13425 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 13471 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
13426 * ) ac_file_in=$ac_file.in ;; 13472 * ) ac_file_in=$ac_file.in ;;
13427 esac 13473 esac
13428 13474
13429 test x"$ac_file" != x- && { echo "$as_me:13429: creating $ac_file" >&5 13475 test x"$ac_file" != x- && { echo "$as_me:13475: creating $ac_file" >&5
13430 echo "$as_me: creating $ac_file" >&6;} 13476 echo "$as_me: creating $ac_file" >&6;}
13431 13477
13432 # First look for the input files in the build tree, otherwise in the 13478 # First look for the input files in the build tree, otherwise in the
13433 # src tree. 13479 # src tree.
13434 ac_file_inputs=`IFS=: 13480 ac_file_inputs=`IFS=:
13435 for f in $ac_file_in; do 13481 for f in $ac_file_in; do
13436 case $f in 13482 case $f in
13437 -) echo $tmp/stdin ;; 13483 -) echo $tmp/stdin ;;
13438 [\\/$]*) 13484 [\\/$]*)
13439 # Absolute (can't be DOS-style, as IFS=:) 13485 # Absolute (can't be DOS-style, as IFS=:)
13440 test -f "$f" || { { echo "$as_me:13440: error: cannot find input file: $f" >&5 13486 test -f "$f" || { { echo "$as_me:13486: error: cannot find input file: $f" >&5
13441 echo "$as_me: error: cannot find input file: $f" >&2;} 13487 echo "$as_me: error: cannot find input file: $f" >&2;}
13442 { (exit 1); exit 1; }; } 13488 { (exit 1); exit 1; }; }
13443 echo $f;; 13489 echo $f;;
13444 *) # Relative 13490 *) # Relative
13445 if test -f "$f"; then 13491 if test -f "$f"; then
13448 elif test -f "$srcdir/$f"; then 13494 elif test -f "$srcdir/$f"; then
13449 # Source tree 13495 # Source tree
13450 echo $srcdir/$f 13496 echo $srcdir/$f
13451 else 13497 else
13452 # /dev/null tree 13498 # /dev/null tree
13453 { { echo "$as_me:13453: error: cannot find input file: $f" >&5 13499 { { echo "$as_me:13499: error: cannot find input file: $f" >&5
13454 echo "$as_me: error: cannot find input file: $f" >&2;} 13500 echo "$as_me: error: cannot find input file: $f" >&2;}
13455 { (exit 1); exit 1; }; } 13501 { (exit 1); exit 1; }; }
13456 fi;; 13502 fi;;
13457 esac 13503 esac
13458 done` || { (exit 1); exit 1; } 13504 done` || { (exit 1); exit 1; }
13565 fi 13611 fi
13566 cat $tmp/in >>$tmp/config.h 13612 cat $tmp/in >>$tmp/config.h
13567 rm -f $tmp/in 13613 rm -f $tmp/in
13568 if test x"$ac_file" != x-; then 13614 if test x"$ac_file" != x-; then
13569 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then 13615 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
13570 { echo "$as_me:13570: $ac_file is unchanged" >&5 13616 { echo "$as_me:13616: $ac_file is unchanged" >&5
13571 echo "$as_me: $ac_file is unchanged" >&6;} 13617 echo "$as_me: $ac_file is unchanged" >&6;}
13572 else 13618 else
13573 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13619 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13574 X"$ac_file" : 'X\(//\)[^/]' \| \ 13620 X"$ac_file" : 'X\(//\)[^/]' \| \
13575 X"$ac_file" : 'X\(//\)$' \| \ 13621 X"$ac_file" : 'X\(//\)$' \| \