comparison configure @ 41100:930b8a722dab

Regenerated.
author Pavel Janík <Pavel@Janik.cz>
date Thu, 15 Nov 2001 20:48:20 +0000
parents 2778a25ac830
children 9a105fbe1d0c
comparison
equal deleted inserted replaced
41099:eab977ad2163 41100:930b8a722dab
651 --infodir=DIR info documentation [PREFIX/info] 651 --infodir=DIR info documentation [PREFIX/info]
652 --mandir=DIR man documentation [PREFIX/man] 652 --mandir=DIR man documentation [PREFIX/man]
653 EOF 653 EOF
654 654
655 cat <<\EOF 655 cat <<\EOF
656
657 Program names:
658 --program-prefix=PREFIX prepend PREFIX to installed program names
659 --program-suffix=SUFFIX append SUFFIX to installed program names
660 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
656 661
657 X features: 662 X features:
658 --x-includes=DIR X include files are in DIR 663 --x-includes=DIR X include files are in DIR
659 --x-libraries=DIR X library files are in DIR 664 --x-libraries=DIR X library files are in DIR
660 665
882 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 887 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
883 fi 888 fi
884 fi 889 fi
885 for ac_site_file in $CONFIG_SITE; do 890 for ac_site_file in $CONFIG_SITE; do
886 if test -r "$ac_site_file"; then 891 if test -r "$ac_site_file"; then
887 { echo "$as_me:887: loading site script $ac_site_file" >&5 892 { echo "$as_me:892: loading site script $ac_site_file" >&5
888 echo "$as_me: loading site script $ac_site_file" >&6;} 893 echo "$as_me: loading site script $ac_site_file" >&6;}
889 cat "$ac_site_file" >&5 894 cat "$ac_site_file" >&5
890 . "$ac_site_file" 895 . "$ac_site_file"
891 fi 896 fi
892 done 897 done
893 898
894 if test -r "$cache_file"; then 899 if test -r "$cache_file"; then
895 # Some versions of bash will fail to source /dev/null (special 900 # Some versions of bash will fail to source /dev/null (special
896 # files actually), so we avoid doing that. 901 # files actually), so we avoid doing that.
897 if test -f "$cache_file"; then 902 if test -f "$cache_file"; then
898 { echo "$as_me:898: loading cache $cache_file" >&5 903 { echo "$as_me:903: loading cache $cache_file" >&5
899 echo "$as_me: loading cache $cache_file" >&6;} 904 echo "$as_me: loading cache $cache_file" >&6;}
900 case $cache_file in 905 case $cache_file in
901 [\\/]* | ?:[\\/]* ) . $cache_file;; 906 [\\/]* | ?:[\\/]* ) . $cache_file;;
902 *) . ./$cache_file;; 907 *) . ./$cache_file;;
903 esac 908 esac
904 fi 909 fi
905 else 910 else
906 { echo "$as_me:906: creating cache $cache_file" >&5 911 { echo "$as_me:911: creating cache $cache_file" >&5
907 echo "$as_me: creating cache $cache_file" >&6;} 912 echo "$as_me: creating cache $cache_file" >&6;}
908 >$cache_file 913 >$cache_file
909 fi 914 fi
910 915
911 # Check that the precious variables saved in the cache have kept the same 916 # Check that the precious variables saved in the cache have kept the same
917 eval ac_new_set=\$ac_env_${ac_var}_set 922 eval ac_new_set=\$ac_env_${ac_var}_set
918 eval ac_old_val="\$ac_cv_env_${ac_var}_value" 923 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
919 eval ac_new_val="\$ac_env_${ac_var}_value" 924 eval ac_new_val="\$ac_env_${ac_var}_value"
920 case $ac_old_set,$ac_new_set in 925 case $ac_old_set,$ac_new_set in
921 set,) 926 set,)
922 { echo "$as_me:922: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 927 { echo "$as_me:927: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
923 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 928 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
924 ac_cache_corrupted=: ;; 929 ac_cache_corrupted=: ;;
925 ,set) 930 ,set)
926 { echo "$as_me:926: error: \`$ac_var' was not set in the previous run" >&5 931 { echo "$as_me:931: error: \`$ac_var' was not set in the previous run" >&5
927 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 932 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
928 ac_cache_corrupted=: ;; 933 ac_cache_corrupted=: ;;
929 ,);; 934 ,);;
930 *) 935 *)
931 if test "x$ac_old_val" != "x$ac_new_val"; then 936 if test "x$ac_old_val" != "x$ac_new_val"; then
932 { echo "$as_me:932: error: \`$ac_var' has changed since the previous run:" >&5 937 { echo "$as_me:937: error: \`$ac_var' has changed since the previous run:" >&5
933 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 938 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
934 { echo "$as_me:934: former value: $ac_old_val" >&5 939 { echo "$as_me:939: former value: $ac_old_val" >&5
935 echo "$as_me: former value: $ac_old_val" >&2;} 940 echo "$as_me: former value: $ac_old_val" >&2;}
936 { echo "$as_me:936: current value: $ac_new_val" >&5 941 { echo "$as_me:941: current value: $ac_new_val" >&5
937 echo "$as_me: current value: $ac_new_val" >&2;} 942 echo "$as_me: current value: $ac_new_val" >&2;}
938 ac_cache_corrupted=: 943 ac_cache_corrupted=:
939 fi;; 944 fi;;
940 esac 945 esac
941 # Pass precious variables to config.status. It doesn't matter if 946 # Pass precious variables to config.status. It doesn't matter if
950 ;; 955 ;;
951 esac 956 esac
952 fi 957 fi
953 done 958 done
954 if $ac_cache_corrupted; then 959 if $ac_cache_corrupted; then
955 { echo "$as_me:955: error: changes in the environment can compromise the build" >&5 960 { echo "$as_me:960: error: changes in the environment can compromise the build" >&5
956 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 961 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
957 { { echo "$as_me:957: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 962 { { echo "$as_me:962: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
958 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 963 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
959 { (exit 1); exit 1; }; } 964 { (exit 1); exit 1; }; }
960 fi 965 fi
961 966
962 ac_ext=c 967 ac_ext=c
972 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 977 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
973 esac 978 esac
974 echo "#! $SHELL" >conftest.sh 979 echo "#! $SHELL" >conftest.sh
975 echo "exit 0" >>conftest.sh 980 echo "exit 0" >>conftest.sh
976 chmod +x conftest.sh 981 chmod +x conftest.sh
977 if { (echo "$as_me:977: PATH=\".;.\"; conftest.sh") >&5 982 if { (echo "$as_me:982: PATH=\".;.\"; conftest.sh") >&5
978 (PATH=".;."; conftest.sh) 2>&5 983 (PATH=".;."; conftest.sh) 2>&5
979 ac_status=$? 984 ac_status=$?
980 echo "$as_me:980: \$? = $ac_status" >&5 985 echo "$as_me:985: \$? = $ac_status" >&5
981 (exit $ac_status); }; then 986 (exit $ac_status); }; then
982 ac_path_separator=';' 987 ac_path_separator=';'
983 else 988 else
984 ac_path_separator=: 989 ac_path_separator=:
985 fi 990 fi
986 PATH_SEPARATOR="$ac_path_separator" 991 PATH_SEPARATOR="$ac_path_separator"
987 rm -f conftest.sh 992 rm -f conftest.sh
988 993
989 ac_config_headers="$ac_config_headers src/config.h:src/config.in" 994 ac_config_headers="$ac_config_headers src/config.h:src/config.in"
995
996 test "$program_prefix" != NONE &&
997 program_transform_name="s,^,$program_prefix,;$program_transform_name"
998 # Use a double $ so make ignores it.
999 test "$program_suffix" != NONE &&
1000 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1001 # Double any \ or $. echo might interpret backslashes.
1002 # By default was `s,x,x', remove it if useless.
1003 cat <<\_ACEOF >conftest.sed
1004 s/[\\$]/&&/g;s/;s,x,x,$//
1005 _ACEOF
1006 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1007 rm conftest.sed
990 1008
991 lispdir='${datadir}/emacs/${version}/lisp' 1009 lispdir='${datadir}/emacs/${version}/lisp'
992 locallisppath='${datadir}/emacs/${version}/site-lisp:'\ 1010 locallisppath='${datadir}/emacs/${version}/site-lisp:'\
993 '${datadir}/emacs/site-lisp:${datadir}/emacs/${version}/leim' 1011 '${datadir}/emacs/site-lisp:${datadir}/emacs/${version}/leim'
994 lisppath='${locallisppath}:${lispdir}' 1012 lisppath='${locallisppath}:${lispdir}'
1063 n | no ) val=no ;; 1081 n | no ) val=no ;;
1064 l | lu | luc | luci | lucid ) val=lucid ;; 1082 l | lu | luc | luci | lucid ) val=lucid ;;
1065 a | at | ath | athe | athen | athena ) val=athena ;; 1083 a | at | ath | athe | athen | athena ) val=athena ;;
1066 m | mo | mot | moti | motif ) val=motif ;; 1084 m | mo | mot | moti | motif ) val=motif ;;
1067 * ) 1085 * )
1068 { { echo "$as_me:1068: error: \`--with-x-toolkit=$withval' is invalid\; 1086 { { echo "$as_me:1086: error: \`--with-x-toolkit=$withval' is invalid\;
1069 this option's value should be \`yes', \`no', \`lucid', \`athena', or \`motif'. 1087 this option's value should be \`yes', \`no', \`lucid', \`athena', or \`motif'.
1070 Currently, \`yes', \`athena' and \`lucid' are synonyms." >&5 1088 Currently, \`yes', \`athena' and \`lucid' are synonyms." >&5
1071 echo "$as_me: error: \`--with-x-toolkit=$withval' is invalid\; 1089 echo "$as_me: error: \`--with-x-toolkit=$withval' is invalid\;
1072 this option's value should be \`yes', \`no', \`lucid', \`athena', or \`motif'. 1090 this option's value should be \`yes', \`no', \`lucid', \`athena', or \`motif'.
1073 Currently, \`yes', \`athena' and \`lucid' are synonyms." >&2;} 1091 Currently, \`yes', \`athena' and \`lucid' are synonyms." >&2;}
1142 esac 1160 esac
1143 1161
1144 #### Check if the source directory already has a configured system in it. 1162 #### Check if the source directory already has a configured system in it.
1145 if test `pwd` != `(cd ${srcdir} && pwd)` \ 1163 if test `pwd` != `(cd ${srcdir} && pwd)` \
1146 && test -f "${srcdir}/src/config.h" ; then 1164 && test -f "${srcdir}/src/config.h" ; then
1147 { echo "$as_me:1147: WARNING: The directory tree \`${srcdir}' is being used 1165 { echo "$as_me:1165: WARNING: The directory tree \`${srcdir}' is being used
1148 as a build directory right now; it has been configured in its own 1166 as a build directory right now; it has been configured in its own
1149 right. To configure in another directory as well, you MUST 1167 right. To configure in another directory as well, you MUST
1150 use GNU make. If you do not have GNU make, then you must 1168 use GNU make. If you do not have GNU make, then you must
1151 now do \`make distclean' in ${srcdir}, 1169 now do \`make distclean' in ${srcdir},
1152 and then run $0 again." >&5 1170 and then run $0 again." >&5
1187 ac_install_sh="$ac_aux_dir/shtool install -c" 1205 ac_install_sh="$ac_aux_dir/shtool install -c"
1188 break 1206 break
1189 fi 1207 fi
1190 done 1208 done
1191 if test -z "$ac_aux_dir"; then 1209 if test -z "$ac_aux_dir"; then
1192 { { echo "$as_me:1192: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 1210 { { echo "$as_me:1210: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1193 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 1211 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1194 { (exit 1); exit 1; }; } 1212 { (exit 1); exit 1; }; }
1195 fi 1213 fi
1196 ac_config_guess="$SHELL $ac_aux_dir/config.guess" 1214 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1197 ac_config_sub="$SHELL $ac_aux_dir/config.sub" 1215 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1198 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 1216 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1199 1217
1200 # Make sure we can run config.sub. 1218 # Make sure we can run config.sub.
1201 $ac_config_sub sun4 >/dev/null 2>&1 || 1219 $ac_config_sub sun4 >/dev/null 2>&1 ||
1202 { { echo "$as_me:1202: error: cannot run $ac_config_sub" >&5 1220 { { echo "$as_me:1220: error: cannot run $ac_config_sub" >&5
1203 echo "$as_me: error: cannot run $ac_config_sub" >&2;} 1221 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1204 { (exit 1); exit 1; }; } 1222 { (exit 1); exit 1; }; }
1205 1223
1206 echo "$as_me:1206: checking build system type" >&5 1224 echo "$as_me:1224: checking build system type" >&5
1207 echo $ECHO_N "checking build system type... $ECHO_C" >&6 1225 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1208 if test "${ac_cv_build+set}" = set; then 1226 if test "${ac_cv_build+set}" = set; then
1209 echo $ECHO_N "(cached) $ECHO_C" >&6 1227 echo $ECHO_N "(cached) $ECHO_C" >&6
1210 else 1228 else
1211 ac_cv_build_alias=$build_alias 1229 ac_cv_build_alias=$build_alias
1212 test -z "$ac_cv_build_alias" && 1230 test -z "$ac_cv_build_alias" &&
1213 ac_cv_build_alias=`$ac_config_guess` 1231 ac_cv_build_alias=`$ac_config_guess`
1214 test -z "$ac_cv_build_alias" && 1232 test -z "$ac_cv_build_alias" &&
1215 { { echo "$as_me:1215: error: cannot guess build type; you must specify one" >&5 1233 { { echo "$as_me:1233: error: cannot guess build type; you must specify one" >&5
1216 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 1234 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1217 { (exit 1); exit 1; }; } 1235 { (exit 1); exit 1; }; }
1218 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || 1236 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1219 { { echo "$as_me:1219: error: $ac_config_sub $ac_cv_build_alias failed." >&5 1237 { { echo "$as_me:1237: error: $ac_config_sub $ac_cv_build_alias failed." >&5
1220 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;} 1238 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}
1221 { (exit 1); exit 1; }; } 1239 { (exit 1); exit 1; }; }
1222 1240
1223 fi 1241 fi
1224 echo "$as_me:1224: result: $ac_cv_build" >&5 1242 echo "$as_me:1242: result: $ac_cv_build" >&5
1225 echo "${ECHO_T}$ac_cv_build" >&6 1243 echo "${ECHO_T}$ac_cv_build" >&6
1226 build=$ac_cv_build 1244 build=$ac_cv_build
1227 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1245 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1228 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1246 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1229 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1247 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1230 1248
1231 echo "$as_me:1231: checking host system type" >&5 1249 test -z "$build_alias" &&
1250 build_alias=$ac_cv_build
1251
1252 echo "$as_me:1252: checking host system type" >&5
1232 echo $ECHO_N "checking host system type... $ECHO_C" >&6 1253 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1233 if test "${ac_cv_host+set}" = set; then 1254 if test "${ac_cv_host+set}" = set; then
1234 echo $ECHO_N "(cached) $ECHO_C" >&6 1255 echo $ECHO_N "(cached) $ECHO_C" >&6
1235 else 1256 else
1236 ac_cv_host_alias=$host_alias 1257 ac_cv_host_alias=$host_alias
1237 test -z "$ac_cv_host_alias" && 1258 test -z "$ac_cv_host_alias" &&
1238 ac_cv_host_alias=$ac_cv_build_alias 1259 ac_cv_host_alias=$ac_cv_build_alias
1239 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || 1260 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1240 { { echo "$as_me:1240: error: $ac_config_sub $ac_cv_host_alias failed" >&5 1261 { { echo "$as_me:1261: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1241 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} 1262 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1242 { (exit 1); exit 1; }; } 1263 { (exit 1); exit 1; }; }
1243 1264
1244 fi 1265 fi
1245 echo "$as_me:1245: result: $ac_cv_host" >&5 1266 echo "$as_me:1266: result: $ac_cv_host" >&5
1246 echo "${ECHO_T}$ac_cv_host" >&6 1267 echo "${ECHO_T}$ac_cv_host" >&6
1247 host=$ac_cv_host 1268 host=$ac_cv_host
1248 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1269 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1249 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1270 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1250 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1271 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1272
1273 test -z "$host_alias" &&
1274 host_alias=$ac_cv_host
1251 1275
1252 canonical=$host 1276 canonical=$host
1253 configuration=${host_alias-$host} 1277 configuration=${host_alias-$host}
1254 1278
1255 ### If you add support for a new configuration, add code to this 1279 ### If you add support for a new configuration, add code to this
2190 ;; 2214 ;;
2191 esac 2215 esac
2192 fi 2216 fi
2193 2217
2194 if test $unported = yes; then 2218 if test $unported = yes; then
2195 { { echo "$as_me:2195: error: Emacs hasn't been ported to \`${canonical}' systems. 2219 { { echo "$as_me:2219: error: Emacs hasn't been ported to \`${canonical}' systems.
2196 Check \`etc/MACHINES' for recognized configuration names." >&5 2220 Check \`etc/MACHINES' for recognized configuration names." >&5
2197 echo "$as_me: error: Emacs hasn't been ported to \`${canonical}' systems. 2221 echo "$as_me: error: Emacs hasn't been ported to \`${canonical}' systems.
2198 Check \`etc/MACHINES' for recognized configuration names." >&2;} 2222 Check \`etc/MACHINES' for recognized configuration names." >&2;}
2199 { (exit 1); exit 1; }; } 2223 { (exit 1); exit 1; }; }
2200 fi 2224 fi
2219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2220 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2221 if test -n "$ac_tool_prefix"; then 2245 if test -n "$ac_tool_prefix"; then
2222 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2246 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2223 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2247 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2224 echo "$as_me:2224: checking for $ac_word" >&5 2248 echo "$as_me:2248: checking for $ac_word" >&5
2225 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2249 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2226 if test "${ac_cv_prog_CC+set}" = set; then 2250 if test "${ac_cv_prog_CC+set}" = set; then
2227 echo $ECHO_N "(cached) $ECHO_C" >&6 2251 echo $ECHO_N "(cached) $ECHO_C" >&6
2228 else 2252 else
2229 if test -n "$CC"; then 2253 if test -n "$CC"; then
2234 for ac_dir in $ac_dummy; do 2258 for ac_dir in $ac_dummy; do
2235 IFS=$ac_save_IFS 2259 IFS=$ac_save_IFS
2236 test -z "$ac_dir" && ac_dir=. 2260 test -z "$ac_dir" && ac_dir=.
2237 $as_executable_p "$ac_dir/$ac_word" || continue 2261 $as_executable_p "$ac_dir/$ac_word" || continue
2238 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2262 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2239 echo "$as_me:2239: found $ac_dir/$ac_word" >&5 2263 echo "$as_me:2263: found $ac_dir/$ac_word" >&5
2240 break 2264 break
2241 done 2265 done
2242 2266
2243 fi 2267 fi
2244 fi 2268 fi
2245 CC=$ac_cv_prog_CC 2269 CC=$ac_cv_prog_CC
2246 if test -n "$CC"; then 2270 if test -n "$CC"; then
2247 echo "$as_me:2247: result: $CC" >&5 2271 echo "$as_me:2271: result: $CC" >&5
2248 echo "${ECHO_T}$CC" >&6 2272 echo "${ECHO_T}$CC" >&6
2249 else 2273 else
2250 echo "$as_me:2250: result: no" >&5 2274 echo "$as_me:2274: result: no" >&5
2251 echo "${ECHO_T}no" >&6 2275 echo "${ECHO_T}no" >&6
2252 fi 2276 fi
2253 2277
2254 fi 2278 fi
2255 if test -z "$ac_cv_prog_CC"; then 2279 if test -z "$ac_cv_prog_CC"; then
2256 ac_ct_CC=$CC 2280 ac_ct_CC=$CC
2257 # Extract the first word of "gcc", so it can be a program name with args. 2281 # Extract the first word of "gcc", so it can be a program name with args.
2258 set dummy gcc; ac_word=$2 2282 set dummy gcc; ac_word=$2
2259 echo "$as_me:2259: checking for $ac_word" >&5 2283 echo "$as_me:2283: checking for $ac_word" >&5
2260 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2284 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2261 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2285 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2262 echo $ECHO_N "(cached) $ECHO_C" >&6 2286 echo $ECHO_N "(cached) $ECHO_C" >&6
2263 else 2287 else
2264 if test -n "$ac_ct_CC"; then 2288 if test -n "$ac_ct_CC"; then
2269 for ac_dir in $ac_dummy; do 2293 for ac_dir in $ac_dummy; do
2270 IFS=$ac_save_IFS 2294 IFS=$ac_save_IFS
2271 test -z "$ac_dir" && ac_dir=. 2295 test -z "$ac_dir" && ac_dir=.
2272 $as_executable_p "$ac_dir/$ac_word" || continue 2296 $as_executable_p "$ac_dir/$ac_word" || continue
2273 ac_cv_prog_ac_ct_CC="gcc" 2297 ac_cv_prog_ac_ct_CC="gcc"
2274 echo "$as_me:2274: found $ac_dir/$ac_word" >&5 2298 echo "$as_me:2298: found $ac_dir/$ac_word" >&5
2275 break 2299 break
2276 done 2300 done
2277 2301
2278 fi 2302 fi
2279 fi 2303 fi
2280 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2304 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2281 if test -n "$ac_ct_CC"; then 2305 if test -n "$ac_ct_CC"; then
2282 echo "$as_me:2282: result: $ac_ct_CC" >&5 2306 echo "$as_me:2306: result: $ac_ct_CC" >&5
2283 echo "${ECHO_T}$ac_ct_CC" >&6 2307 echo "${ECHO_T}$ac_ct_CC" >&6
2284 else 2308 else
2285 echo "$as_me:2285: result: no" >&5 2309 echo "$as_me:2309: result: no" >&5
2286 echo "${ECHO_T}no" >&6 2310 echo "${ECHO_T}no" >&6
2287 fi 2311 fi
2288 2312
2289 CC=$ac_ct_CC 2313 CC=$ac_ct_CC
2290 else 2314 else
2293 2317
2294 if test -z "$CC"; then 2318 if test -z "$CC"; then
2295 if test -n "$ac_tool_prefix"; then 2319 if test -n "$ac_tool_prefix"; then
2296 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2320 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2297 set dummy ${ac_tool_prefix}cc; ac_word=$2 2321 set dummy ${ac_tool_prefix}cc; ac_word=$2
2298 echo "$as_me:2298: checking for $ac_word" >&5 2322 echo "$as_me:2322: checking for $ac_word" >&5
2299 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2323 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2300 if test "${ac_cv_prog_CC+set}" = set; then 2324 if test "${ac_cv_prog_CC+set}" = set; then
2301 echo $ECHO_N "(cached) $ECHO_C" >&6 2325 echo $ECHO_N "(cached) $ECHO_C" >&6
2302 else 2326 else
2303 if test -n "$CC"; then 2327 if test -n "$CC"; then
2308 for ac_dir in $ac_dummy; do 2332 for ac_dir in $ac_dummy; do
2309 IFS=$ac_save_IFS 2333 IFS=$ac_save_IFS
2310 test -z "$ac_dir" && ac_dir=. 2334 test -z "$ac_dir" && ac_dir=.
2311 $as_executable_p "$ac_dir/$ac_word" || continue 2335 $as_executable_p "$ac_dir/$ac_word" || continue
2312 ac_cv_prog_CC="${ac_tool_prefix}cc" 2336 ac_cv_prog_CC="${ac_tool_prefix}cc"
2313 echo "$as_me:2313: found $ac_dir/$ac_word" >&5 2337 echo "$as_me:2337: found $ac_dir/$ac_word" >&5
2314 break 2338 break
2315 done 2339 done
2316 2340
2317 fi 2341 fi
2318 fi 2342 fi
2319 CC=$ac_cv_prog_CC 2343 CC=$ac_cv_prog_CC
2320 if test -n "$CC"; then 2344 if test -n "$CC"; then
2321 echo "$as_me:2321: result: $CC" >&5 2345 echo "$as_me:2345: result: $CC" >&5
2322 echo "${ECHO_T}$CC" >&6 2346 echo "${ECHO_T}$CC" >&6
2323 else 2347 else
2324 echo "$as_me:2324: result: no" >&5 2348 echo "$as_me:2348: result: no" >&5
2325 echo "${ECHO_T}no" >&6 2349 echo "${ECHO_T}no" >&6
2326 fi 2350 fi
2327 2351
2328 fi 2352 fi
2329 if test -z "$ac_cv_prog_CC"; then 2353 if test -z "$ac_cv_prog_CC"; then
2330 ac_ct_CC=$CC 2354 ac_ct_CC=$CC
2331 # Extract the first word of "cc", so it can be a program name with args. 2355 # Extract the first word of "cc", so it can be a program name with args.
2332 set dummy cc; ac_word=$2 2356 set dummy cc; ac_word=$2
2333 echo "$as_me:2333: checking for $ac_word" >&5 2357 echo "$as_me:2357: checking for $ac_word" >&5
2334 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2358 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2335 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2359 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2336 echo $ECHO_N "(cached) $ECHO_C" >&6 2360 echo $ECHO_N "(cached) $ECHO_C" >&6
2337 else 2361 else
2338 if test -n "$ac_ct_CC"; then 2362 if test -n "$ac_ct_CC"; then
2343 for ac_dir in $ac_dummy; do 2367 for ac_dir in $ac_dummy; do
2344 IFS=$ac_save_IFS 2368 IFS=$ac_save_IFS
2345 test -z "$ac_dir" && ac_dir=. 2369 test -z "$ac_dir" && ac_dir=.
2346 $as_executable_p "$ac_dir/$ac_word" || continue 2370 $as_executable_p "$ac_dir/$ac_word" || continue
2347 ac_cv_prog_ac_ct_CC="cc" 2371 ac_cv_prog_ac_ct_CC="cc"
2348 echo "$as_me:2348: found $ac_dir/$ac_word" >&5 2372 echo "$as_me:2372: found $ac_dir/$ac_word" >&5
2349 break 2373 break
2350 done 2374 done
2351 2375
2352 fi 2376 fi
2353 fi 2377 fi
2354 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2378 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2355 if test -n "$ac_ct_CC"; then 2379 if test -n "$ac_ct_CC"; then
2356 echo "$as_me:2356: result: $ac_ct_CC" >&5 2380 echo "$as_me:2380: result: $ac_ct_CC" >&5
2357 echo "${ECHO_T}$ac_ct_CC" >&6 2381 echo "${ECHO_T}$ac_ct_CC" >&6
2358 else 2382 else
2359 echo "$as_me:2359: result: no" >&5 2383 echo "$as_me:2383: result: no" >&5
2360 echo "${ECHO_T}no" >&6 2384 echo "${ECHO_T}no" >&6
2361 fi 2385 fi
2362 2386
2363 CC=$ac_ct_CC 2387 CC=$ac_ct_CC
2364 else 2388 else
2367 2391
2368 fi 2392 fi
2369 if test -z "$CC"; then 2393 if test -z "$CC"; then
2370 # Extract the first word of "cc", so it can be a program name with args. 2394 # Extract the first word of "cc", so it can be a program name with args.
2371 set dummy cc; ac_word=$2 2395 set dummy cc; ac_word=$2
2372 echo "$as_me:2372: checking for $ac_word" >&5 2396 echo "$as_me:2396: checking for $ac_word" >&5
2373 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2397 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2374 if test "${ac_cv_prog_CC+set}" = set; then 2398 if test "${ac_cv_prog_CC+set}" = set; then
2375 echo $ECHO_N "(cached) $ECHO_C" >&6 2399 echo $ECHO_N "(cached) $ECHO_C" >&6
2376 else 2400 else
2377 if test -n "$CC"; then 2401 if test -n "$CC"; then
2387 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then 2411 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
2388 ac_prog_rejected=yes 2412 ac_prog_rejected=yes
2389 continue 2413 continue
2390 fi 2414 fi
2391 ac_cv_prog_CC="cc" 2415 ac_cv_prog_CC="cc"
2392 echo "$as_me:2392: found $ac_dir/$ac_word" >&5 2416 echo "$as_me:2416: found $ac_dir/$ac_word" >&5
2393 break 2417 break
2394 done 2418 done
2395 2419
2396 if test $ac_prog_rejected = yes; then 2420 if test $ac_prog_rejected = yes; then
2397 # We found a bogon in the path, so make sure we never use it. 2421 # We found a bogon in the path, so make sure we never use it.
2409 fi 2433 fi
2410 fi 2434 fi
2411 fi 2435 fi
2412 CC=$ac_cv_prog_CC 2436 CC=$ac_cv_prog_CC
2413 if test -n "$CC"; then 2437 if test -n "$CC"; then
2414 echo "$as_me:2414: result: $CC" >&5 2438 echo "$as_me:2438: result: $CC" >&5
2415 echo "${ECHO_T}$CC" >&6 2439 echo "${ECHO_T}$CC" >&6
2416 else 2440 else
2417 echo "$as_me:2417: result: no" >&5 2441 echo "$as_me:2441: result: no" >&5
2418 echo "${ECHO_T}no" >&6 2442 echo "${ECHO_T}no" >&6
2419 fi 2443 fi
2420 2444
2421 fi 2445 fi
2422 if test -z "$CC"; then 2446 if test -z "$CC"; then
2423 if test -n "$ac_tool_prefix"; then 2447 if test -n "$ac_tool_prefix"; then
2424 for ac_prog in cl 2448 for ac_prog in cl
2425 do 2449 do
2426 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2450 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2427 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2451 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2428 echo "$as_me:2428: checking for $ac_word" >&5 2452 echo "$as_me:2452: checking for $ac_word" >&5
2429 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2453 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2430 if test "${ac_cv_prog_CC+set}" = set; then 2454 if test "${ac_cv_prog_CC+set}" = set; then
2431 echo $ECHO_N "(cached) $ECHO_C" >&6 2455 echo $ECHO_N "(cached) $ECHO_C" >&6
2432 else 2456 else
2433 if test -n "$CC"; then 2457 if test -n "$CC"; then
2438 for ac_dir in $ac_dummy; do 2462 for ac_dir in $ac_dummy; do
2439 IFS=$ac_save_IFS 2463 IFS=$ac_save_IFS
2440 test -z "$ac_dir" && ac_dir=. 2464 test -z "$ac_dir" && ac_dir=.
2441 $as_executable_p "$ac_dir/$ac_word" || continue 2465 $as_executable_p "$ac_dir/$ac_word" || continue
2442 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2466 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2443 echo "$as_me:2443: found $ac_dir/$ac_word" >&5 2467 echo "$as_me:2467: found $ac_dir/$ac_word" >&5
2444 break 2468 break
2445 done 2469 done
2446 2470
2447 fi 2471 fi
2448 fi 2472 fi
2449 CC=$ac_cv_prog_CC 2473 CC=$ac_cv_prog_CC
2450 if test -n "$CC"; then 2474 if test -n "$CC"; then
2451 echo "$as_me:2451: result: $CC" >&5 2475 echo "$as_me:2475: result: $CC" >&5
2452 echo "${ECHO_T}$CC" >&6 2476 echo "${ECHO_T}$CC" >&6
2453 else 2477 else
2454 echo "$as_me:2454: result: no" >&5 2478 echo "$as_me:2478: result: no" >&5
2455 echo "${ECHO_T}no" >&6 2479 echo "${ECHO_T}no" >&6
2456 fi 2480 fi
2457 2481
2458 test -n "$CC" && break 2482 test -n "$CC" && break
2459 done 2483 done
2462 ac_ct_CC=$CC 2486 ac_ct_CC=$CC
2463 for ac_prog in cl 2487 for ac_prog in cl
2464 do 2488 do
2465 # Extract the first word of "$ac_prog", so it can be a program name with args. 2489 # Extract the first word of "$ac_prog", so it can be a program name with args.
2466 set dummy $ac_prog; ac_word=$2 2490 set dummy $ac_prog; ac_word=$2
2467 echo "$as_me:2467: checking for $ac_word" >&5 2491 echo "$as_me:2491: checking for $ac_word" >&5
2468 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2492 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2469 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2493 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2470 echo $ECHO_N "(cached) $ECHO_C" >&6 2494 echo $ECHO_N "(cached) $ECHO_C" >&6
2471 else 2495 else
2472 if test -n "$ac_ct_CC"; then 2496 if test -n "$ac_ct_CC"; then
2477 for ac_dir in $ac_dummy; do 2501 for ac_dir in $ac_dummy; do
2478 IFS=$ac_save_IFS 2502 IFS=$ac_save_IFS
2479 test -z "$ac_dir" && ac_dir=. 2503 test -z "$ac_dir" && ac_dir=.
2480 $as_executable_p "$ac_dir/$ac_word" || continue 2504 $as_executable_p "$ac_dir/$ac_word" || continue
2481 ac_cv_prog_ac_ct_CC="$ac_prog" 2505 ac_cv_prog_ac_ct_CC="$ac_prog"
2482 echo "$as_me:2482: found $ac_dir/$ac_word" >&5 2506 echo "$as_me:2506: found $ac_dir/$ac_word" >&5
2483 break 2507 break
2484 done 2508 done
2485 2509
2486 fi 2510 fi
2487 fi 2511 fi
2488 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2512 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2489 if test -n "$ac_ct_CC"; then 2513 if test -n "$ac_ct_CC"; then
2490 echo "$as_me:2490: result: $ac_ct_CC" >&5 2514 echo "$as_me:2514: result: $ac_ct_CC" >&5
2491 echo "${ECHO_T}$ac_ct_CC" >&6 2515 echo "${ECHO_T}$ac_ct_CC" >&6
2492 else 2516 else
2493 echo "$as_me:2493: result: no" >&5 2517 echo "$as_me:2517: result: no" >&5
2494 echo "${ECHO_T}no" >&6 2518 echo "${ECHO_T}no" >&6
2495 fi 2519 fi
2496 2520
2497 test -n "$ac_ct_CC" && break 2521 test -n "$ac_ct_CC" && break
2498 done 2522 done
2500 CC=$ac_ct_CC 2524 CC=$ac_ct_CC
2501 fi 2525 fi
2502 2526
2503 fi 2527 fi
2504 2528
2505 test -z "$CC" && { { echo "$as_me:2505: error: no acceptable cc found in \$PATH" >&5 2529 test -z "$CC" && { { echo "$as_me:2529: error: no acceptable cc found in \$PATH" >&5
2506 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;} 2530 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
2507 { (exit 1); exit 1; }; } 2531 { (exit 1); exit 1; }; }
2508 2532
2509 # Provide some information about the compiler. 2533 # Provide some information about the compiler.
2510 echo "$as_me:2510:" \ 2534 echo "$as_me:2534:" \
2511 "checking for C compiler version" >&5 2535 "checking for C compiler version" >&5
2512 ac_compiler=`set X $ac_compile; echo $2` 2536 ac_compiler=`set X $ac_compile; echo $2`
2513 { (eval echo "$as_me:2513: \"$ac_compiler --version </dev/null >&5\"") >&5 2537 { (eval echo "$as_me:2537: \"$ac_compiler --version </dev/null >&5\"") >&5
2514 (eval $ac_compiler --version </dev/null >&5) 2>&5 2538 (eval $ac_compiler --version </dev/null >&5) 2>&5
2515 ac_status=$? 2539 ac_status=$?
2516 echo "$as_me:2516: \$? = $ac_status" >&5 2540 echo "$as_me:2540: \$? = $ac_status" >&5
2517 (exit $ac_status); } 2541 (exit $ac_status); }
2518 { (eval echo "$as_me:2518: \"$ac_compiler -v </dev/null >&5\"") >&5 2542 { (eval echo "$as_me:2542: \"$ac_compiler -v </dev/null >&5\"") >&5
2519 (eval $ac_compiler -v </dev/null >&5) 2>&5 2543 (eval $ac_compiler -v </dev/null >&5) 2>&5
2520 ac_status=$? 2544 ac_status=$?
2521 echo "$as_me:2521: \$? = $ac_status" >&5 2545 echo "$as_me:2545: \$? = $ac_status" >&5
2522 (exit $ac_status); } 2546 (exit $ac_status); }
2523 { (eval echo "$as_me:2523: \"$ac_compiler -V </dev/null >&5\"") >&5 2547 { (eval echo "$as_me:2547: \"$ac_compiler -V </dev/null >&5\"") >&5
2524 (eval $ac_compiler -V </dev/null >&5) 2>&5 2548 (eval $ac_compiler -V </dev/null >&5) 2>&5
2525 ac_status=$? 2549 ac_status=$?
2526 echo "$as_me:2526: \$? = $ac_status" >&5 2550 echo "$as_me:2550: \$? = $ac_status" >&5
2527 (exit $ac_status); } 2551 (exit $ac_status); }
2528 2552
2529 cat >conftest.$ac_ext <<_ACEOF 2553 cat >conftest.$ac_ext <<_ACEOF
2530 #line 2530 "configure" 2554 #line 2554 "configure"
2531 #include "confdefs.h" 2555 #include "confdefs.h"
2532 2556
2533 int 2557 int
2534 main () 2558 main ()
2535 { 2559 {
2541 ac_clean_files_save=$ac_clean_files 2565 ac_clean_files_save=$ac_clean_files
2542 ac_clean_files="$ac_clean_files a.out a.exe" 2566 ac_clean_files="$ac_clean_files a.out a.exe"
2543 # Try to create an executable without -o first, disregard a.out. 2567 # Try to create an executable without -o first, disregard a.out.
2544 # It will help us diagnose broken compilers, and finding out an intuition 2568 # It will help us diagnose broken compilers, and finding out an intuition
2545 # of exeext. 2569 # of exeext.
2546 echo "$as_me:2546: checking for C compiler default output" >&5 2570 echo "$as_me:2570: checking for C compiler default output" >&5
2547 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 2571 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2548 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2572 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2549 if { (eval echo "$as_me:2549: \"$ac_link_default\"") >&5 2573 if { (eval echo "$as_me:2573: \"$ac_link_default\"") >&5
2550 (eval $ac_link_default) 2>&5 2574 (eval $ac_link_default) 2>&5
2551 ac_status=$? 2575 ac_status=$?
2552 echo "$as_me:2552: \$? = $ac_status" >&5 2576 echo "$as_me:2576: \$? = $ac_status" >&5
2553 (exit $ac_status); }; then 2577 (exit $ac_status); }; then
2554 # Find the output, starting from the most likely. This scheme is 2578 # Find the output, starting from the most likely. This scheme is
2555 # not robust to junk in `.', hence go to wildcards (a.*) only as a last 2579 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2556 # resort. 2580 # resort.
2557 for ac_file in `ls a.exe conftest.exe 2>/dev/null; 2581 for ac_file in `ls a.exe conftest.exe 2>/dev/null;
2570 esac 2594 esac
2571 done 2595 done
2572 else 2596 else
2573 echo "$as_me: failed program was:" >&5 2597 echo "$as_me: failed program was:" >&5
2574 cat conftest.$ac_ext >&5 2598 cat conftest.$ac_ext >&5
2575 { { echo "$as_me:2575: error: C compiler cannot create executables" >&5 2599 { { echo "$as_me:2599: error: C compiler cannot create executables" >&5
2576 echo "$as_me: error: C compiler cannot create executables" >&2;} 2600 echo "$as_me: error: C compiler cannot create executables" >&2;}
2577 { (exit 77); exit 77; }; } 2601 { (exit 77); exit 77; }; }
2578 fi 2602 fi
2579 2603
2580 ac_exeext=$ac_cv_exeext 2604 ac_exeext=$ac_cv_exeext
2581 echo "$as_me:2581: result: $ac_file" >&5 2605 echo "$as_me:2605: result: $ac_file" >&5
2582 echo "${ECHO_T}$ac_file" >&6 2606 echo "${ECHO_T}$ac_file" >&6
2583 2607
2584 # Check the compiler produces executables we can run. If not, either 2608 # Check the compiler produces executables we can run. If not, either
2585 # the compiler is broken, or we cross compile. 2609 # the compiler is broken, or we cross compile.
2586 echo "$as_me:2586: checking whether the C compiler works" >&5 2610 echo "$as_me:2610: checking whether the C compiler works" >&5
2587 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 2611 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2588 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2612 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2589 # If not cross compiling, check that we can run a simple program. 2613 # If not cross compiling, check that we can run a simple program.
2590 if test "$cross_compiling" != yes; then 2614 if test "$cross_compiling" != yes; then
2591 if { ac_try='./$ac_file' 2615 if { ac_try='./$ac_file'
2592 { (eval echo "$as_me:2592: \"$ac_try\"") >&5 2616 { (eval echo "$as_me:2616: \"$ac_try\"") >&5
2593 (eval $ac_try) 2>&5 2617 (eval $ac_try) 2>&5
2594 ac_status=$? 2618 ac_status=$?
2595 echo "$as_me:2595: \$? = $ac_status" >&5 2619 echo "$as_me:2619: \$? = $ac_status" >&5
2596 (exit $ac_status); }; }; then 2620 (exit $ac_status); }; }; then
2597 cross_compiling=no 2621 cross_compiling=no
2598 else 2622 else
2599 if test "$cross_compiling" = maybe; then 2623 if test "$cross_compiling" = maybe; then
2600 cross_compiling=yes 2624 cross_compiling=yes
2601 else 2625 else
2602 { { echo "$as_me:2602: error: cannot run C compiled programs. 2626 { { echo "$as_me:2626: error: cannot run C compiled programs.
2603 If you meant to cross compile, use \`--host'." >&5 2627 If you meant to cross compile, use \`--host'." >&5
2604 echo "$as_me: error: cannot run C compiled programs. 2628 echo "$as_me: error: cannot run C compiled programs.
2605 If you meant to cross compile, use \`--host'." >&2;} 2629 If you meant to cross compile, use \`--host'." >&2;}
2606 { (exit 1); exit 1; }; } 2630 { (exit 1); exit 1; }; }
2607 fi 2631 fi
2608 fi 2632 fi
2609 fi 2633 fi
2610 echo "$as_me:2610: result: yes" >&5 2634 echo "$as_me:2634: result: yes" >&5
2611 echo "${ECHO_T}yes" >&6 2635 echo "${ECHO_T}yes" >&6
2612 2636
2613 rm -f a.out a.exe conftest$ac_cv_exeext 2637 rm -f a.out a.exe conftest$ac_cv_exeext
2614 ac_clean_files=$ac_clean_files_save 2638 ac_clean_files=$ac_clean_files_save
2615 # Check the compiler produces executables we can run. If not, either 2639 # Check the compiler produces executables we can run. If not, either
2616 # the compiler is broken, or we cross compile. 2640 # the compiler is broken, or we cross compile.
2617 echo "$as_me:2617: checking whether we are cross compiling" >&5 2641 echo "$as_me:2641: checking whether we are cross compiling" >&5
2618 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 2642 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2619 echo "$as_me:2619: result: $cross_compiling" >&5 2643 echo "$as_me:2643: result: $cross_compiling" >&5
2620 echo "${ECHO_T}$cross_compiling" >&6 2644 echo "${ECHO_T}$cross_compiling" >&6
2621 2645
2622 echo "$as_me:2622: checking for executable suffix" >&5 2646 echo "$as_me:2646: checking for executable suffix" >&5
2623 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6 2647 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
2624 if { (eval echo "$as_me:2624: \"$ac_link\"") >&5 2648 if { (eval echo "$as_me:2648: \"$ac_link\"") >&5
2625 (eval $ac_link) 2>&5 2649 (eval $ac_link) 2>&5
2626 ac_status=$? 2650 ac_status=$?
2627 echo "$as_me:2627: \$? = $ac_status" >&5 2651 echo "$as_me:2651: \$? = $ac_status" >&5
2628 (exit $ac_status); }; then 2652 (exit $ac_status); }; then
2629 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2653 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2630 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2654 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2631 # work properly (i.e., refer to `conftest.exe'), while it won't with 2655 # work properly (i.e., refer to `conftest.exe'), while it won't with
2632 # `rm'. 2656 # `rm'.
2638 break;; 2662 break;;
2639 * ) break;; 2663 * ) break;;
2640 esac 2664 esac
2641 done 2665 done
2642 else 2666 else
2643 { { echo "$as_me:2643: error: cannot compute EXEEXT: cannot compile and link" >&5 2667 { { echo "$as_me:2667: error: cannot compute EXEEXT: cannot compile and link" >&5
2644 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;} 2668 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
2645 { (exit 1); exit 1; }; } 2669 { (exit 1); exit 1; }; }
2646 fi 2670 fi
2647 2671
2648 rm -f conftest$ac_cv_exeext 2672 rm -f conftest$ac_cv_exeext
2649 echo "$as_me:2649: result: $ac_cv_exeext" >&5 2673 echo "$as_me:2673: result: $ac_cv_exeext" >&5
2650 echo "${ECHO_T}$ac_cv_exeext" >&6 2674 echo "${ECHO_T}$ac_cv_exeext" >&6
2651 2675
2652 rm -f conftest.$ac_ext 2676 rm -f conftest.$ac_ext
2653 EXEEXT=$ac_cv_exeext 2677 EXEEXT=$ac_cv_exeext
2654 ac_exeext=$EXEEXT 2678 ac_exeext=$EXEEXT
2655 echo "$as_me:2655: checking for object suffix" >&5 2679 echo "$as_me:2679: checking for object suffix" >&5
2656 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6 2680 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
2657 if test "${ac_cv_objext+set}" = set; then 2681 if test "${ac_cv_objext+set}" = set; then
2658 echo $ECHO_N "(cached) $ECHO_C" >&6 2682 echo $ECHO_N "(cached) $ECHO_C" >&6
2659 else 2683 else
2660 cat >conftest.$ac_ext <<_ACEOF 2684 cat >conftest.$ac_ext <<_ACEOF
2661 #line 2661 "configure" 2685 #line 2685 "configure"
2662 #include "confdefs.h" 2686 #include "confdefs.h"
2663 2687
2664 int 2688 int
2665 main () 2689 main ()
2666 { 2690 {
2668 ; 2692 ;
2669 return 0; 2693 return 0;
2670 } 2694 }
2671 _ACEOF 2695 _ACEOF
2672 rm -f conftest.o conftest.obj 2696 rm -f conftest.o conftest.obj
2673 if { (eval echo "$as_me:2673: \"$ac_compile\"") >&5 2697 if { (eval echo "$as_me:2697: \"$ac_compile\"") >&5
2674 (eval $ac_compile) 2>&5 2698 (eval $ac_compile) 2>&5
2675 ac_status=$? 2699 ac_status=$?
2676 echo "$as_me:2676: \$? = $ac_status" >&5 2700 echo "$as_me:2700: \$? = $ac_status" >&5
2677 (exit $ac_status); }; then 2701 (exit $ac_status); }; then
2678 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 2702 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2679 case $ac_file in 2703 case $ac_file in
2680 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;; 2704 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
2681 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2705 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2683 esac 2707 esac
2684 done 2708 done
2685 else 2709 else
2686 echo "$as_me: failed program was:" >&5 2710 echo "$as_me: failed program was:" >&5
2687 cat conftest.$ac_ext >&5 2711 cat conftest.$ac_ext >&5
2688 { { echo "$as_me:2688: error: cannot compute OBJEXT: cannot compile" >&5 2712 { { echo "$as_me:2712: error: cannot compute OBJEXT: cannot compile" >&5
2689 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;} 2713 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
2690 { (exit 1); exit 1; }; } 2714 { (exit 1); exit 1; }; }
2691 fi 2715 fi
2692 2716
2693 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2717 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2694 fi 2718 fi
2695 echo "$as_me:2695: result: $ac_cv_objext" >&5 2719 echo "$as_me:2719: result: $ac_cv_objext" >&5
2696 echo "${ECHO_T}$ac_cv_objext" >&6 2720 echo "${ECHO_T}$ac_cv_objext" >&6
2697 OBJEXT=$ac_cv_objext 2721 OBJEXT=$ac_cv_objext
2698 ac_objext=$OBJEXT 2722 ac_objext=$OBJEXT
2699 echo "$as_me:2699: checking whether we are using the GNU C compiler" >&5 2723 echo "$as_me:2723: checking whether we are using the GNU C compiler" >&5
2700 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2724 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2701 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2725 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2702 echo $ECHO_N "(cached) $ECHO_C" >&6 2726 echo $ECHO_N "(cached) $ECHO_C" >&6
2703 else 2727 else
2704 cat >conftest.$ac_ext <<_ACEOF 2728 cat >conftest.$ac_ext <<_ACEOF
2705 #line 2705 "configure" 2729 #line 2729 "configure"
2706 #include "confdefs.h" 2730 #include "confdefs.h"
2707 2731
2708 int 2732 int
2709 main () 2733 main ()
2710 { 2734 {
2715 ; 2739 ;
2716 return 0; 2740 return 0;
2717 } 2741 }
2718 _ACEOF 2742 _ACEOF
2719 rm -f conftest.$ac_objext 2743 rm -f conftest.$ac_objext
2720 if { (eval echo "$as_me:2720: \"$ac_compile\"") >&5 2744 if { (eval echo "$as_me:2744: \"$ac_compile\"") >&5
2721 (eval $ac_compile) 2>&5 2745 (eval $ac_compile) 2>&5
2722 ac_status=$? 2746 ac_status=$?
2723 echo "$as_me:2723: \$? = $ac_status" >&5 2747 echo "$as_me:2747: \$? = $ac_status" >&5
2724 (exit $ac_status); } && 2748 (exit $ac_status); } &&
2725 { ac_try='test -s conftest.$ac_objext' 2749 { ac_try='test -s conftest.$ac_objext'
2726 { (eval echo "$as_me:2726: \"$ac_try\"") >&5 2750 { (eval echo "$as_me:2750: \"$ac_try\"") >&5
2727 (eval $ac_try) 2>&5 2751 (eval $ac_try) 2>&5
2728 ac_status=$? 2752 ac_status=$?
2729 echo "$as_me:2729: \$? = $ac_status" >&5 2753 echo "$as_me:2753: \$? = $ac_status" >&5
2730 (exit $ac_status); }; }; then 2754 (exit $ac_status); }; }; then
2731 ac_compiler_gnu=yes 2755 ac_compiler_gnu=yes
2732 else 2756 else
2733 echo "$as_me: failed program was:" >&5 2757 echo "$as_me: failed program was:" >&5
2734 cat conftest.$ac_ext >&5 2758 cat conftest.$ac_ext >&5
2736 fi 2760 fi
2737 rm -f conftest.$ac_objext conftest.$ac_ext 2761 rm -f conftest.$ac_objext conftest.$ac_ext
2738 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2762 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2739 2763
2740 fi 2764 fi
2741 echo "$as_me:2741: result: $ac_cv_c_compiler_gnu" >&5 2765 echo "$as_me:2765: result: $ac_cv_c_compiler_gnu" >&5
2742 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2766 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2743 GCC=`test $ac_compiler_gnu = yes && echo yes` 2767 GCC=`test $ac_compiler_gnu = yes && echo yes`
2744 ac_test_CFLAGS=${CFLAGS+set} 2768 ac_test_CFLAGS=${CFLAGS+set}
2745 ac_save_CFLAGS=$CFLAGS 2769 ac_save_CFLAGS=$CFLAGS
2746 CFLAGS="-g" 2770 CFLAGS="-g"
2747 echo "$as_me:2747: checking whether $CC accepts -g" >&5 2771 echo "$as_me:2771: checking whether $CC accepts -g" >&5
2748 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2772 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2749 if test "${ac_cv_prog_cc_g+set}" = set; then 2773 if test "${ac_cv_prog_cc_g+set}" = set; then
2750 echo $ECHO_N "(cached) $ECHO_C" >&6 2774 echo $ECHO_N "(cached) $ECHO_C" >&6
2751 else 2775 else
2752 cat >conftest.$ac_ext <<_ACEOF 2776 cat >conftest.$ac_ext <<_ACEOF
2753 #line 2753 "configure" 2777 #line 2777 "configure"
2754 #include "confdefs.h" 2778 #include "confdefs.h"
2755 2779
2756 int 2780 int
2757 main () 2781 main ()
2758 { 2782 {
2760 ; 2784 ;
2761 return 0; 2785 return 0;
2762 } 2786 }
2763 _ACEOF 2787 _ACEOF
2764 rm -f conftest.$ac_objext 2788 rm -f conftest.$ac_objext
2765 if { (eval echo "$as_me:2765: \"$ac_compile\"") >&5 2789 if { (eval echo "$as_me:2789: \"$ac_compile\"") >&5
2766 (eval $ac_compile) 2>&5 2790 (eval $ac_compile) 2>&5
2767 ac_status=$? 2791 ac_status=$?
2768 echo "$as_me:2768: \$? = $ac_status" >&5 2792 echo "$as_me:2792: \$? = $ac_status" >&5
2769 (exit $ac_status); } && 2793 (exit $ac_status); } &&
2770 { ac_try='test -s conftest.$ac_objext' 2794 { ac_try='test -s conftest.$ac_objext'
2771 { (eval echo "$as_me:2771: \"$ac_try\"") >&5 2795 { (eval echo "$as_me:2795: \"$ac_try\"") >&5
2772 (eval $ac_try) 2>&5 2796 (eval $ac_try) 2>&5
2773 ac_status=$? 2797 ac_status=$?
2774 echo "$as_me:2774: \$? = $ac_status" >&5 2798 echo "$as_me:2798: \$? = $ac_status" >&5
2775 (exit $ac_status); }; }; then 2799 (exit $ac_status); }; }; then
2776 ac_cv_prog_cc_g=yes 2800 ac_cv_prog_cc_g=yes
2777 else 2801 else
2778 echo "$as_me: failed program was:" >&5 2802 echo "$as_me: failed program was:" >&5
2779 cat conftest.$ac_ext >&5 2803 cat conftest.$ac_ext >&5
2780 ac_cv_prog_cc_g=no 2804 ac_cv_prog_cc_g=no
2781 fi 2805 fi
2782 rm -f conftest.$ac_objext conftest.$ac_ext 2806 rm -f conftest.$ac_objext conftest.$ac_ext
2783 fi 2807 fi
2784 echo "$as_me:2784: result: $ac_cv_prog_cc_g" >&5 2808 echo "$as_me:2808: result: $ac_cv_prog_cc_g" >&5
2785 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 2809 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2786 if test "$ac_test_CFLAGS" = set; then 2810 if test "$ac_test_CFLAGS" = set; then
2787 CFLAGS=$ac_save_CFLAGS 2811 CFLAGS=$ac_save_CFLAGS
2788 elif test $ac_cv_prog_cc_g = yes; then 2812 elif test $ac_cv_prog_cc_g = yes; then
2789 if test "$GCC" = yes; then 2813 if test "$GCC" = yes; then
2806 #ifndef __cplusplus 2830 #ifndef __cplusplus
2807 choke me 2831 choke me
2808 #endif 2832 #endif
2809 _ACEOF 2833 _ACEOF
2810 rm -f conftest.$ac_objext 2834 rm -f conftest.$ac_objext
2811 if { (eval echo "$as_me:2811: \"$ac_compile\"") >&5 2835 if { (eval echo "$as_me:2835: \"$ac_compile\"") >&5
2812 (eval $ac_compile) 2>&5 2836 (eval $ac_compile) 2>&5
2813 ac_status=$? 2837 ac_status=$?
2814 echo "$as_me:2814: \$? = $ac_status" >&5 2838 echo "$as_me:2838: \$? = $ac_status" >&5
2815 (exit $ac_status); } && 2839 (exit $ac_status); } &&
2816 { ac_try='test -s conftest.$ac_objext' 2840 { ac_try='test -s conftest.$ac_objext'
2817 { (eval echo "$as_me:2817: \"$ac_try\"") >&5 2841 { (eval echo "$as_me:2841: \"$ac_try\"") >&5
2818 (eval $ac_try) 2>&5 2842 (eval $ac_try) 2>&5
2819 ac_status=$? 2843 ac_status=$?
2820 echo "$as_me:2820: \$? = $ac_status" >&5 2844 echo "$as_me:2844: \$? = $ac_status" >&5
2821 (exit $ac_status); }; }; then 2845 (exit $ac_status); }; }; then
2822 for ac_declaration in \ 2846 for ac_declaration in \
2823 ''\ 2847 ''\
2824 '#include <stdlib.h>' \ 2848 '#include <stdlib.h>' \
2825 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2849 'extern "C" void std::exit (int) throw (); using std::exit;' \
2827 'extern "C" void exit (int) throw ();' \ 2851 'extern "C" void exit (int) throw ();' \
2828 'extern "C" void exit (int);' \ 2852 'extern "C" void exit (int);' \
2829 'void exit (int);' 2853 'void exit (int);'
2830 do 2854 do
2831 cat >conftest.$ac_ext <<_ACEOF 2855 cat >conftest.$ac_ext <<_ACEOF
2832 #line 2832 "configure" 2856 #line 2856 "configure"
2833 #include "confdefs.h" 2857 #include "confdefs.h"
2834 #include <stdlib.h> 2858 #include <stdlib.h>
2835 $ac_declaration 2859 $ac_declaration
2836 int 2860 int
2837 main () 2861 main ()
2840 ; 2864 ;
2841 return 0; 2865 return 0;
2842 } 2866 }
2843 _ACEOF 2867 _ACEOF
2844 rm -f conftest.$ac_objext 2868 rm -f conftest.$ac_objext
2845 if { (eval echo "$as_me:2845: \"$ac_compile\"") >&5 2869 if { (eval echo "$as_me:2869: \"$ac_compile\"") >&5
2846 (eval $ac_compile) 2>&5 2870 (eval $ac_compile) 2>&5
2847 ac_status=$? 2871 ac_status=$?
2848 echo "$as_me:2848: \$? = $ac_status" >&5 2872 echo "$as_me:2872: \$? = $ac_status" >&5
2849 (exit $ac_status); } && 2873 (exit $ac_status); } &&
2850 { ac_try='test -s conftest.$ac_objext' 2874 { ac_try='test -s conftest.$ac_objext'
2851 { (eval echo "$as_me:2851: \"$ac_try\"") >&5 2875 { (eval echo "$as_me:2875: \"$ac_try\"") >&5
2852 (eval $ac_try) 2>&5 2876 (eval $ac_try) 2>&5
2853 ac_status=$? 2877 ac_status=$?
2854 echo "$as_me:2854: \$? = $ac_status" >&5 2878 echo "$as_me:2878: \$? = $ac_status" >&5
2855 (exit $ac_status); }; }; then 2879 (exit $ac_status); }; }; then
2856 : 2880 :
2857 else 2881 else
2858 echo "$as_me: failed program was:" >&5 2882 echo "$as_me: failed program was:" >&5
2859 cat conftest.$ac_ext >&5 2883 cat conftest.$ac_ext >&5
2860 continue 2884 continue
2861 fi 2885 fi
2862 rm -f conftest.$ac_objext conftest.$ac_ext 2886 rm -f conftest.$ac_objext conftest.$ac_ext
2863 cat >conftest.$ac_ext <<_ACEOF 2887 cat >conftest.$ac_ext <<_ACEOF
2864 #line 2864 "configure" 2888 #line 2888 "configure"
2865 #include "confdefs.h" 2889 #include "confdefs.h"
2866 $ac_declaration 2890 $ac_declaration
2867 int 2891 int
2868 main () 2892 main ()
2869 { 2893 {
2871 ; 2895 ;
2872 return 0; 2896 return 0;
2873 } 2897 }
2874 _ACEOF 2898 _ACEOF
2875 rm -f conftest.$ac_objext 2899 rm -f conftest.$ac_objext
2876 if { (eval echo "$as_me:2876: \"$ac_compile\"") >&5 2900 if { (eval echo "$as_me:2900: \"$ac_compile\"") >&5
2877 (eval $ac_compile) 2>&5 2901 (eval $ac_compile) 2>&5
2878 ac_status=$? 2902 ac_status=$?
2879 echo "$as_me:2879: \$? = $ac_status" >&5 2903 echo "$as_me:2903: \$? = $ac_status" >&5
2880 (exit $ac_status); } && 2904 (exit $ac_status); } &&
2881 { ac_try='test -s conftest.$ac_objext' 2905 { ac_try='test -s conftest.$ac_objext'
2882 { (eval echo "$as_me:2882: \"$ac_try\"") >&5 2906 { (eval echo "$as_me:2906: \"$ac_try\"") >&5
2883 (eval $ac_try) 2>&5 2907 (eval $ac_try) 2>&5
2884 ac_status=$? 2908 ac_status=$?
2885 echo "$as_me:2885: \$? = $ac_status" >&5 2909 echo "$as_me:2909: \$? = $ac_status" >&5
2886 (exit $ac_status); }; }; then 2910 (exit $ac_status); }; }; then
2887 break 2911 break
2888 else 2912 else
2889 echo "$as_me: failed program was:" >&5 2913 echo "$as_me: failed program was:" >&5
2890 cat conftest.$ac_ext >&5 2914 cat conftest.$ac_ext >&5
2953 2977
2954 #### Some other nice autoconf tests. If you add a test here which 2978 #### Some other nice autoconf tests. If you add a test here which
2955 #### should make an entry in src/config.h, don't forget to add an 2979 #### should make an entry in src/config.h, don't forget to add an
2956 #### #undef clause to src/config.h.in for autoconf to modify. 2980 #### #undef clause to src/config.h.in for autoconf to modify.
2957 2981
2958 echo "$as_me:2958: checking whether ln -s works" >&5 2982 echo "$as_me:2982: checking whether ln -s works" >&5
2959 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 2983 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
2960 LN_S=$as_ln_s 2984 LN_S=$as_ln_s
2961 if test "$LN_S" = "ln -s"; then 2985 if test "$LN_S" = "ln -s"; then
2962 echo "$as_me:2962: result: yes" >&5 2986 echo "$as_me:2986: result: yes" >&5
2963 echo "${ECHO_T}yes" >&6 2987 echo "${ECHO_T}yes" >&6
2964 else 2988 else
2965 echo "$as_me:2965: result: no, using $LN_S" >&5 2989 echo "$as_me:2989: result: no, using $LN_S" >&5
2966 echo "${ECHO_T}no, using $LN_S" >&6 2990 echo "${ECHO_T}no, using $LN_S" >&6
2967 fi 2991 fi
2968 2992
2969 ac_ext=c 2993 ac_ext=c
2970 ac_cpp='$CPP $CPPFLAGS' 2994 ac_cpp='$CPP $CPPFLAGS'
2971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2973 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2974 echo "$as_me:2974: checking how to run the C preprocessor" >&5 2998 echo "$as_me:2998: checking how to run the C preprocessor" >&5
2975 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 2999 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2976 # On Suns, sometimes $CPP names a directory. 3000 # On Suns, sometimes $CPP names a directory.
2977 if test -n "$CPP" && test -d "$CPP"; then 3001 if test -n "$CPP" && test -d "$CPP"; then
2978 CPP= 3002 CPP=
2979 fi 3003 fi
2990 # Use a header file that comes with gcc, so configuring glibc 3014 # Use a header file that comes with gcc, so configuring glibc
2991 # with a fresh cross-compiler works. 3015 # with a fresh cross-compiler works.
2992 # On the NeXT, cc -E runs the code through the compiler's parser, 3016 # On the NeXT, cc -E runs the code through the compiler's parser,
2993 # not just through cpp. "Syntax error" is here to catch this case. 3017 # not just through cpp. "Syntax error" is here to catch this case.
2994 cat >conftest.$ac_ext <<_ACEOF 3018 cat >conftest.$ac_ext <<_ACEOF
2995 #line 2995 "configure" 3019 #line 3019 "configure"
2996 #include "confdefs.h" 3020 #include "confdefs.h"
2997 #include <assert.h> 3021 #include <assert.h>
2998 Syntax error 3022 Syntax error
2999 _ACEOF 3023 _ACEOF
3000 if { (eval echo "$as_me:3000: \"$ac_cpp conftest.$ac_ext\"") >&5 3024 if { (eval echo "$as_me:3024: \"$ac_cpp conftest.$ac_ext\"") >&5
3001 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3025 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3002 ac_status=$? 3026 ac_status=$?
3003 egrep -v '^ *\+' conftest.er1 >conftest.err 3027 egrep -v '^ *\+' conftest.er1 >conftest.err
3004 rm -f conftest.er1 3028 rm -f conftest.er1
3005 cat conftest.err >&5 3029 cat conftest.err >&5
3006 echo "$as_me:3006: \$? = $ac_status" >&5 3030 echo "$as_me:3030: \$? = $ac_status" >&5
3007 (exit $ac_status); } >/dev/null; then 3031 (exit $ac_status); } >/dev/null; then
3008 if test -s conftest.err; then 3032 if test -s conftest.err; then
3009 ac_cpp_err=$ac_c_preproc_warn_flag 3033 ac_cpp_err=$ac_c_preproc_warn_flag
3010 else 3034 else
3011 ac_cpp_err= 3035 ac_cpp_err=
3024 rm -f conftest.err conftest.$ac_ext 3048 rm -f conftest.err conftest.$ac_ext
3025 3049
3026 # OK, works on sane cases. Now check whether non-existent headers 3050 # OK, works on sane cases. Now check whether non-existent headers
3027 # can be detected and how. 3051 # can be detected and how.
3028 cat >conftest.$ac_ext <<_ACEOF 3052 cat >conftest.$ac_ext <<_ACEOF
3029 #line 3029 "configure" 3053 #line 3053 "configure"
3030 #include "confdefs.h" 3054 #include "confdefs.h"
3031 #include <ac_nonexistent.h> 3055 #include <ac_nonexistent.h>
3032 _ACEOF 3056 _ACEOF
3033 if { (eval echo "$as_me:3033: \"$ac_cpp conftest.$ac_ext\"") >&5 3057 if { (eval echo "$as_me:3057: \"$ac_cpp conftest.$ac_ext\"") >&5
3034 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3058 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3035 ac_status=$? 3059 ac_status=$?
3036 egrep -v '^ *\+' conftest.er1 >conftest.err 3060 egrep -v '^ *\+' conftest.er1 >conftest.err
3037 rm -f conftest.er1 3061 rm -f conftest.er1
3038 cat conftest.err >&5 3062 cat conftest.err >&5
3039 echo "$as_me:3039: \$? = $ac_status" >&5 3063 echo "$as_me:3063: \$? = $ac_status" >&5
3040 (exit $ac_status); } >/dev/null; then 3064 (exit $ac_status); } >/dev/null; then
3041 if test -s conftest.err; then 3065 if test -s conftest.err; then
3042 ac_cpp_err=$ac_c_preproc_warn_flag 3066 ac_cpp_err=$ac_c_preproc_warn_flag
3043 else 3067 else
3044 ac_cpp_err= 3068 ac_cpp_err=
3071 fi 3095 fi
3072 CPP=$ac_cv_prog_CPP 3096 CPP=$ac_cv_prog_CPP
3073 else 3097 else
3074 ac_cv_prog_CPP=$CPP 3098 ac_cv_prog_CPP=$CPP
3075 fi 3099 fi
3076 echo "$as_me:3076: result: $CPP" >&5 3100 echo "$as_me:3100: result: $CPP" >&5
3077 echo "${ECHO_T}$CPP" >&6 3101 echo "${ECHO_T}$CPP" >&6
3078 ac_preproc_ok=false 3102 ac_preproc_ok=false
3079 for ac_c_preproc_warn_flag in '' yes 3103 for ac_c_preproc_warn_flag in '' yes
3080 do 3104 do
3081 # Use a header file that comes with gcc, so configuring glibc 3105 # Use a header file that comes with gcc, so configuring glibc
3082 # with a fresh cross-compiler works. 3106 # with a fresh cross-compiler works.
3083 # On the NeXT, cc -E runs the code through the compiler's parser, 3107 # On the NeXT, cc -E runs the code through the compiler's parser,
3084 # not just through cpp. "Syntax error" is here to catch this case. 3108 # not just through cpp. "Syntax error" is here to catch this case.
3085 cat >conftest.$ac_ext <<_ACEOF 3109 cat >conftest.$ac_ext <<_ACEOF
3086 #line 3086 "configure" 3110 #line 3110 "configure"
3087 #include "confdefs.h" 3111 #include "confdefs.h"
3088 #include <assert.h> 3112 #include <assert.h>
3089 Syntax error 3113 Syntax error
3090 _ACEOF 3114 _ACEOF
3091 if { (eval echo "$as_me:3091: \"$ac_cpp conftest.$ac_ext\"") >&5 3115 if { (eval echo "$as_me:3115: \"$ac_cpp conftest.$ac_ext\"") >&5
3092 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3116 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3093 ac_status=$? 3117 ac_status=$?
3094 egrep -v '^ *\+' conftest.er1 >conftest.err 3118 egrep -v '^ *\+' conftest.er1 >conftest.err
3095 rm -f conftest.er1 3119 rm -f conftest.er1
3096 cat conftest.err >&5 3120 cat conftest.err >&5
3097 echo "$as_me:3097: \$? = $ac_status" >&5 3121 echo "$as_me:3121: \$? = $ac_status" >&5
3098 (exit $ac_status); } >/dev/null; then 3122 (exit $ac_status); } >/dev/null; then
3099 if test -s conftest.err; then 3123 if test -s conftest.err; then
3100 ac_cpp_err=$ac_c_preproc_warn_flag 3124 ac_cpp_err=$ac_c_preproc_warn_flag
3101 else 3125 else
3102 ac_cpp_err= 3126 ac_cpp_err=
3115 rm -f conftest.err conftest.$ac_ext 3139 rm -f conftest.err conftest.$ac_ext
3116 3140
3117 # OK, works on sane cases. Now check whether non-existent headers 3141 # OK, works on sane cases. Now check whether non-existent headers
3118 # can be detected and how. 3142 # can be detected and how.
3119 cat >conftest.$ac_ext <<_ACEOF 3143 cat >conftest.$ac_ext <<_ACEOF
3120 #line 3120 "configure" 3144 #line 3144 "configure"
3121 #include "confdefs.h" 3145 #include "confdefs.h"
3122 #include <ac_nonexistent.h> 3146 #include <ac_nonexistent.h>
3123 _ACEOF 3147 _ACEOF
3124 if { (eval echo "$as_me:3124: \"$ac_cpp conftest.$ac_ext\"") >&5 3148 if { (eval echo "$as_me:3148: \"$ac_cpp conftest.$ac_ext\"") >&5
3125 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3149 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3126 ac_status=$? 3150 ac_status=$?
3127 egrep -v '^ *\+' conftest.er1 >conftest.err 3151 egrep -v '^ *\+' conftest.er1 >conftest.err
3128 rm -f conftest.er1 3152 rm -f conftest.er1
3129 cat conftest.err >&5 3153 cat conftest.err >&5
3130 echo "$as_me:3130: \$? = $ac_status" >&5 3154 echo "$as_me:3154: \$? = $ac_status" >&5
3131 (exit $ac_status); } >/dev/null; then 3155 (exit $ac_status); } >/dev/null; then
3132 if test -s conftest.err; then 3156 if test -s conftest.err; then
3133 ac_cpp_err=$ac_c_preproc_warn_flag 3157 ac_cpp_err=$ac_c_preproc_warn_flag
3134 else 3158 else
3135 ac_cpp_err= 3159 ac_cpp_err=
3153 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3177 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3154 rm -f conftest.err conftest.$ac_ext 3178 rm -f conftest.err conftest.$ac_ext
3155 if $ac_preproc_ok; then 3179 if $ac_preproc_ok; then
3156 : 3180 :
3157 else 3181 else
3158 { { echo "$as_me:3158: error: C preprocessor \"$CPP\" fails sanity check" >&5 3182 { { echo "$as_me:3182: error: C preprocessor \"$CPP\" fails sanity check" >&5
3159 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} 3183 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
3160 { (exit 1); exit 1; }; } 3184 { (exit 1); exit 1; }; }
3161 fi 3185 fi
3162 3186
3163 ac_ext=c 3187 ac_ext=c
3176 # AmigaOS /C/install, which installs bootblocks on floppy discs 3200 # AmigaOS /C/install, which installs bootblocks on floppy discs
3177 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 3201 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3178 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 3202 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3179 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 3203 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3180 # ./install, which can be erroneously created by make from ./install.sh. 3204 # ./install, which can be erroneously created by make from ./install.sh.
3181 echo "$as_me:3181: checking for a BSD compatible install" >&5 3205 echo "$as_me:3205: checking for a BSD compatible install" >&5
3182 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6 3206 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
3183 if test -z "$INSTALL"; then 3207 if test -z "$INSTALL"; then
3184 if test "${ac_cv_path_install+set}" = set; then 3208 if test "${ac_cv_path_install+set}" = set; then
3185 echo $ECHO_N "(cached) $ECHO_C" >&6 3209 echo $ECHO_N "(cached) $ECHO_C" >&6
3186 else 3210 else
3225 # break other packages using the cache if that directory is 3249 # break other packages using the cache if that directory is
3226 # removed, or if the path is relative. 3250 # removed, or if the path is relative.
3227 INSTALL=$ac_install_sh 3251 INSTALL=$ac_install_sh
3228 fi 3252 fi
3229 fi 3253 fi
3230 echo "$as_me:3230: result: $INSTALL" >&5 3254 echo "$as_me:3254: result: $INSTALL" >&5
3231 echo "${ECHO_T}$INSTALL" >&6 3255 echo "${ECHO_T}$INSTALL" >&6
3232 3256
3233 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 3257 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3234 # It thinks the first close brace ends the variable substitution. 3258 # It thinks the first close brace ends the variable substitution.
3235 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 3259 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3240 3264
3241 for ac_prog in 'bison -y' byacc 3265 for ac_prog in 'bison -y' byacc
3242 do 3266 do
3243 # Extract the first word of "$ac_prog", so it can be a program name with args. 3267 # Extract the first word of "$ac_prog", so it can be a program name with args.
3244 set dummy $ac_prog; ac_word=$2 3268 set dummy $ac_prog; ac_word=$2
3245 echo "$as_me:3245: checking for $ac_word" >&5 3269 echo "$as_me:3269: checking for $ac_word" >&5
3246 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3270 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3247 if test "${ac_cv_prog_YACC+set}" = set; then 3271 if test "${ac_cv_prog_YACC+set}" = set; then
3248 echo $ECHO_N "(cached) $ECHO_C" >&6 3272 echo $ECHO_N "(cached) $ECHO_C" >&6
3249 else 3273 else
3250 if test -n "$YACC"; then 3274 if test -n "$YACC"; then
3255 for ac_dir in $ac_dummy; do 3279 for ac_dir in $ac_dummy; do
3256 IFS=$ac_save_IFS 3280 IFS=$ac_save_IFS
3257 test -z "$ac_dir" && ac_dir=. 3281 test -z "$ac_dir" && ac_dir=.
3258 $as_executable_p "$ac_dir/$ac_word" || continue 3282 $as_executable_p "$ac_dir/$ac_word" || continue
3259 ac_cv_prog_YACC="$ac_prog" 3283 ac_cv_prog_YACC="$ac_prog"
3260 echo "$as_me:3260: found $ac_dir/$ac_word" >&5 3284 echo "$as_me:3284: found $ac_dir/$ac_word" >&5
3261 break 3285 break
3262 done 3286 done
3263 3287
3264 fi 3288 fi
3265 fi 3289 fi
3266 YACC=$ac_cv_prog_YACC 3290 YACC=$ac_cv_prog_YACC
3267 if test -n "$YACC"; then 3291 if test -n "$YACC"; then
3268 echo "$as_me:3268: result: $YACC" >&5 3292 echo "$as_me:3292: result: $YACC" >&5
3269 echo "${ECHO_T}$YACC" >&6 3293 echo "${ECHO_T}$YACC" >&6
3270 else 3294 else
3271 echo "$as_me:3271: result: no" >&5 3295 echo "$as_me:3295: result: no" >&5
3272 echo "${ECHO_T}no" >&6 3296 echo "${ECHO_T}no" >&6
3273 fi 3297 fi
3274 3298
3275 test -n "$YACC" && break 3299 test -n "$YACC" && break
3276 done 3300 done
3278 3302
3279 if test "x$RANLIB" = x; then 3303 if test "x$RANLIB" = x; then
3280 if test -n "$ac_tool_prefix"; then 3304 if test -n "$ac_tool_prefix"; then
3281 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 3305 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3282 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 3306 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3283 echo "$as_me:3283: checking for $ac_word" >&5 3307 echo "$as_me:3307: checking for $ac_word" >&5
3284 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3308 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3285 if test "${ac_cv_prog_RANLIB+set}" = set; then 3309 if test "${ac_cv_prog_RANLIB+set}" = set; then
3286 echo $ECHO_N "(cached) $ECHO_C" >&6 3310 echo $ECHO_N "(cached) $ECHO_C" >&6
3287 else 3311 else
3288 if test -n "$RANLIB"; then 3312 if test -n "$RANLIB"; then
3293 for ac_dir in $ac_dummy; do 3317 for ac_dir in $ac_dummy; do
3294 IFS=$ac_save_IFS 3318 IFS=$ac_save_IFS
3295 test -z "$ac_dir" && ac_dir=. 3319 test -z "$ac_dir" && ac_dir=.
3296 $as_executable_p "$ac_dir/$ac_word" || continue 3320 $as_executable_p "$ac_dir/$ac_word" || continue
3297 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 3321 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3298 echo "$as_me:3298: found $ac_dir/$ac_word" >&5 3322 echo "$as_me:3322: found $ac_dir/$ac_word" >&5
3299 break 3323 break
3300 done 3324 done
3301 3325
3302 fi 3326 fi
3303 fi 3327 fi
3304 RANLIB=$ac_cv_prog_RANLIB 3328 RANLIB=$ac_cv_prog_RANLIB
3305 if test -n "$RANLIB"; then 3329 if test -n "$RANLIB"; then
3306 echo "$as_me:3306: result: $RANLIB" >&5 3330 echo "$as_me:3330: result: $RANLIB" >&5
3307 echo "${ECHO_T}$RANLIB" >&6 3331 echo "${ECHO_T}$RANLIB" >&6
3308 else 3332 else
3309 echo "$as_me:3309: result: no" >&5 3333 echo "$as_me:3333: result: no" >&5
3310 echo "${ECHO_T}no" >&6 3334 echo "${ECHO_T}no" >&6
3311 fi 3335 fi
3312 3336
3313 fi 3337 fi
3314 if test -z "$ac_cv_prog_RANLIB"; then 3338 if test -z "$ac_cv_prog_RANLIB"; then
3315 ac_ct_RANLIB=$RANLIB 3339 ac_ct_RANLIB=$RANLIB
3316 # Extract the first word of "ranlib", so it can be a program name with args. 3340 # Extract the first word of "ranlib", so it can be a program name with args.
3317 set dummy ranlib; ac_word=$2 3341 set dummy ranlib; ac_word=$2
3318 echo "$as_me:3318: checking for $ac_word" >&5 3342 echo "$as_me:3342: checking for $ac_word" >&5
3319 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3343 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3320 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 3344 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3321 echo $ECHO_N "(cached) $ECHO_C" >&6 3345 echo $ECHO_N "(cached) $ECHO_C" >&6
3322 else 3346 else
3323 if test -n "$ac_ct_RANLIB"; then 3347 if test -n "$ac_ct_RANLIB"; then
3328 for ac_dir in $ac_dummy; do 3352 for ac_dir in $ac_dummy; do
3329 IFS=$ac_save_IFS 3353 IFS=$ac_save_IFS
3330 test -z "$ac_dir" && ac_dir=. 3354 test -z "$ac_dir" && ac_dir=.
3331 $as_executable_p "$ac_dir/$ac_word" || continue 3355 $as_executable_p "$ac_dir/$ac_word" || continue
3332 ac_cv_prog_ac_ct_RANLIB="ranlib" 3356 ac_cv_prog_ac_ct_RANLIB="ranlib"
3333 echo "$as_me:3333: found $ac_dir/$ac_word" >&5 3357 echo "$as_me:3357: found $ac_dir/$ac_word" >&5
3334 break 3358 break
3335 done 3359 done
3336 3360
3337 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" 3361 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3338 fi 3362 fi
3339 fi 3363 fi
3340 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 3364 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3341 if test -n "$ac_ct_RANLIB"; then 3365 if test -n "$ac_ct_RANLIB"; then
3342 echo "$as_me:3342: result: $ac_ct_RANLIB" >&5 3366 echo "$as_me:3366: result: $ac_ct_RANLIB" >&5
3343 echo "${ECHO_T}$ac_ct_RANLIB" >&6 3367 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3344 else 3368 else
3345 echo "$as_me:3345: result: no" >&5 3369 echo "$as_me:3369: result: no" >&5
3346 echo "${ECHO_T}no" >&6 3370 echo "${ECHO_T}no" >&6
3347 fi 3371 fi
3348 3372
3349 RANLIB=$ac_ct_RANLIB 3373 RANLIB=$ac_ct_RANLIB
3350 else 3374 else
3351 RANLIB="$ac_cv_prog_RANLIB" 3375 RANLIB="$ac_cv_prog_RANLIB"
3352 fi 3376 fi
3353 3377
3354 fi 3378 fi
3355 3379
3356 echo "$as_me:3356: checking for AIX" >&5 3380 echo "$as_me:3380: checking for AIX" >&5
3357 echo $ECHO_N "checking for AIX... $ECHO_C" >&6 3381 echo $ECHO_N "checking for AIX... $ECHO_C" >&6
3358 cat >conftest.$ac_ext <<_ACEOF 3382 cat >conftest.$ac_ext <<_ACEOF
3359 #line 3359 "configure" 3383 #line 3383 "configure"
3360 #include "confdefs.h" 3384 #include "confdefs.h"
3361 #ifdef _AIX 3385 #ifdef _AIX
3362 yes 3386 yes
3363 #endif 3387 #endif
3364 3388
3365 _ACEOF 3389 _ACEOF
3366 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3390 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3367 egrep "yes" >/dev/null 2>&1; then 3391 egrep "yes" >/dev/null 2>&1; then
3368 echo "$as_me:3368: result: yes" >&5 3392 echo "$as_me:3392: result: yes" >&5
3369 echo "${ECHO_T}yes" >&6 3393 echo "${ECHO_T}yes" >&6
3370 cat >>confdefs.h <<\EOF 3394 cat >>confdefs.h <<\EOF
3371 #define _ALL_SOURCE 1 3395 #define _ALL_SOURCE 1
3372 EOF 3396 EOF
3373 3397
3374 else 3398 else
3375 echo "$as_me:3375: result: no" >&5 3399 echo "$as_me:3399: result: no" >&5
3376 echo "${ECHO_T}no" >&6 3400 echo "${ECHO_T}no" >&6
3377 fi 3401 fi
3378 rm -f conftest* 3402 rm -f conftest*
3379 3403
3380 #### Extract some information from the operating system and machine files. 3404 #### Extract some information from the operating system and machine files.
3381 3405
3382 { echo "$as_me:3382: checking the machine- and system-dependent files to find out 3406 { echo "$as_me:3406: checking the machine- and system-dependent files to find out
3383 - which libraries the lib-src programs will want, and 3407 - which libraries the lib-src programs will want, and
3384 - whether the GNU malloc routines are usable..." >&5 3408 - whether the GNU malloc routines are usable..." >&5
3385 echo "$as_me: checking the machine- and system-dependent files to find out 3409 echo "$as_me: checking the machine- and system-dependent files to find out
3386 - which libraries the lib-src programs will want, and 3410 - which libraries the lib-src programs will want, and
3387 - whether the GNU malloc routines are usable..." >&6;} 3411 - whether the GNU malloc routines are usable..." >&6;}
3527 enableval="$enable_largefile" 3551 enableval="$enable_largefile"
3528 3552
3529 fi; 3553 fi;
3530 if test "$enable_largefile" != no; then 3554 if test "$enable_largefile" != no; then
3531 3555
3532 echo "$as_me:3532: checking for special C compiler options needed for large files" >&5 3556 echo "$as_me:3556: checking for special C compiler options needed for large files" >&5
3533 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6 3557 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
3534 if test "${ac_cv_sys_largefile_CC+set}" = set; then 3558 if test "${ac_cv_sys_largefile_CC+set}" = set; then
3535 echo $ECHO_N "(cached) $ECHO_C" >&6 3559 echo $ECHO_N "(cached) $ECHO_C" >&6
3536 else 3560 else
3537 ac_cv_sys_largefile_CC=no 3561 ac_cv_sys_largefile_CC=no
3539 ac_save_CC=$CC 3563 ac_save_CC=$CC
3540 while :; do 3564 while :; do
3541 # IRIX 6.2 and later do not support large files by default, 3565 # IRIX 6.2 and later do not support large files by default,
3542 # so use the C compiler's -n32 option if that helps. 3566 # so use the C compiler's -n32 option if that helps.
3543 cat >conftest.$ac_ext <<_ACEOF 3567 cat >conftest.$ac_ext <<_ACEOF
3544 #line 3544 "configure" 3568 #line 3568 "configure"
3545 #include "confdefs.h" 3569 #include "confdefs.h"
3546 #include <sys/types.h> 3570 #include <sys/types.h>
3547 /* Check that off_t can represent 2**63 - 1 correctly. 3571 /* Check that off_t can represent 2**63 - 1 correctly.
3548 We can't simply define LARGE_OFF_T to be 9223372036854775807, 3572 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3549 since some C++ compilers masquerading as C compilers 3573 since some C++ compilers masquerading as C compilers
3559 ; 3583 ;
3560 return 0; 3584 return 0;
3561 } 3585 }
3562 _ACEOF 3586 _ACEOF
3563 rm -f conftest.$ac_objext 3587 rm -f conftest.$ac_objext
3564 if { (eval echo "$as_me:3564: \"$ac_compile\"") >&5 3588 if { (eval echo "$as_me:3588: \"$ac_compile\"") >&5
3565 (eval $ac_compile) 2>&5 3589 (eval $ac_compile) 2>&5
3566 ac_status=$? 3590 ac_status=$?
3567 echo "$as_me:3567: \$? = $ac_status" >&5 3591 echo "$as_me:3591: \$? = $ac_status" >&5
3568 (exit $ac_status); } && 3592 (exit $ac_status); } &&
3569 { ac_try='test -s conftest.$ac_objext' 3593 { ac_try='test -s conftest.$ac_objext'
3570 { (eval echo "$as_me:3570: \"$ac_try\"") >&5 3594 { (eval echo "$as_me:3594: \"$ac_try\"") >&5
3571 (eval $ac_try) 2>&5 3595 (eval $ac_try) 2>&5
3572 ac_status=$? 3596 ac_status=$?
3573 echo "$as_me:3573: \$? = $ac_status" >&5 3597 echo "$as_me:3597: \$? = $ac_status" >&5
3574 (exit $ac_status); }; }; then 3598 (exit $ac_status); }; }; then
3575 break 3599 break
3576 else 3600 else
3577 echo "$as_me: failed program was:" >&5 3601 echo "$as_me: failed program was:" >&5
3578 cat conftest.$ac_ext >&5 3602 cat conftest.$ac_ext >&5
3579 fi 3603 fi
3580 rm -f conftest.$ac_objext 3604 rm -f conftest.$ac_objext
3581 CC="$CC -n32" 3605 CC="$CC -n32"
3582 rm -f conftest.$ac_objext 3606 rm -f conftest.$ac_objext
3583 if { (eval echo "$as_me:3583: \"$ac_compile\"") >&5 3607 if { (eval echo "$as_me:3607: \"$ac_compile\"") >&5
3584 (eval $ac_compile) 2>&5 3608 (eval $ac_compile) 2>&5
3585 ac_status=$? 3609 ac_status=$?
3586 echo "$as_me:3586: \$? = $ac_status" >&5 3610 echo "$as_me:3610: \$? = $ac_status" >&5
3587 (exit $ac_status); } && 3611 (exit $ac_status); } &&
3588 { ac_try='test -s conftest.$ac_objext' 3612 { ac_try='test -s conftest.$ac_objext'
3589 { (eval echo "$as_me:3589: \"$ac_try\"") >&5 3613 { (eval echo "$as_me:3613: \"$ac_try\"") >&5
3590 (eval $ac_try) 2>&5 3614 (eval $ac_try) 2>&5
3591 ac_status=$? 3615 ac_status=$?
3592 echo "$as_me:3592: \$? = $ac_status" >&5 3616 echo "$as_me:3616: \$? = $ac_status" >&5
3593 (exit $ac_status); }; }; then 3617 (exit $ac_status); }; }; then
3594 ac_cv_sys_largefile_CC=' -n32'; break 3618 ac_cv_sys_largefile_CC=' -n32'; break
3595 else 3619 else
3596 echo "$as_me: failed program was:" >&5 3620 echo "$as_me: failed program was:" >&5
3597 cat conftest.$ac_ext >&5 3621 cat conftest.$ac_ext >&5
3601 done 3625 done
3602 CC=$ac_save_CC 3626 CC=$ac_save_CC
3603 rm -f conftest.$ac_ext 3627 rm -f conftest.$ac_ext
3604 fi 3628 fi
3605 fi 3629 fi
3606 echo "$as_me:3606: result: $ac_cv_sys_largefile_CC" >&5 3630 echo "$as_me:3630: result: $ac_cv_sys_largefile_CC" >&5
3607 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6 3631 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
3608 if test "$ac_cv_sys_largefile_CC" != no; then 3632 if test "$ac_cv_sys_largefile_CC" != no; then
3609 CC=$CC$ac_cv_sys_largefile_CC 3633 CC=$CC$ac_cv_sys_largefile_CC
3610 fi 3634 fi
3611 3635
3612 echo "$as_me:3612: checking for _FILE_OFFSET_BITS value needed for large files" >&5 3636 echo "$as_me:3636: checking for _FILE_OFFSET_BITS value needed for large files" >&5
3613 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6 3637 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
3614 if test "${ac_cv_sys_file_offset_bits+set}" = set; then 3638 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
3615 echo $ECHO_N "(cached) $ECHO_C" >&6 3639 echo $ECHO_N "(cached) $ECHO_C" >&6
3616 else 3640 else
3617 while :; do 3641 while :; do
3618 ac_cv_sys_file_offset_bits=no 3642 ac_cv_sys_file_offset_bits=no
3619 cat >conftest.$ac_ext <<_ACEOF 3643 cat >conftest.$ac_ext <<_ACEOF
3620 #line 3620 "configure" 3644 #line 3644 "configure"
3621 #include "confdefs.h" 3645 #include "confdefs.h"
3622 #include <sys/types.h> 3646 #include <sys/types.h>
3623 /* Check that off_t can represent 2**63 - 1 correctly. 3647 /* Check that off_t can represent 2**63 - 1 correctly.
3624 We can't simply define LARGE_OFF_T to be 9223372036854775807, 3648 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3625 since some C++ compilers masquerading as C compilers 3649 since some C++ compilers masquerading as C compilers
3635 ; 3659 ;
3636 return 0; 3660 return 0;
3637 } 3661 }
3638 _ACEOF 3662 _ACEOF
3639 rm -f conftest.$ac_objext 3663 rm -f conftest.$ac_objext
3640 if { (eval echo "$as_me:3640: \"$ac_compile\"") >&5 3664 if { (eval echo "$as_me:3664: \"$ac_compile\"") >&5
3641 (eval $ac_compile) 2>&5 3665 (eval $ac_compile) 2>&5
3642 ac_status=$? 3666 ac_status=$?
3643 echo "$as_me:3643: \$? = $ac_status" >&5 3667 echo "$as_me:3667: \$? = $ac_status" >&5
3644 (exit $ac_status); } && 3668 (exit $ac_status); } &&
3645 { ac_try='test -s conftest.$ac_objext' 3669 { ac_try='test -s conftest.$ac_objext'
3646 { (eval echo "$as_me:3646: \"$ac_try\"") >&5 3670 { (eval echo "$as_me:3670: \"$ac_try\"") >&5
3647 (eval $ac_try) 2>&5 3671 (eval $ac_try) 2>&5
3648 ac_status=$? 3672 ac_status=$?
3649 echo "$as_me:3649: \$? = $ac_status" >&5 3673 echo "$as_me:3673: \$? = $ac_status" >&5
3650 (exit $ac_status); }; }; then 3674 (exit $ac_status); }; }; then
3651 break 3675 break
3652 else 3676 else
3653 echo "$as_me: failed program was:" >&5 3677 echo "$as_me: failed program was:" >&5
3654 cat conftest.$ac_ext >&5 3678 cat conftest.$ac_ext >&5
3655 fi 3679 fi
3656 rm -f conftest.$ac_objext conftest.$ac_ext 3680 rm -f conftest.$ac_objext conftest.$ac_ext
3657 cat >conftest.$ac_ext <<_ACEOF 3681 cat >conftest.$ac_ext <<_ACEOF
3658 #line 3658 "configure" 3682 #line 3682 "configure"
3659 #include "confdefs.h" 3683 #include "confdefs.h"
3660 #define _FILE_OFFSET_BITS 64 3684 #define _FILE_OFFSET_BITS 64
3661 #include <sys/types.h> 3685 #include <sys/types.h>
3662 /* Check that off_t can represent 2**63 - 1 correctly. 3686 /* Check that off_t can represent 2**63 - 1 correctly.
3663 We can't simply define LARGE_OFF_T to be 9223372036854775807, 3687 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3674 ; 3698 ;
3675 return 0; 3699 return 0;
3676 } 3700 }
3677 _ACEOF 3701 _ACEOF
3678 rm -f conftest.$ac_objext 3702 rm -f conftest.$ac_objext
3679 if { (eval echo "$as_me:3679: \"$ac_compile\"") >&5 3703 if { (eval echo "$as_me:3703: \"$ac_compile\"") >&5
3680 (eval $ac_compile) 2>&5 3704 (eval $ac_compile) 2>&5
3681 ac_status=$? 3705 ac_status=$?
3682 echo "$as_me:3682: \$? = $ac_status" >&5 3706 echo "$as_me:3706: \$? = $ac_status" >&5
3683 (exit $ac_status); } && 3707 (exit $ac_status); } &&
3684 { ac_try='test -s conftest.$ac_objext' 3708 { ac_try='test -s conftest.$ac_objext'
3685 { (eval echo "$as_me:3685: \"$ac_try\"") >&5 3709 { (eval echo "$as_me:3709: \"$ac_try\"") >&5
3686 (eval $ac_try) 2>&5 3710 (eval $ac_try) 2>&5
3687 ac_status=$? 3711 ac_status=$?
3688 echo "$as_me:3688: \$? = $ac_status" >&5 3712 echo "$as_me:3712: \$? = $ac_status" >&5
3689 (exit $ac_status); }; }; then 3713 (exit $ac_status); }; }; then
3690 ac_cv_sys_file_offset_bits=64; break 3714 ac_cv_sys_file_offset_bits=64; break
3691 else 3715 else
3692 echo "$as_me: failed program was:" >&5 3716 echo "$as_me: failed program was:" >&5
3693 cat conftest.$ac_ext >&5 3717 cat conftest.$ac_ext >&5
3694 fi 3718 fi
3695 rm -f conftest.$ac_objext conftest.$ac_ext 3719 rm -f conftest.$ac_objext conftest.$ac_ext
3696 break 3720 break
3697 done 3721 done
3698 fi 3722 fi
3699 echo "$as_me:3699: result: $ac_cv_sys_file_offset_bits" >&5 3723 echo "$as_me:3723: result: $ac_cv_sys_file_offset_bits" >&5
3700 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6 3724 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
3701 if test "$ac_cv_sys_file_offset_bits" != no; then 3725 if test "$ac_cv_sys_file_offset_bits" != no; then
3702 3726
3703 cat >>confdefs.h <<EOF 3727 cat >>confdefs.h <<EOF
3704 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits 3728 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
3705 EOF 3729 EOF
3706 3730
3707 fi 3731 fi
3708 rm -f conftest* 3732 rm -f conftest*
3709 echo "$as_me:3709: checking for _LARGE_FILES value needed for large files" >&5 3733 echo "$as_me:3733: checking for _LARGE_FILES value needed for large files" >&5
3710 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6 3734 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
3711 if test "${ac_cv_sys_large_files+set}" = set; then 3735 if test "${ac_cv_sys_large_files+set}" = set; then
3712 echo $ECHO_N "(cached) $ECHO_C" >&6 3736 echo $ECHO_N "(cached) $ECHO_C" >&6
3713 else 3737 else
3714 while :; do 3738 while :; do
3715 ac_cv_sys_large_files=no 3739 ac_cv_sys_large_files=no
3716 cat >conftest.$ac_ext <<_ACEOF 3740 cat >conftest.$ac_ext <<_ACEOF
3717 #line 3717 "configure" 3741 #line 3741 "configure"
3718 #include "confdefs.h" 3742 #include "confdefs.h"
3719 #include <sys/types.h> 3743 #include <sys/types.h>
3720 /* Check that off_t can represent 2**63 - 1 correctly. 3744 /* Check that off_t can represent 2**63 - 1 correctly.
3721 We can't simply define LARGE_OFF_T to be 9223372036854775807, 3745 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3722 since some C++ compilers masquerading as C compilers 3746 since some C++ compilers masquerading as C compilers
3732 ; 3756 ;
3733 return 0; 3757 return 0;
3734 } 3758 }
3735 _ACEOF 3759 _ACEOF
3736 rm -f conftest.$ac_objext 3760 rm -f conftest.$ac_objext
3737 if { (eval echo "$as_me:3737: \"$ac_compile\"") >&5 3761 if { (eval echo "$as_me:3761: \"$ac_compile\"") >&5
3738 (eval $ac_compile) 2>&5 3762 (eval $ac_compile) 2>&5
3739 ac_status=$? 3763 ac_status=$?
3740 echo "$as_me:3740: \$? = $ac_status" >&5 3764 echo "$as_me:3764: \$? = $ac_status" >&5
3741 (exit $ac_status); } && 3765 (exit $ac_status); } &&
3742 { ac_try='test -s conftest.$ac_objext' 3766 { ac_try='test -s conftest.$ac_objext'
3743 { (eval echo "$as_me:3743: \"$ac_try\"") >&5 3767 { (eval echo "$as_me:3767: \"$ac_try\"") >&5
3744 (eval $ac_try) 2>&5 3768 (eval $ac_try) 2>&5
3745 ac_status=$? 3769 ac_status=$?
3746 echo "$as_me:3746: \$? = $ac_status" >&5 3770 echo "$as_me:3770: \$? = $ac_status" >&5
3747 (exit $ac_status); }; }; then 3771 (exit $ac_status); }; }; then
3748 break 3772 break
3749 else 3773 else
3750 echo "$as_me: failed program was:" >&5 3774 echo "$as_me: failed program was:" >&5
3751 cat conftest.$ac_ext >&5 3775 cat conftest.$ac_ext >&5
3752 fi 3776 fi
3753 rm -f conftest.$ac_objext conftest.$ac_ext 3777 rm -f conftest.$ac_objext conftest.$ac_ext
3754 cat >conftest.$ac_ext <<_ACEOF 3778 cat >conftest.$ac_ext <<_ACEOF
3755 #line 3755 "configure" 3779 #line 3779 "configure"
3756 #include "confdefs.h" 3780 #include "confdefs.h"
3757 #define _LARGE_FILES 1 3781 #define _LARGE_FILES 1
3758 #include <sys/types.h> 3782 #include <sys/types.h>
3759 /* Check that off_t can represent 2**63 - 1 correctly. 3783 /* Check that off_t can represent 2**63 - 1 correctly.
3760 We can't simply define LARGE_OFF_T to be 9223372036854775807, 3784 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3771 ; 3795 ;
3772 return 0; 3796 return 0;
3773 } 3797 }
3774 _ACEOF 3798 _ACEOF
3775 rm -f conftest.$ac_objext 3799 rm -f conftest.$ac_objext
3776 if { (eval echo "$as_me:3776: \"$ac_compile\"") >&5 3800 if { (eval echo "$as_me:3800: \"$ac_compile\"") >&5
3777 (eval $ac_compile) 2>&5 3801 (eval $ac_compile) 2>&5
3778 ac_status=$? 3802 ac_status=$?
3779 echo "$as_me:3779: \$? = $ac_status" >&5 3803 echo "$as_me:3803: \$? = $ac_status" >&5
3780 (exit $ac_status); } && 3804 (exit $ac_status); } &&
3781 { ac_try='test -s conftest.$ac_objext' 3805 { ac_try='test -s conftest.$ac_objext'
3782 { (eval echo "$as_me:3782: \"$ac_try\"") >&5 3806 { (eval echo "$as_me:3806: \"$ac_try\"") >&5
3783 (eval $ac_try) 2>&5 3807 (eval $ac_try) 2>&5
3784 ac_status=$? 3808 ac_status=$?
3785 echo "$as_me:3785: \$? = $ac_status" >&5 3809 echo "$as_me:3809: \$? = $ac_status" >&5
3786 (exit $ac_status); }; }; then 3810 (exit $ac_status); }; }; then
3787 ac_cv_sys_large_files=1; break 3811 ac_cv_sys_large_files=1; break
3788 else 3812 else
3789 echo "$as_me: failed program was:" >&5 3813 echo "$as_me: failed program was:" >&5
3790 cat conftest.$ac_ext >&5 3814 cat conftest.$ac_ext >&5
3791 fi 3815 fi
3792 rm -f conftest.$ac_objext conftest.$ac_ext 3816 rm -f conftest.$ac_objext conftest.$ac_ext
3793 break 3817 break
3794 done 3818 done
3795 fi 3819 fi
3796 echo "$as_me:3796: result: $ac_cv_sys_large_files" >&5 3820 echo "$as_me:3820: result: $ac_cv_sys_large_files" >&5
3797 echo "${ECHO_T}$ac_cv_sys_large_files" >&6 3821 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
3798 if test "$ac_cv_sys_large_files" != no; then 3822 if test "$ac_cv_sys_large_files" != no; then
3799 3823
3800 cat >>confdefs.h <<EOF 3824 cat >>confdefs.h <<EOF
3801 #define _LARGE_FILES $ac_cv_sys_large_files 3825 #define _LARGE_FILES $ac_cv_sys_large_files
3808 # Sound support for GNU/Linux and the free BSDs. 3832 # Sound support for GNU/Linux and the free BSDs.
3809 3833
3810 for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h 3834 for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h
3811 do 3835 do
3812 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3836 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3813 echo "$as_me:3813: checking for $ac_header" >&5 3837 echo "$as_me:3837: checking for $ac_header" >&5
3814 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3838 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3815 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3839 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3816 echo $ECHO_N "(cached) $ECHO_C" >&6 3840 echo $ECHO_N "(cached) $ECHO_C" >&6
3817 else 3841 else
3818 cat >conftest.$ac_ext <<_ACEOF 3842 cat >conftest.$ac_ext <<_ACEOF
3819 #line 3819 "configure" 3843 #line 3843 "configure"
3820 #include "confdefs.h" 3844 #include "confdefs.h"
3821 #include <$ac_header> 3845 #include <$ac_header>
3822 _ACEOF 3846 _ACEOF
3823 if { (eval echo "$as_me:3823: \"$ac_cpp conftest.$ac_ext\"") >&5 3847 if { (eval echo "$as_me:3847: \"$ac_cpp conftest.$ac_ext\"") >&5
3824 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3848 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3825 ac_status=$? 3849 ac_status=$?
3826 egrep -v '^ *\+' conftest.er1 >conftest.err 3850 egrep -v '^ *\+' conftest.er1 >conftest.err
3827 rm -f conftest.er1 3851 rm -f conftest.er1
3828 cat conftest.err >&5 3852 cat conftest.err >&5
3829 echo "$as_me:3829: \$? = $ac_status" >&5 3853 echo "$as_me:3853: \$? = $ac_status" >&5
3830 (exit $ac_status); } >/dev/null; then 3854 (exit $ac_status); } >/dev/null; then
3831 if test -s conftest.err; then 3855 if test -s conftest.err; then
3832 ac_cpp_err=$ac_c_preproc_warn_flag 3856 ac_cpp_err=$ac_c_preproc_warn_flag
3833 else 3857 else
3834 ac_cpp_err= 3858 ac_cpp_err=
3843 cat conftest.$ac_ext >&5 3867 cat conftest.$ac_ext >&5
3844 eval "$as_ac_Header=no" 3868 eval "$as_ac_Header=no"
3845 fi 3869 fi
3846 rm -f conftest.err conftest.$ac_ext 3870 rm -f conftest.err conftest.$ac_ext
3847 fi 3871 fi
3848 echo "$as_me:3848: result: `eval echo '${'$as_ac_Header'}'`" >&5 3872 echo "$as_me:3872: result: `eval echo '${'$as_ac_Header'}'`" >&5
3849 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3873 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3850 if test `eval echo '${'$as_ac_Header'}'` = yes; then 3874 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3851 cat >>confdefs.h <<EOF 3875 cat >>confdefs.h <<EOF
3852 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 3876 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3853 EOF 3877 EOF
3854 3878
3855 fi 3879 fi
3856 done 3880 done
3857 3881
3858 # Emulation library used on NetBSD. 3882 # Emulation library used on NetBSD.
3859 echo "$as_me:3859: checking for _oss_ioctl in -lossaudio" >&5 3883 echo "$as_me:3883: checking for _oss_ioctl in -lossaudio" >&5
3860 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6 3884 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
3861 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then 3885 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
3862 echo $ECHO_N "(cached) $ECHO_C" >&6 3886 echo $ECHO_N "(cached) $ECHO_C" >&6
3863 else 3887 else
3864 ac_check_lib_save_LIBS=$LIBS 3888 ac_check_lib_save_LIBS=$LIBS
3865 LIBS="-lossaudio $LIBS" 3889 LIBS="-lossaudio $LIBS"
3866 cat >conftest.$ac_ext <<_ACEOF 3890 cat >conftest.$ac_ext <<_ACEOF
3867 #line 3867 "configure" 3891 #line 3891 "configure"
3868 #include "confdefs.h" 3892 #include "confdefs.h"
3869 3893
3870 /* Override any gcc2 internal prototype to avoid an error. */ 3894 /* Override any gcc2 internal prototype to avoid an error. */
3871 #ifdef __cplusplus 3895 #ifdef __cplusplus
3872 extern "C" 3896 extern "C"
3881 ; 3905 ;
3882 return 0; 3906 return 0;
3883 } 3907 }
3884 _ACEOF 3908 _ACEOF
3885 rm -f conftest.$ac_objext conftest$ac_exeext 3909 rm -f conftest.$ac_objext conftest$ac_exeext
3886 if { (eval echo "$as_me:3886: \"$ac_link\"") >&5 3910 if { (eval echo "$as_me:3910: \"$ac_link\"") >&5
3887 (eval $ac_link) 2>&5 3911 (eval $ac_link) 2>&5
3888 ac_status=$? 3912 ac_status=$?
3889 echo "$as_me:3889: \$? = $ac_status" >&5 3913 echo "$as_me:3913: \$? = $ac_status" >&5
3890 (exit $ac_status); } && 3914 (exit $ac_status); } &&
3891 { ac_try='test -s conftest$ac_exeext' 3915 { ac_try='test -s conftest$ac_exeext'
3892 { (eval echo "$as_me:3892: \"$ac_try\"") >&5 3916 { (eval echo "$as_me:3916: \"$ac_try\"") >&5
3893 (eval $ac_try) 2>&5 3917 (eval $ac_try) 2>&5
3894 ac_status=$? 3918 ac_status=$?
3895 echo "$as_me:3895: \$? = $ac_status" >&5 3919 echo "$as_me:3919: \$? = $ac_status" >&5
3896 (exit $ac_status); }; }; then 3920 (exit $ac_status); }; }; then
3897 ac_cv_lib_ossaudio__oss_ioctl=yes 3921 ac_cv_lib_ossaudio__oss_ioctl=yes
3898 else 3922 else
3899 echo "$as_me: failed program was:" >&5 3923 echo "$as_me: failed program was:" >&5
3900 cat conftest.$ac_ext >&5 3924 cat conftest.$ac_ext >&5
3901 ac_cv_lib_ossaudio__oss_ioctl=no 3925 ac_cv_lib_ossaudio__oss_ioctl=no
3902 fi 3926 fi
3903 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3927 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3904 LIBS=$ac_check_lib_save_LIBS 3928 LIBS=$ac_check_lib_save_LIBS
3905 fi 3929 fi
3906 echo "$as_me:3906: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5 3930 echo "$as_me:3930: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
3907 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6 3931 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
3908 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then 3932 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
3909 LIBSOUND=-lossaudio 3933 LIBSOUND=-lossaudio
3910 else 3934 else
3911 LIBSOUND= 3935 LIBSOUND=
3914 for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \ 3938 for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \
3915 linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \ 3939 linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \
3916 termcap.h stdio_ext.h fcntl.h term.h strings.h 3940 termcap.h stdio_ext.h fcntl.h term.h strings.h
3917 do 3941 do
3918 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3942 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3919 echo "$as_me:3919: checking for $ac_header" >&5 3943 echo "$as_me:3943: checking for $ac_header" >&5
3920 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3944 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3921 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3945 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3922 echo $ECHO_N "(cached) $ECHO_C" >&6 3946 echo $ECHO_N "(cached) $ECHO_C" >&6
3923 else 3947 else
3924 cat >conftest.$ac_ext <<_ACEOF 3948 cat >conftest.$ac_ext <<_ACEOF
3925 #line 3925 "configure" 3949 #line 3949 "configure"
3926 #include "confdefs.h" 3950 #include "confdefs.h"
3927 #include <$ac_header> 3951 #include <$ac_header>
3928 _ACEOF 3952 _ACEOF
3929 if { (eval echo "$as_me:3929: \"$ac_cpp conftest.$ac_ext\"") >&5 3953 if { (eval echo "$as_me:3953: \"$ac_cpp conftest.$ac_ext\"") >&5
3930 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3954 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3931 ac_status=$? 3955 ac_status=$?
3932 egrep -v '^ *\+' conftest.er1 >conftest.err 3956 egrep -v '^ *\+' conftest.er1 >conftest.err
3933 rm -f conftest.er1 3957 rm -f conftest.er1
3934 cat conftest.err >&5 3958 cat conftest.err >&5
3935 echo "$as_me:3935: \$? = $ac_status" >&5 3959 echo "$as_me:3959: \$? = $ac_status" >&5
3936 (exit $ac_status); } >/dev/null; then 3960 (exit $ac_status); } >/dev/null; then
3937 if test -s conftest.err; then 3961 if test -s conftest.err; then
3938 ac_cpp_err=$ac_c_preproc_warn_flag 3962 ac_cpp_err=$ac_c_preproc_warn_flag
3939 else 3963 else
3940 ac_cpp_err= 3964 ac_cpp_err=
3949 cat conftest.$ac_ext >&5 3973 cat conftest.$ac_ext >&5
3950 eval "$as_ac_Header=no" 3974 eval "$as_ac_Header=no"
3951 fi 3975 fi
3952 rm -f conftest.err conftest.$ac_ext 3976 rm -f conftest.err conftest.$ac_ext
3953 fi 3977 fi
3954 echo "$as_me:3954: result: `eval echo '${'$as_ac_Header'}'`" >&5 3978 echo "$as_me:3978: result: `eval echo '${'$as_ac_Header'}'`" >&5
3955 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3979 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3956 if test `eval echo '${'$as_ac_Header'}'` = yes; then 3980 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3957 cat >>confdefs.h <<EOF 3981 cat >>confdefs.h <<EOF
3958 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 3982 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3959 EOF 3983 EOF
3960 3984
3961 fi 3985 fi
3962 done 3986 done
3963 3987
3964 echo "$as_me:3964: checking for ANSI C header files" >&5 3988 echo "$as_me:3988: checking for ANSI C header files" >&5
3965 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 3989 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3966 if test "${ac_cv_header_stdc+set}" = set; then 3990 if test "${ac_cv_header_stdc+set}" = set; then
3967 echo $ECHO_N "(cached) $ECHO_C" >&6 3991 echo $ECHO_N "(cached) $ECHO_C" >&6
3968 else 3992 else
3969 cat >conftest.$ac_ext <<_ACEOF 3993 cat >conftest.$ac_ext <<_ACEOF
3970 #line 3970 "configure" 3994 #line 3994 "configure"
3971 #include "confdefs.h" 3995 #include "confdefs.h"
3972 #include <stdlib.h> 3996 #include <stdlib.h>
3973 #include <stdarg.h> 3997 #include <stdarg.h>
3974 #include <string.h> 3998 #include <string.h>
3975 #include <float.h> 3999 #include <float.h>
3976 4000
3977 _ACEOF 4001 _ACEOF
3978 if { (eval echo "$as_me:3978: \"$ac_cpp conftest.$ac_ext\"") >&5 4002 if { (eval echo "$as_me:4002: \"$ac_cpp conftest.$ac_ext\"") >&5
3979 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4003 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3980 ac_status=$? 4004 ac_status=$?
3981 egrep -v '^ *\+' conftest.er1 >conftest.err 4005 egrep -v '^ *\+' conftest.er1 >conftest.err
3982 rm -f conftest.er1 4006 rm -f conftest.er1
3983 cat conftest.err >&5 4007 cat conftest.err >&5
3984 echo "$as_me:3984: \$? = $ac_status" >&5 4008 echo "$as_me:4008: \$? = $ac_status" >&5
3985 (exit $ac_status); } >/dev/null; then 4009 (exit $ac_status); } >/dev/null; then
3986 if test -s conftest.err; then 4010 if test -s conftest.err; then
3987 ac_cpp_err=$ac_c_preproc_warn_flag 4011 ac_cpp_err=$ac_c_preproc_warn_flag
3988 else 4012 else
3989 ac_cpp_err= 4013 ac_cpp_err=
4001 rm -f conftest.err conftest.$ac_ext 4025 rm -f conftest.err conftest.$ac_ext
4002 4026
4003 if test $ac_cv_header_stdc = yes; then 4027 if test $ac_cv_header_stdc = yes; then
4004 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4028 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4005 cat >conftest.$ac_ext <<_ACEOF 4029 cat >conftest.$ac_ext <<_ACEOF
4006 #line 4006 "configure" 4030 #line 4030 "configure"
4007 #include "confdefs.h" 4031 #include "confdefs.h"
4008 #include <string.h> 4032 #include <string.h>
4009 4033
4010 _ACEOF 4034 _ACEOF
4011 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4035 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4019 fi 4043 fi
4020 4044
4021 if test $ac_cv_header_stdc = yes; then 4045 if test $ac_cv_header_stdc = yes; then
4022 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4046 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4023 cat >conftest.$ac_ext <<_ACEOF 4047 cat >conftest.$ac_ext <<_ACEOF
4024 #line 4024 "configure" 4048 #line 4048 "configure"
4025 #include "confdefs.h" 4049 #include "confdefs.h"
4026 #include <stdlib.h> 4050 #include <stdlib.h>
4027 4051
4028 _ACEOF 4052 _ACEOF
4029 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4053 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4040 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4064 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4041 if test "$cross_compiling" = yes; then 4065 if test "$cross_compiling" = yes; then
4042 : 4066 :
4043 else 4067 else
4044 cat >conftest.$ac_ext <<_ACEOF 4068 cat >conftest.$ac_ext <<_ACEOF
4045 #line 4045 "configure" 4069 #line 4069 "configure"
4046 #include "confdefs.h" 4070 #include "confdefs.h"
4047 #include <ctype.h> 4071 #include <ctype.h>
4048 #if ((' ' & 0x0FF) == 0x020) 4072 #if ((' ' & 0x0FF) == 0x020)
4049 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4073 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4050 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4074 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4066 exit(2); 4090 exit(2);
4067 exit (0); 4091 exit (0);
4068 } 4092 }
4069 _ACEOF 4093 _ACEOF
4070 rm -f conftest$ac_exeext 4094 rm -f conftest$ac_exeext
4071 if { (eval echo "$as_me:4071: \"$ac_link\"") >&5 4095 if { (eval echo "$as_me:4095: \"$ac_link\"") >&5
4072 (eval $ac_link) 2>&5 4096 (eval $ac_link) 2>&5
4073 ac_status=$? 4097 ac_status=$?
4074 echo "$as_me:4074: \$? = $ac_status" >&5 4098 echo "$as_me:4098: \$? = $ac_status" >&5
4075 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4099 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4076 { (eval echo "$as_me:4076: \"$ac_try\"") >&5 4100 { (eval echo "$as_me:4100: \"$ac_try\"") >&5
4077 (eval $ac_try) 2>&5 4101 (eval $ac_try) 2>&5
4078 ac_status=$? 4102 ac_status=$?
4079 echo "$as_me:4079: \$? = $ac_status" >&5 4103 echo "$as_me:4103: \$? = $ac_status" >&5
4080 (exit $ac_status); }; }; then 4104 (exit $ac_status); }; }; then
4081 : 4105 :
4082 else 4106 else
4083 echo "$as_me: program exited with status $ac_status" >&5 4107 echo "$as_me: program exited with status $ac_status" >&5
4084 echo "$as_me: failed program was:" >&5 4108 echo "$as_me: failed program was:" >&5
4087 fi 4111 fi
4088 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4112 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4089 fi 4113 fi
4090 fi 4114 fi
4091 fi 4115 fi
4092 echo "$as_me:4092: result: $ac_cv_header_stdc" >&5 4116 echo "$as_me:4116: result: $ac_cv_header_stdc" >&5
4093 echo "${ECHO_T}$ac_cv_header_stdc" >&6 4117 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4094 if test $ac_cv_header_stdc = yes; then 4118 if test $ac_cv_header_stdc = yes; then
4095 4119
4096 cat >>confdefs.h <<\EOF 4120 cat >>confdefs.h <<\EOF
4097 #define STDC_HEADERS 1 4121 #define STDC_HEADERS 1
4098 EOF 4122 EOF
4099 4123
4100 fi 4124 fi
4101 4125
4102 echo "$as_me:4102: checking whether time.h and sys/time.h may both be included" >&5 4126 echo "$as_me:4126: checking whether time.h and sys/time.h may both be included" >&5
4103 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 4127 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
4104 if test "${ac_cv_header_time+set}" = set; then 4128 if test "${ac_cv_header_time+set}" = set; then
4105 echo $ECHO_N "(cached) $ECHO_C" >&6 4129 echo $ECHO_N "(cached) $ECHO_C" >&6
4106 else 4130 else
4107 cat >conftest.$ac_ext <<_ACEOF 4131 cat >conftest.$ac_ext <<_ACEOF
4108 #line 4108 "configure" 4132 #line 4132 "configure"
4109 #include "confdefs.h" 4133 #include "confdefs.h"
4110 #include <sys/types.h> 4134 #include <sys/types.h>
4111 #include <sys/time.h> 4135 #include <sys/time.h>
4112 #include <time.h> 4136 #include <time.h>
4113 4137
4119 ; 4143 ;
4120 return 0; 4144 return 0;
4121 } 4145 }
4122 _ACEOF 4146 _ACEOF
4123 rm -f conftest.$ac_objext 4147 rm -f conftest.$ac_objext
4124 if { (eval echo "$as_me:4124: \"$ac_compile\"") >&5 4148 if { (eval echo "$as_me:4148: \"$ac_compile\"") >&5
4125 (eval $ac_compile) 2>&5 4149 (eval $ac_compile) 2>&5
4126 ac_status=$? 4150 ac_status=$?
4127 echo "$as_me:4127: \$? = $ac_status" >&5 4151 echo "$as_me:4151: \$? = $ac_status" >&5
4128 (exit $ac_status); } && 4152 (exit $ac_status); } &&
4129 { ac_try='test -s conftest.$ac_objext' 4153 { ac_try='test -s conftest.$ac_objext'
4130 { (eval echo "$as_me:4130: \"$ac_try\"") >&5 4154 { (eval echo "$as_me:4154: \"$ac_try\"") >&5
4131 (eval $ac_try) 2>&5 4155 (eval $ac_try) 2>&5
4132 ac_status=$? 4156 ac_status=$?
4133 echo "$as_me:4133: \$? = $ac_status" >&5 4157 echo "$as_me:4157: \$? = $ac_status" >&5
4134 (exit $ac_status); }; }; then 4158 (exit $ac_status); }; }; then
4135 ac_cv_header_time=yes 4159 ac_cv_header_time=yes
4136 else 4160 else
4137 echo "$as_me: failed program was:" >&5 4161 echo "$as_me: failed program was:" >&5
4138 cat conftest.$ac_ext >&5 4162 cat conftest.$ac_ext >&5
4139 ac_cv_header_time=no 4163 ac_cv_header_time=no
4140 fi 4164 fi
4141 rm -f conftest.$ac_objext conftest.$ac_ext 4165 rm -f conftest.$ac_objext conftest.$ac_ext
4142 fi 4166 fi
4143 echo "$as_me:4143: result: $ac_cv_header_time" >&5 4167 echo "$as_me:4167: result: $ac_cv_header_time" >&5
4144 echo "${ECHO_T}$ac_cv_header_time" >&6 4168 echo "${ECHO_T}$ac_cv_header_time" >&6
4145 if test $ac_cv_header_time = yes; then 4169 if test $ac_cv_header_time = yes; then
4146 4170
4147 cat >>confdefs.h <<\EOF 4171 cat >>confdefs.h <<\EOF
4148 #define TIME_WITH_SYS_TIME 1 4172 #define TIME_WITH_SYS_TIME 1
4149 EOF 4173 EOF
4150 4174
4151 fi 4175 fi
4152 4176
4153 echo "$as_me:4153: checking for sys_siglist declaration in signal.h or unistd.h" >&5 4177 echo "$as_me:4177: checking for sys_siglist declaration in signal.h or unistd.h" >&5
4154 echo $ECHO_N "checking for sys_siglist declaration in signal.h or unistd.h... $ECHO_C" >&6 4178 echo $ECHO_N "checking for sys_siglist declaration in signal.h or unistd.h... $ECHO_C" >&6
4155 if test "${ac_cv_decl_sys_siglist+set}" = set; then 4179 if test "${ac_cv_decl_sys_siglist+set}" = set; then
4156 echo $ECHO_N "(cached) $ECHO_C" >&6 4180 echo $ECHO_N "(cached) $ECHO_C" >&6
4157 else 4181 else
4158 cat >conftest.$ac_ext <<_ACEOF 4182 cat >conftest.$ac_ext <<_ACEOF
4159 #line 4159 "configure" 4183 #line 4183 "configure"
4160 #include "confdefs.h" 4184 #include "confdefs.h"
4161 #include <sys/types.h> 4185 #include <sys/types.h>
4162 #include <signal.h> 4186 #include <signal.h>
4163 /* NetBSD declares sys_siglist in unistd.h. */ 4187 /* NetBSD declares sys_siglist in unistd.h. */
4164 #if HAVE_UNISTD_H 4188 #if HAVE_UNISTD_H
4172 ; 4196 ;
4173 return 0; 4197 return 0;
4174 } 4198 }
4175 _ACEOF 4199 _ACEOF
4176 rm -f conftest.$ac_objext 4200 rm -f conftest.$ac_objext
4177 if { (eval echo "$as_me:4177: \"$ac_compile\"") >&5 4201 if { (eval echo "$as_me:4201: \"$ac_compile\"") >&5
4178 (eval $ac_compile) 2>&5 4202 (eval $ac_compile) 2>&5
4179 ac_status=$? 4203 ac_status=$?
4180 echo "$as_me:4180: \$? = $ac_status" >&5 4204 echo "$as_me:4204: \$? = $ac_status" >&5
4181 (exit $ac_status); } && 4205 (exit $ac_status); } &&
4182 { ac_try='test -s conftest.$ac_objext' 4206 { ac_try='test -s conftest.$ac_objext'
4183 { (eval echo "$as_me:4183: \"$ac_try\"") >&5 4207 { (eval echo "$as_me:4207: \"$ac_try\"") >&5
4184 (eval $ac_try) 2>&5 4208 (eval $ac_try) 2>&5
4185 ac_status=$? 4209 ac_status=$?
4186 echo "$as_me:4186: \$? = $ac_status" >&5 4210 echo "$as_me:4210: \$? = $ac_status" >&5
4187 (exit $ac_status); }; }; then 4211 (exit $ac_status); }; }; then
4188 ac_cv_decl_sys_siglist=yes 4212 ac_cv_decl_sys_siglist=yes
4189 else 4213 else
4190 echo "$as_me: failed program was:" >&5 4214 echo "$as_me: failed program was:" >&5
4191 cat conftest.$ac_ext >&5 4215 cat conftest.$ac_ext >&5
4192 ac_cv_decl_sys_siglist=no 4216 ac_cv_decl_sys_siglist=no
4193 fi 4217 fi
4194 rm -f conftest.$ac_objext conftest.$ac_ext 4218 rm -f conftest.$ac_objext conftest.$ac_ext
4195 fi 4219 fi
4196 echo "$as_me:4196: result: $ac_cv_decl_sys_siglist" >&5 4220 echo "$as_me:4220: result: $ac_cv_decl_sys_siglist" >&5
4197 echo "${ECHO_T}$ac_cv_decl_sys_siglist" >&6 4221 echo "${ECHO_T}$ac_cv_decl_sys_siglist" >&6
4198 if test $ac_cv_decl_sys_siglist = yes; then 4222 if test $ac_cv_decl_sys_siglist = yes; then
4199 4223
4200 cat >>confdefs.h <<\EOF 4224 cat >>confdefs.h <<\EOF
4201 #define SYS_SIGLIST_DECLARED 1 4225 #define SYS_SIGLIST_DECLARED 1
4202 EOF 4226 EOF
4203 4227
4204 fi 4228 fi
4205 4229
4206 echo "$as_me:4206: checking for sys/wait.h that is POSIX.1 compatible" >&5 4230 echo "$as_me:4230: checking for sys/wait.h that is POSIX.1 compatible" >&5
4207 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6 4231 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
4208 if test "${ac_cv_header_sys_wait_h+set}" = set; then 4232 if test "${ac_cv_header_sys_wait_h+set}" = set; then
4209 echo $ECHO_N "(cached) $ECHO_C" >&6 4233 echo $ECHO_N "(cached) $ECHO_C" >&6
4210 else 4234 else
4211 cat >conftest.$ac_ext <<_ACEOF 4235 cat >conftest.$ac_ext <<_ACEOF
4212 #line 4212 "configure" 4236 #line 4236 "configure"
4213 #include "confdefs.h" 4237 #include "confdefs.h"
4214 #include <sys/types.h> 4238 #include <sys/types.h>
4215 #include <sys/wait.h> 4239 #include <sys/wait.h>
4216 #ifndef WEXITSTATUS 4240 #ifndef WEXITSTATUS
4217 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) 4241 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
4229 ; 4253 ;
4230 return 0; 4254 return 0;
4231 } 4255 }
4232 _ACEOF 4256 _ACEOF
4233 rm -f conftest.$ac_objext 4257 rm -f conftest.$ac_objext
4234 if { (eval echo "$as_me:4234: \"$ac_compile\"") >&5 4258 if { (eval echo "$as_me:4258: \"$ac_compile\"") >&5
4235 (eval $ac_compile) 2>&5 4259 (eval $ac_compile) 2>&5
4236 ac_status=$? 4260 ac_status=$?
4237 echo "$as_me:4237: \$? = $ac_status" >&5 4261 echo "$as_me:4261: \$? = $ac_status" >&5
4238 (exit $ac_status); } && 4262 (exit $ac_status); } &&
4239 { ac_try='test -s conftest.$ac_objext' 4263 { ac_try='test -s conftest.$ac_objext'
4240 { (eval echo "$as_me:4240: \"$ac_try\"") >&5 4264 { (eval echo "$as_me:4264: \"$ac_try\"") >&5
4241 (eval $ac_try) 2>&5 4265 (eval $ac_try) 2>&5
4242 ac_status=$? 4266 ac_status=$?
4243 echo "$as_me:4243: \$? = $ac_status" >&5 4267 echo "$as_me:4267: \$? = $ac_status" >&5
4244 (exit $ac_status); }; }; then 4268 (exit $ac_status); }; }; then
4245 ac_cv_header_sys_wait_h=yes 4269 ac_cv_header_sys_wait_h=yes
4246 else 4270 else
4247 echo "$as_me: failed program was:" >&5 4271 echo "$as_me: failed program was:" >&5
4248 cat conftest.$ac_ext >&5 4272 cat conftest.$ac_ext >&5
4249 ac_cv_header_sys_wait_h=no 4273 ac_cv_header_sys_wait_h=no
4250 fi 4274 fi
4251 rm -f conftest.$ac_objext conftest.$ac_ext 4275 rm -f conftest.$ac_objext conftest.$ac_ext
4252 fi 4276 fi
4253 echo "$as_me:4253: result: $ac_cv_header_sys_wait_h" >&5 4277 echo "$as_me:4277: result: $ac_cv_header_sys_wait_h" >&5
4254 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6 4278 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
4255 if test $ac_cv_header_sys_wait_h = yes; then 4279 if test $ac_cv_header_sys_wait_h = yes; then
4256 4280
4257 cat >>confdefs.h <<\EOF 4281 cat >>confdefs.h <<\EOF
4258 #define HAVE_SYS_WAIT_H 1 4282 #define HAVE_SYS_WAIT_H 1
4259 EOF 4283 EOF
4260 4284
4261 fi 4285 fi
4262 4286
4263 echo "$as_me:4263: checking for struct utimbuf" >&5 4287 echo "$as_me:4287: checking for struct utimbuf" >&5
4264 echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6 4288 echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6
4265 if test "${emacs_cv_struct_utimbuf+set}" = set; then 4289 if test "${emacs_cv_struct_utimbuf+set}" = set; then
4266 echo $ECHO_N "(cached) $ECHO_C" >&6 4290 echo $ECHO_N "(cached) $ECHO_C" >&6
4267 else 4291 else
4268 cat >conftest.$ac_ext <<_ACEOF 4292 cat >conftest.$ac_ext <<_ACEOF
4269 #line 4269 "configure" 4293 #line 4293 "configure"
4270 #include "confdefs.h" 4294 #include "confdefs.h"
4271 #ifdef TIME_WITH_SYS_TIME 4295 #ifdef TIME_WITH_SYS_TIME
4272 #include <sys/time.h> 4296 #include <sys/time.h>
4273 #include <time.h> 4297 #include <time.h>
4274 #else 4298 #else
4288 ; 4312 ;
4289 return 0; 4313 return 0;
4290 } 4314 }
4291 _ACEOF 4315 _ACEOF
4292 rm -f conftest.$ac_objext 4316 rm -f conftest.$ac_objext
4293 if { (eval echo "$as_me:4293: \"$ac_compile\"") >&5 4317 if { (eval echo "$as_me:4317: \"$ac_compile\"") >&5
4294 (eval $ac_compile) 2>&5 4318 (eval $ac_compile) 2>&5
4295 ac_status=$? 4319 ac_status=$?
4296 echo "$as_me:4296: \$? = $ac_status" >&5 4320 echo "$as_me:4320: \$? = $ac_status" >&5
4297 (exit $ac_status); } && 4321 (exit $ac_status); } &&
4298 { ac_try='test -s conftest.$ac_objext' 4322 { ac_try='test -s conftest.$ac_objext'
4299 { (eval echo "$as_me:4299: \"$ac_try\"") >&5 4323 { (eval echo "$as_me:4323: \"$ac_try\"") >&5
4300 (eval $ac_try) 2>&5 4324 (eval $ac_try) 2>&5
4301 ac_status=$? 4325 ac_status=$?
4302 echo "$as_me:4302: \$? = $ac_status" >&5 4326 echo "$as_me:4326: \$? = $ac_status" >&5
4303 (exit $ac_status); }; }; then 4327 (exit $ac_status); }; }; then
4304 emacs_cv_struct_utimbuf=yes 4328 emacs_cv_struct_utimbuf=yes
4305 else 4329 else
4306 echo "$as_me: failed program was:" >&5 4330 echo "$as_me: failed program was:" >&5
4307 cat conftest.$ac_ext >&5 4331 cat conftest.$ac_ext >&5
4308 emacs_cv_struct_utimbuf=no 4332 emacs_cv_struct_utimbuf=no
4309 fi 4333 fi
4310 rm -f conftest.$ac_objext conftest.$ac_ext 4334 rm -f conftest.$ac_objext conftest.$ac_ext
4311 fi 4335 fi
4312 echo "$as_me:4312: result: $emacs_cv_struct_utimbuf" >&5 4336 echo "$as_me:4336: result: $emacs_cv_struct_utimbuf" >&5
4313 echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6 4337 echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6
4314 if test $emacs_cv_struct_utimbuf = yes; then 4338 if test $emacs_cv_struct_utimbuf = yes; then
4315 cat >>confdefs.h <<\EOF 4339 cat >>confdefs.h <<\EOF
4316 #define HAVE_STRUCT_UTIMBUF 1 4340 #define HAVE_STRUCT_UTIMBUF 1
4317 EOF 4341 EOF
4318 4342
4319 fi 4343 fi
4320 4344
4321 echo "$as_me:4321: checking return type of signal handlers" >&5 4345 echo "$as_me:4345: checking return type of signal handlers" >&5
4322 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 4346 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
4323 if test "${ac_cv_type_signal+set}" = set; then 4347 if test "${ac_cv_type_signal+set}" = set; then
4324 echo $ECHO_N "(cached) $ECHO_C" >&6 4348 echo $ECHO_N "(cached) $ECHO_C" >&6
4325 else 4349 else
4326 cat >conftest.$ac_ext <<_ACEOF 4350 cat >conftest.$ac_ext <<_ACEOF
4327 #line 4327 "configure" 4351 #line 4351 "configure"
4328 #include "confdefs.h" 4352 #include "confdefs.h"
4329 #include <sys/types.h> 4353 #include <sys/types.h>
4330 #include <signal.h> 4354 #include <signal.h>
4331 #ifdef signal 4355 #ifdef signal
4332 # undef signal 4356 # undef signal
4344 ; 4368 ;
4345 return 0; 4369 return 0;
4346 } 4370 }
4347 _ACEOF 4371 _ACEOF
4348 rm -f conftest.$ac_objext 4372 rm -f conftest.$ac_objext
4349 if { (eval echo "$as_me:4349: \"$ac_compile\"") >&5 4373 if { (eval echo "$as_me:4373: \"$ac_compile\"") >&5
4350 (eval $ac_compile) 2>&5 4374 (eval $ac_compile) 2>&5
4351 ac_status=$? 4375 ac_status=$?
4352 echo "$as_me:4352: \$? = $ac_status" >&5 4376 echo "$as_me:4376: \$? = $ac_status" >&5
4353 (exit $ac_status); } && 4377 (exit $ac_status); } &&
4354 { ac_try='test -s conftest.$ac_objext' 4378 { ac_try='test -s conftest.$ac_objext'
4355 { (eval echo "$as_me:4355: \"$ac_try\"") >&5 4379 { (eval echo "$as_me:4379: \"$ac_try\"") >&5
4356 (eval $ac_try) 2>&5 4380 (eval $ac_try) 2>&5
4357 ac_status=$? 4381 ac_status=$?
4358 echo "$as_me:4358: \$? = $ac_status" >&5 4382 echo "$as_me:4382: \$? = $ac_status" >&5
4359 (exit $ac_status); }; }; then 4383 (exit $ac_status); }; }; then
4360 ac_cv_type_signal=void 4384 ac_cv_type_signal=void
4361 else 4385 else
4362 echo "$as_me: failed program was:" >&5 4386 echo "$as_me: failed program was:" >&5
4363 cat conftest.$ac_ext >&5 4387 cat conftest.$ac_ext >&5
4364 ac_cv_type_signal=int 4388 ac_cv_type_signal=int
4365 fi 4389 fi
4366 rm -f conftest.$ac_objext conftest.$ac_ext 4390 rm -f conftest.$ac_objext conftest.$ac_ext
4367 fi 4391 fi
4368 echo "$as_me:4368: result: $ac_cv_type_signal" >&5 4392 echo "$as_me:4392: result: $ac_cv_type_signal" >&5
4369 echo "${ECHO_T}$ac_cv_type_signal" >&6 4393 echo "${ECHO_T}$ac_cv_type_signal" >&6
4370 4394
4371 cat >>confdefs.h <<EOF 4395 cat >>confdefs.h <<EOF
4372 #define RETSIGTYPE $ac_cv_type_signal 4396 #define RETSIGTYPE $ac_cv_type_signal
4373 EOF 4397 EOF
4374 4398
4375 echo "$as_me:4375: checking for speed_t" >&5 4399 echo "$as_me:4399: checking for speed_t" >&5
4376 echo $ECHO_N "checking for speed_t... $ECHO_C" >&6 4400 echo $ECHO_N "checking for speed_t... $ECHO_C" >&6
4377 if test "${emacs_cv_speed_t+set}" = set; then 4401 if test "${emacs_cv_speed_t+set}" = set; then
4378 echo $ECHO_N "(cached) $ECHO_C" >&6 4402 echo $ECHO_N "(cached) $ECHO_C" >&6
4379 else 4403 else
4380 cat >conftest.$ac_ext <<_ACEOF 4404 cat >conftest.$ac_ext <<_ACEOF
4381 #line 4381 "configure" 4405 #line 4405 "configure"
4382 #include "confdefs.h" 4406 #include "confdefs.h"
4383 #include <termios.h> 4407 #include <termios.h>
4384 int 4408 int
4385 main () 4409 main ()
4386 { 4410 {
4388 ; 4412 ;
4389 return 0; 4413 return 0;
4390 } 4414 }
4391 _ACEOF 4415 _ACEOF
4392 rm -f conftest.$ac_objext 4416 rm -f conftest.$ac_objext
4393 if { (eval echo "$as_me:4393: \"$ac_compile\"") >&5 4417 if { (eval echo "$as_me:4417: \"$ac_compile\"") >&5
4394 (eval $ac_compile) 2>&5 4418 (eval $ac_compile) 2>&5
4395 ac_status=$? 4419 ac_status=$?
4396 echo "$as_me:4396: \$? = $ac_status" >&5 4420 echo "$as_me:4420: \$? = $ac_status" >&5
4397 (exit $ac_status); } && 4421 (exit $ac_status); } &&
4398 { ac_try='test -s conftest.$ac_objext' 4422 { ac_try='test -s conftest.$ac_objext'
4399 { (eval echo "$as_me:4399: \"$ac_try\"") >&5 4423 { (eval echo "$as_me:4423: \"$ac_try\"") >&5
4400 (eval $ac_try) 2>&5 4424 (eval $ac_try) 2>&5
4401 ac_status=$? 4425 ac_status=$?
4402 echo "$as_me:4402: \$? = $ac_status" >&5 4426 echo "$as_me:4426: \$? = $ac_status" >&5
4403 (exit $ac_status); }; }; then 4427 (exit $ac_status); }; }; then
4404 emacs_cv_speed_t=yes 4428 emacs_cv_speed_t=yes
4405 else 4429 else
4406 echo "$as_me: failed program was:" >&5 4430 echo "$as_me: failed program was:" >&5
4407 cat conftest.$ac_ext >&5 4431 cat conftest.$ac_ext >&5
4408 emacs_cv_speed_t=no 4432 emacs_cv_speed_t=no
4409 fi 4433 fi
4410 rm -f conftest.$ac_objext conftest.$ac_ext 4434 rm -f conftest.$ac_objext conftest.$ac_ext
4411 fi 4435 fi
4412 echo "$as_me:4412: result: $emacs_cv_speed_t" >&5 4436 echo "$as_me:4436: result: $emacs_cv_speed_t" >&5
4413 echo "${ECHO_T}$emacs_cv_speed_t" >&6 4437 echo "${ECHO_T}$emacs_cv_speed_t" >&6
4414 if test $emacs_cv_speed_t = yes; then 4438 if test $emacs_cv_speed_t = yes; then
4415 cat >>confdefs.h <<\EOF 4439 cat >>confdefs.h <<\EOF
4416 #define HAVE_SPEED_T 1 4440 #define HAVE_SPEED_T 1
4417 EOF 4441 EOF
4418 4442
4419 fi 4443 fi
4420 4444
4421 echo "$as_me:4421: checking for struct timeval" >&5 4445 echo "$as_me:4445: checking for struct timeval" >&5
4422 echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6 4446 echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6
4423 if test "${emacs_cv_struct_timeval+set}" = set; then 4447 if test "${emacs_cv_struct_timeval+set}" = set; then
4424 echo $ECHO_N "(cached) $ECHO_C" >&6 4448 echo $ECHO_N "(cached) $ECHO_C" >&6
4425 else 4449 else
4426 cat >conftest.$ac_ext <<_ACEOF 4450 cat >conftest.$ac_ext <<_ACEOF
4427 #line 4427 "configure" 4451 #line 4451 "configure"
4428 #include "confdefs.h" 4452 #include "confdefs.h"
4429 #ifdef TIME_WITH_SYS_TIME 4453 #ifdef TIME_WITH_SYS_TIME
4430 #include <sys/time.h> 4454 #include <sys/time.h>
4431 #include <time.h> 4455 #include <time.h>
4432 #else 4456 #else
4443 ; 4467 ;
4444 return 0; 4468 return 0;
4445 } 4469 }
4446 _ACEOF 4470 _ACEOF
4447 rm -f conftest.$ac_objext 4471 rm -f conftest.$ac_objext
4448 if { (eval echo "$as_me:4448: \"$ac_compile\"") >&5 4472 if { (eval echo "$as_me:4472: \"$ac_compile\"") >&5
4449 (eval $ac_compile) 2>&5 4473 (eval $ac_compile) 2>&5
4450 ac_status=$? 4474 ac_status=$?
4451 echo "$as_me:4451: \$? = $ac_status" >&5 4475 echo "$as_me:4475: \$? = $ac_status" >&5
4452 (exit $ac_status); } && 4476 (exit $ac_status); } &&
4453 { ac_try='test -s conftest.$ac_objext' 4477 { ac_try='test -s conftest.$ac_objext'
4454 { (eval echo "$as_me:4454: \"$ac_try\"") >&5 4478 { (eval echo "$as_me:4478: \"$ac_try\"") >&5
4455 (eval $ac_try) 2>&5 4479 (eval $ac_try) 2>&5
4456 ac_status=$? 4480 ac_status=$?
4457 echo "$as_me:4457: \$? = $ac_status" >&5 4481 echo "$as_me:4481: \$? = $ac_status" >&5
4458 (exit $ac_status); }; }; then 4482 (exit $ac_status); }; }; then
4459 emacs_cv_struct_timeval=yes 4483 emacs_cv_struct_timeval=yes
4460 else 4484 else
4461 echo "$as_me: failed program was:" >&5 4485 echo "$as_me: failed program was:" >&5
4462 cat conftest.$ac_ext >&5 4486 cat conftest.$ac_ext >&5
4463 emacs_cv_struct_timeval=no 4487 emacs_cv_struct_timeval=no
4464 fi 4488 fi
4465 rm -f conftest.$ac_objext conftest.$ac_ext 4489 rm -f conftest.$ac_objext conftest.$ac_ext
4466 fi 4490 fi
4467 echo "$as_me:4467: result: $emacs_cv_struct_timeval" >&5 4491 echo "$as_me:4491: result: $emacs_cv_struct_timeval" >&5
4468 echo "${ECHO_T}$emacs_cv_struct_timeval" >&6 4492 echo "${ECHO_T}$emacs_cv_struct_timeval" >&6
4469 HAVE_TIMEVAL=$emacs_cv_struct_timeval 4493 HAVE_TIMEVAL=$emacs_cv_struct_timeval
4470 if test $emacs_cv_struct_timeval = yes; then 4494 if test $emacs_cv_struct_timeval = yes; then
4471 cat >>confdefs.h <<\EOF 4495 cat >>confdefs.h <<\EOF
4472 #define HAVE_TIMEVAL 1 4496 #define HAVE_TIMEVAL 1
4473 EOF 4497 EOF
4474 4498
4475 fi 4499 fi
4476 4500
4477 echo "$as_me:4477: checking for struct exception" >&5 4501 echo "$as_me:4501: checking for struct exception" >&5
4478 echo $ECHO_N "checking for struct exception... $ECHO_C" >&6 4502 echo $ECHO_N "checking for struct exception... $ECHO_C" >&6
4479 if test "${emacs_cv_struct_exception+set}" = set; then 4503 if test "${emacs_cv_struct_exception+set}" = set; then
4480 echo $ECHO_N "(cached) $ECHO_C" >&6 4504 echo $ECHO_N "(cached) $ECHO_C" >&6
4481 else 4505 else
4482 cat >conftest.$ac_ext <<_ACEOF 4506 cat >conftest.$ac_ext <<_ACEOF
4483 #line 4483 "configure" 4507 #line 4507 "configure"
4484 #include "confdefs.h" 4508 #include "confdefs.h"
4485 #include <math.h> 4509 #include <math.h>
4486 int 4510 int
4487 main () 4511 main ()
4488 { 4512 {
4490 ; 4514 ;
4491 return 0; 4515 return 0;
4492 } 4516 }
4493 _ACEOF 4517 _ACEOF
4494 rm -f conftest.$ac_objext 4518 rm -f conftest.$ac_objext
4495 if { (eval echo "$as_me:4495: \"$ac_compile\"") >&5 4519 if { (eval echo "$as_me:4519: \"$ac_compile\"") >&5
4496 (eval $ac_compile) 2>&5 4520 (eval $ac_compile) 2>&5
4497 ac_status=$? 4521 ac_status=$?
4498 echo "$as_me:4498: \$? = $ac_status" >&5 4522 echo "$as_me:4522: \$? = $ac_status" >&5
4499 (exit $ac_status); } && 4523 (exit $ac_status); } &&
4500 { ac_try='test -s conftest.$ac_objext' 4524 { ac_try='test -s conftest.$ac_objext'
4501 { (eval echo "$as_me:4501: \"$ac_try\"") >&5 4525 { (eval echo "$as_me:4525: \"$ac_try\"") >&5
4502 (eval $ac_try) 2>&5 4526 (eval $ac_try) 2>&5
4503 ac_status=$? 4527 ac_status=$?
4504 echo "$as_me:4504: \$? = $ac_status" >&5 4528 echo "$as_me:4528: \$? = $ac_status" >&5
4505 (exit $ac_status); }; }; then 4529 (exit $ac_status); }; }; then
4506 emacs_cv_struct_exception=yes 4530 emacs_cv_struct_exception=yes
4507 else 4531 else
4508 echo "$as_me: failed program was:" >&5 4532 echo "$as_me: failed program was:" >&5
4509 cat conftest.$ac_ext >&5 4533 cat conftest.$ac_ext >&5
4510 emacs_cv_struct_exception=no 4534 emacs_cv_struct_exception=no
4511 fi 4535 fi
4512 rm -f conftest.$ac_objext conftest.$ac_ext 4536 rm -f conftest.$ac_objext conftest.$ac_ext
4513 fi 4537 fi
4514 echo "$as_me:4514: result: $emacs_cv_struct_exception" >&5 4538 echo "$as_me:4538: result: $emacs_cv_struct_exception" >&5
4515 echo "${ECHO_T}$emacs_cv_struct_exception" >&6 4539 echo "${ECHO_T}$emacs_cv_struct_exception" >&6
4516 HAVE_EXCEPTION=$emacs_cv_struct_exception 4540 HAVE_EXCEPTION=$emacs_cv_struct_exception
4517 if test $emacs_cv_struct_exception != yes; then 4541 if test $emacs_cv_struct_exception != yes; then
4518 cat >>confdefs.h <<\EOF 4542 cat >>confdefs.h <<\EOF
4519 #define NO_MATHERR 1 4543 #define NO_MATHERR 1
4520 EOF 4544 EOF
4521 4545
4522 fi 4546 fi
4523 4547
4524 echo "$as_me:4524: checking whether struct tm is in sys/time.h or time.h" >&5 4548 echo "$as_me:4548: checking whether struct tm is in sys/time.h or time.h" >&5
4525 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 4549 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
4526 if test "${ac_cv_struct_tm+set}" = set; then 4550 if test "${ac_cv_struct_tm+set}" = set; then
4527 echo $ECHO_N "(cached) $ECHO_C" >&6 4551 echo $ECHO_N "(cached) $ECHO_C" >&6
4528 else 4552 else
4529 cat >conftest.$ac_ext <<_ACEOF 4553 cat >conftest.$ac_ext <<_ACEOF
4530 #line 4530 "configure" 4554 #line 4554 "configure"
4531 #include "confdefs.h" 4555 #include "confdefs.h"
4532 #include <sys/types.h> 4556 #include <sys/types.h>
4533 #include <time.h> 4557 #include <time.h>
4534 4558
4535 int 4559 int
4539 ; 4563 ;
4540 return 0; 4564 return 0;
4541 } 4565 }
4542 _ACEOF 4566 _ACEOF
4543 rm -f conftest.$ac_objext 4567 rm -f conftest.$ac_objext
4544 if { (eval echo "$as_me:4544: \"$ac_compile\"") >&5 4568 if { (eval echo "$as_me:4568: \"$ac_compile\"") >&5
4545 (eval $ac_compile) 2>&5 4569 (eval $ac_compile) 2>&5
4546 ac_status=$? 4570 ac_status=$?
4547 echo "$as_me:4547: \$? = $ac_status" >&5 4571 echo "$as_me:4571: \$? = $ac_status" >&5
4548 (exit $ac_status); } && 4572 (exit $ac_status); } &&
4549 { ac_try='test -s conftest.$ac_objext' 4573 { ac_try='test -s conftest.$ac_objext'
4550 { (eval echo "$as_me:4550: \"$ac_try\"") >&5 4574 { (eval echo "$as_me:4574: \"$ac_try\"") >&5
4551 (eval $ac_try) 2>&5 4575 (eval $ac_try) 2>&5
4552 ac_status=$? 4576 ac_status=$?
4553 echo "$as_me:4553: \$? = $ac_status" >&5 4577 echo "$as_me:4577: \$? = $ac_status" >&5
4554 (exit $ac_status); }; }; then 4578 (exit $ac_status); }; }; then
4555 ac_cv_struct_tm=time.h 4579 ac_cv_struct_tm=time.h
4556 else 4580 else
4557 echo "$as_me: failed program was:" >&5 4581 echo "$as_me: failed program was:" >&5
4558 cat conftest.$ac_ext >&5 4582 cat conftest.$ac_ext >&5
4559 ac_cv_struct_tm=sys/time.h 4583 ac_cv_struct_tm=sys/time.h
4560 fi 4584 fi
4561 rm -f conftest.$ac_objext conftest.$ac_ext 4585 rm -f conftest.$ac_objext conftest.$ac_ext
4562 fi 4586 fi
4563 echo "$as_me:4563: result: $ac_cv_struct_tm" >&5 4587 echo "$as_me:4587: result: $ac_cv_struct_tm" >&5
4564 echo "${ECHO_T}$ac_cv_struct_tm" >&6 4588 echo "${ECHO_T}$ac_cv_struct_tm" >&6
4565 if test $ac_cv_struct_tm = sys/time.h; then 4589 if test $ac_cv_struct_tm = sys/time.h; then
4566 4590
4567 cat >>confdefs.h <<\EOF 4591 cat >>confdefs.h <<\EOF
4568 #define TM_IN_SYS_TIME 1 4592 #define TM_IN_SYS_TIME 1
4569 EOF 4593 EOF
4570 4594
4571 fi 4595 fi
4572 4596
4573 echo "$as_me:4573: checking for struct tm.tm_zone" >&5 4597 echo "$as_me:4597: checking for struct tm.tm_zone" >&5
4574 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6 4598 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
4575 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then 4599 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
4576 echo $ECHO_N "(cached) $ECHO_C" >&6 4600 echo $ECHO_N "(cached) $ECHO_C" >&6
4577 else 4601 else
4578 cat >conftest.$ac_ext <<_ACEOF 4602 cat >conftest.$ac_ext <<_ACEOF
4579 #line 4579 "configure" 4603 #line 4603 "configure"
4580 #include "confdefs.h" 4604 #include "confdefs.h"
4581 #include <sys/types.h> 4605 #include <sys/types.h>
4582 #include <$ac_cv_struct_tm> 4606 #include <$ac_cv_struct_tm>
4583 4607
4584 int 4608 int
4590 ; 4614 ;
4591 return 0; 4615 return 0;
4592 } 4616 }
4593 _ACEOF 4617 _ACEOF
4594 rm -f conftest.$ac_objext 4618 rm -f conftest.$ac_objext
4595 if { (eval echo "$as_me:4595: \"$ac_compile\"") >&5 4619 if { (eval echo "$as_me:4619: \"$ac_compile\"") >&5
4596 (eval $ac_compile) 2>&5 4620 (eval $ac_compile) 2>&5
4597 ac_status=$? 4621 ac_status=$?
4598 echo "$as_me:4598: \$? = $ac_status" >&5 4622 echo "$as_me:4622: \$? = $ac_status" >&5
4599 (exit $ac_status); } && 4623 (exit $ac_status); } &&
4600 { ac_try='test -s conftest.$ac_objext' 4624 { ac_try='test -s conftest.$ac_objext'
4601 { (eval echo "$as_me:4601: \"$ac_try\"") >&5 4625 { (eval echo "$as_me:4625: \"$ac_try\"") >&5
4602 (eval $ac_try) 2>&5 4626 (eval $ac_try) 2>&5
4603 ac_status=$? 4627 ac_status=$?
4604 echo "$as_me:4604: \$? = $ac_status" >&5 4628 echo "$as_me:4628: \$? = $ac_status" >&5
4605 (exit $ac_status); }; }; then 4629 (exit $ac_status); }; }; then
4606 ac_cv_member_struct_tm_tm_zone=yes 4630 ac_cv_member_struct_tm_tm_zone=yes
4607 else 4631 else
4608 echo "$as_me: failed program was:" >&5 4632 echo "$as_me: failed program was:" >&5
4609 cat conftest.$ac_ext >&5 4633 cat conftest.$ac_ext >&5
4610 ac_cv_member_struct_tm_tm_zone=no 4634 ac_cv_member_struct_tm_tm_zone=no
4611 fi 4635 fi
4612 rm -f conftest.$ac_objext conftest.$ac_ext 4636 rm -f conftest.$ac_objext conftest.$ac_ext
4613 fi 4637 fi
4614 echo "$as_me:4614: result: $ac_cv_member_struct_tm_tm_zone" >&5 4638 echo "$as_me:4638: result: $ac_cv_member_struct_tm_tm_zone" >&5
4615 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6 4639 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
4616 if test $ac_cv_member_struct_tm_tm_zone = yes; then 4640 if test $ac_cv_member_struct_tm_tm_zone = yes; then
4617 4641
4618 cat >>confdefs.h <<EOF 4642 cat >>confdefs.h <<EOF
4619 #define HAVE_STRUCT_TM_TM_ZONE 1 4643 #define HAVE_STRUCT_TM_TM_ZONE 1
4626 cat >>confdefs.h <<\EOF 4650 cat >>confdefs.h <<\EOF
4627 #define HAVE_TM_ZONE 1 4651 #define HAVE_TM_ZONE 1
4628 EOF 4652 EOF
4629 4653
4630 else 4654 else
4631 echo "$as_me:4631: checking for tzname" >&5 4655 echo "$as_me:4655: checking for tzname" >&5
4632 echo $ECHO_N "checking for tzname... $ECHO_C" >&6 4656 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
4633 if test "${ac_cv_var_tzname+set}" = set; then 4657 if test "${ac_cv_var_tzname+set}" = set; then
4634 echo $ECHO_N "(cached) $ECHO_C" >&6 4658 echo $ECHO_N "(cached) $ECHO_C" >&6
4635 else 4659 else
4636 cat >conftest.$ac_ext <<_ACEOF 4660 cat >conftest.$ac_ext <<_ACEOF
4637 #line 4637 "configure" 4661 #line 4661 "configure"
4638 #include "confdefs.h" 4662 #include "confdefs.h"
4639 #include <time.h> 4663 #include <time.h>
4640 #ifndef tzname /* For SGI. */ 4664 #ifndef tzname /* For SGI. */
4641 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ 4665 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
4642 #endif 4666 #endif
4648 ; 4672 ;
4649 return 0; 4673 return 0;
4650 } 4674 }
4651 _ACEOF 4675 _ACEOF
4652 rm -f conftest.$ac_objext conftest$ac_exeext 4676 rm -f conftest.$ac_objext conftest$ac_exeext
4653 if { (eval echo "$as_me:4653: \"$ac_link\"") >&5 4677 if { (eval echo "$as_me:4677: \"$ac_link\"") >&5
4654 (eval $ac_link) 2>&5 4678 (eval $ac_link) 2>&5
4655 ac_status=$? 4679 ac_status=$?
4656 echo "$as_me:4656: \$? = $ac_status" >&5 4680 echo "$as_me:4680: \$? = $ac_status" >&5
4657 (exit $ac_status); } && 4681 (exit $ac_status); } &&
4658 { ac_try='test -s conftest$ac_exeext' 4682 { ac_try='test -s conftest$ac_exeext'
4659 { (eval echo "$as_me:4659: \"$ac_try\"") >&5 4683 { (eval echo "$as_me:4683: \"$ac_try\"") >&5
4660 (eval $ac_try) 2>&5 4684 (eval $ac_try) 2>&5
4661 ac_status=$? 4685 ac_status=$?
4662 echo "$as_me:4662: \$? = $ac_status" >&5 4686 echo "$as_me:4686: \$? = $ac_status" >&5
4663 (exit $ac_status); }; }; then 4687 (exit $ac_status); }; }; then
4664 ac_cv_var_tzname=yes 4688 ac_cv_var_tzname=yes
4665 else 4689 else
4666 echo "$as_me: failed program was:" >&5 4690 echo "$as_me: failed program was:" >&5
4667 cat conftest.$ac_ext >&5 4691 cat conftest.$ac_ext >&5
4668 ac_cv_var_tzname=no 4692 ac_cv_var_tzname=no
4669 fi 4693 fi
4670 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4694 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4671 fi 4695 fi
4672 echo "$as_me:4672: result: $ac_cv_var_tzname" >&5 4696 echo "$as_me:4696: result: $ac_cv_var_tzname" >&5
4673 echo "${ECHO_T}$ac_cv_var_tzname" >&6 4697 echo "${ECHO_T}$ac_cv_var_tzname" >&6
4674 if test $ac_cv_var_tzname = yes; then 4698 if test $ac_cv_var_tzname = yes; then
4675 4699
4676 cat >>confdefs.h <<\EOF 4700 cat >>confdefs.h <<\EOF
4677 #define HAVE_TZNAME 1 4701 #define HAVE_TZNAME 1
4678 EOF 4702 EOF
4679 4703
4680 fi 4704 fi
4681 fi 4705 fi
4682 4706
4683 echo "$as_me:4683: checking for tm_gmtoff in struct tm" >&5 4707 echo "$as_me:4707: checking for tm_gmtoff in struct tm" >&5
4684 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6 4708 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
4685 if test "${emacs_cv_tm_gmtoff+set}" = set; then 4709 if test "${emacs_cv_tm_gmtoff+set}" = set; then
4686 echo $ECHO_N "(cached) $ECHO_C" >&6 4710 echo $ECHO_N "(cached) $ECHO_C" >&6
4687 else 4711 else
4688 cat >conftest.$ac_ext <<_ACEOF 4712 cat >conftest.$ac_ext <<_ACEOF
4689 #line 4689 "configure" 4713 #line 4713 "configure"
4690 #include "confdefs.h" 4714 #include "confdefs.h"
4691 #include <time.h> 4715 #include <time.h>
4692 int 4716 int
4693 main () 4717 main ()
4694 { 4718 {
4696 ; 4720 ;
4697 return 0; 4721 return 0;
4698 } 4722 }
4699 _ACEOF 4723 _ACEOF
4700 rm -f conftest.$ac_objext conftest$ac_exeext 4724 rm -f conftest.$ac_objext conftest$ac_exeext
4701 if { (eval echo "$as_me:4701: \"$ac_link\"") >&5 4725 if { (eval echo "$as_me:4725: \"$ac_link\"") >&5
4702 (eval $ac_link) 2>&5 4726 (eval $ac_link) 2>&5
4703 ac_status=$? 4727 ac_status=$?
4704 echo "$as_me:4704: \$? = $ac_status" >&5 4728 echo "$as_me:4728: \$? = $ac_status" >&5
4705 (exit $ac_status); } && 4729 (exit $ac_status); } &&
4706 { ac_try='test -s conftest$ac_exeext' 4730 { ac_try='test -s conftest$ac_exeext'
4707 { (eval echo "$as_me:4707: \"$ac_try\"") >&5 4731 { (eval echo "$as_me:4731: \"$ac_try\"") >&5
4708 (eval $ac_try) 2>&5 4732 (eval $ac_try) 2>&5
4709 ac_status=$? 4733 ac_status=$?
4710 echo "$as_me:4710: \$? = $ac_status" >&5 4734 echo "$as_me:4734: \$? = $ac_status" >&5
4711 (exit $ac_status); }; }; then 4735 (exit $ac_status); }; }; then
4712 emacs_cv_tm_gmtoff=yes 4736 emacs_cv_tm_gmtoff=yes
4713 else 4737 else
4714 echo "$as_me: failed program was:" >&5 4738 echo "$as_me: failed program was:" >&5
4715 cat conftest.$ac_ext >&5 4739 cat conftest.$ac_ext >&5
4716 emacs_cv_tm_gmtoff=no 4740 emacs_cv_tm_gmtoff=no
4717 fi 4741 fi
4718 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4742 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4719 fi 4743 fi
4720 echo "$as_me:4720: result: $emacs_cv_tm_gmtoff" >&5 4744 echo "$as_me:4744: result: $emacs_cv_tm_gmtoff" >&5
4721 echo "${ECHO_T}$emacs_cv_tm_gmtoff" >&6 4745 echo "${ECHO_T}$emacs_cv_tm_gmtoff" >&6
4722 if test $emacs_cv_tm_gmtoff = yes; then 4746 if test $emacs_cv_tm_gmtoff = yes; then
4723 cat >>confdefs.h <<\EOF 4747 cat >>confdefs.h <<\EOF
4724 #define HAVE_TM_GMTOFF 1 4748 #define HAVE_TM_GMTOFF 1
4725 EOF 4749 EOF
4726 4750
4727 fi 4751 fi
4728 4752
4729 echo "$as_me:4729: checking for $CC option to accept ANSI C" >&5 4753 echo "$as_me:4753: checking for $CC option to accept ANSI C" >&5
4730 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 4754 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
4731 if test "${ac_cv_prog_cc_stdc+set}" = set; then 4755 if test "${ac_cv_prog_cc_stdc+set}" = set; then
4732 echo $ECHO_N "(cached) $ECHO_C" >&6 4756 echo $ECHO_N "(cached) $ECHO_C" >&6
4733 else 4757 else
4734 ac_cv_prog_cc_stdc=no 4758 ac_cv_prog_cc_stdc=no
4735 ac_save_CC=$CC 4759 ac_save_CC=$CC
4736 cat >conftest.$ac_ext <<_ACEOF 4760 cat >conftest.$ac_ext <<_ACEOF
4737 #line 4737 "configure" 4761 #line 4761 "configure"
4738 #include "confdefs.h" 4762 #include "confdefs.h"
4739 #include <stdarg.h> 4763 #include <stdarg.h>
4740 #include <stdio.h> 4764 #include <stdio.h>
4741 #include <sys/types.h> 4765 #include <sys/types.h>
4742 #include <sys/stat.h> 4766 #include <sys/stat.h>
4781 # SVR4 -Xc -D__EXTENSIONS__ 4805 # SVR4 -Xc -D__EXTENSIONS__
4782 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4806 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4783 do 4807 do
4784 CC="$ac_save_CC $ac_arg" 4808 CC="$ac_save_CC $ac_arg"
4785 rm -f conftest.$ac_objext 4809 rm -f conftest.$ac_objext
4786 if { (eval echo "$as_me:4786: \"$ac_compile\"") >&5 4810 if { (eval echo "$as_me:4810: \"$ac_compile\"") >&5
4787 (eval $ac_compile) 2>&5 4811 (eval $ac_compile) 2>&5
4788 ac_status=$? 4812 ac_status=$?
4789 echo "$as_me:4789: \$? = $ac_status" >&5 4813 echo "$as_me:4813: \$? = $ac_status" >&5
4790 (exit $ac_status); } && 4814 (exit $ac_status); } &&
4791 { ac_try='test -s conftest.$ac_objext' 4815 { ac_try='test -s conftest.$ac_objext'
4792 { (eval echo "$as_me:4792: \"$ac_try\"") >&5 4816 { (eval echo "$as_me:4816: \"$ac_try\"") >&5
4793 (eval $ac_try) 2>&5 4817 (eval $ac_try) 2>&5
4794 ac_status=$? 4818 ac_status=$?
4795 echo "$as_me:4795: \$? = $ac_status" >&5 4819 echo "$as_me:4819: \$? = $ac_status" >&5
4796 (exit $ac_status); }; }; then 4820 (exit $ac_status); }; }; then
4797 ac_cv_prog_cc_stdc=$ac_arg 4821 ac_cv_prog_cc_stdc=$ac_arg
4798 break 4822 break
4799 else 4823 else
4800 echo "$as_me: failed program was:" >&5 4824 echo "$as_me: failed program was:" >&5
4807 4831
4808 fi 4832 fi
4809 4833
4810 case "x$ac_cv_prog_cc_stdc" in 4834 case "x$ac_cv_prog_cc_stdc" in
4811 x|xno) 4835 x|xno)
4812 echo "$as_me:4812: result: none needed" >&5 4836 echo "$as_me:4836: result: none needed" >&5
4813 echo "${ECHO_T}none needed" >&6 ;; 4837 echo "${ECHO_T}none needed" >&6 ;;
4814 *) 4838 *)
4815 echo "$as_me:4815: result: $ac_cv_prog_cc_stdc" >&5 4839 echo "$as_me:4839: result: $ac_cv_prog_cc_stdc" >&5
4816 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 4840 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
4817 CC="$CC $ac_cv_prog_cc_stdc" ;; 4841 CC="$CC $ac_cv_prog_cc_stdc" ;;
4818 esac 4842 esac
4819 4843
4820 echo "$as_me:4820: checking for function prototypes" >&5 4844 echo "$as_me:4844: checking for function prototypes" >&5
4821 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6 4845 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
4822 if test "$ac_cv_prog_cc_stdc" != no; then 4846 if test "$ac_cv_prog_cc_stdc" != no; then
4823 echo "$as_me:4823: result: yes" >&5 4847 echo "$as_me:4847: result: yes" >&5
4824 echo "${ECHO_T}yes" >&6 4848 echo "${ECHO_T}yes" >&6
4825 4849
4826 cat >>confdefs.h <<\EOF 4850 cat >>confdefs.h <<\EOF
4827 #define PROTOTYPES 1 4851 #define PROTOTYPES 1
4828 EOF 4852 EOF
4829 4853
4830 else 4854 else
4831 echo "$as_me:4831: result: no" >&5 4855 echo "$as_me:4855: result: no" >&5
4832 echo "${ECHO_T}no" >&6 4856 echo "${ECHO_T}no" >&6
4833 fi 4857 fi
4834 4858
4835 echo "$as_me:4835: checking for working volatile" >&5 4859 echo "$as_me:4859: checking for working volatile" >&5
4836 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6 4860 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6
4837 if test "${ac_cv_c_volatile+set}" = set; then 4861 if test "${ac_cv_c_volatile+set}" = set; then
4838 echo $ECHO_N "(cached) $ECHO_C" >&6 4862 echo $ECHO_N "(cached) $ECHO_C" >&6
4839 else 4863 else
4840 cat >conftest.$ac_ext <<_ACEOF 4864 cat >conftest.$ac_ext <<_ACEOF
4841 #line 4841 "configure" 4865 #line 4865 "configure"
4842 #include "confdefs.h" 4866 #include "confdefs.h"
4843 4867
4844 int 4868 int
4845 main () 4869 main ()
4846 { 4870 {
4850 ; 4874 ;
4851 return 0; 4875 return 0;
4852 } 4876 }
4853 _ACEOF 4877 _ACEOF
4854 rm -f conftest.$ac_objext 4878 rm -f conftest.$ac_objext
4855 if { (eval echo "$as_me:4855: \"$ac_compile\"") >&5 4879 if { (eval echo "$as_me:4879: \"$ac_compile\"") >&5
4856 (eval $ac_compile) 2>&5 4880 (eval $ac_compile) 2>&5
4857 ac_status=$? 4881 ac_status=$?
4858 echo "$as_me:4858: \$? = $ac_status" >&5 4882 echo "$as_me:4882: \$? = $ac_status" >&5
4859 (exit $ac_status); } && 4883 (exit $ac_status); } &&
4860 { ac_try='test -s conftest.$ac_objext' 4884 { ac_try='test -s conftest.$ac_objext'
4861 { (eval echo "$as_me:4861: \"$ac_try\"") >&5 4885 { (eval echo "$as_me:4885: \"$ac_try\"") >&5
4862 (eval $ac_try) 2>&5 4886 (eval $ac_try) 2>&5
4863 ac_status=$? 4887 ac_status=$?
4864 echo "$as_me:4864: \$? = $ac_status" >&5 4888 echo "$as_me:4888: \$? = $ac_status" >&5
4865 (exit $ac_status); }; }; then 4889 (exit $ac_status); }; }; then
4866 ac_cv_c_volatile=yes 4890 ac_cv_c_volatile=yes
4867 else 4891 else
4868 echo "$as_me: failed program was:" >&5 4892 echo "$as_me: failed program was:" >&5
4869 cat conftest.$ac_ext >&5 4893 cat conftest.$ac_ext >&5
4870 ac_cv_c_volatile=no 4894 ac_cv_c_volatile=no
4871 fi 4895 fi
4872 rm -f conftest.$ac_objext conftest.$ac_ext 4896 rm -f conftest.$ac_objext conftest.$ac_ext
4873 fi 4897 fi
4874 echo "$as_me:4874: result: $ac_cv_c_volatile" >&5 4898 echo "$as_me:4898: result: $ac_cv_c_volatile" >&5
4875 echo "${ECHO_T}$ac_cv_c_volatile" >&6 4899 echo "${ECHO_T}$ac_cv_c_volatile" >&6
4876 if test $ac_cv_c_volatile = no; then 4900 if test $ac_cv_c_volatile = no; then
4877 4901
4878 cat >>confdefs.h <<\EOF 4902 cat >>confdefs.h <<\EOF
4879 #define volatile 4903 #define volatile
4880 EOF 4904 EOF
4881 4905
4882 fi 4906 fi
4883 4907
4884 echo "$as_me:4884: checking for an ANSI C-conforming const" >&5 4908 echo "$as_me:4908: checking for an ANSI C-conforming const" >&5
4885 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 4909 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
4886 if test "${ac_cv_c_const+set}" = set; then 4910 if test "${ac_cv_c_const+set}" = set; then
4887 echo $ECHO_N "(cached) $ECHO_C" >&6 4911 echo $ECHO_N "(cached) $ECHO_C" >&6
4888 else 4912 else
4889 cat >conftest.$ac_ext <<_ACEOF 4913 cat >conftest.$ac_ext <<_ACEOF
4890 #line 4890 "configure" 4914 #line 4914 "configure"
4891 #include "confdefs.h" 4915 #include "confdefs.h"
4892 4916
4893 int 4917 int
4894 main () 4918 main ()
4895 { 4919 {
4943 ; 4967 ;
4944 return 0; 4968 return 0;
4945 } 4969 }
4946 _ACEOF 4970 _ACEOF
4947 rm -f conftest.$ac_objext 4971 rm -f conftest.$ac_objext
4948 if { (eval echo "$as_me:4948: \"$ac_compile\"") >&5 4972 if { (eval echo "$as_me:4972: \"$ac_compile\"") >&5
4949 (eval $ac_compile) 2>&5 4973 (eval $ac_compile) 2>&5
4950 ac_status=$? 4974 ac_status=$?
4951 echo "$as_me:4951: \$? = $ac_status" >&5 4975 echo "$as_me:4975: \$? = $ac_status" >&5
4952 (exit $ac_status); } && 4976 (exit $ac_status); } &&
4953 { ac_try='test -s conftest.$ac_objext' 4977 { ac_try='test -s conftest.$ac_objext'
4954 { (eval echo "$as_me:4954: \"$ac_try\"") >&5 4978 { (eval echo "$as_me:4978: \"$ac_try\"") >&5
4955 (eval $ac_try) 2>&5 4979 (eval $ac_try) 2>&5
4956 ac_status=$? 4980 ac_status=$?
4957 echo "$as_me:4957: \$? = $ac_status" >&5 4981 echo "$as_me:4981: \$? = $ac_status" >&5
4958 (exit $ac_status); }; }; then 4982 (exit $ac_status); }; }; then
4959 ac_cv_c_const=yes 4983 ac_cv_c_const=yes
4960 else 4984 else
4961 echo "$as_me: failed program was:" >&5 4985 echo "$as_me: failed program was:" >&5
4962 cat conftest.$ac_ext >&5 4986 cat conftest.$ac_ext >&5
4963 ac_cv_c_const=no 4987 ac_cv_c_const=no
4964 fi 4988 fi
4965 rm -f conftest.$ac_objext conftest.$ac_ext 4989 rm -f conftest.$ac_objext conftest.$ac_ext
4966 fi 4990 fi
4967 echo "$as_me:4967: result: $ac_cv_c_const" >&5 4991 echo "$as_me:4991: result: $ac_cv_c_const" >&5
4968 echo "${ECHO_T}$ac_cv_c_const" >&6 4992 echo "${ECHO_T}$ac_cv_c_const" >&6
4969 if test $ac_cv_c_const = no; then 4993 if test $ac_cv_c_const = no; then
4970 4994
4971 cat >>confdefs.h <<\EOF 4995 cat >>confdefs.h <<\EOF
4972 #define const 4996 #define const
4973 EOF 4997 EOF
4974 4998
4975 fi 4999 fi
4976 5000
4977 echo "$as_me:4977: checking for void * support" >&5 5001 echo "$as_me:5001: checking for void * support" >&5
4978 echo $ECHO_N "checking for void * support... $ECHO_C" >&6 5002 echo $ECHO_N "checking for void * support... $ECHO_C" >&6
4979 if test "${emacs_cv_void_star+set}" = set; then 5003 if test "${emacs_cv_void_star+set}" = set; then
4980 echo $ECHO_N "(cached) $ECHO_C" >&6 5004 echo $ECHO_N "(cached) $ECHO_C" >&6
4981 else 5005 else
4982 cat >conftest.$ac_ext <<_ACEOF 5006 cat >conftest.$ac_ext <<_ACEOF
4983 #line 4983 "configure" 5007 #line 5007 "configure"
4984 #include "confdefs.h" 5008 #include "confdefs.h"
4985 5009
4986 int 5010 int
4987 main () 5011 main ()
4988 { 5012 {
4990 ; 5014 ;
4991 return 0; 5015 return 0;
4992 } 5016 }
4993 _ACEOF 5017 _ACEOF
4994 rm -f conftest.$ac_objext 5018 rm -f conftest.$ac_objext
4995 if { (eval echo "$as_me:4995: \"$ac_compile\"") >&5 5019 if { (eval echo "$as_me:5019: \"$ac_compile\"") >&5
4996 (eval $ac_compile) 2>&5 5020 (eval $ac_compile) 2>&5
4997 ac_status=$? 5021 ac_status=$?
4998 echo "$as_me:4998: \$? = $ac_status" >&5 5022 echo "$as_me:5022: \$? = $ac_status" >&5
4999 (exit $ac_status); } && 5023 (exit $ac_status); } &&
5000 { ac_try='test -s conftest.$ac_objext' 5024 { ac_try='test -s conftest.$ac_objext'
5001 { (eval echo "$as_me:5001: \"$ac_try\"") >&5 5025 { (eval echo "$as_me:5025: \"$ac_try\"") >&5
5002 (eval $ac_try) 2>&5 5026 (eval $ac_try) 2>&5
5003 ac_status=$? 5027 ac_status=$?
5004 echo "$as_me:5004: \$? = $ac_status" >&5 5028 echo "$as_me:5028: \$? = $ac_status" >&5
5005 (exit $ac_status); }; }; then 5029 (exit $ac_status); }; }; then
5006 emacs_cv_void_star=yes 5030 emacs_cv_void_star=yes
5007 else 5031 else
5008 echo "$as_me: failed program was:" >&5 5032 echo "$as_me: failed program was:" >&5
5009 cat conftest.$ac_ext >&5 5033 cat conftest.$ac_ext >&5
5010 emacs_cv_void_star=no 5034 emacs_cv_void_star=no
5011 fi 5035 fi
5012 rm -f conftest.$ac_objext conftest.$ac_ext 5036 rm -f conftest.$ac_objext conftest.$ac_ext
5013 fi 5037 fi
5014 echo "$as_me:5014: result: $emacs_cv_void_star" >&5 5038 echo "$as_me:5038: result: $emacs_cv_void_star" >&5
5015 echo "${ECHO_T}$emacs_cv_void_star" >&6 5039 echo "${ECHO_T}$emacs_cv_void_star" >&6
5016 if test $emacs_cv_void_star = yes; then 5040 if test $emacs_cv_void_star = yes; then
5017 cat >>confdefs.h <<\EOF 5041 cat >>confdefs.h <<\EOF
5018 #define POINTER_TYPE void 5042 #define POINTER_TYPE void
5019 EOF 5043 EOF
5023 #define POINTER_TYPE char 5047 #define POINTER_TYPE char
5024 EOF 5048 EOF
5025 5049
5026 fi 5050 fi
5027 5051
5028 echo "$as_me:5028: checking whether ${MAKE-make} sets \${MAKE}" >&5 5052 echo "$as_me:5052: checking whether ${MAKE-make} sets \${MAKE}" >&5
5029 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6 5053 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
5030 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` 5054 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
5031 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 5055 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
5032 echo $ECHO_N "(cached) $ECHO_C" >&6 5056 echo $ECHO_N "(cached) $ECHO_C" >&6
5033 else 5057 else
5043 eval ac_cv_prog_make_${ac_make}_set=no 5067 eval ac_cv_prog_make_${ac_make}_set=no
5044 fi 5068 fi
5045 rm -f conftest.make 5069 rm -f conftest.make
5046 fi 5070 fi
5047 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 5071 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
5048 echo "$as_me:5048: result: yes" >&5 5072 echo "$as_me:5072: result: yes" >&5
5049 echo "${ECHO_T}yes" >&6 5073 echo "${ECHO_T}yes" >&6
5050 SET_MAKE= 5074 SET_MAKE=
5051 else 5075 else
5052 echo "$as_me:5052: result: no" >&5 5076 echo "$as_me:5076: result: no" >&5
5053 echo "${ECHO_T}no" >&6 5077 echo "${ECHO_T}no" >&6
5054 SET_MAKE="MAKE=${MAKE-make}" 5078 SET_MAKE="MAKE=${MAKE-make}"
5055 fi 5079 fi
5056 5080
5057 echo "$as_me:5057: checking for long file names" >&5 5081 echo "$as_me:5081: checking for long file names" >&5
5058 echo $ECHO_N "checking for long file names... $ECHO_C" >&6 5082 echo $ECHO_N "checking for long file names... $ECHO_C" >&6
5059 if test "${ac_cv_sys_long_file_names+set}" = set; then 5083 if test "${ac_cv_sys_long_file_names+set}" = set; then
5060 echo $ECHO_N "(cached) $ECHO_C" >&6 5084 echo $ECHO_N "(cached) $ECHO_C" >&6
5061 else 5085 else
5062 ac_cv_sys_long_file_names=yes 5086 ac_cv_sys_long_file_names=yes
5091 break 5115 break
5092 fi 5116 fi
5093 rm -rf $ac_xdir 2>/dev/null 5117 rm -rf $ac_xdir 2>/dev/null
5094 done 5118 done
5095 fi 5119 fi
5096 echo "$as_me:5096: result: $ac_cv_sys_long_file_names" >&5 5120 echo "$as_me:5120: result: $ac_cv_sys_long_file_names" >&5
5097 echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6 5121 echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6
5098 if test $ac_cv_sys_long_file_names = yes; then 5122 if test $ac_cv_sys_long_file_names = yes; then
5099 5123
5100 cat >>confdefs.h <<\EOF 5124 cat >>confdefs.h <<\EOF
5101 #define HAVE_LONG_FILE_NAMES 1 5125 #define HAVE_LONG_FILE_NAMES 1
5103 5127
5104 fi 5128 fi
5105 5129
5106 #### Choose a window system. 5130 #### Choose a window system.
5107 5131
5108 echo "$as_me:5108: checking for X" >&5 5132 echo "$as_me:5132: checking for X" >&5
5109 echo $ECHO_N "checking for X... $ECHO_C" >&6 5133 echo $ECHO_N "checking for X... $ECHO_C" >&6
5110 5134
5111 # Check whether --with-x or --without-x was given. 5135 # Check whether --with-x or --without-x was given.
5112 if test "${with_x+set}" = set; then 5136 if test "${with_x+set}" = set; then
5113 withval="$with_x" 5137 withval="$with_x"
5200 5224
5201 if test "$ac_x_includes" = no; then 5225 if test "$ac_x_includes" = no; then
5202 # Guess where to find include files, by looking for Intrinsic.h. 5226 # Guess where to find include files, by looking for Intrinsic.h.
5203 # First, try using that file with no special directory specified. 5227 # First, try using that file with no special directory specified.
5204 cat >conftest.$ac_ext <<_ACEOF 5228 cat >conftest.$ac_ext <<_ACEOF
5205 #line 5205 "configure" 5229 #line 5229 "configure"
5206 #include "confdefs.h" 5230 #include "confdefs.h"
5207 #include <X11/Intrinsic.h> 5231 #include <X11/Intrinsic.h>
5208 _ACEOF 5232 _ACEOF
5209 if { (eval echo "$as_me:5209: \"$ac_cpp conftest.$ac_ext\"") >&5 5233 if { (eval echo "$as_me:5233: \"$ac_cpp conftest.$ac_ext\"") >&5
5210 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5234 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5211 ac_status=$? 5235 ac_status=$?
5212 egrep -v '^ *\+' conftest.er1 >conftest.err 5236 egrep -v '^ *\+' conftest.er1 >conftest.err
5213 rm -f conftest.er1 5237 rm -f conftest.er1
5214 cat conftest.err >&5 5238 cat conftest.err >&5
5215 echo "$as_me:5215: \$? = $ac_status" >&5 5239 echo "$as_me:5239: \$? = $ac_status" >&5
5216 (exit $ac_status); } >/dev/null; then 5240 (exit $ac_status); } >/dev/null; then
5217 if test -s conftest.err; then 5241 if test -s conftest.err; then
5218 ac_cpp_err=$ac_c_preproc_warn_flag 5242 ac_cpp_err=$ac_c_preproc_warn_flag
5219 else 5243 else
5220 ac_cpp_err= 5244 ac_cpp_err=
5243 # See if we find them without any special options. 5267 # See if we find them without any special options.
5244 # Don't add to $LIBS permanently. 5268 # Don't add to $LIBS permanently.
5245 ac_save_LIBS=$LIBS 5269 ac_save_LIBS=$LIBS
5246 LIBS="-lXt $LIBS" 5270 LIBS="-lXt $LIBS"
5247 cat >conftest.$ac_ext <<_ACEOF 5271 cat >conftest.$ac_ext <<_ACEOF
5248 #line 5248 "configure" 5272 #line 5272 "configure"
5249 #include "confdefs.h" 5273 #include "confdefs.h"
5250 #include <X11/Intrinsic.h> 5274 #include <X11/Intrinsic.h>
5251 int 5275 int
5252 main () 5276 main ()
5253 { 5277 {
5255 ; 5279 ;
5256 return 0; 5280 return 0;
5257 } 5281 }
5258 _ACEOF 5282 _ACEOF
5259 rm -f conftest.$ac_objext conftest$ac_exeext 5283 rm -f conftest.$ac_objext conftest$ac_exeext
5260 if { (eval echo "$as_me:5260: \"$ac_link\"") >&5 5284 if { (eval echo "$as_me:5284: \"$ac_link\"") >&5
5261 (eval $ac_link) 2>&5 5285 (eval $ac_link) 2>&5
5262 ac_status=$? 5286 ac_status=$?
5263 echo "$as_me:5263: \$? = $ac_status" >&5 5287 echo "$as_me:5287: \$? = $ac_status" >&5
5264 (exit $ac_status); } && 5288 (exit $ac_status); } &&
5265 { ac_try='test -s conftest$ac_exeext' 5289 { ac_try='test -s conftest$ac_exeext'
5266 { (eval echo "$as_me:5266: \"$ac_try\"") >&5 5290 { (eval echo "$as_me:5290: \"$ac_try\"") >&5
5267 (eval $ac_try) 2>&5 5291 (eval $ac_try) 2>&5
5268 ac_status=$? 5292 ac_status=$?
5269 echo "$as_me:5269: \$? = $ac_status" >&5 5293 echo "$as_me:5293: \$? = $ac_status" >&5
5270 (exit $ac_status); }; }; then 5294 (exit $ac_status); }; }; then
5271 LIBS=$ac_save_LIBS 5295 LIBS=$ac_save_LIBS
5272 # We can link X programs with no special library path. 5296 # We can link X programs with no special library path.
5273 ac_x_libraries= 5297 ac_x_libraries=
5274 else 5298 else
5302 fi 5326 fi
5303 eval "$ac_cv_have_x" 5327 eval "$ac_cv_have_x"
5304 fi # $with_x != no 5328 fi # $with_x != no
5305 5329
5306 if test "$have_x" != yes; then 5330 if test "$have_x" != yes; then
5307 echo "$as_me:5307: result: $have_x" >&5 5331 echo "$as_me:5331: result: $have_x" >&5
5308 echo "${ECHO_T}$have_x" >&6 5332 echo "${ECHO_T}$have_x" >&6
5309 no_x=yes 5333 no_x=yes
5310 else 5334 else
5311 # If each of the values was on the command line, it overrides each guess. 5335 # If each of the values was on the command line, it overrides each guess.
5312 test "x$x_includes" = xNONE && x_includes=$ac_x_includes 5336 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
5313 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries 5337 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
5314 # Update the cache value to reflect the command line values. 5338 # Update the cache value to reflect the command line values.
5315 ac_cv_have_x="have_x=yes \ 5339 ac_cv_have_x="have_x=yes \
5316 ac_x_includes=$x_includes ac_x_libraries=$x_libraries" 5340 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
5317 echo "$as_me:5317: result: libraries $x_libraries, headers $x_includes" >&5 5341 echo "$as_me:5341: result: libraries $x_libraries, headers $x_includes" >&5
5318 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6 5342 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
5319 fi 5343 fi
5320 5344
5321 if test "$no_x" = yes; then 5345 if test "$no_x" = yes; then
5322 window_system=none 5346 window_system=none
5410 5434
5411 # Do the opsystem or machine files prohibit the use of the GNU malloc? 5435 # Do the opsystem or machine files prohibit the use of the GNU malloc?
5412 # Assume not, until told otherwise. 5436 # Assume not, until told otherwise.
5413 GNU_MALLOC=yes 5437 GNU_MALLOC=yes
5414 doug_lea_malloc=yes 5438 doug_lea_malloc=yes
5415 echo "$as_me:5415: checking for malloc_get_state" >&5 5439 echo "$as_me:5439: checking for malloc_get_state" >&5
5416 echo $ECHO_N "checking for malloc_get_state... $ECHO_C" >&6 5440 echo $ECHO_N "checking for malloc_get_state... $ECHO_C" >&6
5417 if test "${ac_cv_func_malloc_get_state+set}" = set; then 5441 if test "${ac_cv_func_malloc_get_state+set}" = set; then
5418 echo $ECHO_N "(cached) $ECHO_C" >&6 5442 echo $ECHO_N "(cached) $ECHO_C" >&6
5419 else 5443 else
5420 cat >conftest.$ac_ext <<_ACEOF 5444 cat >conftest.$ac_ext <<_ACEOF
5421 #line 5421 "configure" 5445 #line 5445 "configure"
5422 #include "confdefs.h" 5446 #include "confdefs.h"
5423 /* System header to define __stub macros and hopefully few prototypes, 5447 /* System header to define __stub macros and hopefully few prototypes,
5424 which can conflict with char malloc_get_state (); below. */ 5448 which can conflict with char malloc_get_state (); below. */
5425 #include <assert.h> 5449 #include <assert.h>
5426 /* Override any gcc2 internal prototype to avoid an error. */ 5450 /* Override any gcc2 internal prototype to avoid an error. */
5447 ; 5471 ;
5448 return 0; 5472 return 0;
5449 } 5473 }
5450 _ACEOF 5474 _ACEOF
5451 rm -f conftest.$ac_objext conftest$ac_exeext 5475 rm -f conftest.$ac_objext conftest$ac_exeext
5452 if { (eval echo "$as_me:5452: \"$ac_link\"") >&5 5476 if { (eval echo "$as_me:5476: \"$ac_link\"") >&5
5453 (eval $ac_link) 2>&5 5477 (eval $ac_link) 2>&5
5454 ac_status=$? 5478 ac_status=$?
5455 echo "$as_me:5455: \$? = $ac_status" >&5 5479 echo "$as_me:5479: \$? = $ac_status" >&5
5456 (exit $ac_status); } && 5480 (exit $ac_status); } &&
5457 { ac_try='test -s conftest$ac_exeext' 5481 { ac_try='test -s conftest$ac_exeext'
5458 { (eval echo "$as_me:5458: \"$ac_try\"") >&5 5482 { (eval echo "$as_me:5482: \"$ac_try\"") >&5
5459 (eval $ac_try) 2>&5 5483 (eval $ac_try) 2>&5
5460 ac_status=$? 5484 ac_status=$?
5461 echo "$as_me:5461: \$? = $ac_status" >&5 5485 echo "$as_me:5485: \$? = $ac_status" >&5
5462 (exit $ac_status); }; }; then 5486 (exit $ac_status); }; }; then
5463 ac_cv_func_malloc_get_state=yes 5487 ac_cv_func_malloc_get_state=yes
5464 else 5488 else
5465 echo "$as_me: failed program was:" >&5 5489 echo "$as_me: failed program was:" >&5
5466 cat conftest.$ac_ext >&5 5490 cat conftest.$ac_ext >&5
5467 ac_cv_func_malloc_get_state=no 5491 ac_cv_func_malloc_get_state=no
5468 fi 5492 fi
5469 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5493 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5470 fi 5494 fi
5471 echo "$as_me:5471: result: $ac_cv_func_malloc_get_state" >&5 5495 echo "$as_me:5495: result: $ac_cv_func_malloc_get_state" >&5
5472 echo "${ECHO_T}$ac_cv_func_malloc_get_state" >&6 5496 echo "${ECHO_T}$ac_cv_func_malloc_get_state" >&6
5473 if test $ac_cv_func_malloc_get_state = yes; then 5497 if test $ac_cv_func_malloc_get_state = yes; then
5474 : 5498 :
5475 else 5499 else
5476 doug_lea_malloc=no 5500 doug_lea_malloc=no
5477 fi 5501 fi
5478 5502
5479 echo "$as_me:5479: checking for malloc_set_state" >&5 5503 echo "$as_me:5503: checking for malloc_set_state" >&5
5480 echo $ECHO_N "checking for malloc_set_state... $ECHO_C" >&6 5504 echo $ECHO_N "checking for malloc_set_state... $ECHO_C" >&6
5481 if test "${ac_cv_func_malloc_set_state+set}" = set; then 5505 if test "${ac_cv_func_malloc_set_state+set}" = set; then
5482 echo $ECHO_N "(cached) $ECHO_C" >&6 5506 echo $ECHO_N "(cached) $ECHO_C" >&6
5483 else 5507 else
5484 cat >conftest.$ac_ext <<_ACEOF 5508 cat >conftest.$ac_ext <<_ACEOF
5485 #line 5485 "configure" 5509 #line 5509 "configure"
5486 #include "confdefs.h" 5510 #include "confdefs.h"
5487 /* System header to define __stub macros and hopefully few prototypes, 5511 /* System header to define __stub macros and hopefully few prototypes,
5488 which can conflict with char malloc_set_state (); below. */ 5512 which can conflict with char malloc_set_state (); below. */
5489 #include <assert.h> 5513 #include <assert.h>
5490 /* Override any gcc2 internal prototype to avoid an error. */ 5514 /* Override any gcc2 internal prototype to avoid an error. */
5511 ; 5535 ;
5512 return 0; 5536 return 0;
5513 } 5537 }
5514 _ACEOF 5538 _ACEOF
5515 rm -f conftest.$ac_objext conftest$ac_exeext 5539 rm -f conftest.$ac_objext conftest$ac_exeext
5516 if { (eval echo "$as_me:5516: \"$ac_link\"") >&5 5540 if { (eval echo "$as_me:5540: \"$ac_link\"") >&5
5517 (eval $ac_link) 2>&5 5541 (eval $ac_link) 2>&5
5518 ac_status=$? 5542 ac_status=$?
5519 echo "$as_me:5519: \$? = $ac_status" >&5 5543 echo "$as_me:5543: \$? = $ac_status" >&5
5520 (exit $ac_status); } && 5544 (exit $ac_status); } &&
5521 { ac_try='test -s conftest$ac_exeext' 5545 { ac_try='test -s conftest$ac_exeext'
5522 { (eval echo "$as_me:5522: \"$ac_try\"") >&5 5546 { (eval echo "$as_me:5546: \"$ac_try\"") >&5
5523 (eval $ac_try) 2>&5 5547 (eval $ac_try) 2>&5
5524 ac_status=$? 5548 ac_status=$?
5525 echo "$as_me:5525: \$? = $ac_status" >&5 5549 echo "$as_me:5549: \$? = $ac_status" >&5
5526 (exit $ac_status); }; }; then 5550 (exit $ac_status); }; }; then
5527 ac_cv_func_malloc_set_state=yes 5551 ac_cv_func_malloc_set_state=yes
5528 else 5552 else
5529 echo "$as_me: failed program was:" >&5 5553 echo "$as_me: failed program was:" >&5
5530 cat conftest.$ac_ext >&5 5554 cat conftest.$ac_ext >&5
5531 ac_cv_func_malloc_set_state=no 5555 ac_cv_func_malloc_set_state=no
5532 fi 5556 fi
5533 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5557 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5534 fi 5558 fi
5535 echo "$as_me:5535: result: $ac_cv_func_malloc_set_state" >&5 5559 echo "$as_me:5559: result: $ac_cv_func_malloc_set_state" >&5
5536 echo "${ECHO_T}$ac_cv_func_malloc_set_state" >&6 5560 echo "${ECHO_T}$ac_cv_func_malloc_set_state" >&6
5537 if test $ac_cv_func_malloc_set_state = yes; then 5561 if test $ac_cv_func_malloc_set_state = yes; then
5538 : 5562 :
5539 else 5563 else
5540 doug_lea_malloc=no 5564 doug_lea_malloc=no
5541 fi 5565 fi
5542 5566
5543 echo "$as_me:5543: checking whether __after_morecore_hook exists" >&5 5567 echo "$as_me:5567: checking whether __after_morecore_hook exists" >&5
5544 echo $ECHO_N "checking whether __after_morecore_hook exists... $ECHO_C" >&6 5568 echo $ECHO_N "checking whether __after_morecore_hook exists... $ECHO_C" >&6
5545 if test "${emacs_cv_var___after_morecore_hook+set}" = set; then 5569 if test "${emacs_cv_var___after_morecore_hook+set}" = set; then
5546 echo $ECHO_N "(cached) $ECHO_C" >&6 5570 echo $ECHO_N "(cached) $ECHO_C" >&6
5547 else 5571 else
5548 cat >conftest.$ac_ext <<_ACEOF 5572 cat >conftest.$ac_ext <<_ACEOF
5549 #line 5549 "configure" 5573 #line 5573 "configure"
5550 #include "confdefs.h" 5574 #include "confdefs.h"
5551 extern void (* __after_morecore_hook)(); 5575 extern void (* __after_morecore_hook)();
5552 int 5576 int
5553 main () 5577 main ()
5554 { 5578 {
5556 ; 5580 ;
5557 return 0; 5581 return 0;
5558 } 5582 }
5559 _ACEOF 5583 _ACEOF
5560 rm -f conftest.$ac_objext conftest$ac_exeext 5584 rm -f conftest.$ac_objext conftest$ac_exeext
5561 if { (eval echo "$as_me:5561: \"$ac_link\"") >&5 5585 if { (eval echo "$as_me:5585: \"$ac_link\"") >&5
5562 (eval $ac_link) 2>&5 5586 (eval $ac_link) 2>&5
5563 ac_status=$? 5587 ac_status=$?
5564 echo "$as_me:5564: \$? = $ac_status" >&5 5588 echo "$as_me:5588: \$? = $ac_status" >&5
5565 (exit $ac_status); } && 5589 (exit $ac_status); } &&
5566 { ac_try='test -s conftest$ac_exeext' 5590 { ac_try='test -s conftest$ac_exeext'
5567 { (eval echo "$as_me:5567: \"$ac_try\"") >&5 5591 { (eval echo "$as_me:5591: \"$ac_try\"") >&5
5568 (eval $ac_try) 2>&5 5592 (eval $ac_try) 2>&5
5569 ac_status=$? 5593 ac_status=$?
5570 echo "$as_me:5570: \$? = $ac_status" >&5 5594 echo "$as_me:5594: \$? = $ac_status" >&5
5571 (exit $ac_status); }; }; then 5595 (exit $ac_status); }; }; then
5572 emacs_cv_var___after_morecore_hook=yes 5596 emacs_cv_var___after_morecore_hook=yes
5573 else 5597 else
5574 echo "$as_me: failed program was:" >&5 5598 echo "$as_me: failed program was:" >&5
5575 cat conftest.$ac_ext >&5 5599 cat conftest.$ac_ext >&5
5576 emacs_cv_var___after_morecore_hook=no 5600 emacs_cv_var___after_morecore_hook=no
5577 fi 5601 fi
5578 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5602 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5579 fi 5603 fi
5580 echo "$as_me:5580: result: $emacs_cv_var___after_morecore_hook" >&5 5604 echo "$as_me:5604: result: $emacs_cv_var___after_morecore_hook" >&5
5581 echo "${ECHO_T}$emacs_cv_var___after_morecore_hook" >&6 5605 echo "${ECHO_T}$emacs_cv_var___after_morecore_hook" >&6
5582 if test $emacs_cv_var___after_morecore_hook = no; then 5606 if test $emacs_cv_var___after_morecore_hook = no; then
5583 doug_lea_malloc=no 5607 doug_lea_malloc=no
5584 fi 5608 fi
5585 if test "${system_malloc}" = "yes"; then 5609 if test "${system_malloc}" = "yes"; then
5606 5630
5607 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 5631 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5608 inttypes.h stdint.h unistd.h 5632 inttypes.h stdint.h unistd.h
5609 do 5633 do
5610 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5634 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5611 echo "$as_me:5611: checking for $ac_header" >&5 5635 echo "$as_me:5635: checking for $ac_header" >&5
5612 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5636 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5613 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5637 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5614 echo $ECHO_N "(cached) $ECHO_C" >&6 5638 echo $ECHO_N "(cached) $ECHO_C" >&6
5615 else 5639 else
5616 cat >conftest.$ac_ext <<_ACEOF 5640 cat >conftest.$ac_ext <<_ACEOF
5617 #line 5617 "configure" 5641 #line 5641 "configure"
5618 #include "confdefs.h" 5642 #include "confdefs.h"
5619 $ac_includes_default 5643 $ac_includes_default
5620 #include <$ac_header> 5644 #include <$ac_header>
5621 _ACEOF 5645 _ACEOF
5622 rm -f conftest.$ac_objext 5646 rm -f conftest.$ac_objext
5623 if { (eval echo "$as_me:5623: \"$ac_compile\"") >&5 5647 if { (eval echo "$as_me:5647: \"$ac_compile\"") >&5
5624 (eval $ac_compile) 2>&5 5648 (eval $ac_compile) 2>&5
5625 ac_status=$? 5649 ac_status=$?
5626 echo "$as_me:5626: \$? = $ac_status" >&5 5650 echo "$as_me:5650: \$? = $ac_status" >&5
5627 (exit $ac_status); } && 5651 (exit $ac_status); } &&
5628 { ac_try='test -s conftest.$ac_objext' 5652 { ac_try='test -s conftest.$ac_objext'
5629 { (eval echo "$as_me:5629: \"$ac_try\"") >&5 5653 { (eval echo "$as_me:5653: \"$ac_try\"") >&5
5630 (eval $ac_try) 2>&5 5654 (eval $ac_try) 2>&5
5631 ac_status=$? 5655 ac_status=$?
5632 echo "$as_me:5632: \$? = $ac_status" >&5 5656 echo "$as_me:5656: \$? = $ac_status" >&5
5633 (exit $ac_status); }; }; then 5657 (exit $ac_status); }; }; then
5634 eval "$as_ac_Header=yes" 5658 eval "$as_ac_Header=yes"
5635 else 5659 else
5636 echo "$as_me: failed program was:" >&5 5660 echo "$as_me: failed program was:" >&5
5637 cat conftest.$ac_ext >&5 5661 cat conftest.$ac_ext >&5
5638 eval "$as_ac_Header=no" 5662 eval "$as_ac_Header=no"
5639 fi 5663 fi
5640 rm -f conftest.$ac_objext conftest.$ac_ext 5664 rm -f conftest.$ac_objext conftest.$ac_ext
5641 fi 5665 fi
5642 echo "$as_me:5642: result: `eval echo '${'$as_ac_Header'}'`" >&5 5666 echo "$as_me:5666: result: `eval echo '${'$as_ac_Header'}'`" >&5
5643 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5667 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5644 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5668 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5645 cat >>confdefs.h <<EOF 5669 cat >>confdefs.h <<EOF
5646 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5670 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5647 EOF 5671 EOF
5650 done 5674 done
5651 5675
5652 for ac_header in stdlib.h unistd.h 5676 for ac_header in stdlib.h unistd.h
5653 do 5677 do
5654 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5678 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5655 echo "$as_me:5655: checking for $ac_header" >&5 5679 echo "$as_me:5679: checking for $ac_header" >&5
5656 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5680 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5657 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5681 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5658 echo $ECHO_N "(cached) $ECHO_C" >&6 5682 echo $ECHO_N "(cached) $ECHO_C" >&6
5659 else 5683 else
5660 cat >conftest.$ac_ext <<_ACEOF 5684 cat >conftest.$ac_ext <<_ACEOF
5661 #line 5661 "configure" 5685 #line 5685 "configure"
5662 #include "confdefs.h" 5686 #include "confdefs.h"
5663 #include <$ac_header> 5687 #include <$ac_header>
5664 _ACEOF 5688 _ACEOF
5665 if { (eval echo "$as_me:5665: \"$ac_cpp conftest.$ac_ext\"") >&5 5689 if { (eval echo "$as_me:5689: \"$ac_cpp conftest.$ac_ext\"") >&5
5666 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5690 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5667 ac_status=$? 5691 ac_status=$?
5668 egrep -v '^ *\+' conftest.er1 >conftest.err 5692 egrep -v '^ *\+' conftest.er1 >conftest.err
5669 rm -f conftest.er1 5693 rm -f conftest.er1
5670 cat conftest.err >&5 5694 cat conftest.err >&5
5671 echo "$as_me:5671: \$? = $ac_status" >&5 5695 echo "$as_me:5695: \$? = $ac_status" >&5
5672 (exit $ac_status); } >/dev/null; then 5696 (exit $ac_status); } >/dev/null; then
5673 if test -s conftest.err; then 5697 if test -s conftest.err; then
5674 ac_cpp_err=$ac_c_preproc_warn_flag 5698 ac_cpp_err=$ac_c_preproc_warn_flag
5675 else 5699 else
5676 ac_cpp_err= 5700 ac_cpp_err=
5685 cat conftest.$ac_ext >&5 5709 cat conftest.$ac_ext >&5
5686 eval "$as_ac_Header=no" 5710 eval "$as_ac_Header=no"
5687 fi 5711 fi
5688 rm -f conftest.err conftest.$ac_ext 5712 rm -f conftest.err conftest.$ac_ext
5689 fi 5713 fi
5690 echo "$as_me:5690: result: `eval echo '${'$as_ac_Header'}'`" >&5 5714 echo "$as_me:5714: result: `eval echo '${'$as_ac_Header'}'`" >&5
5691 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5715 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5692 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5716 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5693 cat >>confdefs.h <<EOF 5717 cat >>confdefs.h <<EOF
5694 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5718 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5695 EOF 5719 EOF
5698 done 5722 done
5699 5723
5700 for ac_func in getpagesize 5724 for ac_func in getpagesize
5701 do 5725 do
5702 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 5726 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5703 echo "$as_me:5703: checking for $ac_func" >&5 5727 echo "$as_me:5727: checking for $ac_func" >&5
5704 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 5728 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5705 if eval "test \"\${$as_ac_var+set}\" = set"; then 5729 if eval "test \"\${$as_ac_var+set}\" = set"; then
5706 echo $ECHO_N "(cached) $ECHO_C" >&6 5730 echo $ECHO_N "(cached) $ECHO_C" >&6
5707 else 5731 else
5708 cat >conftest.$ac_ext <<_ACEOF 5732 cat >conftest.$ac_ext <<_ACEOF
5709 #line 5709 "configure" 5733 #line 5733 "configure"
5710 #include "confdefs.h" 5734 #include "confdefs.h"
5711 /* System header to define __stub macros and hopefully few prototypes, 5735 /* System header to define __stub macros and hopefully few prototypes,
5712 which can conflict with char $ac_func (); below. */ 5736 which can conflict with char $ac_func (); below. */
5713 #include <assert.h> 5737 #include <assert.h>
5714 /* Override any gcc2 internal prototype to avoid an error. */ 5738 /* Override any gcc2 internal prototype to avoid an error. */
5735 ; 5759 ;
5736 return 0; 5760 return 0;
5737 } 5761 }
5738 _ACEOF 5762 _ACEOF
5739 rm -f conftest.$ac_objext conftest$ac_exeext 5763 rm -f conftest.$ac_objext conftest$ac_exeext
5740 if { (eval echo "$as_me:5740: \"$ac_link\"") >&5 5764 if { (eval echo "$as_me:5764: \"$ac_link\"") >&5
5741 (eval $ac_link) 2>&5 5765 (eval $ac_link) 2>&5
5742 ac_status=$? 5766 ac_status=$?
5743 echo "$as_me:5743: \$? = $ac_status" >&5 5767 echo "$as_me:5767: \$? = $ac_status" >&5
5744 (exit $ac_status); } && 5768 (exit $ac_status); } &&
5745 { ac_try='test -s conftest$ac_exeext' 5769 { ac_try='test -s conftest$ac_exeext'
5746 { (eval echo "$as_me:5746: \"$ac_try\"") >&5 5770 { (eval echo "$as_me:5770: \"$ac_try\"") >&5
5747 (eval $ac_try) 2>&5 5771 (eval $ac_try) 2>&5
5748 ac_status=$? 5772 ac_status=$?
5749 echo "$as_me:5749: \$? = $ac_status" >&5 5773 echo "$as_me:5773: \$? = $ac_status" >&5
5750 (exit $ac_status); }; }; then 5774 (exit $ac_status); }; }; then
5751 eval "$as_ac_var=yes" 5775 eval "$as_ac_var=yes"
5752 else 5776 else
5753 echo "$as_me: failed program was:" >&5 5777 echo "$as_me: failed program was:" >&5
5754 cat conftest.$ac_ext >&5 5778 cat conftest.$ac_ext >&5
5755 eval "$as_ac_var=no" 5779 eval "$as_ac_var=no"
5756 fi 5780 fi
5757 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5781 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5758 fi 5782 fi
5759 echo "$as_me:5759: result: `eval echo '${'$as_ac_var'}'`" >&5 5783 echo "$as_me:5783: result: `eval echo '${'$as_ac_var'}'`" >&5
5760 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 5784 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5761 if test `eval echo '${'$as_ac_var'}'` = yes; then 5785 if test `eval echo '${'$as_ac_var'}'` = yes; then
5762 cat >>confdefs.h <<EOF 5786 cat >>confdefs.h <<EOF
5763 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 5787 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5764 EOF 5788 EOF
5765 5789
5766 fi 5790 fi
5767 done 5791 done
5768 5792
5769 echo "$as_me:5769: checking for working mmap" >&5 5793 echo "$as_me:5793: checking for working mmap" >&5
5770 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6 5794 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
5771 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then 5795 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
5772 echo $ECHO_N "(cached) $ECHO_C" >&6 5796 echo $ECHO_N "(cached) $ECHO_C" >&6
5773 else 5797 else
5774 if test "$cross_compiling" = yes; then 5798 if test "$cross_compiling" = yes; then
5775 ac_cv_func_mmap_fixed_mapped=no 5799 ac_cv_func_mmap_fixed_mapped=no
5776 else 5800 else
5777 cat >conftest.$ac_ext <<_ACEOF 5801 cat >conftest.$ac_ext <<_ACEOF
5778 #line 5778 "configure" 5802 #line 5802 "configure"
5779 #include "confdefs.h" 5803 #include "confdefs.h"
5780 $ac_includes_default 5804 $ac_includes_default
5781 /* Thanks to Mike Haertel and Jim Avera for this test. 5805 /* Thanks to Mike Haertel and Jim Avera for this test.
5782 Here is a matrix of mmap possibilities: 5806 Here is a matrix of mmap possibilities:
5783 mmap private not fixed 5807 mmap private not fixed
5900 close (fd); 5924 close (fd);
5901 exit (0); 5925 exit (0);
5902 } 5926 }
5903 _ACEOF 5927 _ACEOF
5904 rm -f conftest$ac_exeext 5928 rm -f conftest$ac_exeext
5905 if { (eval echo "$as_me:5905: \"$ac_link\"") >&5 5929 if { (eval echo "$as_me:5929: \"$ac_link\"") >&5
5906 (eval $ac_link) 2>&5 5930 (eval $ac_link) 2>&5
5907 ac_status=$? 5931 ac_status=$?
5908 echo "$as_me:5908: \$? = $ac_status" >&5 5932 echo "$as_me:5932: \$? = $ac_status" >&5
5909 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 5933 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5910 { (eval echo "$as_me:5910: \"$ac_try\"") >&5 5934 { (eval echo "$as_me:5934: \"$ac_try\"") >&5
5911 (eval $ac_try) 2>&5 5935 (eval $ac_try) 2>&5
5912 ac_status=$? 5936 ac_status=$?
5913 echo "$as_me:5913: \$? = $ac_status" >&5 5937 echo "$as_me:5937: \$? = $ac_status" >&5
5914 (exit $ac_status); }; }; then 5938 (exit $ac_status); }; }; then
5915 ac_cv_func_mmap_fixed_mapped=yes 5939 ac_cv_func_mmap_fixed_mapped=yes
5916 else 5940 else
5917 echo "$as_me: program exited with status $ac_status" >&5 5941 echo "$as_me: program exited with status $ac_status" >&5
5918 echo "$as_me: failed program was:" >&5 5942 echo "$as_me: failed program was:" >&5
5920 ac_cv_func_mmap_fixed_mapped=no 5944 ac_cv_func_mmap_fixed_mapped=no
5921 fi 5945 fi
5922 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5946 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5923 fi 5947 fi
5924 fi 5948 fi
5925 echo "$as_me:5925: result: $ac_cv_func_mmap_fixed_mapped" >&5 5949 echo "$as_me:5949: result: $ac_cv_func_mmap_fixed_mapped" >&5
5926 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6 5950 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
5927 if test $ac_cv_func_mmap_fixed_mapped = yes; then 5951 if test $ac_cv_func_mmap_fixed_mapped = yes; then
5928 5952
5929 cat >>confdefs.h <<\EOF 5953 cat >>confdefs.h <<\EOF
5930 #define HAVE_MMAP 1 5954 #define HAVE_MMAP 1
5937 REL_ALLOC=no 5961 REL_ALLOC=no
5938 fi 5962 fi
5939 5963
5940 LIBS="$libsrc_libs $LIBS" 5964 LIBS="$libsrc_libs $LIBS"
5941 5965
5942 echo "$as_me:5942: checking for dnet_ntoa in -ldnet" >&5 5966 echo "$as_me:5966: checking for dnet_ntoa in -ldnet" >&5
5943 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6 5967 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
5944 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then 5968 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
5945 echo $ECHO_N "(cached) $ECHO_C" >&6 5969 echo $ECHO_N "(cached) $ECHO_C" >&6
5946 else 5970 else
5947 ac_check_lib_save_LIBS=$LIBS 5971 ac_check_lib_save_LIBS=$LIBS
5948 LIBS="-ldnet $LIBS" 5972 LIBS="-ldnet $LIBS"
5949 cat >conftest.$ac_ext <<_ACEOF 5973 cat >conftest.$ac_ext <<_ACEOF
5950 #line 5950 "configure" 5974 #line 5974 "configure"
5951 #include "confdefs.h" 5975 #include "confdefs.h"
5952 5976
5953 /* Override any gcc2 internal prototype to avoid an error. */ 5977 /* Override any gcc2 internal prototype to avoid an error. */
5954 #ifdef __cplusplus 5978 #ifdef __cplusplus
5955 extern "C" 5979 extern "C"
5964 ; 5988 ;
5965 return 0; 5989 return 0;
5966 } 5990 }
5967 _ACEOF 5991 _ACEOF
5968 rm -f conftest.$ac_objext conftest$ac_exeext 5992 rm -f conftest.$ac_objext conftest$ac_exeext
5969 if { (eval echo "$as_me:5969: \"$ac_link\"") >&5 5993 if { (eval echo "$as_me:5993: \"$ac_link\"") >&5
5970 (eval $ac_link) 2>&5 5994 (eval $ac_link) 2>&5
5971 ac_status=$? 5995 ac_status=$?
5972 echo "$as_me:5972: \$? = $ac_status" >&5 5996 echo "$as_me:5996: \$? = $ac_status" >&5
5973 (exit $ac_status); } && 5997 (exit $ac_status); } &&
5974 { ac_try='test -s conftest$ac_exeext' 5998 { ac_try='test -s conftest$ac_exeext'
5975 { (eval echo "$as_me:5975: \"$ac_try\"") >&5 5999 { (eval echo "$as_me:5999: \"$ac_try\"") >&5
5976 (eval $ac_try) 2>&5 6000 (eval $ac_try) 2>&5
5977 ac_status=$? 6001 ac_status=$?
5978 echo "$as_me:5978: \$? = $ac_status" >&5 6002 echo "$as_me:6002: \$? = $ac_status" >&5
5979 (exit $ac_status); }; }; then 6003 (exit $ac_status); }; }; then
5980 ac_cv_lib_dnet_dnet_ntoa=yes 6004 ac_cv_lib_dnet_dnet_ntoa=yes
5981 else 6005 else
5982 echo "$as_me: failed program was:" >&5 6006 echo "$as_me: failed program was:" >&5
5983 cat conftest.$ac_ext >&5 6007 cat conftest.$ac_ext >&5
5984 ac_cv_lib_dnet_dnet_ntoa=no 6008 ac_cv_lib_dnet_dnet_ntoa=no
5985 fi 6009 fi
5986 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6010 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5987 LIBS=$ac_check_lib_save_LIBS 6011 LIBS=$ac_check_lib_save_LIBS
5988 fi 6012 fi
5989 echo "$as_me:5989: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 6013 echo "$as_me:6013: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
5990 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6 6014 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
5991 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then 6015 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
5992 cat >>confdefs.h <<EOF 6016 cat >>confdefs.h <<EOF
5993 #define HAVE_LIBDNET 1 6017 #define HAVE_LIBDNET 1
5994 EOF 6018 EOF
5995 6019
5996 LIBS="-ldnet $LIBS" 6020 LIBS="-ldnet $LIBS"
5997 6021
5998 fi 6022 fi
5999 6023
6000 echo "$as_me:6000: checking for main in -lXbsd" >&5 6024 echo "$as_me:6024: checking for main in -lXbsd" >&5
6001 echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6 6025 echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6
6002 if test "${ac_cv_lib_Xbsd_main+set}" = set; then 6026 if test "${ac_cv_lib_Xbsd_main+set}" = set; then
6003 echo $ECHO_N "(cached) $ECHO_C" >&6 6027 echo $ECHO_N "(cached) $ECHO_C" >&6
6004 else 6028 else
6005 ac_check_lib_save_LIBS=$LIBS 6029 ac_check_lib_save_LIBS=$LIBS
6006 LIBS="-lXbsd $LIBS" 6030 LIBS="-lXbsd $LIBS"
6007 cat >conftest.$ac_ext <<_ACEOF 6031 cat >conftest.$ac_ext <<_ACEOF
6008 #line 6008 "configure" 6032 #line 6032 "configure"
6009 #include "confdefs.h" 6033 #include "confdefs.h"
6010 6034
6011 int 6035 int
6012 main () 6036 main ()
6013 { 6037 {
6015 ; 6039 ;
6016 return 0; 6040 return 0;
6017 } 6041 }
6018 _ACEOF 6042 _ACEOF
6019 rm -f conftest.$ac_objext conftest$ac_exeext 6043 rm -f conftest.$ac_objext conftest$ac_exeext
6020 if { (eval echo "$as_me:6020: \"$ac_link\"") >&5 6044 if { (eval echo "$as_me:6044: \"$ac_link\"") >&5
6021 (eval $ac_link) 2>&5 6045 (eval $ac_link) 2>&5
6022 ac_status=$? 6046 ac_status=$?
6023 echo "$as_me:6023: \$? = $ac_status" >&5 6047 echo "$as_me:6047: \$? = $ac_status" >&5
6024 (exit $ac_status); } && 6048 (exit $ac_status); } &&
6025 { ac_try='test -s conftest$ac_exeext' 6049 { ac_try='test -s conftest$ac_exeext'
6026 { (eval echo "$as_me:6026: \"$ac_try\"") >&5 6050 { (eval echo "$as_me:6050: \"$ac_try\"") >&5
6027 (eval $ac_try) 2>&5 6051 (eval $ac_try) 2>&5
6028 ac_status=$? 6052 ac_status=$?
6029 echo "$as_me:6029: \$? = $ac_status" >&5 6053 echo "$as_me:6053: \$? = $ac_status" >&5
6030 (exit $ac_status); }; }; then 6054 (exit $ac_status); }; }; then
6031 ac_cv_lib_Xbsd_main=yes 6055 ac_cv_lib_Xbsd_main=yes
6032 else 6056 else
6033 echo "$as_me: failed program was:" >&5 6057 echo "$as_me: failed program was:" >&5
6034 cat conftest.$ac_ext >&5 6058 cat conftest.$ac_ext >&5
6035 ac_cv_lib_Xbsd_main=no 6059 ac_cv_lib_Xbsd_main=no
6036 fi 6060 fi
6037 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6061 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6038 LIBS=$ac_check_lib_save_LIBS 6062 LIBS=$ac_check_lib_save_LIBS
6039 fi 6063 fi
6040 echo "$as_me:6040: result: $ac_cv_lib_Xbsd_main" >&5 6064 echo "$as_me:6064: result: $ac_cv_lib_Xbsd_main" >&5
6041 echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6 6065 echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6
6042 if test $ac_cv_lib_Xbsd_main = yes; then 6066 if test $ac_cv_lib_Xbsd_main = yes; then
6043 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd" 6067 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd"
6044 fi 6068 fi
6045 6069
6046 echo "$as_me:6046: checking for cma_open in -lpthreads" >&5 6070 echo "$as_me:6070: checking for cma_open in -lpthreads" >&5
6047 echo $ECHO_N "checking for cma_open in -lpthreads... $ECHO_C" >&6 6071 echo $ECHO_N "checking for cma_open in -lpthreads... $ECHO_C" >&6
6048 if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then 6072 if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then
6049 echo $ECHO_N "(cached) $ECHO_C" >&6 6073 echo $ECHO_N "(cached) $ECHO_C" >&6
6050 else 6074 else
6051 ac_check_lib_save_LIBS=$LIBS 6075 ac_check_lib_save_LIBS=$LIBS
6052 LIBS="-lpthreads $LIBS" 6076 LIBS="-lpthreads $LIBS"
6053 cat >conftest.$ac_ext <<_ACEOF 6077 cat >conftest.$ac_ext <<_ACEOF
6054 #line 6054 "configure" 6078 #line 6078 "configure"
6055 #include "confdefs.h" 6079 #include "confdefs.h"
6056 6080
6057 /* Override any gcc2 internal prototype to avoid an error. */ 6081 /* Override any gcc2 internal prototype to avoid an error. */
6058 #ifdef __cplusplus 6082 #ifdef __cplusplus
6059 extern "C" 6083 extern "C"
6068 ; 6092 ;
6069 return 0; 6093 return 0;
6070 } 6094 }
6071 _ACEOF 6095 _ACEOF
6072 rm -f conftest.$ac_objext conftest$ac_exeext 6096 rm -f conftest.$ac_objext conftest$ac_exeext
6073 if { (eval echo "$as_me:6073: \"$ac_link\"") >&5 6097 if { (eval echo "$as_me:6097: \"$ac_link\"") >&5
6074 (eval $ac_link) 2>&5 6098 (eval $ac_link) 2>&5
6075 ac_status=$? 6099 ac_status=$?
6076 echo "$as_me:6076: \$? = $ac_status" >&5 6100 echo "$as_me:6100: \$? = $ac_status" >&5
6077 (exit $ac_status); } && 6101 (exit $ac_status); } &&
6078 { ac_try='test -s conftest$ac_exeext' 6102 { ac_try='test -s conftest$ac_exeext'
6079 { (eval echo "$as_me:6079: \"$ac_try\"") >&5 6103 { (eval echo "$as_me:6103: \"$ac_try\"") >&5
6080 (eval $ac_try) 2>&5 6104 (eval $ac_try) 2>&5
6081 ac_status=$? 6105 ac_status=$?
6082 echo "$as_me:6082: \$? = $ac_status" >&5 6106 echo "$as_me:6106: \$? = $ac_status" >&5
6083 (exit $ac_status); }; }; then 6107 (exit $ac_status); }; }; then
6084 ac_cv_lib_pthreads_cma_open=yes 6108 ac_cv_lib_pthreads_cma_open=yes
6085 else 6109 else
6086 echo "$as_me: failed program was:" >&5 6110 echo "$as_me: failed program was:" >&5
6087 cat conftest.$ac_ext >&5 6111 cat conftest.$ac_ext >&5
6088 ac_cv_lib_pthreads_cma_open=no 6112 ac_cv_lib_pthreads_cma_open=no
6089 fi 6113 fi
6090 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6114 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6091 LIBS=$ac_check_lib_save_LIBS 6115 LIBS=$ac_check_lib_save_LIBS
6092 fi 6116 fi
6093 echo "$as_me:6093: result: $ac_cv_lib_pthreads_cma_open" >&5 6117 echo "$as_me:6117: result: $ac_cv_lib_pthreads_cma_open" >&5
6094 echo "${ECHO_T}$ac_cv_lib_pthreads_cma_open" >&6 6118 echo "${ECHO_T}$ac_cv_lib_pthreads_cma_open" >&6
6095 if test $ac_cv_lib_pthreads_cma_open = yes; then 6119 if test $ac_cv_lib_pthreads_cma_open = yes; then
6096 cat >>confdefs.h <<EOF 6120 cat >>confdefs.h <<EOF
6097 #define HAVE_LIBPTHREADS 1 6121 #define HAVE_LIBPTHREADS 1
6098 EOF 6122 EOF
6099 6123
6100 LIBS="-lpthreads $LIBS" 6124 LIBS="-lpthreads $LIBS"
6101 6125
6102 fi 6126 fi
6103 6127
6104 echo "$as_me:6104: checking for XFree86 in /usr/X386" >&5 6128 echo "$as_me:6128: checking for XFree86 in /usr/X386" >&5
6105 echo $ECHO_N "checking for XFree86 in /usr/X386... $ECHO_C" >&6 6129 echo $ECHO_N "checking for XFree86 in /usr/X386... $ECHO_C" >&6
6106 if test -d /usr/X386/include; then 6130 if test -d /usr/X386/include; then
6107 HAVE_XFREE386=yes 6131 HAVE_XFREE386=yes
6108 : ${C_SWITCH_X_SITE="-I/usr/X386/include"} 6132 : ${C_SWITCH_X_SITE="-I/usr/X386/include"}
6109 else 6133 else
6110 HAVE_XFREE386=no 6134 HAVE_XFREE386=no
6111 fi 6135 fi
6112 echo "$as_me:6112: result: $HAVE_XFREE386" >&5 6136 echo "$as_me:6136: result: $HAVE_XFREE386" >&5
6113 echo "${ECHO_T}$HAVE_XFREE386" >&6 6137 echo "${ECHO_T}$HAVE_XFREE386" >&6
6114 6138
6115 # Change CFLAGS temporarily so that C_SWITCH_X_SITE gets used 6139 # Change CFLAGS temporarily so that C_SWITCH_X_SITE gets used
6116 # for the tests that follow. We set it back to REAL_CFLAGS later on. 6140 # for the tests that follow. We set it back to REAL_CFLAGS later on.
6117 6141
6132 LD_RUN_PATH=$x_libraries${LD_RUN_PATH+:}$LD_RUN_PATH 6156 LD_RUN_PATH=$x_libraries${LD_RUN_PATH+:}$LD_RUN_PATH
6133 export LD_RUN_PATH 6157 export LD_RUN_PATH
6134 fi 6158 fi
6135 6159
6136 if test "${opsys}" = "gnu-linux"; then 6160 if test "${opsys}" = "gnu-linux"; then
6137 echo "$as_me:6137: checking whether X on GNU/Linux needs -b to link" >&5 6161 echo "$as_me:6161: checking whether X on GNU/Linux needs -b to link" >&5
6138 echo $ECHO_N "checking whether X on GNU/Linux needs -b to link... $ECHO_C" >&6 6162 echo $ECHO_N "checking whether X on GNU/Linux needs -b to link... $ECHO_C" >&6
6139 cat >conftest.$ac_ext <<_ACEOF 6163 cat >conftest.$ac_ext <<_ACEOF
6140 #line 6140 "configure" 6164 #line 6164 "configure"
6141 #include "confdefs.h" 6165 #include "confdefs.h"
6142 6166
6143 int 6167 int
6144 main () 6168 main ()
6145 { 6169 {
6147 ; 6171 ;
6148 return 0; 6172 return 0;
6149 } 6173 }
6150 _ACEOF 6174 _ACEOF
6151 rm -f conftest.$ac_objext conftest$ac_exeext 6175 rm -f conftest.$ac_objext conftest$ac_exeext
6152 if { (eval echo "$as_me:6152: \"$ac_link\"") >&5 6176 if { (eval echo "$as_me:6176: \"$ac_link\"") >&5
6153 (eval $ac_link) 2>&5 6177 (eval $ac_link) 2>&5
6154 ac_status=$? 6178 ac_status=$?
6155 echo "$as_me:6155: \$? = $ac_status" >&5 6179 echo "$as_me:6179: \$? = $ac_status" >&5
6156 (exit $ac_status); } && 6180 (exit $ac_status); } &&
6157 { ac_try='test -s conftest$ac_exeext' 6181 { ac_try='test -s conftest$ac_exeext'
6158 { (eval echo "$as_me:6158: \"$ac_try\"") >&5 6182 { (eval echo "$as_me:6182: \"$ac_try\"") >&5
6159 (eval $ac_try) 2>&5 6183 (eval $ac_try) 2>&5
6160 ac_status=$? 6184 ac_status=$?
6161 echo "$as_me:6161: \$? = $ac_status" >&5 6185 echo "$as_me:6185: \$? = $ac_status" >&5
6162 (exit $ac_status); }; }; then 6186 (exit $ac_status); }; }; then
6163 xlinux_first_failure=no 6187 xlinux_first_failure=no
6164 else 6188 else
6165 echo "$as_me: failed program was:" >&5 6189 echo "$as_me: failed program was:" >&5
6166 cat conftest.$ac_ext >&5 6190 cat conftest.$ac_ext >&5
6175 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -b i486-linuxaout" 6199 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -b i486-linuxaout"
6176 C_SWITCH_X_SITE="$C_SWITCH_X_SITE -b i486-linuxaout" 6200 C_SWITCH_X_SITE="$C_SWITCH_X_SITE -b i486-linuxaout"
6177 CPPFLAGS="$CPPFLAGS -b i486-linuxaout" 6201 CPPFLAGS="$CPPFLAGS -b i486-linuxaout"
6178 LIBS="$LIBS -b i486-linuxaout" 6202 LIBS="$LIBS -b i486-linuxaout"
6179 cat >conftest.$ac_ext <<_ACEOF 6203 cat >conftest.$ac_ext <<_ACEOF
6180 #line 6180 "configure" 6204 #line 6204 "configure"
6181 #include "confdefs.h" 6205 #include "confdefs.h"
6182 6206
6183 int 6207 int
6184 main () 6208 main ()
6185 { 6209 {
6187 ; 6211 ;
6188 return 0; 6212 return 0;
6189 } 6213 }
6190 _ACEOF 6214 _ACEOF
6191 rm -f conftest.$ac_objext conftest$ac_exeext 6215 rm -f conftest.$ac_objext conftest$ac_exeext
6192 if { (eval echo "$as_me:6192: \"$ac_link\"") >&5 6216 if { (eval echo "$as_me:6216: \"$ac_link\"") >&5
6193 (eval $ac_link) 2>&5 6217 (eval $ac_link) 2>&5
6194 ac_status=$? 6218 ac_status=$?
6195 echo "$as_me:6195: \$? = $ac_status" >&5 6219 echo "$as_me:6219: \$? = $ac_status" >&5
6196 (exit $ac_status); } && 6220 (exit $ac_status); } &&
6197 { ac_try='test -s conftest$ac_exeext' 6221 { ac_try='test -s conftest$ac_exeext'
6198 { (eval echo "$as_me:6198: \"$ac_try\"") >&5 6222 { (eval echo "$as_me:6222: \"$ac_try\"") >&5
6199 (eval $ac_try) 2>&5 6223 (eval $ac_try) 2>&5
6200 ac_status=$? 6224 ac_status=$?
6201 echo "$as_me:6201: \$? = $ac_status" >&5 6225 echo "$as_me:6225: \$? = $ac_status" >&5
6202 (exit $ac_status); }; }; then 6226 (exit $ac_status); }; }; then
6203 xlinux_second_failure=no 6227 xlinux_second_failure=no
6204 else 6228 else
6205 echo "$as_me: failed program was:" >&5 6229 echo "$as_me: failed program was:" >&5
6206 cat conftest.$ac_ext >&5 6230 cat conftest.$ac_ext >&5
6212 # So take it out. This plays safe. 6236 # So take it out. This plays safe.
6213 LD_SWITCH_X_SITE="$OLD_LD_SWITCH_X_SITE" 6237 LD_SWITCH_X_SITE="$OLD_LD_SWITCH_X_SITE"
6214 C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE" 6238 C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE"
6215 CPPFLAGS="$OLD_CPPFLAGS" 6239 CPPFLAGS="$OLD_CPPFLAGS"
6216 LIBS="$OLD_LIBS" 6240 LIBS="$OLD_LIBS"
6217 echo "$as_me:6217: result: no" >&5 6241 echo "$as_me:6241: result: no" >&5
6218 echo "${ECHO_T}no" >&6 6242 echo "${ECHO_T}no" >&6
6219 else 6243 else
6220 echo "$as_me:6220: result: yes" >&5 6244 echo "$as_me:6244: result: yes" >&5
6221 echo "${ECHO_T}yes" >&6 6245 echo "${ECHO_T}yes" >&6
6222 fi 6246 fi
6223 else 6247 else
6224 echo "$as_me:6224: result: no" >&5 6248 echo "$as_me:6248: result: no" >&5
6225 echo "${ECHO_T}no" >&6 6249 echo "${ECHO_T}no" >&6
6226 fi 6250 fi
6227 fi 6251 fi
6228 6252
6229 # Reportedly, some broken Solaris systems have XKBlib.h but are missing 6253 # Reportedly, some broken Solaris systems have XKBlib.h but are missing
6230 # header files included from there. 6254 # header files included from there.
6231 echo "$as_me:6231: checking for Xkb" >&5 6255 echo "$as_me:6255: checking for Xkb" >&5
6232 echo $ECHO_N "checking for Xkb... $ECHO_C" >&6 6256 echo $ECHO_N "checking for Xkb... $ECHO_C" >&6
6233 cat >conftest.$ac_ext <<_ACEOF 6257 cat >conftest.$ac_ext <<_ACEOF
6234 #line 6234 "configure" 6258 #line 6258 "configure"
6235 #include "confdefs.h" 6259 #include "confdefs.h"
6236 #include <X11/Xlib.h> 6260 #include <X11/Xlib.h>
6237 #include <X11/XKBlib.h> 6261 #include <X11/XKBlib.h>
6238 int 6262 int
6239 main () 6263 main ()
6242 ; 6266 ;
6243 return 0; 6267 return 0;
6244 } 6268 }
6245 _ACEOF 6269 _ACEOF
6246 rm -f conftest.$ac_objext conftest$ac_exeext 6270 rm -f conftest.$ac_objext conftest$ac_exeext
6247 if { (eval echo "$as_me:6247: \"$ac_link\"") >&5 6271 if { (eval echo "$as_me:6271: \"$ac_link\"") >&5
6248 (eval $ac_link) 2>&5 6272 (eval $ac_link) 2>&5
6249 ac_status=$? 6273 ac_status=$?
6250 echo "$as_me:6250: \$? = $ac_status" >&5 6274 echo "$as_me:6274: \$? = $ac_status" >&5
6251 (exit $ac_status); } && 6275 (exit $ac_status); } &&
6252 { ac_try='test -s conftest$ac_exeext' 6276 { ac_try='test -s conftest$ac_exeext'
6253 { (eval echo "$as_me:6253: \"$ac_try\"") >&5 6277 { (eval echo "$as_me:6277: \"$ac_try\"") >&5
6254 (eval $ac_try) 2>&5 6278 (eval $ac_try) 2>&5
6255 ac_status=$? 6279 ac_status=$?
6256 echo "$as_me:6256: \$? = $ac_status" >&5 6280 echo "$as_me:6280: \$? = $ac_status" >&5
6257 (exit $ac_status); }; }; then 6281 (exit $ac_status); }; }; then
6258 emacs_xkb=yes 6282 emacs_xkb=yes
6259 else 6283 else
6260 echo "$as_me: failed program was:" >&5 6284 echo "$as_me: failed program was:" >&5
6261 cat conftest.$ac_ext >&5 6285 cat conftest.$ac_ext >&5
6262 emacs_xkb=no 6286 emacs_xkb=no
6263 fi 6287 fi
6264 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6288 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6265 echo "$as_me:6265: result: $emacs_xkb" >&5 6289 echo "$as_me:6289: result: $emacs_xkb" >&5
6266 echo "${ECHO_T}$emacs_xkb" >&6 6290 echo "${ECHO_T}$emacs_xkb" >&6
6267 if test $emacs_xkb = yes; then 6291 if test $emacs_xkb = yes; then
6268 cat >>confdefs.h <<\EOF 6292 cat >>confdefs.h <<\EOF
6269 #define HAVE_XKBGETKEYBOARD 1 6293 #define HAVE_XKBGETKEYBOARD 1
6270 EOF 6294 EOF
6273 6297
6274 for ac_func in XrmSetDatabase XScreenResourceString \ 6298 for ac_func in XrmSetDatabase XScreenResourceString \
6275 XScreenNumberOfScreen XSetWMProtocols 6299 XScreenNumberOfScreen XSetWMProtocols
6276 do 6300 do
6277 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 6301 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6278 echo "$as_me:6278: checking for $ac_func" >&5 6302 echo "$as_me:6302: checking for $ac_func" >&5
6279 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6303 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6280 if eval "test \"\${$as_ac_var+set}\" = set"; then 6304 if eval "test \"\${$as_ac_var+set}\" = set"; then
6281 echo $ECHO_N "(cached) $ECHO_C" >&6 6305 echo $ECHO_N "(cached) $ECHO_C" >&6
6282 else 6306 else
6283 cat >conftest.$ac_ext <<_ACEOF 6307 cat >conftest.$ac_ext <<_ACEOF
6284 #line 6284 "configure" 6308 #line 6308 "configure"
6285 #include "confdefs.h" 6309 #include "confdefs.h"
6286 /* System header to define __stub macros and hopefully few prototypes, 6310 /* System header to define __stub macros and hopefully few prototypes,
6287 which can conflict with char $ac_func (); below. */ 6311 which can conflict with char $ac_func (); below. */
6288 #include <assert.h> 6312 #include <assert.h>
6289 /* Override any gcc2 internal prototype to avoid an error. */ 6313 /* Override any gcc2 internal prototype to avoid an error. */
6310 ; 6334 ;
6311 return 0; 6335 return 0;
6312 } 6336 }
6313 _ACEOF 6337 _ACEOF
6314 rm -f conftest.$ac_objext conftest$ac_exeext 6338 rm -f conftest.$ac_objext conftest$ac_exeext
6315 if { (eval echo "$as_me:6315: \"$ac_link\"") >&5 6339 if { (eval echo "$as_me:6339: \"$ac_link\"") >&5
6316 (eval $ac_link) 2>&5 6340 (eval $ac_link) 2>&5
6317 ac_status=$? 6341 ac_status=$?
6318 echo "$as_me:6318: \$? = $ac_status" >&5 6342 echo "$as_me:6342: \$? = $ac_status" >&5
6319 (exit $ac_status); } && 6343 (exit $ac_status); } &&
6320 { ac_try='test -s conftest$ac_exeext' 6344 { ac_try='test -s conftest$ac_exeext'
6321 { (eval echo "$as_me:6321: \"$ac_try\"") >&5 6345 { (eval echo "$as_me:6345: \"$ac_try\"") >&5
6322 (eval $ac_try) 2>&5 6346 (eval $ac_try) 2>&5
6323 ac_status=$? 6347 ac_status=$?
6324 echo "$as_me:6324: \$? = $ac_status" >&5 6348 echo "$as_me:6348: \$? = $ac_status" >&5
6325 (exit $ac_status); }; }; then 6349 (exit $ac_status); }; }; then
6326 eval "$as_ac_var=yes" 6350 eval "$as_ac_var=yes"
6327 else 6351 else
6328 echo "$as_me: failed program was:" >&5 6352 echo "$as_me: failed program was:" >&5
6329 cat conftest.$ac_ext >&5 6353 cat conftest.$ac_ext >&5
6330 eval "$as_ac_var=no" 6354 eval "$as_ac_var=no"
6331 fi 6355 fi
6332 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6356 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6333 fi 6357 fi
6334 echo "$as_me:6334: result: `eval echo '${'$as_ac_var'}'`" >&5 6358 echo "$as_me:6358: result: `eval echo '${'$as_ac_var'}'`" >&5
6335 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6359 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6336 if test `eval echo '${'$as_ac_var'}'` = yes; then 6360 if test `eval echo '${'$as_ac_var'}'` = yes; then
6337 cat >>confdefs.h <<EOF 6361 cat >>confdefs.h <<EOF
6338 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 6362 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6339 EOF 6363 EOF
6342 done 6366 done
6343 6367
6344 fi 6368 fi
6345 6369
6346 if test "${window_system}" = "x11"; then 6370 if test "${window_system}" = "x11"; then
6347 echo "$as_me:6347: checking X11 version 6" >&5 6371 echo "$as_me:6371: checking X11 version 6" >&5
6348 echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6 6372 echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6
6349 if test "${emacs_cv_x11_version_6+set}" = set; then 6373 if test "${emacs_cv_x11_version_6+set}" = set; then
6350 echo $ECHO_N "(cached) $ECHO_C" >&6 6374 echo $ECHO_N "(cached) $ECHO_C" >&6
6351 else 6375 else
6352 cat >conftest.$ac_ext <<_ACEOF 6376 cat >conftest.$ac_ext <<_ACEOF
6353 #line 6353 "configure" 6377 #line 6377 "configure"
6354 #include "confdefs.h" 6378 #include "confdefs.h"
6355 #include <X11/Xlib.h> 6379 #include <X11/Xlib.h>
6356 int 6380 int
6357 main () 6381 main ()
6358 { 6382 {
6363 ; 6387 ;
6364 return 0; 6388 return 0;
6365 } 6389 }
6366 _ACEOF 6390 _ACEOF
6367 rm -f conftest.$ac_objext conftest$ac_exeext 6391 rm -f conftest.$ac_objext conftest$ac_exeext
6368 if { (eval echo "$as_me:6368: \"$ac_link\"") >&5 6392 if { (eval echo "$as_me:6392: \"$ac_link\"") >&5
6369 (eval $ac_link) 2>&5 6393 (eval $ac_link) 2>&5
6370 ac_status=$? 6394 ac_status=$?
6371 echo "$as_me:6371: \$? = $ac_status" >&5 6395 echo "$as_me:6395: \$? = $ac_status" >&5
6372 (exit $ac_status); } && 6396 (exit $ac_status); } &&
6373 { ac_try='test -s conftest$ac_exeext' 6397 { ac_try='test -s conftest$ac_exeext'
6374 { (eval echo "$as_me:6374: \"$ac_try\"") >&5 6398 { (eval echo "$as_me:6398: \"$ac_try\"") >&5
6375 (eval $ac_try) 2>&5 6399 (eval $ac_try) 2>&5
6376 ac_status=$? 6400 ac_status=$?
6377 echo "$as_me:6377: \$? = $ac_status" >&5 6401 echo "$as_me:6401: \$? = $ac_status" >&5
6378 (exit $ac_status); }; }; then 6402 (exit $ac_status); }; }; then
6379 emacs_cv_x11_version_6=yes 6403 emacs_cv_x11_version_6=yes
6380 else 6404 else
6381 echo "$as_me: failed program was:" >&5 6405 echo "$as_me: failed program was:" >&5
6382 cat conftest.$ac_ext >&5 6406 cat conftest.$ac_ext >&5
6384 fi 6408 fi
6385 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6409 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6386 fi 6410 fi
6387 6411
6388 if test $emacs_cv_x11_version_6 = yes; then 6412 if test $emacs_cv_x11_version_6 = yes; then
6389 echo "$as_me:6389: result: 6 or newer" >&5 6413 echo "$as_me:6413: result: 6 or newer" >&5
6390 echo "${ECHO_T}6 or newer" >&6 6414 echo "${ECHO_T}6 or newer" >&6
6391 cat >>confdefs.h <<\EOF 6415 cat >>confdefs.h <<\EOF
6392 #define HAVE_X11R6 1 6416 #define HAVE_X11R6 1
6393 EOF 6417 EOF
6394 6418
6395 else 6419 else
6396 echo "$as_me:6396: result: before 6" >&5 6420 echo "$as_me:6420: result: before 6" >&5
6397 echo "${ECHO_T}before 6" >&6 6421 echo "${ECHO_T}before 6" >&6
6398 fi 6422 fi
6399 fi 6423 fi
6400 6424
6401 if test "${window_system}" = "x11"; then 6425 if test "${window_system}" = "x11"; then
6402 echo "$as_me:6402: checking X11 version 5" >&5 6426 echo "$as_me:6426: checking X11 version 5" >&5
6403 echo $ECHO_N "checking X11 version 5... $ECHO_C" >&6 6427 echo $ECHO_N "checking X11 version 5... $ECHO_C" >&6
6404 if test "${emacs_cv_x11_version_5+set}" = set; then 6428 if test "${emacs_cv_x11_version_5+set}" = set; then
6405 echo $ECHO_N "(cached) $ECHO_C" >&6 6429 echo $ECHO_N "(cached) $ECHO_C" >&6
6406 else 6430 else
6407 cat >conftest.$ac_ext <<_ACEOF 6431 cat >conftest.$ac_ext <<_ACEOF
6408 #line 6408 "configure" 6432 #line 6432 "configure"
6409 #include "confdefs.h" 6433 #include "confdefs.h"
6410 #include <X11/Xlib.h> 6434 #include <X11/Xlib.h>
6411 int 6435 int
6412 main () 6436 main ()
6413 { 6437 {
6418 ; 6442 ;
6419 return 0; 6443 return 0;
6420 } 6444 }
6421 _ACEOF 6445 _ACEOF
6422 rm -f conftest.$ac_objext conftest$ac_exeext 6446 rm -f conftest.$ac_objext conftest$ac_exeext
6423 if { (eval echo "$as_me:6423: \"$ac_link\"") >&5 6447 if { (eval echo "$as_me:6447: \"$ac_link\"") >&5
6424 (eval $ac_link) 2>&5 6448 (eval $ac_link) 2>&5
6425 ac_status=$? 6449 ac_status=$?
6426 echo "$as_me:6426: \$? = $ac_status" >&5 6450 echo "$as_me:6450: \$? = $ac_status" >&5
6427 (exit $ac_status); } && 6451 (exit $ac_status); } &&
6428 { ac_try='test -s conftest$ac_exeext' 6452 { ac_try='test -s conftest$ac_exeext'
6429 { (eval echo "$as_me:6429: \"$ac_try\"") >&5 6453 { (eval echo "$as_me:6453: \"$ac_try\"") >&5
6430 (eval $ac_try) 2>&5 6454 (eval $ac_try) 2>&5
6431 ac_status=$? 6455 ac_status=$?
6432 echo "$as_me:6432: \$? = $ac_status" >&5 6456 echo "$as_me:6456: \$? = $ac_status" >&5
6433 (exit $ac_status); }; }; then 6457 (exit $ac_status); }; }; then
6434 emacs_cv_x11_version_5=yes 6458 emacs_cv_x11_version_5=yes
6435 else 6459 else
6436 echo "$as_me: failed program was:" >&5 6460 echo "$as_me: failed program was:" >&5
6437 cat conftest.$ac_ext >&5 6461 cat conftest.$ac_ext >&5
6439 fi 6463 fi
6440 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6464 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6441 fi 6465 fi
6442 6466
6443 if test $emacs_cv_x11_version_5 = yes; then 6467 if test $emacs_cv_x11_version_5 = yes; then
6444 echo "$as_me:6444: result: 5 or newer" >&5 6468 echo "$as_me:6468: result: 5 or newer" >&5
6445 echo "${ECHO_T}5 or newer" >&6 6469 echo "${ECHO_T}5 or newer" >&6
6446 HAVE_X11R5=yes 6470 HAVE_X11R5=yes
6447 cat >>confdefs.h <<\EOF 6471 cat >>confdefs.h <<\EOF
6448 #define HAVE_X11R5 1 6472 #define HAVE_X11R5 1
6449 EOF 6473 EOF
6450 6474
6451 else 6475 else
6452 HAVE_X11R5=no 6476 HAVE_X11R5=no
6453 echo "$as_me:6453: result: before 5" >&5 6477 echo "$as_me:6477: result: before 5" >&5
6454 echo "${ECHO_T}before 5" >&6 6478 echo "${ECHO_T}before 5" >&6
6455 fi 6479 fi
6456 fi 6480 fi
6457 6481
6458 if test x"${USE_X_TOOLKIT}" = xmaybe; then 6482 if test x"${USE_X_TOOLKIT}" = xmaybe; then
6459 if test x"${HAVE_X11R5}" = xyes; then 6483 if test x"${HAVE_X11R5}" = xyes; then
6460 echo "$as_me:6460: checking X11 version 5 with Xaw" >&5 6484 echo "$as_me:6484: checking X11 version 5 with Xaw" >&5
6461 echo $ECHO_N "checking X11 version 5 with Xaw... $ECHO_C" >&6 6485 echo $ECHO_N "checking X11 version 5 with Xaw... $ECHO_C" >&6
6462 if test "${emacs_cv_x11_version_5_with_xaw+set}" = set; then 6486 if test "${emacs_cv_x11_version_5_with_xaw+set}" = set; then
6463 echo $ECHO_N "(cached) $ECHO_C" >&6 6487 echo $ECHO_N "(cached) $ECHO_C" >&6
6464 else 6488 else
6465 cat >conftest.$ac_ext <<_ACEOF 6489 cat >conftest.$ac_ext <<_ACEOF
6466 #line 6466 "configure" 6490 #line 6490 "configure"
6467 #include "confdefs.h" 6491 #include "confdefs.h"
6468 6492
6469 #include <X11/Intrinsic.h> 6493 #include <X11/Intrinsic.h>
6470 #include <X11/Xaw/Simple.h> 6494 #include <X11/Xaw/Simple.h>
6471 int 6495 int
6475 ; 6499 ;
6476 return 0; 6500 return 0;
6477 } 6501 }
6478 _ACEOF 6502 _ACEOF
6479 rm -f conftest.$ac_objext conftest$ac_exeext 6503 rm -f conftest.$ac_objext conftest$ac_exeext
6480 if { (eval echo "$as_me:6480: \"$ac_link\"") >&5 6504 if { (eval echo "$as_me:6504: \"$ac_link\"") >&5
6481 (eval $ac_link) 2>&5 6505 (eval $ac_link) 2>&5
6482 ac_status=$? 6506 ac_status=$?
6483 echo "$as_me:6483: \$? = $ac_status" >&5 6507 echo "$as_me:6507: \$? = $ac_status" >&5
6484 (exit $ac_status); } && 6508 (exit $ac_status); } &&
6485 { ac_try='test -s conftest$ac_exeext' 6509 { ac_try='test -s conftest$ac_exeext'
6486 { (eval echo "$as_me:6486: \"$ac_try\"") >&5 6510 { (eval echo "$as_me:6510: \"$ac_try\"") >&5
6487 (eval $ac_try) 2>&5 6511 (eval $ac_try) 2>&5
6488 ac_status=$? 6512 ac_status=$?
6489 echo "$as_me:6489: \$? = $ac_status" >&5 6513 echo "$as_me:6513: \$? = $ac_status" >&5
6490 (exit $ac_status); }; }; then 6514 (exit $ac_status); }; }; then
6491 emacs_cv_x11_version_5_with_xaw=yes 6515 emacs_cv_x11_version_5_with_xaw=yes
6492 else 6516 else
6493 echo "$as_me: failed program was:" >&5 6517 echo "$as_me: failed program was:" >&5
6494 cat conftest.$ac_ext >&5 6518 cat conftest.$ac_ext >&5
6496 fi 6520 fi
6497 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6521 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6498 fi 6522 fi
6499 6523
6500 if test $emacs_cv_x11_version_5_with_xaw = yes; then 6524 if test $emacs_cv_x11_version_5_with_xaw = yes; then
6501 echo "$as_me:6501: result: 5 or newer, with Xaw; use toolkit by default" >&5 6525 echo "$as_me:6525: result: 5 or newer, with Xaw; use toolkit by default" >&5
6502 echo "${ECHO_T}5 or newer, with Xaw; use toolkit by default" >&6 6526 echo "${ECHO_T}5 or newer, with Xaw; use toolkit by default" >&6
6503 USE_X_TOOLKIT=LUCID 6527 USE_X_TOOLKIT=LUCID
6504 else 6528 else
6505 echo "$as_me:6505: result: before 5 or no Xaw; do not use toolkit by default" >&5 6529 echo "$as_me:6529: result: before 5 or no Xaw; do not use toolkit by default" >&5
6506 echo "${ECHO_T}before 5 or no Xaw; do not use toolkit by default" >&6 6530 echo "${ECHO_T}before 5 or no Xaw; do not use toolkit by default" >&6
6507 USE_X_TOOLKIT=none 6531 USE_X_TOOLKIT=none
6508 fi 6532 fi
6509 else 6533 else
6510 USE_X_TOOLKIT=none 6534 USE_X_TOOLKIT=none
6512 fi 6536 fi
6513 6537
6514 X_TOOLKIT_TYPE=$USE_X_TOOLKIT 6538 X_TOOLKIT_TYPE=$USE_X_TOOLKIT
6515 6539
6516 if test "${USE_X_TOOLKIT}" != "none"; then 6540 if test "${USE_X_TOOLKIT}" != "none"; then
6517 echo "$as_me:6517: checking X11 toolkit version" >&5 6541 echo "$as_me:6541: checking X11 toolkit version" >&5
6518 echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6 6542 echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6
6519 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then 6543 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then
6520 echo $ECHO_N "(cached) $ECHO_C" >&6 6544 echo $ECHO_N "(cached) $ECHO_C" >&6
6521 else 6545 else
6522 cat >conftest.$ac_ext <<_ACEOF 6546 cat >conftest.$ac_ext <<_ACEOF
6523 #line 6523 "configure" 6547 #line 6547 "configure"
6524 #include "confdefs.h" 6548 #include "confdefs.h"
6525 #include <X11/Intrinsic.h> 6549 #include <X11/Intrinsic.h>
6526 int 6550 int
6527 main () 6551 main ()
6528 { 6552 {
6533 ; 6557 ;
6534 return 0; 6558 return 0;
6535 } 6559 }
6536 _ACEOF 6560 _ACEOF
6537 rm -f conftest.$ac_objext conftest$ac_exeext 6561 rm -f conftest.$ac_objext conftest$ac_exeext
6538 if { (eval echo "$as_me:6538: \"$ac_link\"") >&5 6562 if { (eval echo "$as_me:6562: \"$ac_link\"") >&5
6539 (eval $ac_link) 2>&5 6563 (eval $ac_link) 2>&5
6540 ac_status=$? 6564 ac_status=$?
6541 echo "$as_me:6541: \$? = $ac_status" >&5 6565 echo "$as_me:6565: \$? = $ac_status" >&5
6542 (exit $ac_status); } && 6566 (exit $ac_status); } &&
6543 { ac_try='test -s conftest$ac_exeext' 6567 { ac_try='test -s conftest$ac_exeext'
6544 { (eval echo "$as_me:6544: \"$ac_try\"") >&5 6568 { (eval echo "$as_me:6568: \"$ac_try\"") >&5
6545 (eval $ac_try) 2>&5 6569 (eval $ac_try) 2>&5
6546 ac_status=$? 6570 ac_status=$?
6547 echo "$as_me:6547: \$? = $ac_status" >&5 6571 echo "$as_me:6571: \$? = $ac_status" >&5
6548 (exit $ac_status); }; }; then 6572 (exit $ac_status); }; }; then
6549 emacs_cv_x11_toolkit_version_6=yes 6573 emacs_cv_x11_toolkit_version_6=yes
6550 else 6574 else
6551 echo "$as_me: failed program was:" >&5 6575 echo "$as_me: failed program was:" >&5
6552 cat conftest.$ac_ext >&5 6576 cat conftest.$ac_ext >&5
6555 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6579 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6556 fi 6580 fi
6557 6581
6558 HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6 6582 HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6
6559 if test $emacs_cv_x11_toolkit_version_6 = yes; then 6583 if test $emacs_cv_x11_toolkit_version_6 = yes; then
6560 echo "$as_me:6560: result: 6 or newer" >&5 6584 echo "$as_me:6584: result: 6 or newer" >&5
6561 echo "${ECHO_T}6 or newer" >&6 6585 echo "${ECHO_T}6 or newer" >&6
6562 cat >>confdefs.h <<\EOF 6586 cat >>confdefs.h <<\EOF
6563 #define HAVE_X11XTR6 1 6587 #define HAVE_X11XTR6 1
6564 EOF 6588 EOF
6565 6589
6566 else 6590 else
6567 echo "$as_me:6567: result: before 6" >&5 6591 echo "$as_me:6591: result: before 6" >&5
6568 echo "${ECHO_T}before 6" >&6 6592 echo "${ECHO_T}before 6" >&6
6569 fi 6593 fi
6570 6594
6571 OLDLIBS="$LIBS" 6595 OLDLIBS="$LIBS"
6572 if test x$HAVE_X11XTR6 = xyes; then 6596 if test x$HAVE_X11XTR6 = xyes; then
6573 LIBS="-lXt -lSM -lICE $LIBS" 6597 LIBS="-lXt -lSM -lICE $LIBS"
6574 else 6598 else
6575 LIBS="-lXt $LIBS" 6599 LIBS="-lXt $LIBS"
6576 fi 6600 fi
6577 6601
6578 echo "$as_me:6578: checking for XmuConvertStandardSelection in -lXmu" >&5 6602 echo "$as_me:6602: checking for XmuConvertStandardSelection in -lXmu" >&5
6579 echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C" >&6 6603 echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C" >&6
6580 if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then 6604 if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then
6581 echo $ECHO_N "(cached) $ECHO_C" >&6 6605 echo $ECHO_N "(cached) $ECHO_C" >&6
6582 else 6606 else
6583 ac_check_lib_save_LIBS=$LIBS 6607 ac_check_lib_save_LIBS=$LIBS
6584 LIBS="-lXmu $LIBS" 6608 LIBS="-lXmu $LIBS"
6585 cat >conftest.$ac_ext <<_ACEOF 6609 cat >conftest.$ac_ext <<_ACEOF
6586 #line 6586 "configure" 6610 #line 6610 "configure"
6587 #include "confdefs.h" 6611 #include "confdefs.h"
6588 6612
6589 /* Override any gcc2 internal prototype to avoid an error. */ 6613 /* Override any gcc2 internal prototype to avoid an error. */
6590 #ifdef __cplusplus 6614 #ifdef __cplusplus
6591 extern "C" 6615 extern "C"
6600 ; 6624 ;
6601 return 0; 6625 return 0;
6602 } 6626 }
6603 _ACEOF 6627 _ACEOF
6604 rm -f conftest.$ac_objext conftest$ac_exeext 6628 rm -f conftest.$ac_objext conftest$ac_exeext
6605 if { (eval echo "$as_me:6605: \"$ac_link\"") >&5 6629 if { (eval echo "$as_me:6629: \"$ac_link\"") >&5
6606 (eval $ac_link) 2>&5 6630 (eval $ac_link) 2>&5
6607 ac_status=$? 6631 ac_status=$?
6608 echo "$as_me:6608: \$? = $ac_status" >&5 6632 echo "$as_me:6632: \$? = $ac_status" >&5
6609 (exit $ac_status); } && 6633 (exit $ac_status); } &&
6610 { ac_try='test -s conftest$ac_exeext' 6634 { ac_try='test -s conftest$ac_exeext'
6611 { (eval echo "$as_me:6611: \"$ac_try\"") >&5 6635 { (eval echo "$as_me:6635: \"$ac_try\"") >&5
6612 (eval $ac_try) 2>&5 6636 (eval $ac_try) 2>&5
6613 ac_status=$? 6637 ac_status=$?
6614 echo "$as_me:6614: \$? = $ac_status" >&5 6638 echo "$as_me:6638: \$? = $ac_status" >&5
6615 (exit $ac_status); }; }; then 6639 (exit $ac_status); }; }; then
6616 ac_cv_lib_Xmu_XmuConvertStandardSelection=yes 6640 ac_cv_lib_Xmu_XmuConvertStandardSelection=yes
6617 else 6641 else
6618 echo "$as_me: failed program was:" >&5 6642 echo "$as_me: failed program was:" >&5
6619 cat conftest.$ac_ext >&5 6643 cat conftest.$ac_ext >&5
6620 ac_cv_lib_Xmu_XmuConvertStandardSelection=no 6644 ac_cv_lib_Xmu_XmuConvertStandardSelection=no
6621 fi 6645 fi
6622 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6646 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6623 LIBS=$ac_check_lib_save_LIBS 6647 LIBS=$ac_check_lib_save_LIBS
6624 fi 6648 fi
6625 echo "$as_me:6625: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5 6649 echo "$as_me:6649: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5
6626 echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6 6650 echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6
6627 if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then 6651 if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then
6628 cat >>confdefs.h <<EOF 6652 cat >>confdefs.h <<EOF
6629 #define HAVE_LIBXMU 1 6653 #define HAVE_LIBXMU 1
6630 EOF 6654 EOF
6638 6662
6639 # On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D. 6663 # On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D.
6640 if test "${HAVE_X11}" = "yes"; then 6664 if test "${HAVE_X11}" = "yes"; then
6641 if test "${USE_X_TOOLKIT}" != "none"; then 6665 if test "${USE_X_TOOLKIT}" != "none"; then
6642 6666
6643 echo "$as_me:6643: checking for XShapeQueryExtension in -lXext" >&5 6667 echo "$as_me:6667: checking for XShapeQueryExtension in -lXext" >&5
6644 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6 6668 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
6645 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then 6669 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
6646 echo $ECHO_N "(cached) $ECHO_C" >&6 6670 echo $ECHO_N "(cached) $ECHO_C" >&6
6647 else 6671 else
6648 ac_check_lib_save_LIBS=$LIBS 6672 ac_check_lib_save_LIBS=$LIBS
6649 LIBS="-lXext $LIBS" 6673 LIBS="-lXext $LIBS"
6650 cat >conftest.$ac_ext <<_ACEOF 6674 cat >conftest.$ac_ext <<_ACEOF
6651 #line 6651 "configure" 6675 #line 6675 "configure"
6652 #include "confdefs.h" 6676 #include "confdefs.h"
6653 6677
6654 /* Override any gcc2 internal prototype to avoid an error. */ 6678 /* Override any gcc2 internal prototype to avoid an error. */
6655 #ifdef __cplusplus 6679 #ifdef __cplusplus
6656 extern "C" 6680 extern "C"
6665 ; 6689 ;
6666 return 0; 6690 return 0;
6667 } 6691 }
6668 _ACEOF 6692 _ACEOF
6669 rm -f conftest.$ac_objext conftest$ac_exeext 6693 rm -f conftest.$ac_objext conftest$ac_exeext
6670 if { (eval echo "$as_me:6670: \"$ac_link\"") >&5 6694 if { (eval echo "$as_me:6694: \"$ac_link\"") >&5
6671 (eval $ac_link) 2>&5 6695 (eval $ac_link) 2>&5
6672 ac_status=$? 6696 ac_status=$?
6673 echo "$as_me:6673: \$? = $ac_status" >&5 6697 echo "$as_me:6697: \$? = $ac_status" >&5
6674 (exit $ac_status); } && 6698 (exit $ac_status); } &&
6675 { ac_try='test -s conftest$ac_exeext' 6699 { ac_try='test -s conftest$ac_exeext'
6676 { (eval echo "$as_me:6676: \"$ac_try\"") >&5 6700 { (eval echo "$as_me:6700: \"$ac_try\"") >&5
6677 (eval $ac_try) 2>&5 6701 (eval $ac_try) 2>&5
6678 ac_status=$? 6702 ac_status=$?
6679 echo "$as_me:6679: \$? = $ac_status" >&5 6703 echo "$as_me:6703: \$? = $ac_status" >&5
6680 (exit $ac_status); }; }; then 6704 (exit $ac_status); }; }; then
6681 ac_cv_lib_Xext_XShapeQueryExtension=yes 6705 ac_cv_lib_Xext_XShapeQueryExtension=yes
6682 else 6706 else
6683 echo "$as_me: failed program was:" >&5 6707 echo "$as_me: failed program was:" >&5
6684 cat conftest.$ac_ext >&5 6708 cat conftest.$ac_ext >&5
6685 ac_cv_lib_Xext_XShapeQueryExtension=no 6709 ac_cv_lib_Xext_XShapeQueryExtension=no
6686 fi 6710 fi
6687 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6711 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6688 LIBS=$ac_check_lib_save_LIBS 6712 LIBS=$ac_check_lib_save_LIBS
6689 fi 6713 fi
6690 echo "$as_me:6690: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5 6714 echo "$as_me:6714: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
6691 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6 6715 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
6692 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then 6716 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
6693 cat >>confdefs.h <<EOF 6717 cat >>confdefs.h <<EOF
6694 #define HAVE_LIBXEXT 1 6718 #define HAVE_LIBXEXT 1
6695 EOF 6719 EOF
6700 6724
6701 fi 6725 fi
6702 fi 6726 fi
6703 6727
6704 if test "${USE_X_TOOLKIT}" = "MOTIF"; then 6728 if test "${USE_X_TOOLKIT}" = "MOTIF"; then
6705 echo "$as_me:6705: checking for Motif version 2.1" >&5 6729 echo "$as_me:6729: checking for Motif version 2.1" >&5
6706 echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6 6730 echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6
6707 if test "${emacs_cv_motif_version_2_1+set}" = set; then 6731 if test "${emacs_cv_motif_version_2_1+set}" = set; then
6708 echo $ECHO_N "(cached) $ECHO_C" >&6 6732 echo $ECHO_N "(cached) $ECHO_C" >&6
6709 else 6733 else
6710 cat >conftest.$ac_ext <<_ACEOF 6734 cat >conftest.$ac_ext <<_ACEOF
6711 #line 6711 "configure" 6735 #line 6735 "configure"
6712 #include "confdefs.h" 6736 #include "confdefs.h"
6713 #include <Xm/Xm.h> 6737 #include <Xm/Xm.h>
6714 int 6738 int
6715 main () 6739 main ()
6716 { 6740 {
6722 ; 6746 ;
6723 return 0; 6747 return 0;
6724 } 6748 }
6725 _ACEOF 6749 _ACEOF
6726 rm -f conftest.$ac_objext 6750 rm -f conftest.$ac_objext
6727 if { (eval echo "$as_me:6727: \"$ac_compile\"") >&5 6751 if { (eval echo "$as_me:6751: \"$ac_compile\"") >&5
6728 (eval $ac_compile) 2>&5 6752 (eval $ac_compile) 2>&5
6729 ac_status=$? 6753 ac_status=$?
6730 echo "$as_me:6730: \$? = $ac_status" >&5 6754 echo "$as_me:6754: \$? = $ac_status" >&5
6731 (exit $ac_status); } && 6755 (exit $ac_status); } &&
6732 { ac_try='test -s conftest.$ac_objext' 6756 { ac_try='test -s conftest.$ac_objext'
6733 { (eval echo "$as_me:6733: \"$ac_try\"") >&5 6757 { (eval echo "$as_me:6757: \"$ac_try\"") >&5
6734 (eval $ac_try) 2>&5 6758 (eval $ac_try) 2>&5
6735 ac_status=$? 6759 ac_status=$?
6736 echo "$as_me:6736: \$? = $ac_status" >&5 6760 echo "$as_me:6760: \$? = $ac_status" >&5
6737 (exit $ac_status); }; }; then 6761 (exit $ac_status); }; }; then
6738 emacs_cv_motif_version_2_1=yes 6762 emacs_cv_motif_version_2_1=yes
6739 else 6763 else
6740 echo "$as_me: failed program was:" >&5 6764 echo "$as_me: failed program was:" >&5
6741 cat conftest.$ac_ext >&5 6765 cat conftest.$ac_ext >&5
6742 emacs_cv_motif_version_2_1=no 6766 emacs_cv_motif_version_2_1=no
6743 fi 6767 fi
6744 rm -f conftest.$ac_objext conftest.$ac_ext 6768 rm -f conftest.$ac_objext conftest.$ac_ext
6745 fi 6769 fi
6746 echo "$as_me:6746: result: $emacs_cv_motif_version_2_1" >&5 6770 echo "$as_me:6770: result: $emacs_cv_motif_version_2_1" >&5
6747 echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6 6771 echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6
6748 HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1 6772 HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1
6749 if test $emacs_cv_motif_version_2_1 = yes; then 6773 if test $emacs_cv_motif_version_2_1 = yes; then
6750 HAVE_LIBXP=no 6774 HAVE_LIBXP=no
6751 cat >>confdefs.h <<\EOF 6775 cat >>confdefs.h <<\EOF
6752 #define HAVE_MOTIF_2_1 1 6776 #define HAVE_MOTIF_2_1 1
6753 EOF 6777 EOF
6754 6778
6755 echo "$as_me:6755: checking for XpCreateContext in -lXp" >&5 6779 echo "$as_me:6779: checking for XpCreateContext in -lXp" >&5
6756 echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6 6780 echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6
6757 if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then 6781 if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then
6758 echo $ECHO_N "(cached) $ECHO_C" >&6 6782 echo $ECHO_N "(cached) $ECHO_C" >&6
6759 else 6783 else
6760 ac_check_lib_save_LIBS=$LIBS 6784 ac_check_lib_save_LIBS=$LIBS
6761 LIBS="-lXp $LIBS" 6785 LIBS="-lXp $LIBS"
6762 cat >conftest.$ac_ext <<_ACEOF 6786 cat >conftest.$ac_ext <<_ACEOF
6763 #line 6763 "configure" 6787 #line 6787 "configure"
6764 #include "confdefs.h" 6788 #include "confdefs.h"
6765 6789
6766 /* Override any gcc2 internal prototype to avoid an error. */ 6790 /* Override any gcc2 internal prototype to avoid an error. */
6767 #ifdef __cplusplus 6791 #ifdef __cplusplus
6768 extern "C" 6792 extern "C"
6777 ; 6801 ;
6778 return 0; 6802 return 0;
6779 } 6803 }
6780 _ACEOF 6804 _ACEOF
6781 rm -f conftest.$ac_objext conftest$ac_exeext 6805 rm -f conftest.$ac_objext conftest$ac_exeext
6782 if { (eval echo "$as_me:6782: \"$ac_link\"") >&5 6806 if { (eval echo "$as_me:6806: \"$ac_link\"") >&5
6783 (eval $ac_link) 2>&5 6807 (eval $ac_link) 2>&5
6784 ac_status=$? 6808 ac_status=$?
6785 echo "$as_me:6785: \$? = $ac_status" >&5 6809 echo "$as_me:6809: \$? = $ac_status" >&5
6786 (exit $ac_status); } && 6810 (exit $ac_status); } &&
6787 { ac_try='test -s conftest$ac_exeext' 6811 { ac_try='test -s conftest$ac_exeext'
6788 { (eval echo "$as_me:6788: \"$ac_try\"") >&5 6812 { (eval echo "$as_me:6812: \"$ac_try\"") >&5
6789 (eval $ac_try) 2>&5 6813 (eval $ac_try) 2>&5
6790 ac_status=$? 6814 ac_status=$?
6791 echo "$as_me:6791: \$? = $ac_status" >&5 6815 echo "$as_me:6815: \$? = $ac_status" >&5
6792 (exit $ac_status); }; }; then 6816 (exit $ac_status); }; }; then
6793 ac_cv_lib_Xp_XpCreateContext=yes 6817 ac_cv_lib_Xp_XpCreateContext=yes
6794 else 6818 else
6795 echo "$as_me: failed program was:" >&5 6819 echo "$as_me: failed program was:" >&5
6796 cat conftest.$ac_ext >&5 6820 cat conftest.$ac_ext >&5
6797 ac_cv_lib_Xp_XpCreateContext=no 6821 ac_cv_lib_Xp_XpCreateContext=no
6798 fi 6822 fi
6799 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6823 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6800 LIBS=$ac_check_lib_save_LIBS 6824 LIBS=$ac_check_lib_save_LIBS
6801 fi 6825 fi
6802 echo "$as_me:6802: result: $ac_cv_lib_Xp_XpCreateContext" >&5 6826 echo "$as_me:6826: result: $ac_cv_lib_Xp_XpCreateContext" >&5
6803 echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6 6827 echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6
6804 if test $ac_cv_lib_Xp_XpCreateContext = yes; then 6828 if test $ac_cv_lib_Xp_XpCreateContext = yes; then
6805 HAVE_LIBXP=yes 6829 HAVE_LIBXP=yes
6806 fi 6830 fi
6807 6831
6816 6840
6817 ### Is -lXaw3d available? 6841 ### Is -lXaw3d available?
6818 HAVE_XAW3D=no 6842 HAVE_XAW3D=no
6819 if test "${HAVE_X11}" = "yes"; then 6843 if test "${HAVE_X11}" = "yes"; then
6820 if test "${USE_X_TOOLKIT}" != "none"; then 6844 if test "${USE_X_TOOLKIT}" != "none"; then
6821 echo "$as_me:6821: checking for X11/Xaw3d/Scrollbar.h" >&5 6845 echo "$as_me:6845: checking for X11/Xaw3d/Scrollbar.h" >&5
6822 echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6 6846 echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6
6823 if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then 6847 if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then
6824 echo $ECHO_N "(cached) $ECHO_C" >&6 6848 echo $ECHO_N "(cached) $ECHO_C" >&6
6825 else 6849 else
6826 cat >conftest.$ac_ext <<_ACEOF 6850 cat >conftest.$ac_ext <<_ACEOF
6827 #line 6827 "configure" 6851 #line 6851 "configure"
6828 #include "confdefs.h" 6852 #include "confdefs.h"
6829 #include <X11/Xaw3d/Scrollbar.h> 6853 #include <X11/Xaw3d/Scrollbar.h>
6830 _ACEOF 6854 _ACEOF
6831 if { (eval echo "$as_me:6831: \"$ac_cpp conftest.$ac_ext\"") >&5 6855 if { (eval echo "$as_me:6855: \"$ac_cpp conftest.$ac_ext\"") >&5
6832 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6856 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6833 ac_status=$? 6857 ac_status=$?
6834 egrep -v '^ *\+' conftest.er1 >conftest.err 6858 egrep -v '^ *\+' conftest.er1 >conftest.err
6835 rm -f conftest.er1 6859 rm -f conftest.er1
6836 cat conftest.err >&5 6860 cat conftest.err >&5
6837 echo "$as_me:6837: \$? = $ac_status" >&5 6861 echo "$as_me:6861: \$? = $ac_status" >&5
6838 (exit $ac_status); } >/dev/null; then 6862 (exit $ac_status); } >/dev/null; then
6839 if test -s conftest.err; then 6863 if test -s conftest.err; then
6840 ac_cpp_err=$ac_c_preproc_warn_flag 6864 ac_cpp_err=$ac_c_preproc_warn_flag
6841 else 6865 else
6842 ac_cpp_err= 6866 ac_cpp_err=
6851 cat conftest.$ac_ext >&5 6875 cat conftest.$ac_ext >&5
6852 ac_cv_header_X11_Xaw3d_Scrollbar_h=no 6876 ac_cv_header_X11_Xaw3d_Scrollbar_h=no
6853 fi 6877 fi
6854 rm -f conftest.err conftest.$ac_ext 6878 rm -f conftest.err conftest.$ac_ext
6855 fi 6879 fi
6856 echo "$as_me:6856: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5 6880 echo "$as_me:6880: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5
6857 echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6 6881 echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6
6858 if test $ac_cv_header_X11_Xaw3d_Scrollbar_h = yes; then 6882 if test $ac_cv_header_X11_Xaw3d_Scrollbar_h = yes; then
6859 echo "$as_me:6859: checking for XawScrollbarSetThumb in -lXaw3d" >&5 6883 echo "$as_me:6883: checking for XawScrollbarSetThumb in -lXaw3d" >&5
6860 echo $ECHO_N "checking for XawScrollbarSetThumb in -lXaw3d... $ECHO_C" >&6 6884 echo $ECHO_N "checking for XawScrollbarSetThumb in -lXaw3d... $ECHO_C" >&6
6861 if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then 6885 if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then
6862 echo $ECHO_N "(cached) $ECHO_C" >&6 6886 echo $ECHO_N "(cached) $ECHO_C" >&6
6863 else 6887 else
6864 ac_check_lib_save_LIBS=$LIBS 6888 ac_check_lib_save_LIBS=$LIBS
6865 LIBS="-lXaw3d $LIBS" 6889 LIBS="-lXaw3d $LIBS"
6866 cat >conftest.$ac_ext <<_ACEOF 6890 cat >conftest.$ac_ext <<_ACEOF
6867 #line 6867 "configure" 6891 #line 6891 "configure"
6868 #include "confdefs.h" 6892 #include "confdefs.h"
6869 6893
6870 /* Override any gcc2 internal prototype to avoid an error. */ 6894 /* Override any gcc2 internal prototype to avoid an error. */
6871 #ifdef __cplusplus 6895 #ifdef __cplusplus
6872 extern "C" 6896 extern "C"
6881 ; 6905 ;
6882 return 0; 6906 return 0;
6883 } 6907 }
6884 _ACEOF 6908 _ACEOF
6885 rm -f conftest.$ac_objext conftest$ac_exeext 6909 rm -f conftest.$ac_objext conftest$ac_exeext
6886 if { (eval echo "$as_me:6886: \"$ac_link\"") >&5 6910 if { (eval echo "$as_me:6910: \"$ac_link\"") >&5
6887 (eval $ac_link) 2>&5 6911 (eval $ac_link) 2>&5
6888 ac_status=$? 6912 ac_status=$?
6889 echo "$as_me:6889: \$? = $ac_status" >&5 6913 echo "$as_me:6913: \$? = $ac_status" >&5
6890 (exit $ac_status); } && 6914 (exit $ac_status); } &&
6891 { ac_try='test -s conftest$ac_exeext' 6915 { ac_try='test -s conftest$ac_exeext'
6892 { (eval echo "$as_me:6892: \"$ac_try\"") >&5 6916 { (eval echo "$as_me:6916: \"$ac_try\"") >&5
6893 (eval $ac_try) 2>&5 6917 (eval $ac_try) 2>&5
6894 ac_status=$? 6918 ac_status=$?
6895 echo "$as_me:6895: \$? = $ac_status" >&5 6919 echo "$as_me:6919: \$? = $ac_status" >&5
6896 (exit $ac_status); }; }; then 6920 (exit $ac_status); }; }; then
6897 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=yes 6921 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=yes
6898 else 6922 else
6899 echo "$as_me: failed program was:" >&5 6923 echo "$as_me: failed program was:" >&5
6900 cat conftest.$ac_ext >&5 6924 cat conftest.$ac_ext >&5
6901 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=no 6925 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=no
6902 fi 6926 fi
6903 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6927 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6904 LIBS=$ac_check_lib_save_LIBS 6928 LIBS=$ac_check_lib_save_LIBS
6905 fi 6929 fi
6906 echo "$as_me:6906: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5 6930 echo "$as_me:6930: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5
6907 echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6 6931 echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6
6908 if test $ac_cv_lib_Xaw3d_XawScrollbarSetThumb = yes; then 6932 if test $ac_cv_lib_Xaw3d_XawScrollbarSetThumb = yes; then
6909 HAVE_XAW3D=yes 6933 HAVE_XAW3D=yes
6910 fi 6934 fi
6911 6935
6949 6973
6950 ### Use -lXpm if available, unless `--with-xpm=no'. 6974 ### Use -lXpm if available, unless `--with-xpm=no'.
6951 HAVE_XPM=no 6975 HAVE_XPM=no
6952 if test "${HAVE_X11}" = "yes"; then 6976 if test "${HAVE_X11}" = "yes"; then
6953 if test "${with_xpm}" != "no"; then 6977 if test "${with_xpm}" != "no"; then
6954 echo "$as_me:6954: checking for X11/xpm.h" >&5 6978 echo "$as_me:6978: checking for X11/xpm.h" >&5
6955 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6 6979 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
6956 if test "${ac_cv_header_X11_xpm_h+set}" = set; then 6980 if test "${ac_cv_header_X11_xpm_h+set}" = set; then
6957 echo $ECHO_N "(cached) $ECHO_C" >&6 6981 echo $ECHO_N "(cached) $ECHO_C" >&6
6958 else 6982 else
6959 cat >conftest.$ac_ext <<_ACEOF 6983 cat >conftest.$ac_ext <<_ACEOF
6960 #line 6960 "configure" 6984 #line 6984 "configure"
6961 #include "confdefs.h" 6985 #include "confdefs.h"
6962 #include <X11/xpm.h> 6986 #include <X11/xpm.h>
6963 _ACEOF 6987 _ACEOF
6964 if { (eval echo "$as_me:6964: \"$ac_cpp conftest.$ac_ext\"") >&5 6988 if { (eval echo "$as_me:6988: \"$ac_cpp conftest.$ac_ext\"") >&5
6965 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6989 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6966 ac_status=$? 6990 ac_status=$?
6967 egrep -v '^ *\+' conftest.er1 >conftest.err 6991 egrep -v '^ *\+' conftest.er1 >conftest.err
6968 rm -f conftest.er1 6992 rm -f conftest.er1
6969 cat conftest.err >&5 6993 cat conftest.err >&5
6970 echo "$as_me:6970: \$? = $ac_status" >&5 6994 echo "$as_me:6994: \$? = $ac_status" >&5
6971 (exit $ac_status); } >/dev/null; then 6995 (exit $ac_status); } >/dev/null; then
6972 if test -s conftest.err; then 6996 if test -s conftest.err; then
6973 ac_cpp_err=$ac_c_preproc_warn_flag 6997 ac_cpp_err=$ac_c_preproc_warn_flag
6974 else 6998 else
6975 ac_cpp_err= 6999 ac_cpp_err=
6984 cat conftest.$ac_ext >&5 7008 cat conftest.$ac_ext >&5
6985 ac_cv_header_X11_xpm_h=no 7009 ac_cv_header_X11_xpm_h=no
6986 fi 7010 fi
6987 rm -f conftest.err conftest.$ac_ext 7011 rm -f conftest.err conftest.$ac_ext
6988 fi 7012 fi
6989 echo "$as_me:6989: result: $ac_cv_header_X11_xpm_h" >&5 7013 echo "$as_me:7013: result: $ac_cv_header_X11_xpm_h" >&5
6990 echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6 7014 echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6
6991 if test $ac_cv_header_X11_xpm_h = yes; then 7015 if test $ac_cv_header_X11_xpm_h = yes; then
6992 echo "$as_me:6992: checking for XpmReadFileToPixmap in -lXpm" >&5 7016 echo "$as_me:7016: checking for XpmReadFileToPixmap in -lXpm" >&5
6993 echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6 7017 echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6
6994 if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then 7018 if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then
6995 echo $ECHO_N "(cached) $ECHO_C" >&6 7019 echo $ECHO_N "(cached) $ECHO_C" >&6
6996 else 7020 else
6997 ac_check_lib_save_LIBS=$LIBS 7021 ac_check_lib_save_LIBS=$LIBS
6998 LIBS="-lXpm -lX11 $LIBS" 7022 LIBS="-lXpm -lX11 $LIBS"
6999 cat >conftest.$ac_ext <<_ACEOF 7023 cat >conftest.$ac_ext <<_ACEOF
7000 #line 7000 "configure" 7024 #line 7024 "configure"
7001 #include "confdefs.h" 7025 #include "confdefs.h"
7002 7026
7003 /* Override any gcc2 internal prototype to avoid an error. */ 7027 /* Override any gcc2 internal prototype to avoid an error. */
7004 #ifdef __cplusplus 7028 #ifdef __cplusplus
7005 extern "C" 7029 extern "C"
7014 ; 7038 ;
7015 return 0; 7039 return 0;
7016 } 7040 }
7017 _ACEOF 7041 _ACEOF
7018 rm -f conftest.$ac_objext conftest$ac_exeext 7042 rm -f conftest.$ac_objext conftest$ac_exeext
7019 if { (eval echo "$as_me:7019: \"$ac_link\"") >&5 7043 if { (eval echo "$as_me:7043: \"$ac_link\"") >&5
7020 (eval $ac_link) 2>&5 7044 (eval $ac_link) 2>&5
7021 ac_status=$? 7045 ac_status=$?
7022 echo "$as_me:7022: \$? = $ac_status" >&5 7046 echo "$as_me:7046: \$? = $ac_status" >&5
7023 (exit $ac_status); } && 7047 (exit $ac_status); } &&
7024 { ac_try='test -s conftest$ac_exeext' 7048 { ac_try='test -s conftest$ac_exeext'
7025 { (eval echo "$as_me:7025: \"$ac_try\"") >&5 7049 { (eval echo "$as_me:7049: \"$ac_try\"") >&5
7026 (eval $ac_try) 2>&5 7050 (eval $ac_try) 2>&5
7027 ac_status=$? 7051 ac_status=$?
7028 echo "$as_me:7028: \$? = $ac_status" >&5 7052 echo "$as_me:7052: \$? = $ac_status" >&5
7029 (exit $ac_status); }; }; then 7053 (exit $ac_status); }; }; then
7030 ac_cv_lib_Xpm_XpmReadFileToPixmap=yes 7054 ac_cv_lib_Xpm_XpmReadFileToPixmap=yes
7031 else 7055 else
7032 echo "$as_me: failed program was:" >&5 7056 echo "$as_me: failed program was:" >&5
7033 cat conftest.$ac_ext >&5 7057 cat conftest.$ac_ext >&5
7034 ac_cv_lib_Xpm_XpmReadFileToPixmap=no 7058 ac_cv_lib_Xpm_XpmReadFileToPixmap=no
7035 fi 7059 fi
7036 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7060 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7037 LIBS=$ac_check_lib_save_LIBS 7061 LIBS=$ac_check_lib_save_LIBS
7038 fi 7062 fi
7039 echo "$as_me:7039: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5 7063 echo "$as_me:7063: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5
7040 echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6 7064 echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6
7041 if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then 7065 if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then
7042 HAVE_XPM=yes 7066 HAVE_XPM=yes
7043 fi 7067 fi
7044 7068
7045 fi 7069 fi
7046 7070
7047 if test "${HAVE_XPM}" = "yes"; then 7071 if test "${HAVE_XPM}" = "yes"; then
7048 echo "$as_me:7048: checking for XpmReturnAllocPixels preprocessor define" >&5 7072 echo "$as_me:7072: checking for XpmReturnAllocPixels preprocessor define" >&5
7049 echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define... $ECHO_C" >&6 7073 echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define... $ECHO_C" >&6
7050 cat >conftest.$ac_ext <<_ACEOF 7074 cat >conftest.$ac_ext <<_ACEOF
7051 #line 7051 "configure" 7075 #line 7075 "configure"
7052 #include "confdefs.h" 7076 #include "confdefs.h"
7053 #include "X11/xpm.h" 7077 #include "X11/xpm.h"
7054 #ifndef XpmReturnAllocPixels 7078 #ifndef XpmReturnAllocPixels
7055 no_return_alloc_pixels 7079 no_return_alloc_pixels
7056 #endif 7080 #endif
7063 HAVE_XPM=yes 7087 HAVE_XPM=yes
7064 fi 7088 fi
7065 rm -f conftest* 7089 rm -f conftest*
7066 7090
7067 if test "${HAVE_XPM}" = "yes"; then 7091 if test "${HAVE_XPM}" = "yes"; then
7068 echo "$as_me:7068: result: yes" >&5 7092 echo "$as_me:7092: result: yes" >&5
7069 echo "${ECHO_T}yes" >&6 7093 echo "${ECHO_T}yes" >&6
7070 else 7094 else
7071 echo "$as_me:7071: result: no" >&5 7095 echo "$as_me:7095: result: no" >&5
7072 echo "${ECHO_T}no" >&6 7096 echo "${ECHO_T}no" >&6
7073 fi 7097 fi
7074 fi 7098 fi
7075 fi 7099 fi
7076 7100
7084 7108
7085 ### Use -ljpeg if available, unless `--with-jpeg=no'. 7109 ### Use -ljpeg if available, unless `--with-jpeg=no'.
7086 HAVE_JPEG=no 7110 HAVE_JPEG=no
7087 if test "${HAVE_X11}" = "yes"; then 7111 if test "${HAVE_X11}" = "yes"; then
7088 if test "${with_jpeg}" != "no"; then 7112 if test "${with_jpeg}" != "no"; then
7089 echo "$as_me:7089: checking for jerror.h" >&5 7113 echo "$as_me:7113: checking for jerror.h" >&5
7090 echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6 7114 echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6
7091 if test "${ac_cv_header_jerror_h+set}" = set; then 7115 if test "${ac_cv_header_jerror_h+set}" = set; then
7092 echo $ECHO_N "(cached) $ECHO_C" >&6 7116 echo $ECHO_N "(cached) $ECHO_C" >&6
7093 else 7117 else
7094 cat >conftest.$ac_ext <<_ACEOF 7118 cat >conftest.$ac_ext <<_ACEOF
7095 #line 7095 "configure" 7119 #line 7119 "configure"
7096 #include "confdefs.h" 7120 #include "confdefs.h"
7097 #include <jerror.h> 7121 #include <jerror.h>
7098 _ACEOF 7122 _ACEOF
7099 if { (eval echo "$as_me:7099: \"$ac_cpp conftest.$ac_ext\"") >&5 7123 if { (eval echo "$as_me:7123: \"$ac_cpp conftest.$ac_ext\"") >&5
7100 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7124 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7101 ac_status=$? 7125 ac_status=$?
7102 egrep -v '^ *\+' conftest.er1 >conftest.err 7126 egrep -v '^ *\+' conftest.er1 >conftest.err
7103 rm -f conftest.er1 7127 rm -f conftest.er1
7104 cat conftest.err >&5 7128 cat conftest.err >&5
7105 echo "$as_me:7105: \$? = $ac_status" >&5 7129 echo "$as_me:7129: \$? = $ac_status" >&5
7106 (exit $ac_status); } >/dev/null; then 7130 (exit $ac_status); } >/dev/null; then
7107 if test -s conftest.err; then 7131 if test -s conftest.err; then
7108 ac_cpp_err=$ac_c_preproc_warn_flag 7132 ac_cpp_err=$ac_c_preproc_warn_flag
7109 else 7133 else
7110 ac_cpp_err= 7134 ac_cpp_err=
7119 cat conftest.$ac_ext >&5 7143 cat conftest.$ac_ext >&5
7120 ac_cv_header_jerror_h=no 7144 ac_cv_header_jerror_h=no
7121 fi 7145 fi
7122 rm -f conftest.err conftest.$ac_ext 7146 rm -f conftest.err conftest.$ac_ext
7123 fi 7147 fi
7124 echo "$as_me:7124: result: $ac_cv_header_jerror_h" >&5 7148 echo "$as_me:7148: result: $ac_cv_header_jerror_h" >&5
7125 echo "${ECHO_T}$ac_cv_header_jerror_h" >&6 7149 echo "${ECHO_T}$ac_cv_header_jerror_h" >&6
7126 if test $ac_cv_header_jerror_h = yes; then 7150 if test $ac_cv_header_jerror_h = yes; then
7127 echo "$as_me:7127: checking for jpeg_destroy_compress in -ljpeg" >&5 7151 echo "$as_me:7151: checking for jpeg_destroy_compress in -ljpeg" >&5
7128 echo $ECHO_N "checking for jpeg_destroy_compress in -ljpeg... $ECHO_C" >&6 7152 echo $ECHO_N "checking for jpeg_destroy_compress in -ljpeg... $ECHO_C" >&6
7129 if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then 7153 if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then
7130 echo $ECHO_N "(cached) $ECHO_C" >&6 7154 echo $ECHO_N "(cached) $ECHO_C" >&6
7131 else 7155 else
7132 ac_check_lib_save_LIBS=$LIBS 7156 ac_check_lib_save_LIBS=$LIBS
7133 LIBS="-ljpeg $LIBS" 7157 LIBS="-ljpeg $LIBS"
7134 cat >conftest.$ac_ext <<_ACEOF 7158 cat >conftest.$ac_ext <<_ACEOF
7135 #line 7135 "configure" 7159 #line 7159 "configure"
7136 #include "confdefs.h" 7160 #include "confdefs.h"
7137 7161
7138 /* Override any gcc2 internal prototype to avoid an error. */ 7162 /* Override any gcc2 internal prototype to avoid an error. */
7139 #ifdef __cplusplus 7163 #ifdef __cplusplus
7140 extern "C" 7164 extern "C"
7149 ; 7173 ;
7150 return 0; 7174 return 0;
7151 } 7175 }
7152 _ACEOF 7176 _ACEOF
7153 rm -f conftest.$ac_objext conftest$ac_exeext 7177 rm -f conftest.$ac_objext conftest$ac_exeext
7154 if { (eval echo "$as_me:7154: \"$ac_link\"") >&5 7178 if { (eval echo "$as_me:7178: \"$ac_link\"") >&5
7155 (eval $ac_link) 2>&5 7179 (eval $ac_link) 2>&5
7156 ac_status=$? 7180 ac_status=$?
7157 echo "$as_me:7157: \$? = $ac_status" >&5 7181 echo "$as_me:7181: \$? = $ac_status" >&5
7158 (exit $ac_status); } && 7182 (exit $ac_status); } &&
7159 { ac_try='test -s conftest$ac_exeext' 7183 { ac_try='test -s conftest$ac_exeext'
7160 { (eval echo "$as_me:7160: \"$ac_try\"") >&5 7184 { (eval echo "$as_me:7184: \"$ac_try\"") >&5
7161 (eval $ac_try) 2>&5 7185 (eval $ac_try) 2>&5
7162 ac_status=$? 7186 ac_status=$?
7163 echo "$as_me:7163: \$? = $ac_status" >&5 7187 echo "$as_me:7187: \$? = $ac_status" >&5
7164 (exit $ac_status); }; }; then 7188 (exit $ac_status); }; }; then
7165 ac_cv_lib_jpeg_jpeg_destroy_compress=yes 7189 ac_cv_lib_jpeg_jpeg_destroy_compress=yes
7166 else 7190 else
7167 echo "$as_me: failed program was:" >&5 7191 echo "$as_me: failed program was:" >&5
7168 cat conftest.$ac_ext >&5 7192 cat conftest.$ac_ext >&5
7169 ac_cv_lib_jpeg_jpeg_destroy_compress=no 7193 ac_cv_lib_jpeg_jpeg_destroy_compress=no
7170 fi 7194 fi
7171 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7195 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7172 LIBS=$ac_check_lib_save_LIBS 7196 LIBS=$ac_check_lib_save_LIBS
7173 fi 7197 fi
7174 echo "$as_me:7174: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5 7198 echo "$as_me:7198: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5
7175 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6 7199 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6
7176 if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then 7200 if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then
7177 HAVE_JPEG=yes 7201 HAVE_JPEG=yes
7178 fi 7202 fi
7179 7203
7191 7215
7192 ### Use -lpng if available, unless `--with-png=no'. 7216 ### Use -lpng if available, unless `--with-png=no'.
7193 HAVE_PNG=no 7217 HAVE_PNG=no
7194 if test "${HAVE_X11}" = "yes"; then 7218 if test "${HAVE_X11}" = "yes"; then
7195 if test "${with_png}" != "no"; then 7219 if test "${with_png}" != "no"; then
7196 echo "$as_me:7196: checking for png.h" >&5 7220 echo "$as_me:7220: checking for png.h" >&5
7197 echo $ECHO_N "checking for png.h... $ECHO_C" >&6 7221 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
7198 if test "${ac_cv_header_png_h+set}" = set; then 7222 if test "${ac_cv_header_png_h+set}" = set; then
7199 echo $ECHO_N "(cached) $ECHO_C" >&6 7223 echo $ECHO_N "(cached) $ECHO_C" >&6
7200 else 7224 else
7201 cat >conftest.$ac_ext <<_ACEOF 7225 cat >conftest.$ac_ext <<_ACEOF
7202 #line 7202 "configure" 7226 #line 7226 "configure"
7203 #include "confdefs.h" 7227 #include "confdefs.h"
7204 #include <png.h> 7228 #include <png.h>
7205 _ACEOF 7229 _ACEOF
7206 if { (eval echo "$as_me:7206: \"$ac_cpp conftest.$ac_ext\"") >&5 7230 if { (eval echo "$as_me:7230: \"$ac_cpp conftest.$ac_ext\"") >&5
7207 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7231 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7208 ac_status=$? 7232 ac_status=$?
7209 egrep -v '^ *\+' conftest.er1 >conftest.err 7233 egrep -v '^ *\+' conftest.er1 >conftest.err
7210 rm -f conftest.er1 7234 rm -f conftest.er1
7211 cat conftest.err >&5 7235 cat conftest.err >&5
7212 echo "$as_me:7212: \$? = $ac_status" >&5 7236 echo "$as_me:7236: \$? = $ac_status" >&5
7213 (exit $ac_status); } >/dev/null; then 7237 (exit $ac_status); } >/dev/null; then
7214 if test -s conftest.err; then 7238 if test -s conftest.err; then
7215 ac_cpp_err=$ac_c_preproc_warn_flag 7239 ac_cpp_err=$ac_c_preproc_warn_flag
7216 else 7240 else
7217 ac_cpp_err= 7241 ac_cpp_err=
7226 cat conftest.$ac_ext >&5 7250 cat conftest.$ac_ext >&5
7227 ac_cv_header_png_h=no 7251 ac_cv_header_png_h=no
7228 fi 7252 fi
7229 rm -f conftest.err conftest.$ac_ext 7253 rm -f conftest.err conftest.$ac_ext
7230 fi 7254 fi
7231 echo "$as_me:7231: result: $ac_cv_header_png_h" >&5 7255 echo "$as_me:7255: result: $ac_cv_header_png_h" >&5
7232 echo "${ECHO_T}$ac_cv_header_png_h" >&6 7256 echo "${ECHO_T}$ac_cv_header_png_h" >&6
7233 if test $ac_cv_header_png_h = yes; then 7257 if test $ac_cv_header_png_h = yes; then
7234 echo "$as_me:7234: checking for png_get_channels in -lpng" >&5 7258 echo "$as_me:7258: checking for png_get_channels in -lpng" >&5
7235 echo $ECHO_N "checking for png_get_channels in -lpng... $ECHO_C" >&6 7259 echo $ECHO_N "checking for png_get_channels in -lpng... $ECHO_C" >&6
7236 if test "${ac_cv_lib_png_png_get_channels+set}" = set; then 7260 if test "${ac_cv_lib_png_png_get_channels+set}" = set; then
7237 echo $ECHO_N "(cached) $ECHO_C" >&6 7261 echo $ECHO_N "(cached) $ECHO_C" >&6
7238 else 7262 else
7239 ac_check_lib_save_LIBS=$LIBS 7263 ac_check_lib_save_LIBS=$LIBS
7240 LIBS="-lpng -lz -lm $LIBS" 7264 LIBS="-lpng -lz -lm $LIBS"
7241 cat >conftest.$ac_ext <<_ACEOF 7265 cat >conftest.$ac_ext <<_ACEOF
7242 #line 7242 "configure" 7266 #line 7266 "configure"
7243 #include "confdefs.h" 7267 #include "confdefs.h"
7244 7268
7245 /* Override any gcc2 internal prototype to avoid an error. */ 7269 /* Override any gcc2 internal prototype to avoid an error. */
7246 #ifdef __cplusplus 7270 #ifdef __cplusplus
7247 extern "C" 7271 extern "C"
7256 ; 7280 ;
7257 return 0; 7281 return 0;
7258 } 7282 }
7259 _ACEOF 7283 _ACEOF
7260 rm -f conftest.$ac_objext conftest$ac_exeext 7284 rm -f conftest.$ac_objext conftest$ac_exeext
7261 if { (eval echo "$as_me:7261: \"$ac_link\"") >&5 7285 if { (eval echo "$as_me:7285: \"$ac_link\"") >&5
7262 (eval $ac_link) 2>&5 7286 (eval $ac_link) 2>&5
7263 ac_status=$? 7287 ac_status=$?
7264 echo "$as_me:7264: \$? = $ac_status" >&5 7288 echo "$as_me:7288: \$? = $ac_status" >&5
7265 (exit $ac_status); } && 7289 (exit $ac_status); } &&
7266 { ac_try='test -s conftest$ac_exeext' 7290 { ac_try='test -s conftest$ac_exeext'
7267 { (eval echo "$as_me:7267: \"$ac_try\"") >&5 7291 { (eval echo "$as_me:7291: \"$ac_try\"") >&5
7268 (eval $ac_try) 2>&5 7292 (eval $ac_try) 2>&5
7269 ac_status=$? 7293 ac_status=$?
7270 echo "$as_me:7270: \$? = $ac_status" >&5 7294 echo "$as_me:7294: \$? = $ac_status" >&5
7271 (exit $ac_status); }; }; then 7295 (exit $ac_status); }; }; then
7272 ac_cv_lib_png_png_get_channels=yes 7296 ac_cv_lib_png_png_get_channels=yes
7273 else 7297 else
7274 echo "$as_me: failed program was:" >&5 7298 echo "$as_me: failed program was:" >&5
7275 cat conftest.$ac_ext >&5 7299 cat conftest.$ac_ext >&5
7276 ac_cv_lib_png_png_get_channels=no 7300 ac_cv_lib_png_png_get_channels=no
7277 fi 7301 fi
7278 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7302 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7279 LIBS=$ac_check_lib_save_LIBS 7303 LIBS=$ac_check_lib_save_LIBS
7280 fi 7304 fi
7281 echo "$as_me:7281: result: $ac_cv_lib_png_png_get_channels" >&5 7305 echo "$as_me:7305: result: $ac_cv_lib_png_png_get_channels" >&5
7282 echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6 7306 echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6
7283 if test $ac_cv_lib_png_png_get_channels = yes; then 7307 if test $ac_cv_lib_png_png_get_channels = yes; then
7284 HAVE_PNG=yes 7308 HAVE_PNG=yes
7285 fi 7309 fi
7286 7310
7298 7322
7299 ### Use -ltiff if available, unless `--with-tiff=no'. 7323 ### Use -ltiff if available, unless `--with-tiff=no'.
7300 HAVE_TIFF=no 7324 HAVE_TIFF=no
7301 if test "${HAVE_X11}" = "yes"; then 7325 if test "${HAVE_X11}" = "yes"; then
7302 if test "${with_tiff}" != "no"; then 7326 if test "${with_tiff}" != "no"; then
7303 echo "$as_me:7303: checking for tiffio.h" >&5 7327 echo "$as_me:7327: checking for tiffio.h" >&5
7304 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6 7328 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
7305 if test "${ac_cv_header_tiffio_h+set}" = set; then 7329 if test "${ac_cv_header_tiffio_h+set}" = set; then
7306 echo $ECHO_N "(cached) $ECHO_C" >&6 7330 echo $ECHO_N "(cached) $ECHO_C" >&6
7307 else 7331 else
7308 cat >conftest.$ac_ext <<_ACEOF 7332 cat >conftest.$ac_ext <<_ACEOF
7309 #line 7309 "configure" 7333 #line 7333 "configure"
7310 #include "confdefs.h" 7334 #include "confdefs.h"
7311 #include <tiffio.h> 7335 #include <tiffio.h>
7312 _ACEOF 7336 _ACEOF
7313 if { (eval echo "$as_me:7313: \"$ac_cpp conftest.$ac_ext\"") >&5 7337 if { (eval echo "$as_me:7337: \"$ac_cpp conftest.$ac_ext\"") >&5
7314 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7338 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7315 ac_status=$? 7339 ac_status=$?
7316 egrep -v '^ *\+' conftest.er1 >conftest.err 7340 egrep -v '^ *\+' conftest.er1 >conftest.err
7317 rm -f conftest.er1 7341 rm -f conftest.er1
7318 cat conftest.err >&5 7342 cat conftest.err >&5
7319 echo "$as_me:7319: \$? = $ac_status" >&5 7343 echo "$as_me:7343: \$? = $ac_status" >&5
7320 (exit $ac_status); } >/dev/null; then 7344 (exit $ac_status); } >/dev/null; then
7321 if test -s conftest.err; then 7345 if test -s conftest.err; then
7322 ac_cpp_err=$ac_c_preproc_warn_flag 7346 ac_cpp_err=$ac_c_preproc_warn_flag
7323 else 7347 else
7324 ac_cpp_err= 7348 ac_cpp_err=
7333 cat conftest.$ac_ext >&5 7357 cat conftest.$ac_ext >&5
7334 ac_cv_header_tiffio_h=no 7358 ac_cv_header_tiffio_h=no
7335 fi 7359 fi
7336 rm -f conftest.err conftest.$ac_ext 7360 rm -f conftest.err conftest.$ac_ext
7337 fi 7361 fi
7338 echo "$as_me:7338: result: $ac_cv_header_tiffio_h" >&5 7362 echo "$as_me:7362: result: $ac_cv_header_tiffio_h" >&5
7339 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6 7363 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
7340 if test $ac_cv_header_tiffio_h = yes; then 7364 if test $ac_cv_header_tiffio_h = yes; then
7341 tifflibs="-lz -lm" 7365 tifflibs="-lz -lm"
7342 # At least one tiff package requires the jpeg library. 7366 # At least one tiff package requires the jpeg library.
7343 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi 7367 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi
7344 echo "$as_me:7344: checking for TIFFGetVersion in -ltiff" >&5 7368 echo "$as_me:7368: checking for TIFFGetVersion in -ltiff" >&5
7345 echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6 7369 echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6
7346 if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then 7370 if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then
7347 echo $ECHO_N "(cached) $ECHO_C" >&6 7371 echo $ECHO_N "(cached) $ECHO_C" >&6
7348 else 7372 else
7349 ac_check_lib_save_LIBS=$LIBS 7373 ac_check_lib_save_LIBS=$LIBS
7350 LIBS="-ltiff $tifflibs $LIBS" 7374 LIBS="-ltiff $tifflibs $LIBS"
7351 cat >conftest.$ac_ext <<_ACEOF 7375 cat >conftest.$ac_ext <<_ACEOF
7352 #line 7352 "configure" 7376 #line 7376 "configure"
7353 #include "confdefs.h" 7377 #include "confdefs.h"
7354 7378
7355 /* Override any gcc2 internal prototype to avoid an error. */ 7379 /* Override any gcc2 internal prototype to avoid an error. */
7356 #ifdef __cplusplus 7380 #ifdef __cplusplus
7357 extern "C" 7381 extern "C"
7366 ; 7390 ;
7367 return 0; 7391 return 0;
7368 } 7392 }
7369 _ACEOF 7393 _ACEOF
7370 rm -f conftest.$ac_objext conftest$ac_exeext 7394 rm -f conftest.$ac_objext conftest$ac_exeext
7371 if { (eval echo "$as_me:7371: \"$ac_link\"") >&5 7395 if { (eval echo "$as_me:7395: \"$ac_link\"") >&5
7372 (eval $ac_link) 2>&5 7396 (eval $ac_link) 2>&5
7373 ac_status=$? 7397 ac_status=$?
7374 echo "$as_me:7374: \$? = $ac_status" >&5 7398 echo "$as_me:7398: \$? = $ac_status" >&5
7375 (exit $ac_status); } && 7399 (exit $ac_status); } &&
7376 { ac_try='test -s conftest$ac_exeext' 7400 { ac_try='test -s conftest$ac_exeext'
7377 { (eval echo "$as_me:7377: \"$ac_try\"") >&5 7401 { (eval echo "$as_me:7401: \"$ac_try\"") >&5
7378 (eval $ac_try) 2>&5 7402 (eval $ac_try) 2>&5
7379 ac_status=$? 7403 ac_status=$?
7380 echo "$as_me:7380: \$? = $ac_status" >&5 7404 echo "$as_me:7404: \$? = $ac_status" >&5
7381 (exit $ac_status); }; }; then 7405 (exit $ac_status); }; }; then
7382 ac_cv_lib_tiff_TIFFGetVersion=yes 7406 ac_cv_lib_tiff_TIFFGetVersion=yes
7383 else 7407 else
7384 echo "$as_me: failed program was:" >&5 7408 echo "$as_me: failed program was:" >&5
7385 cat conftest.$ac_ext >&5 7409 cat conftest.$ac_ext >&5
7386 ac_cv_lib_tiff_TIFFGetVersion=no 7410 ac_cv_lib_tiff_TIFFGetVersion=no
7387 fi 7411 fi
7388 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7412 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7389 LIBS=$ac_check_lib_save_LIBS 7413 LIBS=$ac_check_lib_save_LIBS
7390 fi 7414 fi
7391 echo "$as_me:7391: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5 7415 echo "$as_me:7415: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5
7392 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6 7416 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6
7393 if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then 7417 if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then
7394 HAVE_TIFF=yes 7418 HAVE_TIFF=yes
7395 fi 7419 fi
7396 7420
7408 7432
7409 ### Use -lgif if available, unless `--with-gif=no'. 7433 ### Use -lgif if available, unless `--with-gif=no'.
7410 HAVE_GIF=no 7434 HAVE_GIF=no
7411 if test "${HAVE_X11}" = "yes"; then 7435 if test "${HAVE_X11}" = "yes"; then
7412 if test "${with_gif}" != "no"; then 7436 if test "${with_gif}" != "no"; then
7413 echo "$as_me:7413: checking for gif_lib.h" >&5 7437 echo "$as_me:7437: checking for gif_lib.h" >&5
7414 echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6 7438 echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6
7415 if test "${ac_cv_header_gif_lib_h+set}" = set; then 7439 if test "${ac_cv_header_gif_lib_h+set}" = set; then
7416 echo $ECHO_N "(cached) $ECHO_C" >&6 7440 echo $ECHO_N "(cached) $ECHO_C" >&6
7417 else 7441 else
7418 cat >conftest.$ac_ext <<_ACEOF 7442 cat >conftest.$ac_ext <<_ACEOF
7419 #line 7419 "configure" 7443 #line 7443 "configure"
7420 #include "confdefs.h" 7444 #include "confdefs.h"
7421 #include <gif_lib.h> 7445 #include <gif_lib.h>
7422 _ACEOF 7446 _ACEOF
7423 if { (eval echo "$as_me:7423: \"$ac_cpp conftest.$ac_ext\"") >&5 7447 if { (eval echo "$as_me:7447: \"$ac_cpp conftest.$ac_ext\"") >&5
7424 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7448 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7425 ac_status=$? 7449 ac_status=$?
7426 egrep -v '^ *\+' conftest.er1 >conftest.err 7450 egrep -v '^ *\+' conftest.er1 >conftest.err
7427 rm -f conftest.er1 7451 rm -f conftest.er1
7428 cat conftest.err >&5 7452 cat conftest.err >&5
7429 echo "$as_me:7429: \$? = $ac_status" >&5 7453 echo "$as_me:7453: \$? = $ac_status" >&5
7430 (exit $ac_status); } >/dev/null; then 7454 (exit $ac_status); } >/dev/null; then
7431 if test -s conftest.err; then 7455 if test -s conftest.err; then
7432 ac_cpp_err=$ac_c_preproc_warn_flag 7456 ac_cpp_err=$ac_c_preproc_warn_flag
7433 else 7457 else
7434 ac_cpp_err= 7458 ac_cpp_err=
7443 cat conftest.$ac_ext >&5 7467 cat conftest.$ac_ext >&5
7444 ac_cv_header_gif_lib_h=no 7468 ac_cv_header_gif_lib_h=no
7445 fi 7469 fi
7446 rm -f conftest.err conftest.$ac_ext 7470 rm -f conftest.err conftest.$ac_ext
7447 fi 7471 fi
7448 echo "$as_me:7448: result: $ac_cv_header_gif_lib_h" >&5 7472 echo "$as_me:7472: result: $ac_cv_header_gif_lib_h" >&5
7449 echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6 7473 echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6
7450 if test $ac_cv_header_gif_lib_h = yes; then 7474 if test $ac_cv_header_gif_lib_h = yes; then
7451 echo "$as_me:7451: checking for DGifOpen in -lungif" >&5 7475 echo "$as_me:7475: checking for DGifOpen in -lungif" >&5
7452 echo $ECHO_N "checking for DGifOpen in -lungif... $ECHO_C" >&6 7476 echo $ECHO_N "checking for DGifOpen in -lungif... $ECHO_C" >&6
7453 if test "${ac_cv_lib_ungif_DGifOpen+set}" = set; then 7477 if test "${ac_cv_lib_ungif_DGifOpen+set}" = set; then
7454 echo $ECHO_N "(cached) $ECHO_C" >&6 7478 echo $ECHO_N "(cached) $ECHO_C" >&6
7455 else 7479 else
7456 ac_check_lib_save_LIBS=$LIBS 7480 ac_check_lib_save_LIBS=$LIBS
7457 LIBS="-lungif $LIBS" 7481 LIBS="-lungif $LIBS"
7458 cat >conftest.$ac_ext <<_ACEOF 7482 cat >conftest.$ac_ext <<_ACEOF
7459 #line 7459 "configure" 7483 #line 7483 "configure"
7460 #include "confdefs.h" 7484 #include "confdefs.h"
7461 7485
7462 /* Override any gcc2 internal prototype to avoid an error. */ 7486 /* Override any gcc2 internal prototype to avoid an error. */
7463 #ifdef __cplusplus 7487 #ifdef __cplusplus
7464 extern "C" 7488 extern "C"
7473 ; 7497 ;
7474 return 0; 7498 return 0;
7475 } 7499 }
7476 _ACEOF 7500 _ACEOF
7477 rm -f conftest.$ac_objext conftest$ac_exeext 7501 rm -f conftest.$ac_objext conftest$ac_exeext
7478 if { (eval echo "$as_me:7478: \"$ac_link\"") >&5 7502 if { (eval echo "$as_me:7502: \"$ac_link\"") >&5
7479 (eval $ac_link) 2>&5 7503 (eval $ac_link) 2>&5
7480 ac_status=$? 7504 ac_status=$?
7481 echo "$as_me:7481: \$? = $ac_status" >&5 7505 echo "$as_me:7505: \$? = $ac_status" >&5
7482 (exit $ac_status); } && 7506 (exit $ac_status); } &&
7483 { ac_try='test -s conftest$ac_exeext' 7507 { ac_try='test -s conftest$ac_exeext'
7484 { (eval echo "$as_me:7484: \"$ac_try\"") >&5 7508 { (eval echo "$as_me:7508: \"$ac_try\"") >&5
7485 (eval $ac_try) 2>&5 7509 (eval $ac_try) 2>&5
7486 ac_status=$? 7510 ac_status=$?
7487 echo "$as_me:7487: \$? = $ac_status" >&5 7511 echo "$as_me:7511: \$? = $ac_status" >&5
7488 (exit $ac_status); }; }; then 7512 (exit $ac_status); }; }; then
7489 ac_cv_lib_ungif_DGifOpen=yes 7513 ac_cv_lib_ungif_DGifOpen=yes
7490 else 7514 else
7491 echo "$as_me: failed program was:" >&5 7515 echo "$as_me: failed program was:" >&5
7492 cat conftest.$ac_ext >&5 7516 cat conftest.$ac_ext >&5
7493 ac_cv_lib_ungif_DGifOpen=no 7517 ac_cv_lib_ungif_DGifOpen=no
7494 fi 7518 fi
7495 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7519 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7496 LIBS=$ac_check_lib_save_LIBS 7520 LIBS=$ac_check_lib_save_LIBS
7497 fi 7521 fi
7498 echo "$as_me:7498: result: $ac_cv_lib_ungif_DGifOpen" >&5 7522 echo "$as_me:7522: result: $ac_cv_lib_ungif_DGifOpen" >&5
7499 echo "${ECHO_T}$ac_cv_lib_ungif_DGifOpen" >&6 7523 echo "${ECHO_T}$ac_cv_lib_ungif_DGifOpen" >&6
7500 if test $ac_cv_lib_ungif_DGifOpen = yes; then 7524 if test $ac_cv_lib_ungif_DGifOpen = yes; then
7501 HAVE_GIF=yes 7525 HAVE_GIF=yes
7502 fi 7526 fi
7503 7527
7512 7536
7513 fi 7537 fi
7514 fi 7538 fi
7515 7539
7516 # If netdb.h doesn't declare h_errno, we must declare it by hand. 7540 # If netdb.h doesn't declare h_errno, we must declare it by hand.
7517 echo "$as_me:7517: checking whether netdb declares h_errno" >&5 7541 echo "$as_me:7541: checking whether netdb declares h_errno" >&5
7518 echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6 7542 echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6
7519 if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then 7543 if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then
7520 echo $ECHO_N "(cached) $ECHO_C" >&6 7544 echo $ECHO_N "(cached) $ECHO_C" >&6
7521 else 7545 else
7522 cat >conftest.$ac_ext <<_ACEOF 7546 cat >conftest.$ac_ext <<_ACEOF
7523 #line 7523 "configure" 7547 #line 7547 "configure"
7524 #include "confdefs.h" 7548 #include "confdefs.h"
7525 #include <netdb.h> 7549 #include <netdb.h>
7526 int 7550 int
7527 main () 7551 main ()
7528 { 7552 {
7530 ; 7554 ;
7531 return 0; 7555 return 0;
7532 } 7556 }
7533 _ACEOF 7557 _ACEOF
7534 rm -f conftest.$ac_objext conftest$ac_exeext 7558 rm -f conftest.$ac_objext conftest$ac_exeext
7535 if { (eval echo "$as_me:7535: \"$ac_link\"") >&5 7559 if { (eval echo "$as_me:7559: \"$ac_link\"") >&5
7536 (eval $ac_link) 2>&5 7560 (eval $ac_link) 2>&5
7537 ac_status=$? 7561 ac_status=$?
7538 echo "$as_me:7538: \$? = $ac_status" >&5 7562 echo "$as_me:7562: \$? = $ac_status" >&5
7539 (exit $ac_status); } && 7563 (exit $ac_status); } &&
7540 { ac_try='test -s conftest$ac_exeext' 7564 { ac_try='test -s conftest$ac_exeext'
7541 { (eval echo "$as_me:7541: \"$ac_try\"") >&5 7565 { (eval echo "$as_me:7565: \"$ac_try\"") >&5
7542 (eval $ac_try) 2>&5 7566 (eval $ac_try) 2>&5
7543 ac_status=$? 7567 ac_status=$?
7544 echo "$as_me:7544: \$? = $ac_status" >&5 7568 echo "$as_me:7568: \$? = $ac_status" >&5
7545 (exit $ac_status); }; }; then 7569 (exit $ac_status); }; }; then
7546 emacs_cv_netdb_declares_h_errno=yes 7570 emacs_cv_netdb_declares_h_errno=yes
7547 else 7571 else
7548 echo "$as_me: failed program was:" >&5 7572 echo "$as_me: failed program was:" >&5
7549 cat conftest.$ac_ext >&5 7573 cat conftest.$ac_ext >&5
7550 emacs_cv_netdb_declares_h_errno=no 7574 emacs_cv_netdb_declares_h_errno=no
7551 fi 7575 fi
7552 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7576 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7553 fi 7577 fi
7554 echo "$as_me:7554: result: $emacs_cv_netdb_declares_h_errno" >&5 7578 echo "$as_me:7578: result: $emacs_cv_netdb_declares_h_errno" >&5
7555 echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6 7579 echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6
7556 if test $emacs_cv_netdb_declares_h_errno = yes; then 7580 if test $emacs_cv_netdb_declares_h_errno = yes; then
7557 cat >>confdefs.h <<\EOF 7581 cat >>confdefs.h <<\EOF
7558 #define HAVE_H_ERRNO 1 7582 #define HAVE_H_ERRNO 1
7559 EOF 7583 EOF
7560 7584
7561 fi 7585 fi
7562 7586
7563 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 7587 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
7564 # for constant arguments. Useless! 7588 # for constant arguments. Useless!
7565 echo "$as_me:7565: checking for working alloca.h" >&5 7589 echo "$as_me:7589: checking for working alloca.h" >&5
7566 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 7590 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
7567 if test "${ac_cv_working_alloca_h+set}" = set; then 7591 if test "${ac_cv_working_alloca_h+set}" = set; then
7568 echo $ECHO_N "(cached) $ECHO_C" >&6 7592 echo $ECHO_N "(cached) $ECHO_C" >&6
7569 else 7593 else
7570 cat >conftest.$ac_ext <<_ACEOF 7594 cat >conftest.$ac_ext <<_ACEOF
7571 #line 7571 "configure" 7595 #line 7595 "configure"
7572 #include "confdefs.h" 7596 #include "confdefs.h"
7573 #include <alloca.h> 7597 #include <alloca.h>
7574 int 7598 int
7575 main () 7599 main ()
7576 { 7600 {
7578 ; 7602 ;
7579 return 0; 7603 return 0;
7580 } 7604 }
7581 _ACEOF 7605 _ACEOF
7582 rm -f conftest.$ac_objext conftest$ac_exeext 7606 rm -f conftest.$ac_objext conftest$ac_exeext
7583 if { (eval echo "$as_me:7583: \"$ac_link\"") >&5 7607 if { (eval echo "$as_me:7607: \"$ac_link\"") >&5
7584 (eval $ac_link) 2>&5 7608 (eval $ac_link) 2>&5
7585 ac_status=$? 7609 ac_status=$?
7586 echo "$as_me:7586: \$? = $ac_status" >&5 7610 echo "$as_me:7610: \$? = $ac_status" >&5
7587 (exit $ac_status); } && 7611 (exit $ac_status); } &&
7588 { ac_try='test -s conftest$ac_exeext' 7612 { ac_try='test -s conftest$ac_exeext'
7589 { (eval echo "$as_me:7589: \"$ac_try\"") >&5 7613 { (eval echo "$as_me:7613: \"$ac_try\"") >&5
7590 (eval $ac_try) 2>&5 7614 (eval $ac_try) 2>&5
7591 ac_status=$? 7615 ac_status=$?
7592 echo "$as_me:7592: \$? = $ac_status" >&5 7616 echo "$as_me:7616: \$? = $ac_status" >&5
7593 (exit $ac_status); }; }; then 7617 (exit $ac_status); }; }; then
7594 ac_cv_working_alloca_h=yes 7618 ac_cv_working_alloca_h=yes
7595 else 7619 else
7596 echo "$as_me: failed program was:" >&5 7620 echo "$as_me: failed program was:" >&5
7597 cat conftest.$ac_ext >&5 7621 cat conftest.$ac_ext >&5
7598 ac_cv_working_alloca_h=no 7622 ac_cv_working_alloca_h=no
7599 fi 7623 fi
7600 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7624 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7601 fi 7625 fi
7602 echo "$as_me:7602: result: $ac_cv_working_alloca_h" >&5 7626 echo "$as_me:7626: result: $ac_cv_working_alloca_h" >&5
7603 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 7627 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
7604 if test $ac_cv_working_alloca_h = yes; then 7628 if test $ac_cv_working_alloca_h = yes; then
7605 7629
7606 cat >>confdefs.h <<\EOF 7630 cat >>confdefs.h <<\EOF
7607 #define HAVE_ALLOCA_H 1 7631 #define HAVE_ALLOCA_H 1
7608 EOF 7632 EOF
7609 7633
7610 fi 7634 fi
7611 7635
7612 echo "$as_me:7612: checking for alloca" >&5 7636 echo "$as_me:7636: checking for alloca" >&5
7613 echo $ECHO_N "checking for alloca... $ECHO_C" >&6 7637 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
7614 if test "${ac_cv_func_alloca_works+set}" = set; then 7638 if test "${ac_cv_func_alloca_works+set}" = set; then
7615 echo $ECHO_N "(cached) $ECHO_C" >&6 7639 echo $ECHO_N "(cached) $ECHO_C" >&6
7616 else 7640 else
7617 cat >conftest.$ac_ext <<_ACEOF 7641 cat >conftest.$ac_ext <<_ACEOF
7618 #line 7618 "configure" 7642 #line 7642 "configure"
7619 #include "confdefs.h" 7643 #include "confdefs.h"
7620 #ifdef __GNUC__ 7644 #ifdef __GNUC__
7621 # define alloca __builtin_alloca 7645 # define alloca __builtin_alloca
7622 #else 7646 #else
7623 # ifdef _MSC_VER 7647 # ifdef _MSC_VER
7645 ; 7669 ;
7646 return 0; 7670 return 0;
7647 } 7671 }
7648 _ACEOF 7672 _ACEOF
7649 rm -f conftest.$ac_objext conftest$ac_exeext 7673 rm -f conftest.$ac_objext conftest$ac_exeext
7650 if { (eval echo "$as_me:7650: \"$ac_link\"") >&5 7674 if { (eval echo "$as_me:7674: \"$ac_link\"") >&5
7651 (eval $ac_link) 2>&5 7675 (eval $ac_link) 2>&5
7652 ac_status=$? 7676 ac_status=$?
7653 echo "$as_me:7653: \$? = $ac_status" >&5 7677 echo "$as_me:7677: \$? = $ac_status" >&5
7654 (exit $ac_status); } && 7678 (exit $ac_status); } &&
7655 { ac_try='test -s conftest$ac_exeext' 7679 { ac_try='test -s conftest$ac_exeext'
7656 { (eval echo "$as_me:7656: \"$ac_try\"") >&5 7680 { (eval echo "$as_me:7680: \"$ac_try\"") >&5
7657 (eval $ac_try) 2>&5 7681 (eval $ac_try) 2>&5
7658 ac_status=$? 7682 ac_status=$?
7659 echo "$as_me:7659: \$? = $ac_status" >&5 7683 echo "$as_me:7683: \$? = $ac_status" >&5
7660 (exit $ac_status); }; }; then 7684 (exit $ac_status); }; }; then
7661 ac_cv_func_alloca_works=yes 7685 ac_cv_func_alloca_works=yes
7662 else 7686 else
7663 echo "$as_me: failed program was:" >&5 7687 echo "$as_me: failed program was:" >&5
7664 cat conftest.$ac_ext >&5 7688 cat conftest.$ac_ext >&5
7665 ac_cv_func_alloca_works=no 7689 ac_cv_func_alloca_works=no
7666 fi 7690 fi
7667 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7691 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7668 fi 7692 fi
7669 echo "$as_me:7669: result: $ac_cv_func_alloca_works" >&5 7693 echo "$as_me:7693: result: $ac_cv_func_alloca_works" >&5
7670 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 7694 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
7671 7695
7672 if test $ac_cv_func_alloca_works = yes; then 7696 if test $ac_cv_func_alloca_works = yes; then
7673 7697
7674 cat >>confdefs.h <<\EOF 7698 cat >>confdefs.h <<\EOF
7685 7709
7686 cat >>confdefs.h <<\EOF 7710 cat >>confdefs.h <<\EOF
7687 #define C_ALLOCA 1 7711 #define C_ALLOCA 1
7688 EOF 7712 EOF
7689 7713
7690 echo "$as_me:7690: checking whether \`alloca.c' needs Cray hooks" >&5 7714 echo "$as_me:7714: checking whether \`alloca.c' needs Cray hooks" >&5
7691 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 7715 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
7692 if test "${ac_cv_os_cray+set}" = set; then 7716 if test "${ac_cv_os_cray+set}" = set; then
7693 echo $ECHO_N "(cached) $ECHO_C" >&6 7717 echo $ECHO_N "(cached) $ECHO_C" >&6
7694 else 7718 else
7695 cat >conftest.$ac_ext <<_ACEOF 7719 cat >conftest.$ac_ext <<_ACEOF
7696 #line 7696 "configure" 7720 #line 7720 "configure"
7697 #include "confdefs.h" 7721 #include "confdefs.h"
7698 #if defined(CRAY) && ! defined(CRAY2) 7722 #if defined(CRAY) && ! defined(CRAY2)
7699 webecray 7723 webecray
7700 #else 7724 #else
7701 wenotbecray 7725 wenotbecray
7709 ac_cv_os_cray=no 7733 ac_cv_os_cray=no
7710 fi 7734 fi
7711 rm -f conftest* 7735 rm -f conftest*
7712 7736
7713 fi 7737 fi
7714 echo "$as_me:7714: result: $ac_cv_os_cray" >&5 7738 echo "$as_me:7738: result: $ac_cv_os_cray" >&5
7715 echo "${ECHO_T}$ac_cv_os_cray" >&6 7739 echo "${ECHO_T}$ac_cv_os_cray" >&6
7716 if test $ac_cv_os_cray = yes; then 7740 if test $ac_cv_os_cray = yes; then
7717 for ac_func in _getb67 GETB67 getb67; do 7741 for ac_func in _getb67 GETB67 getb67; do
7718 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 7742 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7719 echo "$as_me:7719: checking for $ac_func" >&5 7743 echo "$as_me:7743: checking for $ac_func" >&5
7720 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 7744 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7721 if eval "test \"\${$as_ac_var+set}\" = set"; then 7745 if eval "test \"\${$as_ac_var+set}\" = set"; then
7722 echo $ECHO_N "(cached) $ECHO_C" >&6 7746 echo $ECHO_N "(cached) $ECHO_C" >&6
7723 else 7747 else
7724 cat >conftest.$ac_ext <<_ACEOF 7748 cat >conftest.$ac_ext <<_ACEOF
7725 #line 7725 "configure" 7749 #line 7749 "configure"
7726 #include "confdefs.h" 7750 #include "confdefs.h"
7727 /* System header to define __stub macros and hopefully few prototypes, 7751 /* System header to define __stub macros and hopefully few prototypes,
7728 which can conflict with char $ac_func (); below. */ 7752 which can conflict with char $ac_func (); below. */
7729 #include <assert.h> 7753 #include <assert.h>
7730 /* Override any gcc2 internal prototype to avoid an error. */ 7754 /* Override any gcc2 internal prototype to avoid an error. */
7751 ; 7775 ;
7752 return 0; 7776 return 0;
7753 } 7777 }
7754 _ACEOF 7778 _ACEOF
7755 rm -f conftest.$ac_objext conftest$ac_exeext 7779 rm -f conftest.$ac_objext conftest$ac_exeext
7756 if { (eval echo "$as_me:7756: \"$ac_link\"") >&5 7780 if { (eval echo "$as_me:7780: \"$ac_link\"") >&5
7757 (eval $ac_link) 2>&5 7781 (eval $ac_link) 2>&5
7758 ac_status=$? 7782 ac_status=$?
7759 echo "$as_me:7759: \$? = $ac_status" >&5 7783 echo "$as_me:7783: \$? = $ac_status" >&5
7760 (exit $ac_status); } && 7784 (exit $ac_status); } &&
7761 { ac_try='test -s conftest$ac_exeext' 7785 { ac_try='test -s conftest$ac_exeext'
7762 { (eval echo "$as_me:7762: \"$ac_try\"") >&5 7786 { (eval echo "$as_me:7786: \"$ac_try\"") >&5
7763 (eval $ac_try) 2>&5 7787 (eval $ac_try) 2>&5
7764 ac_status=$? 7788 ac_status=$?
7765 echo "$as_me:7765: \$? = $ac_status" >&5 7789 echo "$as_me:7789: \$? = $ac_status" >&5
7766 (exit $ac_status); }; }; then 7790 (exit $ac_status); }; }; then
7767 eval "$as_ac_var=yes" 7791 eval "$as_ac_var=yes"
7768 else 7792 else
7769 echo "$as_me: failed program was:" >&5 7793 echo "$as_me: failed program was:" >&5
7770 cat conftest.$ac_ext >&5 7794 cat conftest.$ac_ext >&5
7771 eval "$as_ac_var=no" 7795 eval "$as_ac_var=no"
7772 fi 7796 fi
7773 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7797 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7774 fi 7798 fi
7775 echo "$as_me:7775: result: `eval echo '${'$as_ac_var'}'`" >&5 7799 echo "$as_me:7799: result: `eval echo '${'$as_ac_var'}'`" >&5
7776 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 7800 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7777 if test `eval echo '${'$as_ac_var'}'` = yes; then 7801 if test `eval echo '${'$as_ac_var'}'` = yes; then
7778 7802
7779 cat >>confdefs.h <<EOF 7803 cat >>confdefs.h <<EOF
7780 #define CRAY_STACKSEG_END $ac_func 7804 #define CRAY_STACKSEG_END $ac_func
7784 fi 7808 fi
7785 7809
7786 done 7810 done
7787 fi 7811 fi
7788 7812
7789 echo "$as_me:7789: checking stack direction for C alloca" >&5 7813 echo "$as_me:7813: checking stack direction for C alloca" >&5
7790 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 7814 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
7791 if test "${ac_cv_c_stack_direction+set}" = set; then 7815 if test "${ac_cv_c_stack_direction+set}" = set; then
7792 echo $ECHO_N "(cached) $ECHO_C" >&6 7816 echo $ECHO_N "(cached) $ECHO_C" >&6
7793 else 7817 else
7794 if test "$cross_compiling" = yes; then 7818 if test "$cross_compiling" = yes; then
7795 ac_cv_c_stack_direction=0 7819 ac_cv_c_stack_direction=0
7796 else 7820 else
7797 cat >conftest.$ac_ext <<_ACEOF 7821 cat >conftest.$ac_ext <<_ACEOF
7798 #line 7798 "configure" 7822 #line 7822 "configure"
7799 #include "confdefs.h" 7823 #include "confdefs.h"
7800 int 7824 int
7801 find_stack_direction () 7825 find_stack_direction ()
7802 { 7826 {
7803 static char *addr = 0; 7827 static char *addr = 0;
7816 { 7840 {
7817 exit (find_stack_direction () < 0); 7841 exit (find_stack_direction () < 0);
7818 } 7842 }
7819 _ACEOF 7843 _ACEOF
7820 rm -f conftest$ac_exeext 7844 rm -f conftest$ac_exeext
7821 if { (eval echo "$as_me:7821: \"$ac_link\"") >&5 7845 if { (eval echo "$as_me:7845: \"$ac_link\"") >&5
7822 (eval $ac_link) 2>&5 7846 (eval $ac_link) 2>&5
7823 ac_status=$? 7847 ac_status=$?
7824 echo "$as_me:7824: \$? = $ac_status" >&5 7848 echo "$as_me:7848: \$? = $ac_status" >&5
7825 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 7849 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7826 { (eval echo "$as_me:7826: \"$ac_try\"") >&5 7850 { (eval echo "$as_me:7850: \"$ac_try\"") >&5
7827 (eval $ac_try) 2>&5 7851 (eval $ac_try) 2>&5
7828 ac_status=$? 7852 ac_status=$?
7829 echo "$as_me:7829: \$? = $ac_status" >&5 7853 echo "$as_me:7853: \$? = $ac_status" >&5
7830 (exit $ac_status); }; }; then 7854 (exit $ac_status); }; }; then
7831 ac_cv_c_stack_direction=1 7855 ac_cv_c_stack_direction=1
7832 else 7856 else
7833 echo "$as_me: program exited with status $ac_status" >&5 7857 echo "$as_me: program exited with status $ac_status" >&5
7834 echo "$as_me: failed program was:" >&5 7858 echo "$as_me: failed program was:" >&5
7836 ac_cv_c_stack_direction=-1 7860 ac_cv_c_stack_direction=-1
7837 fi 7861 fi
7838 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 7862 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7839 fi 7863 fi
7840 fi 7864 fi
7841 echo "$as_me:7841: result: $ac_cv_c_stack_direction" >&5 7865 echo "$as_me:7865: result: $ac_cv_c_stack_direction" >&5
7842 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 7866 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
7843 7867
7844 cat >>confdefs.h <<EOF 7868 cat >>confdefs.h <<EOF
7845 #define STACK_DIRECTION $ac_cv_c_stack_direction 7869 #define STACK_DIRECTION $ac_cv_c_stack_direction
7846 EOF 7870 EOF
7848 fi 7872 fi
7849 7873
7850 # fmod, logb, and frexp are found in -lm on most systems. 7874 # fmod, logb, and frexp are found in -lm on most systems.
7851 # On HPUX 9.01, -lm does not contain logb, so check for sqrt. 7875 # On HPUX 9.01, -lm does not contain logb, so check for sqrt.
7852 7876
7853 echo "$as_me:7853: checking for sqrt in -lm" >&5 7877 echo "$as_me:7877: checking for sqrt in -lm" >&5
7854 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6 7878 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
7855 if test "${ac_cv_lib_m_sqrt+set}" = set; then 7879 if test "${ac_cv_lib_m_sqrt+set}" = set; then
7856 echo $ECHO_N "(cached) $ECHO_C" >&6 7880 echo $ECHO_N "(cached) $ECHO_C" >&6
7857 else 7881 else
7858 ac_check_lib_save_LIBS=$LIBS 7882 ac_check_lib_save_LIBS=$LIBS
7859 LIBS="-lm $LIBS" 7883 LIBS="-lm $LIBS"
7860 cat >conftest.$ac_ext <<_ACEOF 7884 cat >conftest.$ac_ext <<_ACEOF
7861 #line 7861 "configure" 7885 #line 7885 "configure"
7862 #include "confdefs.h" 7886 #include "confdefs.h"
7863 7887
7864 /* Override any gcc2 internal prototype to avoid an error. */ 7888 /* Override any gcc2 internal prototype to avoid an error. */
7865 #ifdef __cplusplus 7889 #ifdef __cplusplus
7866 extern "C" 7890 extern "C"
7875 ; 7899 ;
7876 return 0; 7900 return 0;
7877 } 7901 }
7878 _ACEOF 7902 _ACEOF
7879 rm -f conftest.$ac_objext conftest$ac_exeext 7903 rm -f conftest.$ac_objext conftest$ac_exeext
7880 if { (eval echo "$as_me:7880: \"$ac_link\"") >&5 7904 if { (eval echo "$as_me:7904: \"$ac_link\"") >&5
7881 (eval $ac_link) 2>&5 7905 (eval $ac_link) 2>&5
7882 ac_status=$? 7906 ac_status=$?
7883 echo "$as_me:7883: \$? = $ac_status" >&5 7907 echo "$as_me:7907: \$? = $ac_status" >&5
7884 (exit $ac_status); } && 7908 (exit $ac_status); } &&
7885 { ac_try='test -s conftest$ac_exeext' 7909 { ac_try='test -s conftest$ac_exeext'
7886 { (eval echo "$as_me:7886: \"$ac_try\"") >&5 7910 { (eval echo "$as_me:7910: \"$ac_try\"") >&5
7887 (eval $ac_try) 2>&5 7911 (eval $ac_try) 2>&5
7888 ac_status=$? 7912 ac_status=$?
7889 echo "$as_me:7889: \$? = $ac_status" >&5 7913 echo "$as_me:7913: \$? = $ac_status" >&5
7890 (exit $ac_status); }; }; then 7914 (exit $ac_status); }; }; then
7891 ac_cv_lib_m_sqrt=yes 7915 ac_cv_lib_m_sqrt=yes
7892 else 7916 else
7893 echo "$as_me: failed program was:" >&5 7917 echo "$as_me: failed program was:" >&5
7894 cat conftest.$ac_ext >&5 7918 cat conftest.$ac_ext >&5
7895 ac_cv_lib_m_sqrt=no 7919 ac_cv_lib_m_sqrt=no
7896 fi 7920 fi
7897 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7921 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7898 LIBS=$ac_check_lib_save_LIBS 7922 LIBS=$ac_check_lib_save_LIBS
7899 fi 7923 fi
7900 echo "$as_me:7900: result: $ac_cv_lib_m_sqrt" >&5 7924 echo "$as_me:7924: result: $ac_cv_lib_m_sqrt" >&5
7901 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6 7925 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
7902 if test $ac_cv_lib_m_sqrt = yes; then 7926 if test $ac_cv_lib_m_sqrt = yes; then
7903 cat >>confdefs.h <<EOF 7927 cat >>confdefs.h <<EOF
7904 #define HAVE_LIBM 1 7928 #define HAVE_LIBM 1
7905 EOF 7929 EOF
7908 7932
7909 fi 7933 fi
7910 7934
7911 # Check for mail-locking functions in a "mail" library 7935 # Check for mail-locking functions in a "mail" library
7912 7936
7913 echo "$as_me:7913: checking for maillock in -lmail" >&5 7937 echo "$as_me:7937: checking for maillock in -lmail" >&5
7914 echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6 7938 echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6
7915 if test "${ac_cv_lib_mail_maillock+set}" = set; then 7939 if test "${ac_cv_lib_mail_maillock+set}" = set; then
7916 echo $ECHO_N "(cached) $ECHO_C" >&6 7940 echo $ECHO_N "(cached) $ECHO_C" >&6
7917 else 7941 else
7918 ac_check_lib_save_LIBS=$LIBS 7942 ac_check_lib_save_LIBS=$LIBS
7919 LIBS="-lmail $LIBS" 7943 LIBS="-lmail $LIBS"
7920 cat >conftest.$ac_ext <<_ACEOF 7944 cat >conftest.$ac_ext <<_ACEOF
7921 #line 7921 "configure" 7945 #line 7945 "configure"
7922 #include "confdefs.h" 7946 #include "confdefs.h"
7923 7947
7924 /* Override any gcc2 internal prototype to avoid an error. */ 7948 /* Override any gcc2 internal prototype to avoid an error. */
7925 #ifdef __cplusplus 7949 #ifdef __cplusplus
7926 extern "C" 7950 extern "C"
7935 ; 7959 ;
7936 return 0; 7960 return 0;
7937 } 7961 }
7938 _ACEOF 7962 _ACEOF
7939 rm -f conftest.$ac_objext conftest$ac_exeext 7963 rm -f conftest.$ac_objext conftest$ac_exeext
7940 if { (eval echo "$as_me:7940: \"$ac_link\"") >&5 7964 if { (eval echo "$as_me:7964: \"$ac_link\"") >&5
7941 (eval $ac_link) 2>&5 7965 (eval $ac_link) 2>&5
7942 ac_status=$? 7966 ac_status=$?
7943 echo "$as_me:7943: \$? = $ac_status" >&5 7967 echo "$as_me:7967: \$? = $ac_status" >&5
7944 (exit $ac_status); } && 7968 (exit $ac_status); } &&
7945 { ac_try='test -s conftest$ac_exeext' 7969 { ac_try='test -s conftest$ac_exeext'
7946 { (eval echo "$as_me:7946: \"$ac_try\"") >&5 7970 { (eval echo "$as_me:7970: \"$ac_try\"") >&5
7947 (eval $ac_try) 2>&5 7971 (eval $ac_try) 2>&5
7948 ac_status=$? 7972 ac_status=$?
7949 echo "$as_me:7949: \$? = $ac_status" >&5 7973 echo "$as_me:7973: \$? = $ac_status" >&5
7950 (exit $ac_status); }; }; then 7974 (exit $ac_status); }; }; then
7951 ac_cv_lib_mail_maillock=yes 7975 ac_cv_lib_mail_maillock=yes
7952 else 7976 else
7953 echo "$as_me: failed program was:" >&5 7977 echo "$as_me: failed program was:" >&5
7954 cat conftest.$ac_ext >&5 7978 cat conftest.$ac_ext >&5
7955 ac_cv_lib_mail_maillock=no 7979 ac_cv_lib_mail_maillock=no
7956 fi 7980 fi
7957 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7981 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7958 LIBS=$ac_check_lib_save_LIBS 7982 LIBS=$ac_check_lib_save_LIBS
7959 fi 7983 fi
7960 echo "$as_me:7960: result: $ac_cv_lib_mail_maillock" >&5 7984 echo "$as_me:7984: result: $ac_cv_lib_mail_maillock" >&5
7961 echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6 7985 echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6
7962 if test $ac_cv_lib_mail_maillock = yes; then 7986 if test $ac_cv_lib_mail_maillock = yes; then
7963 cat >>confdefs.h <<EOF 7987 cat >>confdefs.h <<EOF
7964 #define HAVE_LIBMAIL 1 7988 #define HAVE_LIBMAIL 1
7965 EOF 7989 EOF
7966 7990
7967 LIBS="-lmail $LIBS" 7991 LIBS="-lmail $LIBS"
7968 7992
7969 fi 7993 fi
7970 7994
7971 echo "$as_me:7971: checking for maillock in -llockfile" >&5 7995 echo "$as_me:7995: checking for maillock in -llockfile" >&5
7972 echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6 7996 echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6
7973 if test "${ac_cv_lib_lockfile_maillock+set}" = set; then 7997 if test "${ac_cv_lib_lockfile_maillock+set}" = set; then
7974 echo $ECHO_N "(cached) $ECHO_C" >&6 7998 echo $ECHO_N "(cached) $ECHO_C" >&6
7975 else 7999 else
7976 ac_check_lib_save_LIBS=$LIBS 8000 ac_check_lib_save_LIBS=$LIBS
7977 LIBS="-llockfile $LIBS" 8001 LIBS="-llockfile $LIBS"
7978 cat >conftest.$ac_ext <<_ACEOF 8002 cat >conftest.$ac_ext <<_ACEOF
7979 #line 7979 "configure" 8003 #line 8003 "configure"
7980 #include "confdefs.h" 8004 #include "confdefs.h"
7981 8005
7982 /* Override any gcc2 internal prototype to avoid an error. */ 8006 /* Override any gcc2 internal prototype to avoid an error. */
7983 #ifdef __cplusplus 8007 #ifdef __cplusplus
7984 extern "C" 8008 extern "C"
7993 ; 8017 ;
7994 return 0; 8018 return 0;
7995 } 8019 }
7996 _ACEOF 8020 _ACEOF
7997 rm -f conftest.$ac_objext conftest$ac_exeext 8021 rm -f conftest.$ac_objext conftest$ac_exeext
7998 if { (eval echo "$as_me:7998: \"$ac_link\"") >&5 8022 if { (eval echo "$as_me:8022: \"$ac_link\"") >&5
7999 (eval $ac_link) 2>&5 8023 (eval $ac_link) 2>&5
8000 ac_status=$? 8024 ac_status=$?
8001 echo "$as_me:8001: \$? = $ac_status" >&5 8025 echo "$as_me:8025: \$? = $ac_status" >&5
8002 (exit $ac_status); } && 8026 (exit $ac_status); } &&
8003 { ac_try='test -s conftest$ac_exeext' 8027 { ac_try='test -s conftest$ac_exeext'
8004 { (eval echo "$as_me:8004: \"$ac_try\"") >&5 8028 { (eval echo "$as_me:8028: \"$ac_try\"") >&5
8005 (eval $ac_try) 2>&5 8029 (eval $ac_try) 2>&5
8006 ac_status=$? 8030 ac_status=$?
8007 echo "$as_me:8007: \$? = $ac_status" >&5 8031 echo "$as_me:8031: \$? = $ac_status" >&5
8008 (exit $ac_status); }; }; then 8032 (exit $ac_status); }; }; then
8009 ac_cv_lib_lockfile_maillock=yes 8033 ac_cv_lib_lockfile_maillock=yes
8010 else 8034 else
8011 echo "$as_me: failed program was:" >&5 8035 echo "$as_me: failed program was:" >&5
8012 cat conftest.$ac_ext >&5 8036 cat conftest.$ac_ext >&5
8013 ac_cv_lib_lockfile_maillock=no 8037 ac_cv_lib_lockfile_maillock=no
8014 fi 8038 fi
8015 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8039 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8016 LIBS=$ac_check_lib_save_LIBS 8040 LIBS=$ac_check_lib_save_LIBS
8017 fi 8041 fi
8018 echo "$as_me:8018: result: $ac_cv_lib_lockfile_maillock" >&5 8042 echo "$as_me:8042: result: $ac_cv_lib_lockfile_maillock" >&5
8019 echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6 8043 echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6
8020 if test $ac_cv_lib_lockfile_maillock = yes; then 8044 if test $ac_cv_lib_lockfile_maillock = yes; then
8021 cat >>confdefs.h <<EOF 8045 cat >>confdefs.h <<EOF
8022 #define HAVE_LIBLOCKFILE 1 8046 #define HAVE_LIBLOCKFILE 1
8023 EOF 8047 EOF
8030 # locking (e.g. Debian). If we couldn't link against liblockfile 8054 # locking (e.g. Debian). If we couldn't link against liblockfile
8031 # (no liblockfile.a installed), ensure that we don't need to. 8055 # (no liblockfile.a installed), ensure that we don't need to.
8032 if test "$ac_cv_lib_lockfile_maillock" = no; then 8056 if test "$ac_cv_lib_lockfile_maillock" = no; then
8033 # Extract the first word of "liblockfile.so", so it can be a program name with args. 8057 # Extract the first word of "liblockfile.so", so it can be a program name with args.
8034 set dummy liblockfile.so; ac_word=$2 8058 set dummy liblockfile.so; ac_word=$2
8035 echo "$as_me:8035: checking for $ac_word" >&5 8059 echo "$as_me:8059: checking for $ac_word" >&5
8036 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 8060 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8037 if test "${ac_cv_prog_liblockfile+set}" = set; then 8061 if test "${ac_cv_prog_liblockfile+set}" = set; then
8038 echo $ECHO_N "(cached) $ECHO_C" >&6 8062 echo $ECHO_N "(cached) $ECHO_C" >&6
8039 else 8063 else
8040 if test -n "$liblockfile"; then 8064 if test -n "$liblockfile"; then
8045 for ac_dir in $ac_dummy; do 8069 for ac_dir in $ac_dummy; do
8046 IFS=$ac_save_IFS 8070 IFS=$ac_save_IFS
8047 test -z "$ac_dir" && ac_dir=. 8071 test -z "$ac_dir" && ac_dir=.
8048 $as_executable_p "$ac_dir/$ac_word" || continue 8072 $as_executable_p "$ac_dir/$ac_word" || continue
8049 ac_cv_prog_liblockfile="yes" 8073 ac_cv_prog_liblockfile="yes"
8050 echo "$as_me:8050: found $ac_dir/$ac_word" >&5 8074 echo "$as_me:8074: found $ac_dir/$ac_word" >&5
8051 break 8075 break
8052 done 8076 done
8053 8077
8054 test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no" 8078 test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no"
8055 fi 8079 fi
8056 fi 8080 fi
8057 liblockfile=$ac_cv_prog_liblockfile 8081 liblockfile=$ac_cv_prog_liblockfile
8058 if test -n "$liblockfile"; then 8082 if test -n "$liblockfile"; then
8059 echo "$as_me:8059: result: $liblockfile" >&5 8083 echo "$as_me:8083: result: $liblockfile" >&5
8060 echo "${ECHO_T}$liblockfile" >&6 8084 echo "${ECHO_T}$liblockfile" >&6
8061 else 8085 else
8062 echo "$as_me:8062: result: no" >&5 8086 echo "$as_me:8086: result: no" >&5
8063 echo "${ECHO_T}no" >&6 8087 echo "${ECHO_T}no" >&6
8064 fi 8088 fi
8065 8089
8066 if test $ac_cv_prog_liblockfile = yes; then 8090 if test $ac_cv_prog_liblockfile = yes; then
8067 { { echo "$as_me:8067: error: Shared liblockfile found but can't link against it. 8091 { { echo "$as_me:8091: error: Shared liblockfile found but can't link against it.
8068 This probably means that movemail could lose mail. 8092 This probably means that movemail could lose mail.
8069 There may be a \`development' package to install containing liblockfile." >&5 8093 There may be a \`development' package to install containing liblockfile." >&5
8070 echo "$as_me: error: Shared liblockfile found but can't link against it. 8094 echo "$as_me: error: Shared liblockfile found but can't link against it.
8071 This probably means that movemail could lose mail. 8095 This probably means that movemail could lose mail.
8072 There may be a \`development' package to install containing liblockfile." >&2;} 8096 There may be a \`development' package to install containing liblockfile." >&2;}
8080 fi 8104 fi
8081 8105
8082 for ac_func in touchlock 8106 for ac_func in touchlock
8083 do 8107 do
8084 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 8108 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8085 echo "$as_me:8085: checking for $ac_func" >&5 8109 echo "$as_me:8109: checking for $ac_func" >&5
8086 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8110 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8087 if eval "test \"\${$as_ac_var+set}\" = set"; then 8111 if eval "test \"\${$as_ac_var+set}\" = set"; then
8088 echo $ECHO_N "(cached) $ECHO_C" >&6 8112 echo $ECHO_N "(cached) $ECHO_C" >&6
8089 else 8113 else
8090 cat >conftest.$ac_ext <<_ACEOF 8114 cat >conftest.$ac_ext <<_ACEOF
8091 #line 8091 "configure" 8115 #line 8115 "configure"
8092 #include "confdefs.h" 8116 #include "confdefs.h"
8093 /* System header to define __stub macros and hopefully few prototypes, 8117 /* System header to define __stub macros and hopefully few prototypes,
8094 which can conflict with char $ac_func (); below. */ 8118 which can conflict with char $ac_func (); below. */
8095 #include <assert.h> 8119 #include <assert.h>
8096 /* Override any gcc2 internal prototype to avoid an error. */ 8120 /* Override any gcc2 internal prototype to avoid an error. */
8117 ; 8141 ;
8118 return 0; 8142 return 0;
8119 } 8143 }
8120 _ACEOF 8144 _ACEOF
8121 rm -f conftest.$ac_objext conftest$ac_exeext 8145 rm -f conftest.$ac_objext conftest$ac_exeext
8122 if { (eval echo "$as_me:8122: \"$ac_link\"") >&5 8146 if { (eval echo "$as_me:8146: \"$ac_link\"") >&5
8123 (eval $ac_link) 2>&5 8147 (eval $ac_link) 2>&5
8124 ac_status=$? 8148 ac_status=$?
8125 echo "$as_me:8125: \$? = $ac_status" >&5 8149 echo "$as_me:8149: \$? = $ac_status" >&5
8126 (exit $ac_status); } && 8150 (exit $ac_status); } &&
8127 { ac_try='test -s conftest$ac_exeext' 8151 { ac_try='test -s conftest$ac_exeext'
8128 { (eval echo "$as_me:8128: \"$ac_try\"") >&5 8152 { (eval echo "$as_me:8152: \"$ac_try\"") >&5
8129 (eval $ac_try) 2>&5 8153 (eval $ac_try) 2>&5
8130 ac_status=$? 8154 ac_status=$?
8131 echo "$as_me:8131: \$? = $ac_status" >&5 8155 echo "$as_me:8155: \$? = $ac_status" >&5
8132 (exit $ac_status); }; }; then 8156 (exit $ac_status); }; }; then
8133 eval "$as_ac_var=yes" 8157 eval "$as_ac_var=yes"
8134 else 8158 else
8135 echo "$as_me: failed program was:" >&5 8159 echo "$as_me: failed program was:" >&5
8136 cat conftest.$ac_ext >&5 8160 cat conftest.$ac_ext >&5
8137 eval "$as_ac_var=no" 8161 eval "$as_ac_var=no"
8138 fi 8162 fi
8139 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8163 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8140 fi 8164 fi
8141 echo "$as_me:8141: result: `eval echo '${'$as_ac_var'}'`" >&5 8165 echo "$as_me:8165: result: `eval echo '${'$as_ac_var'}'`" >&5
8142 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8166 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8143 if test `eval echo '${'$as_ac_var'}'` = yes; then 8167 if test `eval echo '${'$as_ac_var'}'` = yes; then
8144 cat >>confdefs.h <<EOF 8168 cat >>confdefs.h <<EOF
8145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 8169 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8146 EOF 8170 EOF
8149 done 8173 done
8150 8174
8151 for ac_header in maillock.h 8175 for ac_header in maillock.h
8152 do 8176 do
8153 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8177 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8154 echo "$as_me:8154: checking for $ac_header" >&5 8178 echo "$as_me:8178: checking for $ac_header" >&5
8155 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 8179 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8156 if eval "test \"\${$as_ac_Header+set}\" = set"; then 8180 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8157 echo $ECHO_N "(cached) $ECHO_C" >&6 8181 echo $ECHO_N "(cached) $ECHO_C" >&6
8158 else 8182 else
8159 cat >conftest.$ac_ext <<_ACEOF 8183 cat >conftest.$ac_ext <<_ACEOF
8160 #line 8160 "configure" 8184 #line 8184 "configure"
8161 #include "confdefs.h" 8185 #include "confdefs.h"
8162 #include <$ac_header> 8186 #include <$ac_header>
8163 _ACEOF 8187 _ACEOF
8164 if { (eval echo "$as_me:8164: \"$ac_cpp conftest.$ac_ext\"") >&5 8188 if { (eval echo "$as_me:8188: \"$ac_cpp conftest.$ac_ext\"") >&5
8165 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 8189 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8166 ac_status=$? 8190 ac_status=$?
8167 egrep -v '^ *\+' conftest.er1 >conftest.err 8191 egrep -v '^ *\+' conftest.er1 >conftest.err
8168 rm -f conftest.er1 8192 rm -f conftest.er1
8169 cat conftest.err >&5 8193 cat conftest.err >&5
8170 echo "$as_me:8170: \$? = $ac_status" >&5 8194 echo "$as_me:8194: \$? = $ac_status" >&5
8171 (exit $ac_status); } >/dev/null; then 8195 (exit $ac_status); } >/dev/null; then
8172 if test -s conftest.err; then 8196 if test -s conftest.err; then
8173 ac_cpp_err=$ac_c_preproc_warn_flag 8197 ac_cpp_err=$ac_c_preproc_warn_flag
8174 else 8198 else
8175 ac_cpp_err= 8199 ac_cpp_err=
8184 cat conftest.$ac_ext >&5 8208 cat conftest.$ac_ext >&5
8185 eval "$as_ac_Header=no" 8209 eval "$as_ac_Header=no"
8186 fi 8210 fi
8187 rm -f conftest.err conftest.$ac_ext 8211 rm -f conftest.err conftest.$ac_ext
8188 fi 8212 fi
8189 echo "$as_me:8189: result: `eval echo '${'$as_ac_Header'}'`" >&5 8213 echo "$as_me:8213: result: `eval echo '${'$as_ac_Header'}'`" >&5
8190 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 8214 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8191 if test `eval echo '${'$as_ac_Header'}'` = yes; then 8215 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8192 cat >>confdefs.h <<EOF 8216 cat >>confdefs.h <<EOF
8193 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8217 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8194 EOF 8218 EOF
8203 utimes setrlimit setpgid getcwd getwd shutdown strftime getaddrinfo \ 8227 utimes setrlimit setpgid getcwd getwd shutdown strftime getaddrinfo \
8204 __fpending mblen mbrlen strsignal setitimer ualarm index rindex \ 8228 __fpending mblen mbrlen strsignal setitimer ualarm index rindex \
8205 gai_strerror mkstemp 8229 gai_strerror mkstemp
8206 do 8230 do
8207 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 8231 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8208 echo "$as_me:8208: checking for $ac_func" >&5 8232 echo "$as_me:8232: checking for $ac_func" >&5
8209 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8233 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8210 if eval "test \"\${$as_ac_var+set}\" = set"; then 8234 if eval "test \"\${$as_ac_var+set}\" = set"; then
8211 echo $ECHO_N "(cached) $ECHO_C" >&6 8235 echo $ECHO_N "(cached) $ECHO_C" >&6
8212 else 8236 else
8213 cat >conftest.$ac_ext <<_ACEOF 8237 cat >conftest.$ac_ext <<_ACEOF
8214 #line 8214 "configure" 8238 #line 8238 "configure"
8215 #include "confdefs.h" 8239 #include "confdefs.h"
8216 /* System header to define __stub macros and hopefully few prototypes, 8240 /* System header to define __stub macros and hopefully few prototypes,
8217 which can conflict with char $ac_func (); below. */ 8241 which can conflict with char $ac_func (); below. */
8218 #include <assert.h> 8242 #include <assert.h>
8219 /* Override any gcc2 internal prototype to avoid an error. */ 8243 /* Override any gcc2 internal prototype to avoid an error. */
8240 ; 8264 ;
8241 return 0; 8265 return 0;
8242 } 8266 }
8243 _ACEOF 8267 _ACEOF
8244 rm -f conftest.$ac_objext conftest$ac_exeext 8268 rm -f conftest.$ac_objext conftest$ac_exeext
8245 if { (eval echo "$as_me:8245: \"$ac_link\"") >&5 8269 if { (eval echo "$as_me:8269: \"$ac_link\"") >&5
8246 (eval $ac_link) 2>&5 8270 (eval $ac_link) 2>&5
8247 ac_status=$? 8271 ac_status=$?
8248 echo "$as_me:8248: \$? = $ac_status" >&5 8272 echo "$as_me:8272: \$? = $ac_status" >&5
8249 (exit $ac_status); } && 8273 (exit $ac_status); } &&
8250 { ac_try='test -s conftest$ac_exeext' 8274 { ac_try='test -s conftest$ac_exeext'
8251 { (eval echo "$as_me:8251: \"$ac_try\"") >&5 8275 { (eval echo "$as_me:8275: \"$ac_try\"") >&5
8252 (eval $ac_try) 2>&5 8276 (eval $ac_try) 2>&5
8253 ac_status=$? 8277 ac_status=$?
8254 echo "$as_me:8254: \$? = $ac_status" >&5 8278 echo "$as_me:8278: \$? = $ac_status" >&5
8255 (exit $ac_status); }; }; then 8279 (exit $ac_status); }; }; then
8256 eval "$as_ac_var=yes" 8280 eval "$as_ac_var=yes"
8257 else 8281 else
8258 echo "$as_me: failed program was:" >&5 8282 echo "$as_me: failed program was:" >&5
8259 cat conftest.$ac_ext >&5 8283 cat conftest.$ac_ext >&5
8260 eval "$as_ac_var=no" 8284 eval "$as_ac_var=no"
8261 fi 8285 fi
8262 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8286 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8263 fi 8287 fi
8264 echo "$as_me:8264: result: `eval echo '${'$as_ac_var'}'`" >&5 8288 echo "$as_me:8288: result: `eval echo '${'$as_ac_var'}'`" >&5
8265 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8289 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8266 if test `eval echo '${'$as_ac_var'}'` = yes; then 8290 if test `eval echo '${'$as_ac_var'}'` = yes; then
8267 cat >>confdefs.h <<EOF 8291 cat >>confdefs.h <<EOF
8268 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 8292 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8269 EOF 8293 EOF
8272 done 8296 done
8273 8297
8274 for ac_header in sys/time.h unistd.h 8298 for ac_header in sys/time.h unistd.h
8275 do 8299 do
8276 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8300 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8277 echo "$as_me:8277: checking for $ac_header" >&5 8301 echo "$as_me:8301: checking for $ac_header" >&5
8278 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 8302 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8279 if eval "test \"\${$as_ac_Header+set}\" = set"; then 8303 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8280 echo $ECHO_N "(cached) $ECHO_C" >&6 8304 echo $ECHO_N "(cached) $ECHO_C" >&6
8281 else 8305 else
8282 cat >conftest.$ac_ext <<_ACEOF 8306 cat >conftest.$ac_ext <<_ACEOF
8283 #line 8283 "configure" 8307 #line 8307 "configure"
8284 #include "confdefs.h" 8308 #include "confdefs.h"
8285 #include <$ac_header> 8309 #include <$ac_header>
8286 _ACEOF 8310 _ACEOF
8287 if { (eval echo "$as_me:8287: \"$ac_cpp conftest.$ac_ext\"") >&5 8311 if { (eval echo "$as_me:8311: \"$ac_cpp conftest.$ac_ext\"") >&5
8288 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 8312 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8289 ac_status=$? 8313 ac_status=$?
8290 egrep -v '^ *\+' conftest.er1 >conftest.err 8314 egrep -v '^ *\+' conftest.er1 >conftest.err
8291 rm -f conftest.er1 8315 rm -f conftest.er1
8292 cat conftest.err >&5 8316 cat conftest.err >&5
8293 echo "$as_me:8293: \$? = $ac_status" >&5 8317 echo "$as_me:8317: \$? = $ac_status" >&5
8294 (exit $ac_status); } >/dev/null; then 8318 (exit $ac_status); } >/dev/null; then
8295 if test -s conftest.err; then 8319 if test -s conftest.err; then
8296 ac_cpp_err=$ac_c_preproc_warn_flag 8320 ac_cpp_err=$ac_c_preproc_warn_flag
8297 else 8321 else
8298 ac_cpp_err= 8322 ac_cpp_err=
8307 cat conftest.$ac_ext >&5 8331 cat conftest.$ac_ext >&5
8308 eval "$as_ac_Header=no" 8332 eval "$as_ac_Header=no"
8309 fi 8333 fi
8310 rm -f conftest.err conftest.$ac_ext 8334 rm -f conftest.err conftest.$ac_ext
8311 fi 8335 fi
8312 echo "$as_me:8312: result: `eval echo '${'$as_ac_Header'}'`" >&5 8336 echo "$as_me:8336: result: `eval echo '${'$as_ac_Header'}'`" >&5
8313 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 8337 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8314 if test `eval echo '${'$as_ac_Header'}'` = yes; then 8338 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8315 cat >>confdefs.h <<EOF 8339 cat >>confdefs.h <<EOF
8316 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8340 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8317 EOF 8341 EOF
8320 done 8344 done
8321 8345
8322 for ac_func in alarm 8346 for ac_func in alarm
8323 do 8347 do
8324 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 8348 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8325 echo "$as_me:8325: checking for $ac_func" >&5 8349 echo "$as_me:8349: checking for $ac_func" >&5
8326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8350 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8327 if eval "test \"\${$as_ac_var+set}\" = set"; then 8351 if eval "test \"\${$as_ac_var+set}\" = set"; then
8328 echo $ECHO_N "(cached) $ECHO_C" >&6 8352 echo $ECHO_N "(cached) $ECHO_C" >&6
8329 else 8353 else
8330 cat >conftest.$ac_ext <<_ACEOF 8354 cat >conftest.$ac_ext <<_ACEOF
8331 #line 8331 "configure" 8355 #line 8355 "configure"
8332 #include "confdefs.h" 8356 #include "confdefs.h"
8333 /* System header to define __stub macros and hopefully few prototypes, 8357 /* System header to define __stub macros and hopefully few prototypes,
8334 which can conflict with char $ac_func (); below. */ 8358 which can conflict with char $ac_func (); below. */
8335 #include <assert.h> 8359 #include <assert.h>
8336 /* Override any gcc2 internal prototype to avoid an error. */ 8360 /* Override any gcc2 internal prototype to avoid an error. */
8357 ; 8381 ;
8358 return 0; 8382 return 0;
8359 } 8383 }
8360 _ACEOF 8384 _ACEOF
8361 rm -f conftest.$ac_objext conftest$ac_exeext 8385 rm -f conftest.$ac_objext conftest$ac_exeext
8362 if { (eval echo "$as_me:8362: \"$ac_link\"") >&5 8386 if { (eval echo "$as_me:8386: \"$ac_link\"") >&5
8363 (eval $ac_link) 2>&5 8387 (eval $ac_link) 2>&5
8364 ac_status=$? 8388 ac_status=$?
8365 echo "$as_me:8365: \$? = $ac_status" >&5 8389 echo "$as_me:8389: \$? = $ac_status" >&5
8366 (exit $ac_status); } && 8390 (exit $ac_status); } &&
8367 { ac_try='test -s conftest$ac_exeext' 8391 { ac_try='test -s conftest$ac_exeext'
8368 { (eval echo "$as_me:8368: \"$ac_try\"") >&5 8392 { (eval echo "$as_me:8392: \"$ac_try\"") >&5
8369 (eval $ac_try) 2>&5 8393 (eval $ac_try) 2>&5
8370 ac_status=$? 8394 ac_status=$?
8371 echo "$as_me:8371: \$? = $ac_status" >&5 8395 echo "$as_me:8395: \$? = $ac_status" >&5
8372 (exit $ac_status); }; }; then 8396 (exit $ac_status); }; }; then
8373 eval "$as_ac_var=yes" 8397 eval "$as_ac_var=yes"
8374 else 8398 else
8375 echo "$as_me: failed program was:" >&5 8399 echo "$as_me: failed program was:" >&5
8376 cat conftest.$ac_ext >&5 8400 cat conftest.$ac_ext >&5
8377 eval "$as_ac_var=no" 8401 eval "$as_ac_var=no"
8378 fi 8402 fi
8379 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8403 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8380 fi 8404 fi
8381 echo "$as_me:8381: result: `eval echo '${'$as_ac_var'}'`" >&5 8405 echo "$as_me:8405: result: `eval echo '${'$as_ac_var'}'`" >&5
8382 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8406 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8383 if test `eval echo '${'$as_ac_var'}'` = yes; then 8407 if test `eval echo '${'$as_ac_var'}'` = yes; then
8384 cat >>confdefs.h <<EOF 8408 cat >>confdefs.h <<EOF
8385 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 8409 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8386 EOF 8410 EOF
8387 8411
8388 fi 8412 fi
8389 done 8413 done
8390 8414
8391 echo "$as_me:8391: checking for working mktime" >&5 8415 echo "$as_me:8415: checking for working mktime" >&5
8392 echo $ECHO_N "checking for working mktime... $ECHO_C" >&6 8416 echo $ECHO_N "checking for working mktime... $ECHO_C" >&6
8393 if test "${ac_cv_func_working_mktime+set}" = set; then 8417 if test "${ac_cv_func_working_mktime+set}" = set; then
8394 echo $ECHO_N "(cached) $ECHO_C" >&6 8418 echo $ECHO_N "(cached) $ECHO_C" >&6
8395 else 8419 else
8396 if test "$cross_compiling" = yes; then 8420 if test "$cross_compiling" = yes; then
8397 ac_cv_func_working_mktime=no 8421 ac_cv_func_working_mktime=no
8398 else 8422 else
8399 cat >conftest.$ac_ext <<_ACEOF 8423 cat >conftest.$ac_ext <<_ACEOF
8400 #line 8400 "configure" 8424 #line 8424 "configure"
8401 #include "confdefs.h" 8425 #include "confdefs.h"
8402 /* Test program from Paul Eggert and Tony Leneis. */ 8426 /* Test program from Paul Eggert and Tony Leneis. */
8403 #if TIME_WITH_SYS_TIME 8427 #if TIME_WITH_SYS_TIME
8404 # include <sys/time.h> 8428 # include <sys/time.h>
8405 # include <time.h> 8429 # include <time.h>
8544 spring_forward_gap (); 8568 spring_forward_gap ();
8545 exit (0); 8569 exit (0);
8546 } 8570 }
8547 _ACEOF 8571 _ACEOF
8548 rm -f conftest$ac_exeext 8572 rm -f conftest$ac_exeext
8549 if { (eval echo "$as_me:8549: \"$ac_link\"") >&5 8573 if { (eval echo "$as_me:8573: \"$ac_link\"") >&5
8550 (eval $ac_link) 2>&5 8574 (eval $ac_link) 2>&5
8551 ac_status=$? 8575 ac_status=$?
8552 echo "$as_me:8552: \$? = $ac_status" >&5 8576 echo "$as_me:8576: \$? = $ac_status" >&5
8553 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 8577 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8554 { (eval echo "$as_me:8554: \"$ac_try\"") >&5 8578 { (eval echo "$as_me:8578: \"$ac_try\"") >&5
8555 (eval $ac_try) 2>&5 8579 (eval $ac_try) 2>&5
8556 ac_status=$? 8580 ac_status=$?
8557 echo "$as_me:8557: \$? = $ac_status" >&5 8581 echo "$as_me:8581: \$? = $ac_status" >&5
8558 (exit $ac_status); }; }; then 8582 (exit $ac_status); }; }; then
8559 ac_cv_func_working_mktime=yes 8583 ac_cv_func_working_mktime=yes
8560 else 8584 else
8561 echo "$as_me: program exited with status $ac_status" >&5 8585 echo "$as_me: program exited with status $ac_status" >&5
8562 echo "$as_me: failed program was:" >&5 8586 echo "$as_me: failed program was:" >&5
8564 ac_cv_func_working_mktime=no 8588 ac_cv_func_working_mktime=no
8565 fi 8589 fi
8566 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 8590 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8567 fi 8591 fi
8568 fi 8592 fi
8569 echo "$as_me:8569: result: $ac_cv_func_working_mktime" >&5 8593 echo "$as_me:8593: result: $ac_cv_func_working_mktime" >&5
8570 echo "${ECHO_T}$ac_cv_func_working_mktime" >&6 8594 echo "${ECHO_T}$ac_cv_func_working_mktime" >&6
8571 if test $ac_cv_func_working_mktime = no; then 8595 if test $ac_cv_func_working_mktime = no; then
8572 LIBOBJS="$LIBOBJS mktime.$ac_objext" 8596 LIBOBJS="$LIBOBJS mktime.$ac_objext"
8573 fi 8597 fi
8574 8598
8582 ac_have_func=no # yes means we've found a way to get the load average. 8606 ac_have_func=no # yes means we've found a way to get the load average.
8583 8607
8584 ac_save_LIBS=$LIBS 8608 ac_save_LIBS=$LIBS
8585 8609
8586 # Check for getloadavg, but be sure not to touch the cache variable. 8610 # Check for getloadavg, but be sure not to touch the cache variable.
8587 (echo "$as_me:8587: checking for getloadavg" >&5 8611 (echo "$as_me:8611: checking for getloadavg" >&5
8588 echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6 8612 echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6
8589 if test "${ac_cv_func_getloadavg+set}" = set; then 8613 if test "${ac_cv_func_getloadavg+set}" = set; then
8590 echo $ECHO_N "(cached) $ECHO_C" >&6 8614 echo $ECHO_N "(cached) $ECHO_C" >&6
8591 else 8615 else
8592 cat >conftest.$ac_ext <<_ACEOF 8616 cat >conftest.$ac_ext <<_ACEOF
8593 #line 8593 "configure" 8617 #line 8617 "configure"
8594 #include "confdefs.h" 8618 #include "confdefs.h"
8595 /* System header to define __stub macros and hopefully few prototypes, 8619 /* System header to define __stub macros and hopefully few prototypes,
8596 which can conflict with char getloadavg (); below. */ 8620 which can conflict with char getloadavg (); below. */
8597 #include <assert.h> 8621 #include <assert.h>
8598 /* Override any gcc2 internal prototype to avoid an error. */ 8622 /* Override any gcc2 internal prototype to avoid an error. */
8619 ; 8643 ;
8620 return 0; 8644 return 0;
8621 } 8645 }
8622 _ACEOF 8646 _ACEOF
8623 rm -f conftest.$ac_objext conftest$ac_exeext 8647 rm -f conftest.$ac_objext conftest$ac_exeext
8624 if { (eval echo "$as_me:8624: \"$ac_link\"") >&5 8648 if { (eval echo "$as_me:8648: \"$ac_link\"") >&5
8625 (eval $ac_link) 2>&5 8649 (eval $ac_link) 2>&5
8626 ac_status=$? 8650 ac_status=$?
8627 echo "$as_me:8627: \$? = $ac_status" >&5 8651 echo "$as_me:8651: \$? = $ac_status" >&5
8628 (exit $ac_status); } && 8652 (exit $ac_status); } &&
8629 { ac_try='test -s conftest$ac_exeext' 8653 { ac_try='test -s conftest$ac_exeext'
8630 { (eval echo "$as_me:8630: \"$ac_try\"") >&5 8654 { (eval echo "$as_me:8654: \"$ac_try\"") >&5
8631 (eval $ac_try) 2>&5 8655 (eval $ac_try) 2>&5
8632 ac_status=$? 8656 ac_status=$?
8633 echo "$as_me:8633: \$? = $ac_status" >&5 8657 echo "$as_me:8657: \$? = $ac_status" >&5
8634 (exit $ac_status); }; }; then 8658 (exit $ac_status); }; }; then
8635 ac_cv_func_getloadavg=yes 8659 ac_cv_func_getloadavg=yes
8636 else 8660 else
8637 echo "$as_me: failed program was:" >&5 8661 echo "$as_me: failed program was:" >&5
8638 cat conftest.$ac_ext >&5 8662 cat conftest.$ac_ext >&5
8639 ac_cv_func_getloadavg=no 8663 ac_cv_func_getloadavg=no
8640 fi 8664 fi
8641 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8665 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8642 fi 8666 fi
8643 echo "$as_me:8643: result: $ac_cv_func_getloadavg" >&5 8667 echo "$as_me:8667: result: $ac_cv_func_getloadavg" >&5
8644 echo "${ECHO_T}$ac_cv_func_getloadavg" >&6 8668 echo "${ECHO_T}$ac_cv_func_getloadavg" >&6
8645 if test $ac_cv_func_getloadavg = yes; then 8669 if test $ac_cv_func_getloadavg = yes; then
8646 exit 0 8670 exit 0
8647 else 8671 else
8648 exit 1 8672 exit 1
8652 # On HPUX9, an unprivileged user can get load averages through this function. 8676 # On HPUX9, an unprivileged user can get load averages through this function.
8653 8677
8654 for ac_func in pstat_getdynamic 8678 for ac_func in pstat_getdynamic
8655 do 8679 do
8656 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 8680 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8657 echo "$as_me:8657: checking for $ac_func" >&5 8681 echo "$as_me:8681: checking for $ac_func" >&5
8658 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8682 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8659 if eval "test \"\${$as_ac_var+set}\" = set"; then 8683 if eval "test \"\${$as_ac_var+set}\" = set"; then
8660 echo $ECHO_N "(cached) $ECHO_C" >&6 8684 echo $ECHO_N "(cached) $ECHO_C" >&6
8661 else 8685 else
8662 cat >conftest.$ac_ext <<_ACEOF 8686 cat >conftest.$ac_ext <<_ACEOF
8663 #line 8663 "configure" 8687 #line 8687 "configure"
8664 #include "confdefs.h" 8688 #include "confdefs.h"
8665 /* System header to define __stub macros and hopefully few prototypes, 8689 /* System header to define __stub macros and hopefully few prototypes,
8666 which can conflict with char $ac_func (); below. */ 8690 which can conflict with char $ac_func (); below. */
8667 #include <assert.h> 8691 #include <assert.h>
8668 /* Override any gcc2 internal prototype to avoid an error. */ 8692 /* Override any gcc2 internal prototype to avoid an error. */
8689 ; 8713 ;
8690 return 0; 8714 return 0;
8691 } 8715 }
8692 _ACEOF 8716 _ACEOF
8693 rm -f conftest.$ac_objext conftest$ac_exeext 8717 rm -f conftest.$ac_objext conftest$ac_exeext
8694 if { (eval echo "$as_me:8694: \"$ac_link\"") >&5 8718 if { (eval echo "$as_me:8718: \"$ac_link\"") >&5
8695 (eval $ac_link) 2>&5 8719 (eval $ac_link) 2>&5
8696 ac_status=$? 8720 ac_status=$?
8697 echo "$as_me:8697: \$? = $ac_status" >&5 8721 echo "$as_me:8721: \$? = $ac_status" >&5
8698 (exit $ac_status); } && 8722 (exit $ac_status); } &&
8699 { ac_try='test -s conftest$ac_exeext' 8723 { ac_try='test -s conftest$ac_exeext'
8700 { (eval echo "$as_me:8700: \"$ac_try\"") >&5 8724 { (eval echo "$as_me:8724: \"$ac_try\"") >&5
8701 (eval $ac_try) 2>&5 8725 (eval $ac_try) 2>&5
8702 ac_status=$? 8726 ac_status=$?
8703 echo "$as_me:8703: \$? = $ac_status" >&5 8727 echo "$as_me:8727: \$? = $ac_status" >&5
8704 (exit $ac_status); }; }; then 8728 (exit $ac_status); }; }; then
8705 eval "$as_ac_var=yes" 8729 eval "$as_ac_var=yes"
8706 else 8730 else
8707 echo "$as_me: failed program was:" >&5 8731 echo "$as_me: failed program was:" >&5
8708 cat conftest.$ac_ext >&5 8732 cat conftest.$ac_ext >&5
8709 eval "$as_ac_var=no" 8733 eval "$as_ac_var=no"
8710 fi 8734 fi
8711 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8735 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8712 fi 8736 fi
8713 echo "$as_me:8713: result: `eval echo '${'$as_ac_var'}'`" >&5 8737 echo "$as_me:8737: result: `eval echo '${'$as_ac_var'}'`" >&5
8714 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8738 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8715 if test `eval echo '${'$as_ac_var'}'` = yes; then 8739 if test `eval echo '${'$as_ac_var'}'` = yes; then
8716 cat >>confdefs.h <<EOF 8740 cat >>confdefs.h <<EOF
8717 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 8741 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8718 EOF 8742 EOF
8720 fi 8744 fi
8721 done 8745 done
8722 8746
8723 # Solaris has libkstat which does not require root. 8747 # Solaris has libkstat which does not require root.
8724 8748
8725 echo "$as_me:8725: checking for kstat_open in -lkstat" >&5 8749 echo "$as_me:8749: checking for kstat_open in -lkstat" >&5
8726 echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6 8750 echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6
8727 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then 8751 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then
8728 echo $ECHO_N "(cached) $ECHO_C" >&6 8752 echo $ECHO_N "(cached) $ECHO_C" >&6
8729 else 8753 else
8730 ac_check_lib_save_LIBS=$LIBS 8754 ac_check_lib_save_LIBS=$LIBS
8731 LIBS="-lkstat $LIBS" 8755 LIBS="-lkstat $LIBS"
8732 cat >conftest.$ac_ext <<_ACEOF 8756 cat >conftest.$ac_ext <<_ACEOF
8733 #line 8733 "configure" 8757 #line 8757 "configure"
8734 #include "confdefs.h" 8758 #include "confdefs.h"
8735 8759
8736 /* Override any gcc2 internal prototype to avoid an error. */ 8760 /* Override any gcc2 internal prototype to avoid an error. */
8737 #ifdef __cplusplus 8761 #ifdef __cplusplus
8738 extern "C" 8762 extern "C"
8747 ; 8771 ;
8748 return 0; 8772 return 0;
8749 } 8773 }
8750 _ACEOF 8774 _ACEOF
8751 rm -f conftest.$ac_objext conftest$ac_exeext 8775 rm -f conftest.$ac_objext conftest$ac_exeext
8752 if { (eval echo "$as_me:8752: \"$ac_link\"") >&5 8776 if { (eval echo "$as_me:8776: \"$ac_link\"") >&5
8753 (eval $ac_link) 2>&5 8777 (eval $ac_link) 2>&5
8754 ac_status=$? 8778 ac_status=$?
8755 echo "$as_me:8755: \$? = $ac_status" >&5 8779 echo "$as_me:8779: \$? = $ac_status" >&5
8756 (exit $ac_status); } && 8780 (exit $ac_status); } &&
8757 { ac_try='test -s conftest$ac_exeext' 8781 { ac_try='test -s conftest$ac_exeext'
8758 { (eval echo "$as_me:8758: \"$ac_try\"") >&5 8782 { (eval echo "$as_me:8782: \"$ac_try\"") >&5
8759 (eval $ac_try) 2>&5 8783 (eval $ac_try) 2>&5
8760 ac_status=$? 8784 ac_status=$?
8761 echo "$as_me:8761: \$? = $ac_status" >&5 8785 echo "$as_me:8785: \$? = $ac_status" >&5
8762 (exit $ac_status); }; }; then 8786 (exit $ac_status); }; }; then
8763 ac_cv_lib_kstat_kstat_open=yes 8787 ac_cv_lib_kstat_kstat_open=yes
8764 else 8788 else
8765 echo "$as_me: failed program was:" >&5 8789 echo "$as_me: failed program was:" >&5
8766 cat conftest.$ac_ext >&5 8790 cat conftest.$ac_ext >&5
8767 ac_cv_lib_kstat_kstat_open=no 8791 ac_cv_lib_kstat_kstat_open=no
8768 fi 8792 fi
8769 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8793 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8770 LIBS=$ac_check_lib_save_LIBS 8794 LIBS=$ac_check_lib_save_LIBS
8771 fi 8795 fi
8772 echo "$as_me:8772: result: $ac_cv_lib_kstat_kstat_open" >&5 8796 echo "$as_me:8796: result: $ac_cv_lib_kstat_kstat_open" >&5
8773 echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6 8797 echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6
8774 if test $ac_cv_lib_kstat_kstat_open = yes; then 8798 if test $ac_cv_lib_kstat_kstat_open = yes; then
8775 cat >>confdefs.h <<EOF 8799 cat >>confdefs.h <<EOF
8776 #define HAVE_LIBKSTAT 1 8800 #define HAVE_LIBKSTAT 1
8777 EOF 8801 EOF
8785 # Some systems with -lutil have (and need) -lkvm as well, some do not. 8809 # Some systems with -lutil have (and need) -lkvm as well, some do not.
8786 # On Solaris, -lkvm requires nlist from -lelf, so check that first 8810 # On Solaris, -lkvm requires nlist from -lelf, so check that first
8787 # to get the right answer into the cache. 8811 # to get the right answer into the cache.
8788 # For kstat on solaris, we need libelf to force the definition of SVR4 below. 8812 # For kstat on solaris, we need libelf to force the definition of SVR4 below.
8789 if test $ac_have_func = no; then 8813 if test $ac_have_func = no; then
8790 echo "$as_me:8790: checking for elf_begin in -lelf" >&5 8814 echo "$as_me:8814: checking for elf_begin in -lelf" >&5
8791 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6 8815 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
8792 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then 8816 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
8793 echo $ECHO_N "(cached) $ECHO_C" >&6 8817 echo $ECHO_N "(cached) $ECHO_C" >&6
8794 else 8818 else
8795 ac_check_lib_save_LIBS=$LIBS 8819 ac_check_lib_save_LIBS=$LIBS
8796 LIBS="-lelf $LIBS" 8820 LIBS="-lelf $LIBS"
8797 cat >conftest.$ac_ext <<_ACEOF 8821 cat >conftest.$ac_ext <<_ACEOF
8798 #line 8798 "configure" 8822 #line 8822 "configure"
8799 #include "confdefs.h" 8823 #include "confdefs.h"
8800 8824
8801 /* Override any gcc2 internal prototype to avoid an error. */ 8825 /* Override any gcc2 internal prototype to avoid an error. */
8802 #ifdef __cplusplus 8826 #ifdef __cplusplus
8803 extern "C" 8827 extern "C"
8812 ; 8836 ;
8813 return 0; 8837 return 0;
8814 } 8838 }
8815 _ACEOF 8839 _ACEOF
8816 rm -f conftest.$ac_objext conftest$ac_exeext 8840 rm -f conftest.$ac_objext conftest$ac_exeext
8817 if { (eval echo "$as_me:8817: \"$ac_link\"") >&5 8841 if { (eval echo "$as_me:8841: \"$ac_link\"") >&5
8818 (eval $ac_link) 2>&5 8842 (eval $ac_link) 2>&5
8819 ac_status=$? 8843 ac_status=$?
8820 echo "$as_me:8820: \$? = $ac_status" >&5 8844 echo "$as_me:8844: \$? = $ac_status" >&5
8821 (exit $ac_status); } && 8845 (exit $ac_status); } &&
8822 { ac_try='test -s conftest$ac_exeext' 8846 { ac_try='test -s conftest$ac_exeext'
8823 { (eval echo "$as_me:8823: \"$ac_try\"") >&5 8847 { (eval echo "$as_me:8847: \"$ac_try\"") >&5
8824 (eval $ac_try) 2>&5 8848 (eval $ac_try) 2>&5
8825 ac_status=$? 8849 ac_status=$?
8826 echo "$as_me:8826: \$? = $ac_status" >&5 8850 echo "$as_me:8850: \$? = $ac_status" >&5
8827 (exit $ac_status); }; }; then 8851 (exit $ac_status); }; }; then
8828 ac_cv_lib_elf_elf_begin=yes 8852 ac_cv_lib_elf_elf_begin=yes
8829 else 8853 else
8830 echo "$as_me: failed program was:" >&5 8854 echo "$as_me: failed program was:" >&5
8831 cat conftest.$ac_ext >&5 8855 cat conftest.$ac_ext >&5
8832 ac_cv_lib_elf_elf_begin=no 8856 ac_cv_lib_elf_elf_begin=no
8833 fi 8857 fi
8834 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8858 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8835 LIBS=$ac_check_lib_save_LIBS 8859 LIBS=$ac_check_lib_save_LIBS
8836 fi 8860 fi
8837 echo "$as_me:8837: result: $ac_cv_lib_elf_elf_begin" >&5 8861 echo "$as_me:8861: result: $ac_cv_lib_elf_elf_begin" >&5
8838 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6 8862 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
8839 if test $ac_cv_lib_elf_elf_begin = yes; then 8863 if test $ac_cv_lib_elf_elf_begin = yes; then
8840 LIBS="-lelf $LIBS" 8864 LIBS="-lelf $LIBS"
8841 fi 8865 fi
8842 8866
8843 fi 8867 fi
8844 if test $ac_have_func = no; then 8868 if test $ac_have_func = no; then
8845 echo "$as_me:8845: checking for kvm_open in -lkvm" >&5 8869 echo "$as_me:8869: checking for kvm_open in -lkvm" >&5
8846 echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6 8870 echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6
8847 if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then 8871 if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then
8848 echo $ECHO_N "(cached) $ECHO_C" >&6 8872 echo $ECHO_N "(cached) $ECHO_C" >&6
8849 else 8873 else
8850 ac_check_lib_save_LIBS=$LIBS 8874 ac_check_lib_save_LIBS=$LIBS
8851 LIBS="-lkvm $LIBS" 8875 LIBS="-lkvm $LIBS"
8852 cat >conftest.$ac_ext <<_ACEOF 8876 cat >conftest.$ac_ext <<_ACEOF
8853 #line 8853 "configure" 8877 #line 8877 "configure"
8854 #include "confdefs.h" 8878 #include "confdefs.h"
8855 8879
8856 /* Override any gcc2 internal prototype to avoid an error. */ 8880 /* Override any gcc2 internal prototype to avoid an error. */
8857 #ifdef __cplusplus 8881 #ifdef __cplusplus
8858 extern "C" 8882 extern "C"
8867 ; 8891 ;
8868 return 0; 8892 return 0;
8869 } 8893 }
8870 _ACEOF 8894 _ACEOF
8871 rm -f conftest.$ac_objext conftest$ac_exeext 8895 rm -f conftest.$ac_objext conftest$ac_exeext
8872 if { (eval echo "$as_me:8872: \"$ac_link\"") >&5 8896 if { (eval echo "$as_me:8896: \"$ac_link\"") >&5
8873 (eval $ac_link) 2>&5 8897 (eval $ac_link) 2>&5
8874 ac_status=$? 8898 ac_status=$?
8875 echo "$as_me:8875: \$? = $ac_status" >&5 8899 echo "$as_me:8899: \$? = $ac_status" >&5
8876 (exit $ac_status); } && 8900 (exit $ac_status); } &&
8877 { ac_try='test -s conftest$ac_exeext' 8901 { ac_try='test -s conftest$ac_exeext'
8878 { (eval echo "$as_me:8878: \"$ac_try\"") >&5 8902 { (eval echo "$as_me:8902: \"$ac_try\"") >&5
8879 (eval $ac_try) 2>&5 8903 (eval $ac_try) 2>&5
8880 ac_status=$? 8904 ac_status=$?
8881 echo "$as_me:8881: \$? = $ac_status" >&5 8905 echo "$as_me:8905: \$? = $ac_status" >&5
8882 (exit $ac_status); }; }; then 8906 (exit $ac_status); }; }; then
8883 ac_cv_lib_kvm_kvm_open=yes 8907 ac_cv_lib_kvm_kvm_open=yes
8884 else 8908 else
8885 echo "$as_me: failed program was:" >&5 8909 echo "$as_me: failed program was:" >&5
8886 cat conftest.$ac_ext >&5 8910 cat conftest.$ac_ext >&5
8887 ac_cv_lib_kvm_kvm_open=no 8911 ac_cv_lib_kvm_kvm_open=no
8888 fi 8912 fi
8889 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8913 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8890 LIBS=$ac_check_lib_save_LIBS 8914 LIBS=$ac_check_lib_save_LIBS
8891 fi 8915 fi
8892 echo "$as_me:8892: result: $ac_cv_lib_kvm_kvm_open" >&5 8916 echo "$as_me:8916: result: $ac_cv_lib_kvm_kvm_open" >&5
8893 echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6 8917 echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6
8894 if test $ac_cv_lib_kvm_kvm_open = yes; then 8918 if test $ac_cv_lib_kvm_kvm_open = yes; then
8895 LIBS="-lkvm $LIBS" 8919 LIBS="-lkvm $LIBS"
8896 fi 8920 fi
8897 8921
8898 # Check for the 4.4BSD definition of getloadavg. 8922 # Check for the 4.4BSD definition of getloadavg.
8899 echo "$as_me:8899: checking for getloadavg in -lutil" >&5 8923 echo "$as_me:8923: checking for getloadavg in -lutil" >&5
8900 echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6 8924 echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6
8901 if test "${ac_cv_lib_util_getloadavg+set}" = set; then 8925 if test "${ac_cv_lib_util_getloadavg+set}" = set; then
8902 echo $ECHO_N "(cached) $ECHO_C" >&6 8926 echo $ECHO_N "(cached) $ECHO_C" >&6
8903 else 8927 else
8904 ac_check_lib_save_LIBS=$LIBS 8928 ac_check_lib_save_LIBS=$LIBS
8905 LIBS="-lutil $LIBS" 8929 LIBS="-lutil $LIBS"
8906 cat >conftest.$ac_ext <<_ACEOF 8930 cat >conftest.$ac_ext <<_ACEOF
8907 #line 8907 "configure" 8931 #line 8931 "configure"
8908 #include "confdefs.h" 8932 #include "confdefs.h"
8909 8933
8910 /* Override any gcc2 internal prototype to avoid an error. */ 8934 /* Override any gcc2 internal prototype to avoid an error. */
8911 #ifdef __cplusplus 8935 #ifdef __cplusplus
8912 extern "C" 8936 extern "C"
8921 ; 8945 ;
8922 return 0; 8946 return 0;
8923 } 8947 }
8924 _ACEOF 8948 _ACEOF
8925 rm -f conftest.$ac_objext conftest$ac_exeext 8949 rm -f conftest.$ac_objext conftest$ac_exeext
8926 if { (eval echo "$as_me:8926: \"$ac_link\"") >&5 8950 if { (eval echo "$as_me:8950: \"$ac_link\"") >&5
8927 (eval $ac_link) 2>&5 8951 (eval $ac_link) 2>&5
8928 ac_status=$? 8952 ac_status=$?
8929 echo "$as_me:8929: \$? = $ac_status" >&5 8953 echo "$as_me:8953: \$? = $ac_status" >&5
8930 (exit $ac_status); } && 8954 (exit $ac_status); } &&
8931 { ac_try='test -s conftest$ac_exeext' 8955 { ac_try='test -s conftest$ac_exeext'
8932 { (eval echo "$as_me:8932: \"$ac_try\"") >&5 8956 { (eval echo "$as_me:8956: \"$ac_try\"") >&5
8933 (eval $ac_try) 2>&5 8957 (eval $ac_try) 2>&5
8934 ac_status=$? 8958 ac_status=$?
8935 echo "$as_me:8935: \$? = $ac_status" >&5 8959 echo "$as_me:8959: \$? = $ac_status" >&5
8936 (exit $ac_status); }; }; then 8960 (exit $ac_status); }; }; then
8937 ac_cv_lib_util_getloadavg=yes 8961 ac_cv_lib_util_getloadavg=yes
8938 else 8962 else
8939 echo "$as_me: failed program was:" >&5 8963 echo "$as_me: failed program was:" >&5
8940 cat conftest.$ac_ext >&5 8964 cat conftest.$ac_ext >&5
8941 ac_cv_lib_util_getloadavg=no 8965 ac_cv_lib_util_getloadavg=no
8942 fi 8966 fi
8943 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8967 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8944 LIBS=$ac_check_lib_save_LIBS 8968 LIBS=$ac_check_lib_save_LIBS
8945 fi 8969 fi
8946 echo "$as_me:8946: result: $ac_cv_lib_util_getloadavg" >&5 8970 echo "$as_me:8970: result: $ac_cv_lib_util_getloadavg" >&5
8947 echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6 8971 echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6
8948 if test $ac_cv_lib_util_getloadavg = yes; then 8972 if test $ac_cv_lib_util_getloadavg = yes; then
8949 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes 8973 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes
8950 fi 8974 fi
8951 8975
8954 if test $ac_have_func = no; then 8978 if test $ac_have_func = no; then
8955 # There is a commonly available library for RS/6000 AIX. 8979 # There is a commonly available library for RS/6000 AIX.
8956 # Since it is not a standard part of AIX, it might be installed locally. 8980 # Since it is not a standard part of AIX, it might be installed locally.
8957 ac_getloadavg_LIBS=$LIBS 8981 ac_getloadavg_LIBS=$LIBS
8958 LIBS="-L/usr/local/lib $LIBS" 8982 LIBS="-L/usr/local/lib $LIBS"
8959 echo "$as_me:8959: checking for getloadavg in -lgetloadavg" >&5 8983 echo "$as_me:8983: checking for getloadavg in -lgetloadavg" >&5
8960 echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6 8984 echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6
8961 if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then 8985 if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then
8962 echo $ECHO_N "(cached) $ECHO_C" >&6 8986 echo $ECHO_N "(cached) $ECHO_C" >&6
8963 else 8987 else
8964 ac_check_lib_save_LIBS=$LIBS 8988 ac_check_lib_save_LIBS=$LIBS
8965 LIBS="-lgetloadavg $LIBS" 8989 LIBS="-lgetloadavg $LIBS"
8966 cat >conftest.$ac_ext <<_ACEOF 8990 cat >conftest.$ac_ext <<_ACEOF
8967 #line 8967 "configure" 8991 #line 8991 "configure"
8968 #include "confdefs.h" 8992 #include "confdefs.h"
8969 8993
8970 /* Override any gcc2 internal prototype to avoid an error. */ 8994 /* Override any gcc2 internal prototype to avoid an error. */
8971 #ifdef __cplusplus 8995 #ifdef __cplusplus
8972 extern "C" 8996 extern "C"
8981 ; 9005 ;
8982 return 0; 9006 return 0;
8983 } 9007 }
8984 _ACEOF 9008 _ACEOF
8985 rm -f conftest.$ac_objext conftest$ac_exeext 9009 rm -f conftest.$ac_objext conftest$ac_exeext
8986 if { (eval echo "$as_me:8986: \"$ac_link\"") >&5 9010 if { (eval echo "$as_me:9010: \"$ac_link\"") >&5
8987 (eval $ac_link) 2>&5 9011 (eval $ac_link) 2>&5
8988 ac_status=$? 9012 ac_status=$?
8989 echo "$as_me:8989: \$? = $ac_status" >&5 9013 echo "$as_me:9013: \$? = $ac_status" >&5
8990 (exit $ac_status); } && 9014 (exit $ac_status); } &&
8991 { ac_try='test -s conftest$ac_exeext' 9015 { ac_try='test -s conftest$ac_exeext'
8992 { (eval echo "$as_me:8992: \"$ac_try\"") >&5 9016 { (eval echo "$as_me:9016: \"$ac_try\"") >&5
8993 (eval $ac_try) 2>&5 9017 (eval $ac_try) 2>&5
8994 ac_status=$? 9018 ac_status=$?
8995 echo "$as_me:8995: \$? = $ac_status" >&5 9019 echo "$as_me:9019: \$? = $ac_status" >&5
8996 (exit $ac_status); }; }; then 9020 (exit $ac_status); }; }; then
8997 ac_cv_lib_getloadavg_getloadavg=yes 9021 ac_cv_lib_getloadavg_getloadavg=yes
8998 else 9022 else
8999 echo "$as_me: failed program was:" >&5 9023 echo "$as_me: failed program was:" >&5
9000 cat conftest.$ac_ext >&5 9024 cat conftest.$ac_ext >&5
9001 ac_cv_lib_getloadavg_getloadavg=no 9025 ac_cv_lib_getloadavg_getloadavg=no
9002 fi 9026 fi
9003 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9027 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9004 LIBS=$ac_check_lib_save_LIBS 9028 LIBS=$ac_check_lib_save_LIBS
9005 fi 9029 fi
9006 echo "$as_me:9006: result: $ac_cv_lib_getloadavg_getloadavg" >&5 9030 echo "$as_me:9030: result: $ac_cv_lib_getloadavg_getloadavg" >&5
9007 echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6 9031 echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6
9008 if test $ac_cv_lib_getloadavg_getloadavg = yes; then 9032 if test $ac_cv_lib_getloadavg_getloadavg = yes; then
9009 LIBS="-lgetloadavg $LIBS" 9033 LIBS="-lgetloadavg $LIBS"
9010 else 9034 else
9011 LIBS=$ac_getloadavg_LIBS 9035 LIBS=$ac_getloadavg_LIBS
9017 # otherwise set up the replacement function. 9041 # otherwise set up the replacement function.
9018 9042
9019 for ac_func in getloadavg 9043 for ac_func in getloadavg
9020 do 9044 do
9021 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9045 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9022 echo "$as_me:9022: checking for $ac_func" >&5 9046 echo "$as_me:9046: checking for $ac_func" >&5
9023 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 9047 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9024 if eval "test \"\${$as_ac_var+set}\" = set"; then 9048 if eval "test \"\${$as_ac_var+set}\" = set"; then
9025 echo $ECHO_N "(cached) $ECHO_C" >&6 9049 echo $ECHO_N "(cached) $ECHO_C" >&6
9026 else 9050 else
9027 cat >conftest.$ac_ext <<_ACEOF 9051 cat >conftest.$ac_ext <<_ACEOF
9028 #line 9028 "configure" 9052 #line 9052 "configure"
9029 #include "confdefs.h" 9053 #include "confdefs.h"
9030 /* System header to define __stub macros and hopefully few prototypes, 9054 /* System header to define __stub macros and hopefully few prototypes,
9031 which can conflict with char $ac_func (); below. */ 9055 which can conflict with char $ac_func (); below. */
9032 #include <assert.h> 9056 #include <assert.h>
9033 /* Override any gcc2 internal prototype to avoid an error. */ 9057 /* Override any gcc2 internal prototype to avoid an error. */
9054 ; 9078 ;
9055 return 0; 9079 return 0;
9056 } 9080 }
9057 _ACEOF 9081 _ACEOF
9058 rm -f conftest.$ac_objext conftest$ac_exeext 9082 rm -f conftest.$ac_objext conftest$ac_exeext
9059 if { (eval echo "$as_me:9059: \"$ac_link\"") >&5 9083 if { (eval echo "$as_me:9083: \"$ac_link\"") >&5
9060 (eval $ac_link) 2>&5 9084 (eval $ac_link) 2>&5
9061 ac_status=$? 9085 ac_status=$?
9062 echo "$as_me:9062: \$? = $ac_status" >&5 9086 echo "$as_me:9086: \$? = $ac_status" >&5
9063 (exit $ac_status); } && 9087 (exit $ac_status); } &&
9064 { ac_try='test -s conftest$ac_exeext' 9088 { ac_try='test -s conftest$ac_exeext'
9065 { (eval echo "$as_me:9065: \"$ac_try\"") >&5 9089 { (eval echo "$as_me:9089: \"$ac_try\"") >&5
9066 (eval $ac_try) 2>&5 9090 (eval $ac_try) 2>&5
9067 ac_status=$? 9091 ac_status=$?
9068 echo "$as_me:9068: \$? = $ac_status" >&5 9092 echo "$as_me:9092: \$? = $ac_status" >&5
9069 (exit $ac_status); }; }; then 9093 (exit $ac_status); }; }; then
9070 eval "$as_ac_var=yes" 9094 eval "$as_ac_var=yes"
9071 else 9095 else
9072 echo "$as_me: failed program was:" >&5 9096 echo "$as_me: failed program was:" >&5
9073 cat conftest.$ac_ext >&5 9097 cat conftest.$ac_ext >&5
9074 eval "$as_ac_var=no" 9098 eval "$as_ac_var=no"
9075 fi 9099 fi
9076 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9100 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9077 fi 9101 fi
9078 echo "$as_me:9078: result: `eval echo '${'$as_ac_var'}'`" >&5 9102 echo "$as_me:9102: result: `eval echo '${'$as_ac_var'}'`" >&5
9079 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 9103 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9080 if test `eval echo '${'$as_ac_var'}'` = yes; then 9104 if test `eval echo '${'$as_ac_var'}'` = yes; then
9081 cat >>confdefs.h <<EOF 9105 cat >>confdefs.h <<EOF
9082 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 9106 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9083 EOF 9107 EOF
9089 #define C_GETLOADAVG 1 9113 #define C_GETLOADAVG 1
9090 EOF 9114 EOF
9091 9115
9092 # Figure out what our getloadavg.c needs. 9116 # Figure out what our getloadavg.c needs.
9093 ac_have_func=no 9117 ac_have_func=no
9094 echo "$as_me:9094: checking for sys/dg_sys_info.h" >&5 9118 echo "$as_me:9118: checking for sys/dg_sys_info.h" >&5
9095 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6 9119 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
9096 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then 9120 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
9097 echo $ECHO_N "(cached) $ECHO_C" >&6 9121 echo $ECHO_N "(cached) $ECHO_C" >&6
9098 else 9122 else
9099 cat >conftest.$ac_ext <<_ACEOF 9123 cat >conftest.$ac_ext <<_ACEOF
9100 #line 9100 "configure" 9124 #line 9124 "configure"
9101 #include "confdefs.h" 9125 #include "confdefs.h"
9102 #include <sys/dg_sys_info.h> 9126 #include <sys/dg_sys_info.h>
9103 _ACEOF 9127 _ACEOF
9104 if { (eval echo "$as_me:9104: \"$ac_cpp conftest.$ac_ext\"") >&5 9128 if { (eval echo "$as_me:9128: \"$ac_cpp conftest.$ac_ext\"") >&5
9105 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9129 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9106 ac_status=$? 9130 ac_status=$?
9107 egrep -v '^ *\+' conftest.er1 >conftest.err 9131 egrep -v '^ *\+' conftest.er1 >conftest.err
9108 rm -f conftest.er1 9132 rm -f conftest.er1
9109 cat conftest.err >&5 9133 cat conftest.err >&5
9110 echo "$as_me:9110: \$? = $ac_status" >&5 9134 echo "$as_me:9134: \$? = $ac_status" >&5
9111 (exit $ac_status); } >/dev/null; then 9135 (exit $ac_status); } >/dev/null; then
9112 if test -s conftest.err; then 9136 if test -s conftest.err; then
9113 ac_cpp_err=$ac_c_preproc_warn_flag 9137 ac_cpp_err=$ac_c_preproc_warn_flag
9114 else 9138 else
9115 ac_cpp_err= 9139 ac_cpp_err=
9124 cat conftest.$ac_ext >&5 9148 cat conftest.$ac_ext >&5
9125 ac_cv_header_sys_dg_sys_info_h=no 9149 ac_cv_header_sys_dg_sys_info_h=no
9126 fi 9150 fi
9127 rm -f conftest.err conftest.$ac_ext 9151 rm -f conftest.err conftest.$ac_ext
9128 fi 9152 fi
9129 echo "$as_me:9129: result: $ac_cv_header_sys_dg_sys_info_h" >&5 9153 echo "$as_me:9153: result: $ac_cv_header_sys_dg_sys_info_h" >&5
9130 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6 9154 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
9131 if test $ac_cv_header_sys_dg_sys_info_h = yes; then 9155 if test $ac_cv_header_sys_dg_sys_info_h = yes; then
9132 ac_have_func=yes 9156 ac_have_func=yes
9133 9157
9134 cat >>confdefs.h <<\EOF 9158 cat >>confdefs.h <<\EOF
9135 #define DGUX 1 9159 #define DGUX 1
9136 EOF 9160 EOF
9137 9161
9138 echo "$as_me:9138: checking for dg_sys_info in -ldgc" >&5 9162 echo "$as_me:9162: checking for dg_sys_info in -ldgc" >&5
9139 echo $ECHO_N "checking for dg_sys_info in -ldgc... $ECHO_C" >&6 9163 echo $ECHO_N "checking for dg_sys_info in -ldgc... $ECHO_C" >&6
9140 if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then 9164 if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then
9141 echo $ECHO_N "(cached) $ECHO_C" >&6 9165 echo $ECHO_N "(cached) $ECHO_C" >&6
9142 else 9166 else
9143 ac_check_lib_save_LIBS=$LIBS 9167 ac_check_lib_save_LIBS=$LIBS
9144 LIBS="-ldgc $LIBS" 9168 LIBS="-ldgc $LIBS"
9145 cat >conftest.$ac_ext <<_ACEOF 9169 cat >conftest.$ac_ext <<_ACEOF
9146 #line 9146 "configure" 9170 #line 9170 "configure"
9147 #include "confdefs.h" 9171 #include "confdefs.h"
9148 9172
9149 /* Override any gcc2 internal prototype to avoid an error. */ 9173 /* Override any gcc2 internal prototype to avoid an error. */
9150 #ifdef __cplusplus 9174 #ifdef __cplusplus
9151 extern "C" 9175 extern "C"
9160 ; 9184 ;
9161 return 0; 9185 return 0;
9162 } 9186 }
9163 _ACEOF 9187 _ACEOF
9164 rm -f conftest.$ac_objext conftest$ac_exeext 9188 rm -f conftest.$ac_objext conftest$ac_exeext
9165 if { (eval echo "$as_me:9165: \"$ac_link\"") >&5 9189 if { (eval echo "$as_me:9189: \"$ac_link\"") >&5
9166 (eval $ac_link) 2>&5 9190 (eval $ac_link) 2>&5
9167 ac_status=$? 9191 ac_status=$?
9168 echo "$as_me:9168: \$? = $ac_status" >&5 9192 echo "$as_me:9192: \$? = $ac_status" >&5
9169 (exit $ac_status); } && 9193 (exit $ac_status); } &&
9170 { ac_try='test -s conftest$ac_exeext' 9194 { ac_try='test -s conftest$ac_exeext'
9171 { (eval echo "$as_me:9171: \"$ac_try\"") >&5 9195 { (eval echo "$as_me:9195: \"$ac_try\"") >&5
9172 (eval $ac_try) 2>&5 9196 (eval $ac_try) 2>&5
9173 ac_status=$? 9197 ac_status=$?
9174 echo "$as_me:9174: \$? = $ac_status" >&5 9198 echo "$as_me:9198: \$? = $ac_status" >&5
9175 (exit $ac_status); }; }; then 9199 (exit $ac_status); }; }; then
9176 ac_cv_lib_dgc_dg_sys_info=yes 9200 ac_cv_lib_dgc_dg_sys_info=yes
9177 else 9201 else
9178 echo "$as_me: failed program was:" >&5 9202 echo "$as_me: failed program was:" >&5
9179 cat conftest.$ac_ext >&5 9203 cat conftest.$ac_ext >&5
9180 ac_cv_lib_dgc_dg_sys_info=no 9204 ac_cv_lib_dgc_dg_sys_info=no
9181 fi 9205 fi
9182 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9206 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9183 LIBS=$ac_check_lib_save_LIBS 9207 LIBS=$ac_check_lib_save_LIBS
9184 fi 9208 fi
9185 echo "$as_me:9185: result: $ac_cv_lib_dgc_dg_sys_info" >&5 9209 echo "$as_me:9209: result: $ac_cv_lib_dgc_dg_sys_info" >&5
9186 echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6 9210 echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6
9187 if test $ac_cv_lib_dgc_dg_sys_info = yes; then 9211 if test $ac_cv_lib_dgc_dg_sys_info = yes; then
9188 cat >>confdefs.h <<EOF 9212 cat >>confdefs.h <<EOF
9189 #define HAVE_LIBDGC 1 9213 #define HAVE_LIBDGC 1
9190 EOF 9214 EOF
9193 9217
9194 fi 9218 fi
9195 9219
9196 fi 9220 fi
9197 9221
9198 echo "$as_me:9198: checking for locale.h" >&5 9222 echo "$as_me:9222: checking for locale.h" >&5
9199 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6 9223 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
9200 if test "${ac_cv_header_locale_h+set}" = set; then 9224 if test "${ac_cv_header_locale_h+set}" = set; then
9201 echo $ECHO_N "(cached) $ECHO_C" >&6 9225 echo $ECHO_N "(cached) $ECHO_C" >&6
9202 else 9226 else
9203 cat >conftest.$ac_ext <<_ACEOF 9227 cat >conftest.$ac_ext <<_ACEOF
9204 #line 9204 "configure" 9228 #line 9228 "configure"
9205 #include "confdefs.h" 9229 #include "confdefs.h"
9206 #include <locale.h> 9230 #include <locale.h>
9207 _ACEOF 9231 _ACEOF
9208 if { (eval echo "$as_me:9208: \"$ac_cpp conftest.$ac_ext\"") >&5 9232 if { (eval echo "$as_me:9232: \"$ac_cpp conftest.$ac_ext\"") >&5
9209 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9233 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9210 ac_status=$? 9234 ac_status=$?
9211 egrep -v '^ *\+' conftest.er1 >conftest.err 9235 egrep -v '^ *\+' conftest.er1 >conftest.err
9212 rm -f conftest.er1 9236 rm -f conftest.er1
9213 cat conftest.err >&5 9237 cat conftest.err >&5
9214 echo "$as_me:9214: \$? = $ac_status" >&5 9238 echo "$as_me:9238: \$? = $ac_status" >&5
9215 (exit $ac_status); } >/dev/null; then 9239 (exit $ac_status); } >/dev/null; then
9216 if test -s conftest.err; then 9240 if test -s conftest.err; then
9217 ac_cpp_err=$ac_c_preproc_warn_flag 9241 ac_cpp_err=$ac_c_preproc_warn_flag
9218 else 9242 else
9219 ac_cpp_err= 9243 ac_cpp_err=
9228 cat conftest.$ac_ext >&5 9252 cat conftest.$ac_ext >&5
9229 ac_cv_header_locale_h=no 9253 ac_cv_header_locale_h=no
9230 fi 9254 fi
9231 rm -f conftest.err conftest.$ac_ext 9255 rm -f conftest.err conftest.$ac_ext
9232 fi 9256 fi
9233 echo "$as_me:9233: result: $ac_cv_header_locale_h" >&5 9257 echo "$as_me:9257: result: $ac_cv_header_locale_h" >&5
9234 echo "${ECHO_T}$ac_cv_header_locale_h" >&6 9258 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
9235 9259
9236 for ac_func in setlocale 9260 for ac_func in setlocale
9237 do 9261 do
9238 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9262 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9239 echo "$as_me:9239: checking for $ac_func" >&5 9263 echo "$as_me:9263: checking for $ac_func" >&5
9240 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 9264 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9241 if eval "test \"\${$as_ac_var+set}\" = set"; then 9265 if eval "test \"\${$as_ac_var+set}\" = set"; then
9242 echo $ECHO_N "(cached) $ECHO_C" >&6 9266 echo $ECHO_N "(cached) $ECHO_C" >&6
9243 else 9267 else
9244 cat >conftest.$ac_ext <<_ACEOF 9268 cat >conftest.$ac_ext <<_ACEOF
9245 #line 9245 "configure" 9269 #line 9269 "configure"
9246 #include "confdefs.h" 9270 #include "confdefs.h"
9247 /* System header to define __stub macros and hopefully few prototypes, 9271 /* System header to define __stub macros and hopefully few prototypes,
9248 which can conflict with char $ac_func (); below. */ 9272 which can conflict with char $ac_func (); below. */
9249 #include <assert.h> 9273 #include <assert.h>
9250 /* Override any gcc2 internal prototype to avoid an error. */ 9274 /* Override any gcc2 internal prototype to avoid an error. */
9271 ; 9295 ;
9272 return 0; 9296 return 0;
9273 } 9297 }
9274 _ACEOF 9298 _ACEOF
9275 rm -f conftest.$ac_objext conftest$ac_exeext 9299 rm -f conftest.$ac_objext conftest$ac_exeext
9276 if { (eval echo "$as_me:9276: \"$ac_link\"") >&5 9300 if { (eval echo "$as_me:9300: \"$ac_link\"") >&5
9277 (eval $ac_link) 2>&5 9301 (eval $ac_link) 2>&5
9278 ac_status=$? 9302 ac_status=$?
9279 echo "$as_me:9279: \$? = $ac_status" >&5 9303 echo "$as_me:9303: \$? = $ac_status" >&5
9280 (exit $ac_status); } && 9304 (exit $ac_status); } &&
9281 { ac_try='test -s conftest$ac_exeext' 9305 { ac_try='test -s conftest$ac_exeext'
9282 { (eval echo "$as_me:9282: \"$ac_try\"") >&5 9306 { (eval echo "$as_me:9306: \"$ac_try\"") >&5
9283 (eval $ac_try) 2>&5 9307 (eval $ac_try) 2>&5
9284 ac_status=$? 9308 ac_status=$?
9285 echo "$as_me:9285: \$? = $ac_status" >&5 9309 echo "$as_me:9309: \$? = $ac_status" >&5
9286 (exit $ac_status); }; }; then 9310 (exit $ac_status); }; }; then
9287 eval "$as_ac_var=yes" 9311 eval "$as_ac_var=yes"
9288 else 9312 else
9289 echo "$as_me: failed program was:" >&5 9313 echo "$as_me: failed program was:" >&5
9290 cat conftest.$ac_ext >&5 9314 cat conftest.$ac_ext >&5
9291 eval "$as_ac_var=no" 9315 eval "$as_ac_var=no"
9292 fi 9316 fi
9293 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9317 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9294 fi 9318 fi
9295 echo "$as_me:9295: result: `eval echo '${'$as_ac_var'}'`" >&5 9319 echo "$as_me:9319: result: `eval echo '${'$as_ac_var'}'`" >&5
9296 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 9320 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9297 if test `eval echo '${'$as_ac_var'}'` = yes; then 9321 if test `eval echo '${'$as_ac_var'}'` = yes; then
9298 cat >>confdefs.h <<EOF 9322 cat >>confdefs.h <<EOF
9299 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 9323 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9300 EOF 9324 EOF
9313 EOF 9337 EOF
9314 9338
9315 fi 9339 fi
9316 9340
9317 if test $ac_have_func = no; then 9341 if test $ac_have_func = no; then
9318 echo "$as_me:9318: checking for inq_stats/cpustats.h" >&5 9342 echo "$as_me:9342: checking for inq_stats/cpustats.h" >&5
9319 echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6 9343 echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6
9320 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then 9344 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
9321 echo $ECHO_N "(cached) $ECHO_C" >&6 9345 echo $ECHO_N "(cached) $ECHO_C" >&6
9322 else 9346 else
9323 cat >conftest.$ac_ext <<_ACEOF 9347 cat >conftest.$ac_ext <<_ACEOF
9324 #line 9324 "configure" 9348 #line 9348 "configure"
9325 #include "confdefs.h" 9349 #include "confdefs.h"
9326 #include <inq_stats/cpustats.h> 9350 #include <inq_stats/cpustats.h>
9327 _ACEOF 9351 _ACEOF
9328 if { (eval echo "$as_me:9328: \"$ac_cpp conftest.$ac_ext\"") >&5 9352 if { (eval echo "$as_me:9352: \"$ac_cpp conftest.$ac_ext\"") >&5
9329 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9353 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9330 ac_status=$? 9354 ac_status=$?
9331 egrep -v '^ *\+' conftest.er1 >conftest.err 9355 egrep -v '^ *\+' conftest.er1 >conftest.err
9332 rm -f conftest.er1 9356 rm -f conftest.er1
9333 cat conftest.err >&5 9357 cat conftest.err >&5
9334 echo "$as_me:9334: \$? = $ac_status" >&5 9358 echo "$as_me:9358: \$? = $ac_status" >&5
9335 (exit $ac_status); } >/dev/null; then 9359 (exit $ac_status); } >/dev/null; then
9336 if test -s conftest.err; then 9360 if test -s conftest.err; then
9337 ac_cpp_err=$ac_c_preproc_warn_flag 9361 ac_cpp_err=$ac_c_preproc_warn_flag
9338 else 9362 else
9339 ac_cpp_err= 9363 ac_cpp_err=
9348 cat conftest.$ac_ext >&5 9372 cat conftest.$ac_ext >&5
9349 ac_cv_header_inq_stats_cpustats_h=no 9373 ac_cv_header_inq_stats_cpustats_h=no
9350 fi 9374 fi
9351 rm -f conftest.err conftest.$ac_ext 9375 rm -f conftest.err conftest.$ac_ext
9352 fi 9376 fi
9353 echo "$as_me:9353: result: $ac_cv_header_inq_stats_cpustats_h" >&5 9377 echo "$as_me:9377: result: $ac_cv_header_inq_stats_cpustats_h" >&5
9354 echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6 9378 echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6
9355 if test $ac_cv_header_inq_stats_cpustats_h = yes; then 9379 if test $ac_cv_header_inq_stats_cpustats_h = yes; then
9356 ac_have_func=yes 9380 ac_have_func=yes
9357 9381
9358 cat >>confdefs.h <<\EOF 9382 cat >>confdefs.h <<\EOF
9366 fi 9390 fi
9367 9391
9368 fi 9392 fi
9369 9393
9370 if test $ac_have_func = no; then 9394 if test $ac_have_func = no; then
9371 echo "$as_me:9371: checking for sys/cpustats.h" >&5 9395 echo "$as_me:9395: checking for sys/cpustats.h" >&5
9372 echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6 9396 echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6
9373 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then 9397 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
9374 echo $ECHO_N "(cached) $ECHO_C" >&6 9398 echo $ECHO_N "(cached) $ECHO_C" >&6
9375 else 9399 else
9376 cat >conftest.$ac_ext <<_ACEOF 9400 cat >conftest.$ac_ext <<_ACEOF
9377 #line 9377 "configure" 9401 #line 9401 "configure"
9378 #include "confdefs.h" 9402 #include "confdefs.h"
9379 #include <sys/cpustats.h> 9403 #include <sys/cpustats.h>
9380 _ACEOF 9404 _ACEOF
9381 if { (eval echo "$as_me:9381: \"$ac_cpp conftest.$ac_ext\"") >&5 9405 if { (eval echo "$as_me:9405: \"$ac_cpp conftest.$ac_ext\"") >&5
9382 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9406 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9383 ac_status=$? 9407 ac_status=$?
9384 egrep -v '^ *\+' conftest.er1 >conftest.err 9408 egrep -v '^ *\+' conftest.er1 >conftest.err
9385 rm -f conftest.er1 9409 rm -f conftest.er1
9386 cat conftest.err >&5 9410 cat conftest.err >&5
9387 echo "$as_me:9387: \$? = $ac_status" >&5 9411 echo "$as_me:9411: \$? = $ac_status" >&5
9388 (exit $ac_status); } >/dev/null; then 9412 (exit $ac_status); } >/dev/null; then
9389 if test -s conftest.err; then 9413 if test -s conftest.err; then
9390 ac_cpp_err=$ac_c_preproc_warn_flag 9414 ac_cpp_err=$ac_c_preproc_warn_flag
9391 else 9415 else
9392 ac_cpp_err= 9416 ac_cpp_err=
9401 cat conftest.$ac_ext >&5 9425 cat conftest.$ac_ext >&5
9402 ac_cv_header_sys_cpustats_h=no 9426 ac_cv_header_sys_cpustats_h=no
9403 fi 9427 fi
9404 rm -f conftest.err conftest.$ac_ext 9428 rm -f conftest.err conftest.$ac_ext
9405 fi 9429 fi
9406 echo "$as_me:9406: result: $ac_cv_header_sys_cpustats_h" >&5 9430 echo "$as_me:9430: result: $ac_cv_header_sys_cpustats_h" >&5
9407 echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6 9431 echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6
9408 if test $ac_cv_header_sys_cpustats_h = yes; then 9432 if test $ac_cv_header_sys_cpustats_h = yes; then
9409 ac_have_func=yes; cat >>confdefs.h <<\EOF 9433 ac_have_func=yes; cat >>confdefs.h <<\EOF
9410 #define UMAX 1 9434 #define UMAX 1
9411 EOF 9435 EOF
9417 if test $ac_have_func = no; then 9441 if test $ac_have_func = no; then
9418 9442
9419 for ac_header in mach/mach.h 9443 for ac_header in mach/mach.h
9420 do 9444 do
9421 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 9445 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9422 echo "$as_me:9422: checking for $ac_header" >&5 9446 echo "$as_me:9446: checking for $ac_header" >&5
9423 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 9447 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9424 if eval "test \"\${$as_ac_Header+set}\" = set"; then 9448 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9425 echo $ECHO_N "(cached) $ECHO_C" >&6 9449 echo $ECHO_N "(cached) $ECHO_C" >&6
9426 else 9450 else
9427 cat >conftest.$ac_ext <<_ACEOF 9451 cat >conftest.$ac_ext <<_ACEOF
9428 #line 9428 "configure" 9452 #line 9452 "configure"
9429 #include "confdefs.h" 9453 #include "confdefs.h"
9430 #include <$ac_header> 9454 #include <$ac_header>
9431 _ACEOF 9455 _ACEOF
9432 if { (eval echo "$as_me:9432: \"$ac_cpp conftest.$ac_ext\"") >&5 9456 if { (eval echo "$as_me:9456: \"$ac_cpp conftest.$ac_ext\"") >&5
9433 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9457 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9434 ac_status=$? 9458 ac_status=$?
9435 egrep -v '^ *\+' conftest.er1 >conftest.err 9459 egrep -v '^ *\+' conftest.er1 >conftest.err
9436 rm -f conftest.er1 9460 rm -f conftest.er1
9437 cat conftest.err >&5 9461 cat conftest.err >&5
9438 echo "$as_me:9438: \$? = $ac_status" >&5 9462 echo "$as_me:9462: \$? = $ac_status" >&5
9439 (exit $ac_status); } >/dev/null; then 9463 (exit $ac_status); } >/dev/null; then
9440 if test -s conftest.err; then 9464 if test -s conftest.err; then
9441 ac_cpp_err=$ac_c_preproc_warn_flag 9465 ac_cpp_err=$ac_c_preproc_warn_flag
9442 else 9466 else
9443 ac_cpp_err= 9467 ac_cpp_err=
9452 cat conftest.$ac_ext >&5 9476 cat conftest.$ac_ext >&5
9453 eval "$as_ac_Header=no" 9477 eval "$as_ac_Header=no"
9454 fi 9478 fi
9455 rm -f conftest.err conftest.$ac_ext 9479 rm -f conftest.err conftest.$ac_ext
9456 fi 9480 fi
9457 echo "$as_me:9457: result: `eval echo '${'$as_ac_Header'}'`" >&5 9481 echo "$as_me:9481: result: `eval echo '${'$as_ac_Header'}'`" >&5
9458 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 9482 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9459 if test `eval echo '${'$as_ac_Header'}'` = yes; then 9483 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9460 cat >>confdefs.h <<EOF 9484 cat >>confdefs.h <<EOF
9461 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 9485 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9462 EOF 9486 EOF
9467 fi 9491 fi
9468 9492
9469 for ac_header in nlist.h 9493 for ac_header in nlist.h
9470 do 9494 do
9471 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 9495 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9472 echo "$as_me:9472: checking for $ac_header" >&5 9496 echo "$as_me:9496: checking for $ac_header" >&5
9473 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 9497 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9474 if eval "test \"\${$as_ac_Header+set}\" = set"; then 9498 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9475 echo $ECHO_N "(cached) $ECHO_C" >&6 9499 echo $ECHO_N "(cached) $ECHO_C" >&6
9476 else 9500 else
9477 cat >conftest.$ac_ext <<_ACEOF 9501 cat >conftest.$ac_ext <<_ACEOF
9478 #line 9478 "configure" 9502 #line 9502 "configure"
9479 #include "confdefs.h" 9503 #include "confdefs.h"
9480 #include <$ac_header> 9504 #include <$ac_header>
9481 _ACEOF 9505 _ACEOF
9482 if { (eval echo "$as_me:9482: \"$ac_cpp conftest.$ac_ext\"") >&5 9506 if { (eval echo "$as_me:9506: \"$ac_cpp conftest.$ac_ext\"") >&5
9483 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9507 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9484 ac_status=$? 9508 ac_status=$?
9485 egrep -v '^ *\+' conftest.er1 >conftest.err 9509 egrep -v '^ *\+' conftest.er1 >conftest.err
9486 rm -f conftest.er1 9510 rm -f conftest.er1
9487 cat conftest.err >&5 9511 cat conftest.err >&5
9488 echo "$as_me:9488: \$? = $ac_status" >&5 9512 echo "$as_me:9512: \$? = $ac_status" >&5
9489 (exit $ac_status); } >/dev/null; then 9513 (exit $ac_status); } >/dev/null; then
9490 if test -s conftest.err; then 9514 if test -s conftest.err; then
9491 ac_cpp_err=$ac_c_preproc_warn_flag 9515 ac_cpp_err=$ac_c_preproc_warn_flag
9492 else 9516 else
9493 ac_cpp_err= 9517 ac_cpp_err=
9502 cat conftest.$ac_ext >&5 9526 cat conftest.$ac_ext >&5
9503 eval "$as_ac_Header=no" 9527 eval "$as_ac_Header=no"
9504 fi 9528 fi
9505 rm -f conftest.err conftest.$ac_ext 9529 rm -f conftest.err conftest.$ac_ext
9506 fi 9530 fi
9507 echo "$as_me:9507: result: `eval echo '${'$as_ac_Header'}'`" >&5 9531 echo "$as_me:9531: result: `eval echo '${'$as_ac_Header'}'`" >&5
9508 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 9532 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9509 if test `eval echo '${'$as_ac_Header'}'` = yes; then 9533 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9510 cat >>confdefs.h <<EOF 9534 cat >>confdefs.h <<EOF
9511 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 9535 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9512 EOF 9536 EOF
9513 echo "$as_me:9513: checking for struct nlist.n_un.n_name" >&5 9537 echo "$as_me:9537: checking for struct nlist.n_un.n_name" >&5
9514 echo $ECHO_N "checking for struct nlist.n_un.n_name... $ECHO_C" >&6 9538 echo $ECHO_N "checking for struct nlist.n_un.n_name... $ECHO_C" >&6
9515 if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then 9539 if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then
9516 echo $ECHO_N "(cached) $ECHO_C" >&6 9540 echo $ECHO_N "(cached) $ECHO_C" >&6
9517 else 9541 else
9518 cat >conftest.$ac_ext <<_ACEOF 9542 cat >conftest.$ac_ext <<_ACEOF
9519 #line 9519 "configure" 9543 #line 9543 "configure"
9520 #include "confdefs.h" 9544 #include "confdefs.h"
9521 #include <nlist.h> 9545 #include <nlist.h>
9522 9546
9523 int 9547 int
9524 main () 9548 main ()
9529 ; 9553 ;
9530 return 0; 9554 return 0;
9531 } 9555 }
9532 _ACEOF 9556 _ACEOF
9533 rm -f conftest.$ac_objext 9557 rm -f conftest.$ac_objext
9534 if { (eval echo "$as_me:9534: \"$ac_compile\"") >&5 9558 if { (eval echo "$as_me:9558: \"$ac_compile\"") >&5
9535 (eval $ac_compile) 2>&5 9559 (eval $ac_compile) 2>&5
9536 ac_status=$? 9560 ac_status=$?
9537 echo "$as_me:9537: \$? = $ac_status" >&5 9561 echo "$as_me:9561: \$? = $ac_status" >&5
9538 (exit $ac_status); } && 9562 (exit $ac_status); } &&
9539 { ac_try='test -s conftest.$ac_objext' 9563 { ac_try='test -s conftest.$ac_objext'
9540 { (eval echo "$as_me:9540: \"$ac_try\"") >&5 9564 { (eval echo "$as_me:9564: \"$ac_try\"") >&5
9541 (eval $ac_try) 2>&5 9565 (eval $ac_try) 2>&5
9542 ac_status=$? 9566 ac_status=$?
9543 echo "$as_me:9543: \$? = $ac_status" >&5 9567 echo "$as_me:9567: \$? = $ac_status" >&5
9544 (exit $ac_status); }; }; then 9568 (exit $ac_status); }; }; then
9545 ac_cv_member_struct_nlist_n_un_n_name=yes 9569 ac_cv_member_struct_nlist_n_un_n_name=yes
9546 else 9570 else
9547 echo "$as_me: failed program was:" >&5 9571 echo "$as_me: failed program was:" >&5
9548 cat conftest.$ac_ext >&5 9572 cat conftest.$ac_ext >&5
9549 ac_cv_member_struct_nlist_n_un_n_name=no 9573 ac_cv_member_struct_nlist_n_un_n_name=no
9550 fi 9574 fi
9551 rm -f conftest.$ac_objext conftest.$ac_ext 9575 rm -f conftest.$ac_objext conftest.$ac_ext
9552 fi 9576 fi
9553 echo "$as_me:9553: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5 9577 echo "$as_me:9577: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5
9554 echo "${ECHO_T}$ac_cv_member_struct_nlist_n_un_n_name" >&6 9578 echo "${ECHO_T}$ac_cv_member_struct_nlist_n_un_n_name" >&6
9555 if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then 9579 if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then
9556 9580
9557 cat >>confdefs.h <<EOF 9581 cat >>confdefs.h <<EOF
9558 #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1 9582 #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1
9569 9593
9570 fi 9594 fi
9571 done 9595 done
9572 9596
9573 # Some definitions of getloadavg require that the program be installed setgid. 9597 # Some definitions of getloadavg require that the program be installed setgid.
9574 echo "$as_me:9574: checking whether getloadavg requires setgid" >&5 9598 echo "$as_me:9598: checking whether getloadavg requires setgid" >&5
9575 echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6 9599 echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6
9576 if test "${ac_cv_func_getloadavg_setgid+set}" = set; then 9600 if test "${ac_cv_func_getloadavg_setgid+set}" = set; then
9577 echo $ECHO_N "(cached) $ECHO_C" >&6 9601 echo $ECHO_N "(cached) $ECHO_C" >&6
9578 else 9602 else
9579 cat >conftest.$ac_ext <<_ACEOF 9603 cat >conftest.$ac_ext <<_ACEOF
9580 #line 9580 "configure" 9604 #line 9604 "configure"
9581 #include "confdefs.h" 9605 #include "confdefs.h"
9582 #include "$srcdir/getloadavg.c" 9606 #include "$srcdir/getloadavg.c"
9583 #ifdef LDAV_PRIVILEGED 9607 #ifdef LDAV_PRIVILEGED
9584 Yowza Am I SETGID yet 9608 Yowza Am I SETGID yet
9585 #endif 9609 #endif
9591 ac_cv_func_getloadavg_setgid=no 9615 ac_cv_func_getloadavg_setgid=no
9592 fi 9616 fi
9593 rm -f conftest* 9617 rm -f conftest*
9594 9618
9595 fi 9619 fi
9596 echo "$as_me:9596: result: $ac_cv_func_getloadavg_setgid" >&5 9620 echo "$as_me:9620: result: $ac_cv_func_getloadavg_setgid" >&5
9597 echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6 9621 echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6
9598 if test $ac_cv_func_getloadavg_setgid = yes; then 9622 if test $ac_cv_func_getloadavg_setgid = yes; then
9599 NEED_SETGID=true 9623 NEED_SETGID=true
9600 9624
9601 cat >>confdefs.h <<\EOF 9625 cat >>confdefs.h <<\EOF
9605 else 9629 else
9606 NEED_SETGID=false 9630 NEED_SETGID=false
9607 fi 9631 fi
9608 9632
9609 if test $ac_cv_func_getloadavg_setgid = yes; then 9633 if test $ac_cv_func_getloadavg_setgid = yes; then
9610 echo "$as_me:9610: checking group of /dev/kmem" >&5 9634 echo "$as_me:9634: checking group of /dev/kmem" >&5
9611 echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6 9635 echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6
9612 if test "${ac_cv_group_kmem+set}" = set; then 9636 if test "${ac_cv_group_kmem+set}" = set; then
9613 echo $ECHO_N "(cached) $ECHO_C" >&6 9637 echo $ECHO_N "(cached) $ECHO_C" >&6
9614 else 9638 else
9615 # On Solaris, /dev/kmem is a symlink. Get info on the real file. 9639 # On Solaris, /dev/kmem is a symlink. Get info on the real file.
9620 | sed -ne 's/[ ][ ]*/ /g; 9644 | sed -ne 's/[ ][ ]*/ /g;
9621 s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\) *.*/\1/; 9645 s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\) *.*/\1/;
9622 / /s/.* //;p;'` 9646 / /s/.* //;p;'`
9623 9647
9624 fi 9648 fi
9625 echo "$as_me:9625: result: $ac_cv_group_kmem" >&5 9649 echo "$as_me:9649: result: $ac_cv_group_kmem" >&5
9626 echo "${ECHO_T}$ac_cv_group_kmem" >&6 9650 echo "${ECHO_T}$ac_cv_group_kmem" >&6
9627 KMEM_GROUP=$ac_cv_group_kmem 9651 KMEM_GROUP=$ac_cv_group_kmem
9628 fi 9652 fi
9629 if test "x$ac_save_LIBS" = x; then 9653 if test "x$ac_save_LIBS" = x; then
9630 GETLOADAVG_LIBS=$LIBS 9654 GETLOADAVG_LIBS=$LIBS
9631 else 9655 else
9632 GETLOADAVG_LIBS=`echo "$LIBS" | sed "s!$ac_save_LIBS!!"` 9656 GETLOADAVG_LIBS=`echo "$LIBS" | sed "s!$ac_save_LIBS!!"`
9633 fi 9657 fi
9634 LIBS=$ac_save_LIBS 9658 LIBS=$ac_save_LIBS
9635 9659
9636 echo "$as_me:9636: checking for _LARGEFILE_SOURCE value needed for large files" >&5 9660 echo "$as_me:9660: checking for _LARGEFILE_SOURCE value needed for large files" >&5
9637 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6 9661 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
9638 if test "${ac_cv_sys_largefile_source+set}" = set; then 9662 if test "${ac_cv_sys_largefile_source+set}" = set; then
9639 echo $ECHO_N "(cached) $ECHO_C" >&6 9663 echo $ECHO_N "(cached) $ECHO_C" >&6
9640 else 9664 else
9641 while :; do 9665 while :; do
9642 ac_cv_sys_largefile_source=no 9666 ac_cv_sys_largefile_source=no
9643 cat >conftest.$ac_ext <<_ACEOF 9667 cat >conftest.$ac_ext <<_ACEOF
9644 #line 9644 "configure" 9668 #line 9668 "configure"
9645 #include "confdefs.h" 9669 #include "confdefs.h"
9646 #include <stdio.h> 9670 #include <stdio.h>
9647 int 9671 int
9648 main () 9672 main ()
9649 { 9673 {
9651 ; 9675 ;
9652 return 0; 9676 return 0;
9653 } 9677 }
9654 _ACEOF 9678 _ACEOF
9655 rm -f conftest.$ac_objext 9679 rm -f conftest.$ac_objext
9656 if { (eval echo "$as_me:9656: \"$ac_compile\"") >&5 9680 if { (eval echo "$as_me:9680: \"$ac_compile\"") >&5
9657 (eval $ac_compile) 2>&5 9681 (eval $ac_compile) 2>&5
9658 ac_status=$? 9682 ac_status=$?
9659 echo "$as_me:9659: \$? = $ac_status" >&5 9683 echo "$as_me:9683: \$? = $ac_status" >&5
9660 (exit $ac_status); } && 9684 (exit $ac_status); } &&
9661 { ac_try='test -s conftest.$ac_objext' 9685 { ac_try='test -s conftest.$ac_objext'
9662 { (eval echo "$as_me:9662: \"$ac_try\"") >&5 9686 { (eval echo "$as_me:9686: \"$ac_try\"") >&5
9663 (eval $ac_try) 2>&5 9687 (eval $ac_try) 2>&5
9664 ac_status=$? 9688 ac_status=$?
9665 echo "$as_me:9665: \$? = $ac_status" >&5 9689 echo "$as_me:9689: \$? = $ac_status" >&5
9666 (exit $ac_status); }; }; then 9690 (exit $ac_status); }; }; then
9667 break 9691 break
9668 else 9692 else
9669 echo "$as_me: failed program was:" >&5 9693 echo "$as_me: failed program was:" >&5
9670 cat conftest.$ac_ext >&5 9694 cat conftest.$ac_ext >&5
9671 fi 9695 fi
9672 rm -f conftest.$ac_objext conftest.$ac_ext 9696 rm -f conftest.$ac_objext conftest.$ac_ext
9673 cat >conftest.$ac_ext <<_ACEOF 9697 cat >conftest.$ac_ext <<_ACEOF
9674 #line 9674 "configure" 9698 #line 9698 "configure"
9675 #include "confdefs.h" 9699 #include "confdefs.h"
9676 #define _LARGEFILE_SOURCE 1 9700 #define _LARGEFILE_SOURCE 1
9677 #include <stdio.h> 9701 #include <stdio.h>
9678 int 9702 int
9679 main () 9703 main ()
9682 ; 9706 ;
9683 return 0; 9707 return 0;
9684 } 9708 }
9685 _ACEOF 9709 _ACEOF
9686 rm -f conftest.$ac_objext 9710 rm -f conftest.$ac_objext
9687 if { (eval echo "$as_me:9687: \"$ac_compile\"") >&5 9711 if { (eval echo "$as_me:9711: \"$ac_compile\"") >&5
9688 (eval $ac_compile) 2>&5 9712 (eval $ac_compile) 2>&5
9689 ac_status=$? 9713 ac_status=$?
9690 echo "$as_me:9690: \$? = $ac_status" >&5 9714 echo "$as_me:9714: \$? = $ac_status" >&5
9691 (exit $ac_status); } && 9715 (exit $ac_status); } &&
9692 { ac_try='test -s conftest.$ac_objext' 9716 { ac_try='test -s conftest.$ac_objext'
9693 { (eval echo "$as_me:9693: \"$ac_try\"") >&5 9717 { (eval echo "$as_me:9717: \"$ac_try\"") >&5
9694 (eval $ac_try) 2>&5 9718 (eval $ac_try) 2>&5
9695 ac_status=$? 9719 ac_status=$?
9696 echo "$as_me:9696: \$? = $ac_status" >&5 9720 echo "$as_me:9720: \$? = $ac_status" >&5
9697 (exit $ac_status); }; }; then 9721 (exit $ac_status); }; }; then
9698 ac_cv_sys_largefile_source=1; break 9722 ac_cv_sys_largefile_source=1; break
9699 else 9723 else
9700 echo "$as_me: failed program was:" >&5 9724 echo "$as_me: failed program was:" >&5
9701 cat conftest.$ac_ext >&5 9725 cat conftest.$ac_ext >&5
9702 fi 9726 fi
9703 rm -f conftest.$ac_objext conftest.$ac_ext 9727 rm -f conftest.$ac_objext conftest.$ac_ext
9704 break 9728 break
9705 done 9729 done
9706 fi 9730 fi
9707 echo "$as_me:9707: result: $ac_cv_sys_largefile_source" >&5 9731 echo "$as_me:9731: result: $ac_cv_sys_largefile_source" >&5
9708 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6 9732 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
9709 if test "$ac_cv_sys_largefile_source" != no; then 9733 if test "$ac_cv_sys_largefile_source" != no; then
9710 9734
9711 cat >>confdefs.h <<EOF 9735 cat >>confdefs.h <<EOF
9712 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source 9736 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
9716 rm -f conftest* 9740 rm -f conftest*
9717 9741
9718 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug 9742 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
9719 # in glibc 2.1.3, but that breaks too many other things. 9743 # in glibc 2.1.3, but that breaks too many other things.
9720 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc. 9744 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
9721 echo "$as_me:9721: checking for fseeko" >&5 9745 echo "$as_me:9745: checking for fseeko" >&5
9722 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6 9746 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
9723 if test "${ac_cv_func_fseeko+set}" = set; then 9747 if test "${ac_cv_func_fseeko+set}" = set; then
9724 echo $ECHO_N "(cached) $ECHO_C" >&6 9748 echo $ECHO_N "(cached) $ECHO_C" >&6
9725 else 9749 else
9726 cat >conftest.$ac_ext <<_ACEOF 9750 cat >conftest.$ac_ext <<_ACEOF
9727 #line 9727 "configure" 9751 #line 9751 "configure"
9728 #include "confdefs.h" 9752 #include "confdefs.h"
9729 #include <stdio.h> 9753 #include <stdio.h>
9730 int 9754 int
9731 main () 9755 main ()
9732 { 9756 {
9734 ; 9758 ;
9735 return 0; 9759 return 0;
9736 } 9760 }
9737 _ACEOF 9761 _ACEOF
9738 rm -f conftest.$ac_objext conftest$ac_exeext 9762 rm -f conftest.$ac_objext conftest$ac_exeext
9739 if { (eval echo "$as_me:9739: \"$ac_link\"") >&5 9763 if { (eval echo "$as_me:9763: \"$ac_link\"") >&5
9740 (eval $ac_link) 2>&5 9764 (eval $ac_link) 2>&5
9741 ac_status=$? 9765 ac_status=$?
9742 echo "$as_me:9742: \$? = $ac_status" >&5 9766 echo "$as_me:9766: \$? = $ac_status" >&5
9743 (exit $ac_status); } && 9767 (exit $ac_status); } &&
9744 { ac_try='test -s conftest$ac_exeext' 9768 { ac_try='test -s conftest$ac_exeext'
9745 { (eval echo "$as_me:9745: \"$ac_try\"") >&5 9769 { (eval echo "$as_me:9769: \"$ac_try\"") >&5
9746 (eval $ac_try) 2>&5 9770 (eval $ac_try) 2>&5
9747 ac_status=$? 9771 ac_status=$?
9748 echo "$as_me:9748: \$? = $ac_status" >&5 9772 echo "$as_me:9772: \$? = $ac_status" >&5
9749 (exit $ac_status); }; }; then 9773 (exit $ac_status); }; }; then
9750 ac_cv_func_fseeko=yes 9774 ac_cv_func_fseeko=yes
9751 else 9775 else
9752 echo "$as_me: failed program was:" >&5 9776 echo "$as_me: failed program was:" >&5
9753 cat conftest.$ac_ext >&5 9777 cat conftest.$ac_ext >&5
9754 ac_cv_func_fseeko=no 9778 ac_cv_func_fseeko=no
9755 fi 9779 fi
9756 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9780 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9757 fi 9781 fi
9758 echo "$as_me:9758: result: $ac_cv_func_fseeko" >&5 9782 echo "$as_me:9782: result: $ac_cv_func_fseeko" >&5
9759 echo "${ECHO_T}$ac_cv_func_fseeko" >&6 9783 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
9760 if test $ac_cv_func_fseeko = yes; then 9784 if test $ac_cv_func_fseeko = yes; then
9761 9785
9762 cat >>confdefs.h <<\EOF 9786 cat >>confdefs.h <<\EOF
9763 #define HAVE_FSEEKO 1 9787 #define HAVE_FSEEKO 1
9768 # UNIX98 PTYs. 9792 # UNIX98 PTYs.
9769 9793
9770 for ac_func in grantpt 9794 for ac_func in grantpt
9771 do 9795 do
9772 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9796 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9773 echo "$as_me:9773: checking for $ac_func" >&5 9797 echo "$as_me:9797: checking for $ac_func" >&5
9774 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 9798 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9775 if eval "test \"\${$as_ac_var+set}\" = set"; then 9799 if eval "test \"\${$as_ac_var+set}\" = set"; then
9776 echo $ECHO_N "(cached) $ECHO_C" >&6 9800 echo $ECHO_N "(cached) $ECHO_C" >&6
9777 else 9801 else
9778 cat >conftest.$ac_ext <<_ACEOF 9802 cat >conftest.$ac_ext <<_ACEOF
9779 #line 9779 "configure" 9803 #line 9803 "configure"
9780 #include "confdefs.h" 9804 #include "confdefs.h"
9781 /* System header to define __stub macros and hopefully few prototypes, 9805 /* System header to define __stub macros and hopefully few prototypes,
9782 which can conflict with char $ac_func (); below. */ 9806 which can conflict with char $ac_func (); below. */
9783 #include <assert.h> 9807 #include <assert.h>
9784 /* Override any gcc2 internal prototype to avoid an error. */ 9808 /* Override any gcc2 internal prototype to avoid an error. */
9805 ; 9829 ;
9806 return 0; 9830 return 0;
9807 } 9831 }
9808 _ACEOF 9832 _ACEOF
9809 rm -f conftest.$ac_objext conftest$ac_exeext 9833 rm -f conftest.$ac_objext conftest$ac_exeext
9810 if { (eval echo "$as_me:9810: \"$ac_link\"") >&5 9834 if { (eval echo "$as_me:9834: \"$ac_link\"") >&5
9811 (eval $ac_link) 2>&5 9835 (eval $ac_link) 2>&5
9812 ac_status=$? 9836 ac_status=$?
9813 echo "$as_me:9813: \$? = $ac_status" >&5 9837 echo "$as_me:9837: \$? = $ac_status" >&5
9814 (exit $ac_status); } && 9838 (exit $ac_status); } &&
9815 { ac_try='test -s conftest$ac_exeext' 9839 { ac_try='test -s conftest$ac_exeext'
9816 { (eval echo "$as_me:9816: \"$ac_try\"") >&5 9840 { (eval echo "$as_me:9840: \"$ac_try\"") >&5
9817 (eval $ac_try) 2>&5 9841 (eval $ac_try) 2>&5
9818 ac_status=$? 9842 ac_status=$?
9819 echo "$as_me:9819: \$? = $ac_status" >&5 9843 echo "$as_me:9843: \$? = $ac_status" >&5
9820 (exit $ac_status); }; }; then 9844 (exit $ac_status); }; }; then
9821 eval "$as_ac_var=yes" 9845 eval "$as_ac_var=yes"
9822 else 9846 else
9823 echo "$as_me: failed program was:" >&5 9847 echo "$as_me: failed program was:" >&5
9824 cat conftest.$ac_ext >&5 9848 cat conftest.$ac_ext >&5
9825 eval "$as_ac_var=no" 9849 eval "$as_ac_var=no"
9826 fi 9850 fi
9827 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9851 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9828 fi 9852 fi
9829 echo "$as_me:9829: result: `eval echo '${'$as_ac_var'}'`" >&5 9853 echo "$as_me:9853: result: `eval echo '${'$as_ac_var'}'`" >&5
9830 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 9854 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9831 if test `eval echo '${'$as_ac_var'}'` = yes; then 9855 if test `eval echo '${'$as_ac_var'}'` = yes; then
9832 cat >>confdefs.h <<EOF 9856 cat >>confdefs.h <<EOF
9833 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 9857 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9834 EOF 9858 EOF
9839 # PTY-related GNU extensions. 9863 # PTY-related GNU extensions.
9840 9864
9841 for ac_func in getpt 9865 for ac_func in getpt
9842 do 9866 do
9843 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9867 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9844 echo "$as_me:9844: checking for $ac_func" >&5 9868 echo "$as_me:9868: checking for $ac_func" >&5
9845 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 9869 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9846 if eval "test \"\${$as_ac_var+set}\" = set"; then 9870 if eval "test \"\${$as_ac_var+set}\" = set"; then
9847 echo $ECHO_N "(cached) $ECHO_C" >&6 9871 echo $ECHO_N "(cached) $ECHO_C" >&6
9848 else 9872 else
9849 cat >conftest.$ac_ext <<_ACEOF 9873 cat >conftest.$ac_ext <<_ACEOF
9850 #line 9850 "configure" 9874 #line 9874 "configure"
9851 #include "confdefs.h" 9875 #include "confdefs.h"
9852 /* System header to define __stub macros and hopefully few prototypes, 9876 /* System header to define __stub macros and hopefully few prototypes,
9853 which can conflict with char $ac_func (); below. */ 9877 which can conflict with char $ac_func (); below. */
9854 #include <assert.h> 9878 #include <assert.h>
9855 /* Override any gcc2 internal prototype to avoid an error. */ 9879 /* Override any gcc2 internal prototype to avoid an error. */
9876 ; 9900 ;
9877 return 0; 9901 return 0;
9878 } 9902 }
9879 _ACEOF 9903 _ACEOF
9880 rm -f conftest.$ac_objext conftest$ac_exeext 9904 rm -f conftest.$ac_objext conftest$ac_exeext
9881 if { (eval echo "$as_me:9881: \"$ac_link\"") >&5 9905 if { (eval echo "$as_me:9905: \"$ac_link\"") >&5
9882 (eval $ac_link) 2>&5 9906 (eval $ac_link) 2>&5
9883 ac_status=$? 9907 ac_status=$?
9884 echo "$as_me:9884: \$? = $ac_status" >&5 9908 echo "$as_me:9908: \$? = $ac_status" >&5
9885 (exit $ac_status); } && 9909 (exit $ac_status); } &&
9886 { ac_try='test -s conftest$ac_exeext' 9910 { ac_try='test -s conftest$ac_exeext'
9887 { (eval echo "$as_me:9887: \"$ac_try\"") >&5 9911 { (eval echo "$as_me:9911: \"$ac_try\"") >&5
9888 (eval $ac_try) 2>&5 9912 (eval $ac_try) 2>&5
9889 ac_status=$? 9913 ac_status=$?
9890 echo "$as_me:9890: \$? = $ac_status" >&5 9914 echo "$as_me:9914: \$? = $ac_status" >&5
9891 (exit $ac_status); }; }; then 9915 (exit $ac_status); }; }; then
9892 eval "$as_ac_var=yes" 9916 eval "$as_ac_var=yes"
9893 else 9917 else
9894 echo "$as_me: failed program was:" >&5 9918 echo "$as_me: failed program was:" >&5
9895 cat conftest.$ac_ext >&5 9919 cat conftest.$ac_ext >&5
9896 eval "$as_ac_var=no" 9920 eval "$as_ac_var=no"
9897 fi 9921 fi
9898 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9922 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9899 fi 9923 fi
9900 echo "$as_me:9900: result: `eval echo '${'$as_ac_var'}'`" >&5 9924 echo "$as_me:9924: result: `eval echo '${'$as_ac_var'}'`" >&5
9901 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 9925 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9902 if test `eval echo '${'$as_ac_var'}'` = yes; then 9926 if test `eval echo '${'$as_ac_var'}'` = yes; then
9903 cat >>confdefs.h <<EOF 9927 cat >>confdefs.h <<EOF
9904 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 9928 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9905 EOF 9929 EOF
9910 # Check this now, so that we will NOT find the above functions in ncurses. 9934 # Check this now, so that we will NOT find the above functions in ncurses.
9911 # That is because we have not set up to link ncurses in lib-src. 9935 # That is because we have not set up to link ncurses in lib-src.
9912 # It's better to believe a function is not available 9936 # It's better to believe a function is not available
9913 # than to expect to find it in ncurses. 9937 # than to expect to find it in ncurses.
9914 9938
9915 echo "$as_me:9915: checking for tparm in -lncurses" >&5 9939 echo "$as_me:9939: checking for tparm in -lncurses" >&5
9916 echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6 9940 echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6
9917 if test "${ac_cv_lib_ncurses_tparm+set}" = set; then 9941 if test "${ac_cv_lib_ncurses_tparm+set}" = set; then
9918 echo $ECHO_N "(cached) $ECHO_C" >&6 9942 echo $ECHO_N "(cached) $ECHO_C" >&6
9919 else 9943 else
9920 ac_check_lib_save_LIBS=$LIBS 9944 ac_check_lib_save_LIBS=$LIBS
9921 LIBS="-lncurses $LIBS" 9945 LIBS="-lncurses $LIBS"
9922 cat >conftest.$ac_ext <<_ACEOF 9946 cat >conftest.$ac_ext <<_ACEOF
9923 #line 9923 "configure" 9947 #line 9947 "configure"
9924 #include "confdefs.h" 9948 #include "confdefs.h"
9925 9949
9926 /* Override any gcc2 internal prototype to avoid an error. */ 9950 /* Override any gcc2 internal prototype to avoid an error. */
9927 #ifdef __cplusplus 9951 #ifdef __cplusplus
9928 extern "C" 9952 extern "C"
9937 ; 9961 ;
9938 return 0; 9962 return 0;
9939 } 9963 }
9940 _ACEOF 9964 _ACEOF
9941 rm -f conftest.$ac_objext conftest$ac_exeext 9965 rm -f conftest.$ac_objext conftest$ac_exeext
9942 if { (eval echo "$as_me:9942: \"$ac_link\"") >&5 9966 if { (eval echo "$as_me:9966: \"$ac_link\"") >&5
9943 (eval $ac_link) 2>&5 9967 (eval $ac_link) 2>&5
9944 ac_status=$? 9968 ac_status=$?
9945 echo "$as_me:9945: \$? = $ac_status" >&5 9969 echo "$as_me:9969: \$? = $ac_status" >&5
9946 (exit $ac_status); } && 9970 (exit $ac_status); } &&
9947 { ac_try='test -s conftest$ac_exeext' 9971 { ac_try='test -s conftest$ac_exeext'
9948 { (eval echo "$as_me:9948: \"$ac_try\"") >&5 9972 { (eval echo "$as_me:9972: \"$ac_try\"") >&5
9949 (eval $ac_try) 2>&5 9973 (eval $ac_try) 2>&5
9950 ac_status=$? 9974 ac_status=$?
9951 echo "$as_me:9951: \$? = $ac_status" >&5 9975 echo "$as_me:9975: \$? = $ac_status" >&5
9952 (exit $ac_status); }; }; then 9976 (exit $ac_status); }; }; then
9953 ac_cv_lib_ncurses_tparm=yes 9977 ac_cv_lib_ncurses_tparm=yes
9954 else 9978 else
9955 echo "$as_me: failed program was:" >&5 9979 echo "$as_me: failed program was:" >&5
9956 cat conftest.$ac_ext >&5 9980 cat conftest.$ac_ext >&5
9957 ac_cv_lib_ncurses_tparm=no 9981 ac_cv_lib_ncurses_tparm=no
9958 fi 9982 fi
9959 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9983 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9960 LIBS=$ac_check_lib_save_LIBS 9984 LIBS=$ac_check_lib_save_LIBS
9961 fi 9985 fi
9962 echo "$as_me:9962: result: $ac_cv_lib_ncurses_tparm" >&5 9986 echo "$as_me:9986: result: $ac_cv_lib_ncurses_tparm" >&5
9963 echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6 9987 echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6
9964 if test $ac_cv_lib_ncurses_tparm = yes; then 9988 if test $ac_cv_lib_ncurses_tparm = yes; then
9965 cat >>confdefs.h <<EOF 9989 cat >>confdefs.h <<EOF
9966 #define HAVE_LIBNCURSES 1 9990 #define HAVE_LIBNCURSES 1
9967 EOF 9991 EOF
9972 9996
9973 # Do we need the Hesiod library to provide the support routines? 9997 # Do we need the Hesiod library to provide the support routines?
9974 if test "$with_hesiod" = yes ; then 9998 if test "$with_hesiod" = yes ; then
9975 # Don't set $LIBS here -- see comments above. 9999 # Don't set $LIBS here -- see comments above.
9976 resolv=no 10000 resolv=no
9977 echo "$as_me:9977: checking for res_send" >&5 10001 echo "$as_me:10001: checking for res_send" >&5
9978 echo $ECHO_N "checking for res_send... $ECHO_C" >&6 10002 echo $ECHO_N "checking for res_send... $ECHO_C" >&6
9979 if test "${ac_cv_func_res_send+set}" = set; then 10003 if test "${ac_cv_func_res_send+set}" = set; then
9980 echo $ECHO_N "(cached) $ECHO_C" >&6 10004 echo $ECHO_N "(cached) $ECHO_C" >&6
9981 else 10005 else
9982 cat >conftest.$ac_ext <<_ACEOF 10006 cat >conftest.$ac_ext <<_ACEOF
9983 #line 9983 "configure" 10007 #line 10007 "configure"
9984 #include "confdefs.h" 10008 #include "confdefs.h"
9985 /* System header to define __stub macros and hopefully few prototypes, 10009 /* System header to define __stub macros and hopefully few prototypes,
9986 which can conflict with char res_send (); below. */ 10010 which can conflict with char res_send (); below. */
9987 #include <assert.h> 10011 #include <assert.h>
9988 /* Override any gcc2 internal prototype to avoid an error. */ 10012 /* Override any gcc2 internal prototype to avoid an error. */
10009 ; 10033 ;
10010 return 0; 10034 return 0;
10011 } 10035 }
10012 _ACEOF 10036 _ACEOF
10013 rm -f conftest.$ac_objext conftest$ac_exeext 10037 rm -f conftest.$ac_objext conftest$ac_exeext
10014 if { (eval echo "$as_me:10014: \"$ac_link\"") >&5 10038 if { (eval echo "$as_me:10038: \"$ac_link\"") >&5
10015 (eval $ac_link) 2>&5 10039 (eval $ac_link) 2>&5
10016 ac_status=$? 10040 ac_status=$?
10017 echo "$as_me:10017: \$? = $ac_status" >&5 10041 echo "$as_me:10041: \$? = $ac_status" >&5
10018 (exit $ac_status); } && 10042 (exit $ac_status); } &&
10019 { ac_try='test -s conftest$ac_exeext' 10043 { ac_try='test -s conftest$ac_exeext'
10020 { (eval echo "$as_me:10020: \"$ac_try\"") >&5 10044 { (eval echo "$as_me:10044: \"$ac_try\"") >&5
10021 (eval $ac_try) 2>&5 10045 (eval $ac_try) 2>&5
10022 ac_status=$? 10046 ac_status=$?
10023 echo "$as_me:10023: \$? = $ac_status" >&5 10047 echo "$as_me:10047: \$? = $ac_status" >&5
10024 (exit $ac_status); }; }; then 10048 (exit $ac_status); }; }; then
10025 ac_cv_func_res_send=yes 10049 ac_cv_func_res_send=yes
10026 else 10050 else
10027 echo "$as_me: failed program was:" >&5 10051 echo "$as_me: failed program was:" >&5
10028 cat conftest.$ac_ext >&5 10052 cat conftest.$ac_ext >&5
10029 ac_cv_func_res_send=no 10053 ac_cv_func_res_send=no
10030 fi 10054 fi
10031 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10055 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10032 fi 10056 fi
10033 echo "$as_me:10033: result: $ac_cv_func_res_send" >&5 10057 echo "$as_me:10057: result: $ac_cv_func_res_send" >&5
10034 echo "${ECHO_T}$ac_cv_func_res_send" >&6 10058 echo "${ECHO_T}$ac_cv_func_res_send" >&6
10035 if test $ac_cv_func_res_send = yes; then 10059 if test $ac_cv_func_res_send = yes; then
10036 : 10060 :
10037 else 10061 else
10038 echo "$as_me:10038: checking for __res_send" >&5 10062 echo "$as_me:10062: checking for __res_send" >&5
10039 echo $ECHO_N "checking for __res_send... $ECHO_C" >&6 10063 echo $ECHO_N "checking for __res_send... $ECHO_C" >&6
10040 if test "${ac_cv_func___res_send+set}" = set; then 10064 if test "${ac_cv_func___res_send+set}" = set; then
10041 echo $ECHO_N "(cached) $ECHO_C" >&6 10065 echo $ECHO_N "(cached) $ECHO_C" >&6
10042 else 10066 else
10043 cat >conftest.$ac_ext <<_ACEOF 10067 cat >conftest.$ac_ext <<_ACEOF
10044 #line 10044 "configure" 10068 #line 10068 "configure"
10045 #include "confdefs.h" 10069 #include "confdefs.h"
10046 /* System header to define __stub macros and hopefully few prototypes, 10070 /* System header to define __stub macros and hopefully few prototypes,
10047 which can conflict with char __res_send (); below. */ 10071 which can conflict with char __res_send (); below. */
10048 #include <assert.h> 10072 #include <assert.h>
10049 /* Override any gcc2 internal prototype to avoid an error. */ 10073 /* Override any gcc2 internal prototype to avoid an error. */
10070 ; 10094 ;
10071 return 0; 10095 return 0;
10072 } 10096 }
10073 _ACEOF 10097 _ACEOF
10074 rm -f conftest.$ac_objext conftest$ac_exeext 10098 rm -f conftest.$ac_objext conftest$ac_exeext
10075 if { (eval echo "$as_me:10075: \"$ac_link\"") >&5 10099 if { (eval echo "$as_me:10099: \"$ac_link\"") >&5
10076 (eval $ac_link) 2>&5 10100 (eval $ac_link) 2>&5
10077 ac_status=$? 10101 ac_status=$?
10078 echo "$as_me:10078: \$? = $ac_status" >&5 10102 echo "$as_me:10102: \$? = $ac_status" >&5
10079 (exit $ac_status); } && 10103 (exit $ac_status); } &&
10080 { ac_try='test -s conftest$ac_exeext' 10104 { ac_try='test -s conftest$ac_exeext'
10081 { (eval echo "$as_me:10081: \"$ac_try\"") >&5 10105 { (eval echo "$as_me:10105: \"$ac_try\"") >&5
10082 (eval $ac_try) 2>&5 10106 (eval $ac_try) 2>&5
10083 ac_status=$? 10107 ac_status=$?
10084 echo "$as_me:10084: \$? = $ac_status" >&5 10108 echo "$as_me:10108: \$? = $ac_status" >&5
10085 (exit $ac_status); }; }; then 10109 (exit $ac_status); }; }; then
10086 ac_cv_func___res_send=yes 10110 ac_cv_func___res_send=yes
10087 else 10111 else
10088 echo "$as_me: failed program was:" >&5 10112 echo "$as_me: failed program was:" >&5
10089 cat conftest.$ac_ext >&5 10113 cat conftest.$ac_ext >&5
10090 ac_cv_func___res_send=no 10114 ac_cv_func___res_send=no
10091 fi 10115 fi
10092 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10116 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10093 fi 10117 fi
10094 echo "$as_me:10094: result: $ac_cv_func___res_send" >&5 10118 echo "$as_me:10118: result: $ac_cv_func___res_send" >&5
10095 echo "${ECHO_T}$ac_cv_func___res_send" >&6 10119 echo "${ECHO_T}$ac_cv_func___res_send" >&6
10096 if test $ac_cv_func___res_send = yes; then 10120 if test $ac_cv_func___res_send = yes; then
10097 : 10121 :
10098 else 10122 else
10099 echo "$as_me:10099: checking for res_send in -lresolv" >&5 10123 echo "$as_me:10123: checking for res_send in -lresolv" >&5
10100 echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6 10124 echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6
10101 if test "${ac_cv_lib_resolv_res_send+set}" = set; then 10125 if test "${ac_cv_lib_resolv_res_send+set}" = set; then
10102 echo $ECHO_N "(cached) $ECHO_C" >&6 10126 echo $ECHO_N "(cached) $ECHO_C" >&6
10103 else 10127 else
10104 ac_check_lib_save_LIBS=$LIBS 10128 ac_check_lib_save_LIBS=$LIBS
10105 LIBS="-lresolv $LIBS" 10129 LIBS="-lresolv $LIBS"
10106 cat >conftest.$ac_ext <<_ACEOF 10130 cat >conftest.$ac_ext <<_ACEOF
10107 #line 10107 "configure" 10131 #line 10131 "configure"
10108 #include "confdefs.h" 10132 #include "confdefs.h"
10109 10133
10110 /* Override any gcc2 internal prototype to avoid an error. */ 10134 /* Override any gcc2 internal prototype to avoid an error. */
10111 #ifdef __cplusplus 10135 #ifdef __cplusplus
10112 extern "C" 10136 extern "C"
10121 ; 10145 ;
10122 return 0; 10146 return 0;
10123 } 10147 }
10124 _ACEOF 10148 _ACEOF
10125 rm -f conftest.$ac_objext conftest$ac_exeext 10149 rm -f conftest.$ac_objext conftest$ac_exeext
10126 if { (eval echo "$as_me:10126: \"$ac_link\"") >&5 10150 if { (eval echo "$as_me:10150: \"$ac_link\"") >&5
10127 (eval $ac_link) 2>&5 10151 (eval $ac_link) 2>&5
10128 ac_status=$? 10152 ac_status=$?
10129 echo "$as_me:10129: \$? = $ac_status" >&5 10153 echo "$as_me:10153: \$? = $ac_status" >&5
10130 (exit $ac_status); } && 10154 (exit $ac_status); } &&
10131 { ac_try='test -s conftest$ac_exeext' 10155 { ac_try='test -s conftest$ac_exeext'
10132 { (eval echo "$as_me:10132: \"$ac_try\"") >&5 10156 { (eval echo "$as_me:10156: \"$ac_try\"") >&5
10133 (eval $ac_try) 2>&5 10157 (eval $ac_try) 2>&5
10134 ac_status=$? 10158 ac_status=$?
10135 echo "$as_me:10135: \$? = $ac_status" >&5 10159 echo "$as_me:10159: \$? = $ac_status" >&5
10136 (exit $ac_status); }; }; then 10160 (exit $ac_status); }; }; then
10137 ac_cv_lib_resolv_res_send=yes 10161 ac_cv_lib_resolv_res_send=yes
10138 else 10162 else
10139 echo "$as_me: failed program was:" >&5 10163 echo "$as_me: failed program was:" >&5
10140 cat conftest.$ac_ext >&5 10164 cat conftest.$ac_ext >&5
10141 ac_cv_lib_resolv_res_send=no 10165 ac_cv_lib_resolv_res_send=no
10142 fi 10166 fi
10143 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10167 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10144 LIBS=$ac_check_lib_save_LIBS 10168 LIBS=$ac_check_lib_save_LIBS
10145 fi 10169 fi
10146 echo "$as_me:10146: result: $ac_cv_lib_resolv_res_send" >&5 10170 echo "$as_me:10170: result: $ac_cv_lib_resolv_res_send" >&5
10147 echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6 10171 echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6
10148 if test $ac_cv_lib_resolv_res_send = yes; then 10172 if test $ac_cv_lib_resolv_res_send = yes; then
10149 resolv=yes 10173 resolv=yes
10150 else 10174 else
10151 echo "$as_me:10151: checking for __res_send in -lresolv" >&5 10175 echo "$as_me:10175: checking for __res_send in -lresolv" >&5
10152 echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6 10176 echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6
10153 if test "${ac_cv_lib_resolv___res_send+set}" = set; then 10177 if test "${ac_cv_lib_resolv___res_send+set}" = set; then
10154 echo $ECHO_N "(cached) $ECHO_C" >&6 10178 echo $ECHO_N "(cached) $ECHO_C" >&6
10155 else 10179 else
10156 ac_check_lib_save_LIBS=$LIBS 10180 ac_check_lib_save_LIBS=$LIBS
10157 LIBS="-lresolv $LIBS" 10181 LIBS="-lresolv $LIBS"
10158 cat >conftest.$ac_ext <<_ACEOF 10182 cat >conftest.$ac_ext <<_ACEOF
10159 #line 10159 "configure" 10183 #line 10183 "configure"
10160 #include "confdefs.h" 10184 #include "confdefs.h"
10161 10185
10162 /* Override any gcc2 internal prototype to avoid an error. */ 10186 /* Override any gcc2 internal prototype to avoid an error. */
10163 #ifdef __cplusplus 10187 #ifdef __cplusplus
10164 extern "C" 10188 extern "C"
10173 ; 10197 ;
10174 return 0; 10198 return 0;
10175 } 10199 }
10176 _ACEOF 10200 _ACEOF
10177 rm -f conftest.$ac_objext conftest$ac_exeext 10201 rm -f conftest.$ac_objext conftest$ac_exeext
10178 if { (eval echo "$as_me:10178: \"$ac_link\"") >&5 10202 if { (eval echo "$as_me:10202: \"$ac_link\"") >&5
10179 (eval $ac_link) 2>&5 10203 (eval $ac_link) 2>&5
10180 ac_status=$? 10204 ac_status=$?
10181 echo "$as_me:10181: \$? = $ac_status" >&5 10205 echo "$as_me:10205: \$? = $ac_status" >&5
10182 (exit $ac_status); } && 10206 (exit $ac_status); } &&
10183 { ac_try='test -s conftest$ac_exeext' 10207 { ac_try='test -s conftest$ac_exeext'
10184 { (eval echo "$as_me:10184: \"$ac_try\"") >&5 10208 { (eval echo "$as_me:10208: \"$ac_try\"") >&5
10185 (eval $ac_try) 2>&5 10209 (eval $ac_try) 2>&5
10186 ac_status=$? 10210 ac_status=$?
10187 echo "$as_me:10187: \$? = $ac_status" >&5 10211 echo "$as_me:10211: \$? = $ac_status" >&5
10188 (exit $ac_status); }; }; then 10212 (exit $ac_status); }; }; then
10189 ac_cv_lib_resolv___res_send=yes 10213 ac_cv_lib_resolv___res_send=yes
10190 else 10214 else
10191 echo "$as_me: failed program was:" >&5 10215 echo "$as_me: failed program was:" >&5
10192 cat conftest.$ac_ext >&5 10216 cat conftest.$ac_ext >&5
10193 ac_cv_lib_resolv___res_send=no 10217 ac_cv_lib_resolv___res_send=no
10194 fi 10218 fi
10195 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10219 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10196 LIBS=$ac_check_lib_save_LIBS 10220 LIBS=$ac_check_lib_save_LIBS
10197 fi 10221 fi
10198 echo "$as_me:10198: result: $ac_cv_lib_resolv___res_send" >&5 10222 echo "$as_me:10222: result: $ac_cv_lib_resolv___res_send" >&5
10199 echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6 10223 echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6
10200 if test $ac_cv_lib_resolv___res_send = yes; then 10224 if test $ac_cv_lib_resolv___res_send = yes; then
10201 resolv=yes 10225 resolv=yes
10202 fi 10226 fi
10203 10227
10214 EOF 10238 EOF
10215 10239
10216 else 10240 else
10217 RESOLVLIB= 10241 RESOLVLIB=
10218 fi 10242 fi
10219 echo "$as_me:10219: checking for hes_getmailhost" >&5 10243 echo "$as_me:10243: checking for hes_getmailhost" >&5
10220 echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6 10244 echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6
10221 if test "${ac_cv_func_hes_getmailhost+set}" = set; then 10245 if test "${ac_cv_func_hes_getmailhost+set}" = set; then
10222 echo $ECHO_N "(cached) $ECHO_C" >&6 10246 echo $ECHO_N "(cached) $ECHO_C" >&6
10223 else 10247 else
10224 cat >conftest.$ac_ext <<_ACEOF 10248 cat >conftest.$ac_ext <<_ACEOF
10225 #line 10225 "configure" 10249 #line 10249 "configure"
10226 #include "confdefs.h" 10250 #include "confdefs.h"
10227 /* System header to define __stub macros and hopefully few prototypes, 10251 /* System header to define __stub macros and hopefully few prototypes,
10228 which can conflict with char hes_getmailhost (); below. */ 10252 which can conflict with char hes_getmailhost (); below. */
10229 #include <assert.h> 10253 #include <assert.h>
10230 /* Override any gcc2 internal prototype to avoid an error. */ 10254 /* Override any gcc2 internal prototype to avoid an error. */
10251 ; 10275 ;
10252 return 0; 10276 return 0;
10253 } 10277 }
10254 _ACEOF 10278 _ACEOF
10255 rm -f conftest.$ac_objext conftest$ac_exeext 10279 rm -f conftest.$ac_objext conftest$ac_exeext
10256 if { (eval echo "$as_me:10256: \"$ac_link\"") >&5 10280 if { (eval echo "$as_me:10280: \"$ac_link\"") >&5
10257 (eval $ac_link) 2>&5 10281 (eval $ac_link) 2>&5
10258 ac_status=$? 10282 ac_status=$?
10259 echo "$as_me:10259: \$? = $ac_status" >&5 10283 echo "$as_me:10283: \$? = $ac_status" >&5
10260 (exit $ac_status); } && 10284 (exit $ac_status); } &&
10261 { ac_try='test -s conftest$ac_exeext' 10285 { ac_try='test -s conftest$ac_exeext'
10262 { (eval echo "$as_me:10262: \"$ac_try\"") >&5 10286 { (eval echo "$as_me:10286: \"$ac_try\"") >&5
10263 (eval $ac_try) 2>&5 10287 (eval $ac_try) 2>&5
10264 ac_status=$? 10288 ac_status=$?
10265 echo "$as_me:10265: \$? = $ac_status" >&5 10289 echo "$as_me:10289: \$? = $ac_status" >&5
10266 (exit $ac_status); }; }; then 10290 (exit $ac_status); }; }; then
10267 ac_cv_func_hes_getmailhost=yes 10291 ac_cv_func_hes_getmailhost=yes
10268 else 10292 else
10269 echo "$as_me: failed program was:" >&5 10293 echo "$as_me: failed program was:" >&5
10270 cat conftest.$ac_ext >&5 10294 cat conftest.$ac_ext >&5
10271 ac_cv_func_hes_getmailhost=no 10295 ac_cv_func_hes_getmailhost=no
10272 fi 10296 fi
10273 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10297 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10274 fi 10298 fi
10275 echo "$as_me:10275: result: $ac_cv_func_hes_getmailhost" >&5 10299 echo "$as_me:10299: result: $ac_cv_func_hes_getmailhost" >&5
10276 echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6 10300 echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6
10277 if test $ac_cv_func_hes_getmailhost = yes; then 10301 if test $ac_cv_func_hes_getmailhost = yes; then
10278 : 10302 :
10279 else 10303 else
10280 echo "$as_me:10280: checking for hes_getmailhost in -lhesiod" >&5 10304 echo "$as_me:10304: checking for hes_getmailhost in -lhesiod" >&5
10281 echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6 10305 echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6
10282 if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then 10306 if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then
10283 echo $ECHO_N "(cached) $ECHO_C" >&6 10307 echo $ECHO_N "(cached) $ECHO_C" >&6
10284 else 10308 else
10285 ac_check_lib_save_LIBS=$LIBS 10309 ac_check_lib_save_LIBS=$LIBS
10286 LIBS="-lhesiod $RESOLVLIB $LIBS" 10310 LIBS="-lhesiod $RESOLVLIB $LIBS"
10287 cat >conftest.$ac_ext <<_ACEOF 10311 cat >conftest.$ac_ext <<_ACEOF
10288 #line 10288 "configure" 10312 #line 10312 "configure"
10289 #include "confdefs.h" 10313 #include "confdefs.h"
10290 10314
10291 /* Override any gcc2 internal prototype to avoid an error. */ 10315 /* Override any gcc2 internal prototype to avoid an error. */
10292 #ifdef __cplusplus 10316 #ifdef __cplusplus
10293 extern "C" 10317 extern "C"
10302 ; 10326 ;
10303 return 0; 10327 return 0;
10304 } 10328 }
10305 _ACEOF 10329 _ACEOF
10306 rm -f conftest.$ac_objext conftest$ac_exeext 10330 rm -f conftest.$ac_objext conftest$ac_exeext
10307 if { (eval echo "$as_me:10307: \"$ac_link\"") >&5 10331 if { (eval echo "$as_me:10331: \"$ac_link\"") >&5
10308 (eval $ac_link) 2>&5 10332 (eval $ac_link) 2>&5
10309 ac_status=$? 10333 ac_status=$?
10310 echo "$as_me:10310: \$? = $ac_status" >&5 10334 echo "$as_me:10334: \$? = $ac_status" >&5
10311 (exit $ac_status); } && 10335 (exit $ac_status); } &&
10312 { ac_try='test -s conftest$ac_exeext' 10336 { ac_try='test -s conftest$ac_exeext'
10313 { (eval echo "$as_me:10313: \"$ac_try\"") >&5 10337 { (eval echo "$as_me:10337: \"$ac_try\"") >&5
10314 (eval $ac_try) 2>&5 10338 (eval $ac_try) 2>&5
10315 ac_status=$? 10339 ac_status=$?
10316 echo "$as_me:10316: \$? = $ac_status" >&5 10340 echo "$as_me:10340: \$? = $ac_status" >&5
10317 (exit $ac_status); }; }; then 10341 (exit $ac_status); }; }; then
10318 ac_cv_lib_hesiod_hes_getmailhost=yes 10342 ac_cv_lib_hesiod_hes_getmailhost=yes
10319 else 10343 else
10320 echo "$as_me: failed program was:" >&5 10344 echo "$as_me: failed program was:" >&5
10321 cat conftest.$ac_ext >&5 10345 cat conftest.$ac_ext >&5
10322 ac_cv_lib_hesiod_hes_getmailhost=no 10346 ac_cv_lib_hesiod_hes_getmailhost=no
10323 fi 10347 fi
10324 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10348 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10325 LIBS=$ac_check_lib_save_LIBS 10349 LIBS=$ac_check_lib_save_LIBS
10326 fi 10350 fi
10327 echo "$as_me:10327: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5 10351 echo "$as_me:10351: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5
10328 echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6 10352 echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6
10329 if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then 10353 if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then
10330 cat >>confdefs.h <<\EOF 10354 cat >>confdefs.h <<\EOF
10331 #define HAVE_LIBHESIOD 1 10355 #define HAVE_LIBHESIOD 1
10332 EOF 10356 EOF
10340 fi 10364 fi
10341 10365
10342 # These tell us which Kerberos-related libraries to use. 10366 # These tell us which Kerberos-related libraries to use.
10343 if test "${with_kerberos+set}" = set; then 10367 if test "${with_kerberos+set}" = set; then
10344 10368
10345 echo "$as_me:10345: checking for com_err in -lcom_err" >&5 10369 echo "$as_me:10369: checking for com_err in -lcom_err" >&5
10346 echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6 10370 echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6
10347 if test "${ac_cv_lib_com_err_com_err+set}" = set; then 10371 if test "${ac_cv_lib_com_err_com_err+set}" = set; then
10348 echo $ECHO_N "(cached) $ECHO_C" >&6 10372 echo $ECHO_N "(cached) $ECHO_C" >&6
10349 else 10373 else
10350 ac_check_lib_save_LIBS=$LIBS 10374 ac_check_lib_save_LIBS=$LIBS
10351 LIBS="-lcom_err $LIBS" 10375 LIBS="-lcom_err $LIBS"
10352 cat >conftest.$ac_ext <<_ACEOF 10376 cat >conftest.$ac_ext <<_ACEOF
10353 #line 10353 "configure" 10377 #line 10377 "configure"
10354 #include "confdefs.h" 10378 #include "confdefs.h"
10355 10379
10356 /* Override any gcc2 internal prototype to avoid an error. */ 10380 /* Override any gcc2 internal prototype to avoid an error. */
10357 #ifdef __cplusplus 10381 #ifdef __cplusplus
10358 extern "C" 10382 extern "C"
10367 ; 10391 ;
10368 return 0; 10392 return 0;
10369 } 10393 }
10370 _ACEOF 10394 _ACEOF
10371 rm -f conftest.$ac_objext conftest$ac_exeext 10395 rm -f conftest.$ac_objext conftest$ac_exeext
10372 if { (eval echo "$as_me:10372: \"$ac_link\"") >&5 10396 if { (eval echo "$as_me:10396: \"$ac_link\"") >&5
10373 (eval $ac_link) 2>&5 10397 (eval $ac_link) 2>&5
10374 ac_status=$? 10398 ac_status=$?
10375 echo "$as_me:10375: \$? = $ac_status" >&5 10399 echo "$as_me:10399: \$? = $ac_status" >&5
10376 (exit $ac_status); } && 10400 (exit $ac_status); } &&
10377 { ac_try='test -s conftest$ac_exeext' 10401 { ac_try='test -s conftest$ac_exeext'
10378 { (eval echo "$as_me:10378: \"$ac_try\"") >&5 10402 { (eval echo "$as_me:10402: \"$ac_try\"") >&5
10379 (eval $ac_try) 2>&5 10403 (eval $ac_try) 2>&5
10380 ac_status=$? 10404 ac_status=$?
10381 echo "$as_me:10381: \$? = $ac_status" >&5 10405 echo "$as_me:10405: \$? = $ac_status" >&5
10382 (exit $ac_status); }; }; then 10406 (exit $ac_status); }; }; then
10383 ac_cv_lib_com_err_com_err=yes 10407 ac_cv_lib_com_err_com_err=yes
10384 else 10408 else
10385 echo "$as_me: failed program was:" >&5 10409 echo "$as_me: failed program was:" >&5
10386 cat conftest.$ac_ext >&5 10410 cat conftest.$ac_ext >&5
10387 ac_cv_lib_com_err_com_err=no 10411 ac_cv_lib_com_err_com_err=no
10388 fi 10412 fi
10389 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10413 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10390 LIBS=$ac_check_lib_save_LIBS 10414 LIBS=$ac_check_lib_save_LIBS
10391 fi 10415 fi
10392 echo "$as_me:10392: result: $ac_cv_lib_com_err_com_err" >&5 10416 echo "$as_me:10416: result: $ac_cv_lib_com_err_com_err" >&5
10393 echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6 10417 echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6
10394 if test $ac_cv_lib_com_err_com_err = yes; then 10418 if test $ac_cv_lib_com_err_com_err = yes; then
10395 cat >>confdefs.h <<EOF 10419 cat >>confdefs.h <<EOF
10396 #define HAVE_LIBCOM_ERR 1 10420 #define HAVE_LIBCOM_ERR 1
10397 EOF 10421 EOF
10398 10422
10399 LIBS="-lcom_err $LIBS" 10423 LIBS="-lcom_err $LIBS"
10400 10424
10401 fi 10425 fi
10402 10426
10403 echo "$as_me:10403: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 10427 echo "$as_me:10427: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
10404 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lk5crypto... $ECHO_C" >&6 10428 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lk5crypto... $ECHO_C" >&6
10405 if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then 10429 if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then
10406 echo $ECHO_N "(cached) $ECHO_C" >&6 10430 echo $ECHO_N "(cached) $ECHO_C" >&6
10407 else 10431 else
10408 ac_check_lib_save_LIBS=$LIBS 10432 ac_check_lib_save_LIBS=$LIBS
10409 LIBS="-lk5crypto $LIBS" 10433 LIBS="-lk5crypto $LIBS"
10410 cat >conftest.$ac_ext <<_ACEOF 10434 cat >conftest.$ac_ext <<_ACEOF
10411 #line 10411 "configure" 10435 #line 10435 "configure"
10412 #include "confdefs.h" 10436 #include "confdefs.h"
10413 10437
10414 /* Override any gcc2 internal prototype to avoid an error. */ 10438 /* Override any gcc2 internal prototype to avoid an error. */
10415 #ifdef __cplusplus 10439 #ifdef __cplusplus
10416 extern "C" 10440 extern "C"
10425 ; 10449 ;
10426 return 0; 10450 return 0;
10427 } 10451 }
10428 _ACEOF 10452 _ACEOF
10429 rm -f conftest.$ac_objext conftest$ac_exeext 10453 rm -f conftest.$ac_objext conftest$ac_exeext
10430 if { (eval echo "$as_me:10430: \"$ac_link\"") >&5 10454 if { (eval echo "$as_me:10454: \"$ac_link\"") >&5
10431 (eval $ac_link) 2>&5 10455 (eval $ac_link) 2>&5
10432 ac_status=$? 10456 ac_status=$?
10433 echo "$as_me:10433: \$? = $ac_status" >&5 10457 echo "$as_me:10457: \$? = $ac_status" >&5
10434 (exit $ac_status); } && 10458 (exit $ac_status); } &&
10435 { ac_try='test -s conftest$ac_exeext' 10459 { ac_try='test -s conftest$ac_exeext'
10436 { (eval echo "$as_me:10436: \"$ac_try\"") >&5 10460 { (eval echo "$as_me:10460: \"$ac_try\"") >&5
10437 (eval $ac_try) 2>&5 10461 (eval $ac_try) 2>&5
10438 ac_status=$? 10462 ac_status=$?
10439 echo "$as_me:10439: \$? = $ac_status" >&5 10463 echo "$as_me:10463: \$? = $ac_status" >&5
10440 (exit $ac_status); }; }; then 10464 (exit $ac_status); }; }; then
10441 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes 10465 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes
10442 else 10466 else
10443 echo "$as_me: failed program was:" >&5 10467 echo "$as_me: failed program was:" >&5
10444 cat conftest.$ac_ext >&5 10468 cat conftest.$ac_ext >&5
10445 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=no 10469 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=no
10446 fi 10470 fi
10447 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10471 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10448 LIBS=$ac_check_lib_save_LIBS 10472 LIBS=$ac_check_lib_save_LIBS
10449 fi 10473 fi
10450 echo "$as_me:10450: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5 10474 echo "$as_me:10474: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5
10451 echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6 10475 echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6
10452 if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then 10476 if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then
10453 cat >>confdefs.h <<EOF 10477 cat >>confdefs.h <<EOF
10454 #define HAVE_LIBK5CRYPTO 1 10478 #define HAVE_LIBK5CRYPTO 1
10455 EOF 10479 EOF
10456 10480
10457 LIBS="-lk5crypto $LIBS" 10481 LIBS="-lk5crypto $LIBS"
10458 10482
10459 fi 10483 fi
10460 10484
10461 echo "$as_me:10461: checking for mit_des_cbc_encrypt in -lcrypto" >&5 10485 echo "$as_me:10485: checking for mit_des_cbc_encrypt in -lcrypto" >&5
10462 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lcrypto... $ECHO_C" >&6 10486 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lcrypto... $ECHO_C" >&6
10463 if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then 10487 if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then
10464 echo $ECHO_N "(cached) $ECHO_C" >&6 10488 echo $ECHO_N "(cached) $ECHO_C" >&6
10465 else 10489 else
10466 ac_check_lib_save_LIBS=$LIBS 10490 ac_check_lib_save_LIBS=$LIBS
10467 LIBS="-lcrypto $LIBS" 10491 LIBS="-lcrypto $LIBS"
10468 cat >conftest.$ac_ext <<_ACEOF 10492 cat >conftest.$ac_ext <<_ACEOF
10469 #line 10469 "configure" 10493 #line 10493 "configure"
10470 #include "confdefs.h" 10494 #include "confdefs.h"
10471 10495
10472 /* Override any gcc2 internal prototype to avoid an error. */ 10496 /* Override any gcc2 internal prototype to avoid an error. */
10473 #ifdef __cplusplus 10497 #ifdef __cplusplus
10474 extern "C" 10498 extern "C"
10483 ; 10507 ;
10484 return 0; 10508 return 0;
10485 } 10509 }
10486 _ACEOF 10510 _ACEOF
10487 rm -f conftest.$ac_objext conftest$ac_exeext 10511 rm -f conftest.$ac_objext conftest$ac_exeext
10488 if { (eval echo "$as_me:10488: \"$ac_link\"") >&5 10512 if { (eval echo "$as_me:10512: \"$ac_link\"") >&5
10489 (eval $ac_link) 2>&5 10513 (eval $ac_link) 2>&5
10490 ac_status=$? 10514 ac_status=$?
10491 echo "$as_me:10491: \$? = $ac_status" >&5 10515 echo "$as_me:10515: \$? = $ac_status" >&5
10492 (exit $ac_status); } && 10516 (exit $ac_status); } &&
10493 { ac_try='test -s conftest$ac_exeext' 10517 { ac_try='test -s conftest$ac_exeext'
10494 { (eval echo "$as_me:10494: \"$ac_try\"") >&5 10518 { (eval echo "$as_me:10518: \"$ac_try\"") >&5
10495 (eval $ac_try) 2>&5 10519 (eval $ac_try) 2>&5
10496 ac_status=$? 10520 ac_status=$?
10497 echo "$as_me:10497: \$? = $ac_status" >&5 10521 echo "$as_me:10521: \$? = $ac_status" >&5
10498 (exit $ac_status); }; }; then 10522 (exit $ac_status); }; }; then
10499 ac_cv_lib_crypto_mit_des_cbc_encrypt=yes 10523 ac_cv_lib_crypto_mit_des_cbc_encrypt=yes
10500 else 10524 else
10501 echo "$as_me: failed program was:" >&5 10525 echo "$as_me: failed program was:" >&5
10502 cat conftest.$ac_ext >&5 10526 cat conftest.$ac_ext >&5
10503 ac_cv_lib_crypto_mit_des_cbc_encrypt=no 10527 ac_cv_lib_crypto_mit_des_cbc_encrypt=no
10504 fi 10528 fi
10505 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10529 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10506 LIBS=$ac_check_lib_save_LIBS 10530 LIBS=$ac_check_lib_save_LIBS
10507 fi 10531 fi
10508 echo "$as_me:10508: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5 10532 echo "$as_me:10532: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5
10509 echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6 10533 echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6
10510 if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then 10534 if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then
10511 cat >>confdefs.h <<EOF 10535 cat >>confdefs.h <<EOF
10512 #define HAVE_LIBCRYPTO 1 10536 #define HAVE_LIBCRYPTO 1
10513 EOF 10537 EOF
10514 10538
10515 LIBS="-lcrypto $LIBS" 10539 LIBS="-lcrypto $LIBS"
10516 10540
10517 fi 10541 fi
10518 10542
10519 echo "$as_me:10519: checking for krb5_init_context in -lkrb5" >&5 10543 echo "$as_me:10543: checking for krb5_init_context in -lkrb5" >&5
10520 echo $ECHO_N "checking for krb5_init_context in -lkrb5... $ECHO_C" >&6 10544 echo $ECHO_N "checking for krb5_init_context in -lkrb5... $ECHO_C" >&6
10521 if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then 10545 if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then
10522 echo $ECHO_N "(cached) $ECHO_C" >&6 10546 echo $ECHO_N "(cached) $ECHO_C" >&6
10523 else 10547 else
10524 ac_check_lib_save_LIBS=$LIBS 10548 ac_check_lib_save_LIBS=$LIBS
10525 LIBS="-lkrb5 $LIBS" 10549 LIBS="-lkrb5 $LIBS"
10526 cat >conftest.$ac_ext <<_ACEOF 10550 cat >conftest.$ac_ext <<_ACEOF
10527 #line 10527 "configure" 10551 #line 10551 "configure"
10528 #include "confdefs.h" 10552 #include "confdefs.h"
10529 10553
10530 /* Override any gcc2 internal prototype to avoid an error. */ 10554 /* Override any gcc2 internal prototype to avoid an error. */
10531 #ifdef __cplusplus 10555 #ifdef __cplusplus
10532 extern "C" 10556 extern "C"
10541 ; 10565 ;
10542 return 0; 10566 return 0;
10543 } 10567 }
10544 _ACEOF 10568 _ACEOF
10545 rm -f conftest.$ac_objext conftest$ac_exeext 10569 rm -f conftest.$ac_objext conftest$ac_exeext
10546 if { (eval echo "$as_me:10546: \"$ac_link\"") >&5 10570 if { (eval echo "$as_me:10570: \"$ac_link\"") >&5
10547 (eval $ac_link) 2>&5 10571 (eval $ac_link) 2>&5
10548 ac_status=$? 10572 ac_status=$?
10549 echo "$as_me:10549: \$? = $ac_status" >&5 10573 echo "$as_me:10573: \$? = $ac_status" >&5
10550 (exit $ac_status); } && 10574 (exit $ac_status); } &&
10551 { ac_try='test -s conftest$ac_exeext' 10575 { ac_try='test -s conftest$ac_exeext'
10552 { (eval echo "$as_me:10552: \"$ac_try\"") >&5 10576 { (eval echo "$as_me:10576: \"$ac_try\"") >&5
10553 (eval $ac_try) 2>&5 10577 (eval $ac_try) 2>&5
10554 ac_status=$? 10578 ac_status=$?
10555 echo "$as_me:10555: \$? = $ac_status" >&5 10579 echo "$as_me:10579: \$? = $ac_status" >&5
10556 (exit $ac_status); }; }; then 10580 (exit $ac_status); }; }; then
10557 ac_cv_lib_krb5_krb5_init_context=yes 10581 ac_cv_lib_krb5_krb5_init_context=yes
10558 else 10582 else
10559 echo "$as_me: failed program was:" >&5 10583 echo "$as_me: failed program was:" >&5
10560 cat conftest.$ac_ext >&5 10584 cat conftest.$ac_ext >&5
10561 ac_cv_lib_krb5_krb5_init_context=no 10585 ac_cv_lib_krb5_krb5_init_context=no
10562 fi 10586 fi
10563 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10587 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10564 LIBS=$ac_check_lib_save_LIBS 10588 LIBS=$ac_check_lib_save_LIBS
10565 fi 10589 fi
10566 echo "$as_me:10566: result: $ac_cv_lib_krb5_krb5_init_context" >&5 10590 echo "$as_me:10590: result: $ac_cv_lib_krb5_krb5_init_context" >&5
10567 echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6 10591 echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6
10568 if test $ac_cv_lib_krb5_krb5_init_context = yes; then 10592 if test $ac_cv_lib_krb5_krb5_init_context = yes; then
10569 cat >>confdefs.h <<EOF 10593 cat >>confdefs.h <<EOF
10570 #define HAVE_LIBKRB5 1 10594 #define HAVE_LIBKRB5 1
10571 EOF 10595 EOF
10574 10598
10575 fi 10599 fi
10576 10600
10577 if test "${with_kerberos5+set}" != set; then 10601 if test "${with_kerberos5+set}" != set; then
10578 10602
10579 echo "$as_me:10579: checking for des_cbc_encrypt in -ldes425" >&5 10603 echo "$as_me:10603: checking for des_cbc_encrypt in -ldes425" >&5
10580 echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6 10604 echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6
10581 if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then 10605 if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then
10582 echo $ECHO_N "(cached) $ECHO_C" >&6 10606 echo $ECHO_N "(cached) $ECHO_C" >&6
10583 else 10607 else
10584 ac_check_lib_save_LIBS=$LIBS 10608 ac_check_lib_save_LIBS=$LIBS
10585 LIBS="-ldes425 $LIBS" 10609 LIBS="-ldes425 $LIBS"
10586 cat >conftest.$ac_ext <<_ACEOF 10610 cat >conftest.$ac_ext <<_ACEOF
10587 #line 10587 "configure" 10611 #line 10611 "configure"
10588 #include "confdefs.h" 10612 #include "confdefs.h"
10589 10613
10590 /* Override any gcc2 internal prototype to avoid an error. */ 10614 /* Override any gcc2 internal prototype to avoid an error. */
10591 #ifdef __cplusplus 10615 #ifdef __cplusplus
10592 extern "C" 10616 extern "C"
10601 ; 10625 ;
10602 return 0; 10626 return 0;
10603 } 10627 }
10604 _ACEOF 10628 _ACEOF
10605 rm -f conftest.$ac_objext conftest$ac_exeext 10629 rm -f conftest.$ac_objext conftest$ac_exeext
10606 if { (eval echo "$as_me:10606: \"$ac_link\"") >&5 10630 if { (eval echo "$as_me:10630: \"$ac_link\"") >&5
10607 (eval $ac_link) 2>&5 10631 (eval $ac_link) 2>&5
10608 ac_status=$? 10632 ac_status=$?
10609 echo "$as_me:10609: \$? = $ac_status" >&5 10633 echo "$as_me:10633: \$? = $ac_status" >&5
10610 (exit $ac_status); } && 10634 (exit $ac_status); } &&
10611 { ac_try='test -s conftest$ac_exeext' 10635 { ac_try='test -s conftest$ac_exeext'
10612 { (eval echo "$as_me:10612: \"$ac_try\"") >&5 10636 { (eval echo "$as_me:10636: \"$ac_try\"") >&5
10613 (eval $ac_try) 2>&5 10637 (eval $ac_try) 2>&5
10614 ac_status=$? 10638 ac_status=$?
10615 echo "$as_me:10615: \$? = $ac_status" >&5 10639 echo "$as_me:10639: \$? = $ac_status" >&5
10616 (exit $ac_status); }; }; then 10640 (exit $ac_status); }; }; then
10617 ac_cv_lib_des425_des_cbc_encrypt=yes 10641 ac_cv_lib_des425_des_cbc_encrypt=yes
10618 else 10642 else
10619 echo "$as_me: failed program was:" >&5 10643 echo "$as_me: failed program was:" >&5
10620 cat conftest.$ac_ext >&5 10644 cat conftest.$ac_ext >&5
10621 ac_cv_lib_des425_des_cbc_encrypt=no 10645 ac_cv_lib_des425_des_cbc_encrypt=no
10622 fi 10646 fi
10623 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10647 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10624 LIBS=$ac_check_lib_save_LIBS 10648 LIBS=$ac_check_lib_save_LIBS
10625 fi 10649 fi
10626 echo "$as_me:10626: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5 10650 echo "$as_me:10650: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5
10627 echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6 10651 echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6
10628 if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then 10652 if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then
10629 cat >>confdefs.h <<EOF 10653 cat >>confdefs.h <<EOF
10630 #define HAVE_LIBDES425 1 10654 #define HAVE_LIBDES425 1
10631 EOF 10655 EOF
10632 10656
10633 LIBS="-ldes425 $LIBS" 10657 LIBS="-ldes425 $LIBS"
10634 10658
10635 else 10659 else
10636 10660
10637 echo "$as_me:10637: checking for des_cbc_encrypt in -ldes" >&5 10661 echo "$as_me:10661: checking for des_cbc_encrypt in -ldes" >&5
10638 echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6 10662 echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6
10639 if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then 10663 if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then
10640 echo $ECHO_N "(cached) $ECHO_C" >&6 10664 echo $ECHO_N "(cached) $ECHO_C" >&6
10641 else 10665 else
10642 ac_check_lib_save_LIBS=$LIBS 10666 ac_check_lib_save_LIBS=$LIBS
10643 LIBS="-ldes $LIBS" 10667 LIBS="-ldes $LIBS"
10644 cat >conftest.$ac_ext <<_ACEOF 10668 cat >conftest.$ac_ext <<_ACEOF
10645 #line 10645 "configure" 10669 #line 10669 "configure"
10646 #include "confdefs.h" 10670 #include "confdefs.h"
10647 10671
10648 /* Override any gcc2 internal prototype to avoid an error. */ 10672 /* Override any gcc2 internal prototype to avoid an error. */
10649 #ifdef __cplusplus 10673 #ifdef __cplusplus
10650 extern "C" 10674 extern "C"
10659 ; 10683 ;
10660 return 0; 10684 return 0;
10661 } 10685 }
10662 _ACEOF 10686 _ACEOF
10663 rm -f conftest.$ac_objext conftest$ac_exeext 10687 rm -f conftest.$ac_objext conftest$ac_exeext
10664 if { (eval echo "$as_me:10664: \"$ac_link\"") >&5 10688 if { (eval echo "$as_me:10688: \"$ac_link\"") >&5
10665 (eval $ac_link) 2>&5 10689 (eval $ac_link) 2>&5
10666 ac_status=$? 10690 ac_status=$?
10667 echo "$as_me:10667: \$? = $ac_status" >&5 10691 echo "$as_me:10691: \$? = $ac_status" >&5
10668 (exit $ac_status); } && 10692 (exit $ac_status); } &&
10669 { ac_try='test -s conftest$ac_exeext' 10693 { ac_try='test -s conftest$ac_exeext'
10670 { (eval echo "$as_me:10670: \"$ac_try\"") >&5 10694 { (eval echo "$as_me:10694: \"$ac_try\"") >&5
10671 (eval $ac_try) 2>&5 10695 (eval $ac_try) 2>&5
10672 ac_status=$? 10696 ac_status=$?
10673 echo "$as_me:10673: \$? = $ac_status" >&5 10697 echo "$as_me:10697: \$? = $ac_status" >&5
10674 (exit $ac_status); }; }; then 10698 (exit $ac_status); }; }; then
10675 ac_cv_lib_des_des_cbc_encrypt=yes 10699 ac_cv_lib_des_des_cbc_encrypt=yes
10676 else 10700 else
10677 echo "$as_me: failed program was:" >&5 10701 echo "$as_me: failed program was:" >&5
10678 cat conftest.$ac_ext >&5 10702 cat conftest.$ac_ext >&5
10679 ac_cv_lib_des_des_cbc_encrypt=no 10703 ac_cv_lib_des_des_cbc_encrypt=no
10680 fi 10704 fi
10681 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10705 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10682 LIBS=$ac_check_lib_save_LIBS 10706 LIBS=$ac_check_lib_save_LIBS
10683 fi 10707 fi
10684 echo "$as_me:10684: result: $ac_cv_lib_des_des_cbc_encrypt" >&5 10708 echo "$as_me:10708: result: $ac_cv_lib_des_des_cbc_encrypt" >&5
10685 echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6 10709 echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6
10686 if test $ac_cv_lib_des_des_cbc_encrypt = yes; then 10710 if test $ac_cv_lib_des_des_cbc_encrypt = yes; then
10687 cat >>confdefs.h <<EOF 10711 cat >>confdefs.h <<EOF
10688 #define HAVE_LIBDES 1 10712 #define HAVE_LIBDES 1
10689 EOF 10713 EOF
10692 10716
10693 fi 10717 fi
10694 10718
10695 fi 10719 fi
10696 10720
10697 echo "$as_me:10697: checking for krb_get_cred in -lkrb4" >&5 10721 echo "$as_me:10721: checking for krb_get_cred in -lkrb4" >&5
10698 echo $ECHO_N "checking for krb_get_cred in -lkrb4... $ECHO_C" >&6 10722 echo $ECHO_N "checking for krb_get_cred in -lkrb4... $ECHO_C" >&6
10699 if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then 10723 if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then
10700 echo $ECHO_N "(cached) $ECHO_C" >&6 10724 echo $ECHO_N "(cached) $ECHO_C" >&6
10701 else 10725 else
10702 ac_check_lib_save_LIBS=$LIBS 10726 ac_check_lib_save_LIBS=$LIBS
10703 LIBS="-lkrb4 $LIBS" 10727 LIBS="-lkrb4 $LIBS"
10704 cat >conftest.$ac_ext <<_ACEOF 10728 cat >conftest.$ac_ext <<_ACEOF
10705 #line 10705 "configure" 10729 #line 10729 "configure"
10706 #include "confdefs.h" 10730 #include "confdefs.h"
10707 10731
10708 /* Override any gcc2 internal prototype to avoid an error. */ 10732 /* Override any gcc2 internal prototype to avoid an error. */
10709 #ifdef __cplusplus 10733 #ifdef __cplusplus
10710 extern "C" 10734 extern "C"
10719 ; 10743 ;
10720 return 0; 10744 return 0;
10721 } 10745 }
10722 _ACEOF 10746 _ACEOF
10723 rm -f conftest.$ac_objext conftest$ac_exeext 10747 rm -f conftest.$ac_objext conftest$ac_exeext
10724 if { (eval echo "$as_me:10724: \"$ac_link\"") >&5 10748 if { (eval echo "$as_me:10748: \"$ac_link\"") >&5
10725 (eval $ac_link) 2>&5 10749 (eval $ac_link) 2>&5
10726 ac_status=$? 10750 ac_status=$?
10727 echo "$as_me:10727: \$? = $ac_status" >&5 10751 echo "$as_me:10751: \$? = $ac_status" >&5
10728 (exit $ac_status); } && 10752 (exit $ac_status); } &&
10729 { ac_try='test -s conftest$ac_exeext' 10753 { ac_try='test -s conftest$ac_exeext'
10730 { (eval echo "$as_me:10730: \"$ac_try\"") >&5 10754 { (eval echo "$as_me:10754: \"$ac_try\"") >&5
10731 (eval $ac_try) 2>&5 10755 (eval $ac_try) 2>&5
10732 ac_status=$? 10756 ac_status=$?
10733 echo "$as_me:10733: \$? = $ac_status" >&5 10757 echo "$as_me:10757: \$? = $ac_status" >&5
10734 (exit $ac_status); }; }; then 10758 (exit $ac_status); }; }; then
10735 ac_cv_lib_krb4_krb_get_cred=yes 10759 ac_cv_lib_krb4_krb_get_cred=yes
10736 else 10760 else
10737 echo "$as_me: failed program was:" >&5 10761 echo "$as_me: failed program was:" >&5
10738 cat conftest.$ac_ext >&5 10762 cat conftest.$ac_ext >&5
10739 ac_cv_lib_krb4_krb_get_cred=no 10763 ac_cv_lib_krb4_krb_get_cred=no
10740 fi 10764 fi
10741 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10765 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10742 LIBS=$ac_check_lib_save_LIBS 10766 LIBS=$ac_check_lib_save_LIBS
10743 fi 10767 fi
10744 echo "$as_me:10744: result: $ac_cv_lib_krb4_krb_get_cred" >&5 10768 echo "$as_me:10768: result: $ac_cv_lib_krb4_krb_get_cred" >&5
10745 echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6 10769 echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6
10746 if test $ac_cv_lib_krb4_krb_get_cred = yes; then 10770 if test $ac_cv_lib_krb4_krb_get_cred = yes; then
10747 cat >>confdefs.h <<EOF 10771 cat >>confdefs.h <<EOF
10748 #define HAVE_LIBKRB4 1 10772 #define HAVE_LIBKRB4 1
10749 EOF 10773 EOF
10750 10774
10751 LIBS="-lkrb4 $LIBS" 10775 LIBS="-lkrb4 $LIBS"
10752 10776
10753 else 10777 else
10754 10778
10755 echo "$as_me:10755: checking for krb_get_cred in -lkrb" >&5 10779 echo "$as_me:10779: checking for krb_get_cred in -lkrb" >&5
10756 echo $ECHO_N "checking for krb_get_cred in -lkrb... $ECHO_C" >&6 10780 echo $ECHO_N "checking for krb_get_cred in -lkrb... $ECHO_C" >&6
10757 if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then 10781 if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then
10758 echo $ECHO_N "(cached) $ECHO_C" >&6 10782 echo $ECHO_N "(cached) $ECHO_C" >&6
10759 else 10783 else
10760 ac_check_lib_save_LIBS=$LIBS 10784 ac_check_lib_save_LIBS=$LIBS
10761 LIBS="-lkrb $LIBS" 10785 LIBS="-lkrb $LIBS"
10762 cat >conftest.$ac_ext <<_ACEOF 10786 cat >conftest.$ac_ext <<_ACEOF
10763 #line 10763 "configure" 10787 #line 10787 "configure"
10764 #include "confdefs.h" 10788 #include "confdefs.h"
10765 10789
10766 /* Override any gcc2 internal prototype to avoid an error. */ 10790 /* Override any gcc2 internal prototype to avoid an error. */
10767 #ifdef __cplusplus 10791 #ifdef __cplusplus
10768 extern "C" 10792 extern "C"
10777 ; 10801 ;
10778 return 0; 10802 return 0;
10779 } 10803 }
10780 _ACEOF 10804 _ACEOF
10781 rm -f conftest.$ac_objext conftest$ac_exeext 10805 rm -f conftest.$ac_objext conftest$ac_exeext
10782 if { (eval echo "$as_me:10782: \"$ac_link\"") >&5 10806 if { (eval echo "$as_me:10806: \"$ac_link\"") >&5
10783 (eval $ac_link) 2>&5 10807 (eval $ac_link) 2>&5
10784 ac_status=$? 10808 ac_status=$?
10785 echo "$as_me:10785: \$? = $ac_status" >&5 10809 echo "$as_me:10809: \$? = $ac_status" >&5
10786 (exit $ac_status); } && 10810 (exit $ac_status); } &&
10787 { ac_try='test -s conftest$ac_exeext' 10811 { ac_try='test -s conftest$ac_exeext'
10788 { (eval echo "$as_me:10788: \"$ac_try\"") >&5 10812 { (eval echo "$as_me:10812: \"$ac_try\"") >&5
10789 (eval $ac_try) 2>&5 10813 (eval $ac_try) 2>&5
10790 ac_status=$? 10814 ac_status=$?
10791 echo "$as_me:10791: \$? = $ac_status" >&5 10815 echo "$as_me:10815: \$? = $ac_status" >&5
10792 (exit $ac_status); }; }; then 10816 (exit $ac_status); }; }; then
10793 ac_cv_lib_krb_krb_get_cred=yes 10817 ac_cv_lib_krb_krb_get_cred=yes
10794 else 10818 else
10795 echo "$as_me: failed program was:" >&5 10819 echo "$as_me: failed program was:" >&5
10796 cat conftest.$ac_ext >&5 10820 cat conftest.$ac_ext >&5
10797 ac_cv_lib_krb_krb_get_cred=no 10821 ac_cv_lib_krb_krb_get_cred=no
10798 fi 10822 fi
10799 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10823 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10800 LIBS=$ac_check_lib_save_LIBS 10824 LIBS=$ac_check_lib_save_LIBS
10801 fi 10825 fi
10802 echo "$as_me:10802: result: $ac_cv_lib_krb_krb_get_cred" >&5 10826 echo "$as_me:10826: result: $ac_cv_lib_krb_krb_get_cred" >&5
10803 echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6 10827 echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6
10804 if test $ac_cv_lib_krb_krb_get_cred = yes; then 10828 if test $ac_cv_lib_krb_krb_get_cred = yes; then
10805 cat >>confdefs.h <<EOF 10829 cat >>confdefs.h <<EOF
10806 #define HAVE_LIBKRB 1 10830 #define HAVE_LIBKRB 1
10807 EOF 10831 EOF
10817 if test "${with_kerberos5+set}" = set; then 10841 if test "${with_kerberos5+set}" = set; then
10818 10842
10819 for ac_header in krb5.h 10843 for ac_header in krb5.h
10820 do 10844 do
10821 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 10845 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10822 echo "$as_me:10822: checking for $ac_header" >&5 10846 echo "$as_me:10846: checking for $ac_header" >&5
10823 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 10847 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10824 if eval "test \"\${$as_ac_Header+set}\" = set"; then 10848 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10825 echo $ECHO_N "(cached) $ECHO_C" >&6 10849 echo $ECHO_N "(cached) $ECHO_C" >&6
10826 else 10850 else
10827 cat >conftest.$ac_ext <<_ACEOF 10851 cat >conftest.$ac_ext <<_ACEOF
10828 #line 10828 "configure" 10852 #line 10852 "configure"
10829 #include "confdefs.h" 10853 #include "confdefs.h"
10830 #include <$ac_header> 10854 #include <$ac_header>
10831 _ACEOF 10855 _ACEOF
10832 if { (eval echo "$as_me:10832: \"$ac_cpp conftest.$ac_ext\"") >&5 10856 if { (eval echo "$as_me:10856: \"$ac_cpp conftest.$ac_ext\"") >&5
10833 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 10857 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10834 ac_status=$? 10858 ac_status=$?
10835 egrep -v '^ *\+' conftest.er1 >conftest.err 10859 egrep -v '^ *\+' conftest.er1 >conftest.err
10836 rm -f conftest.er1 10860 rm -f conftest.er1
10837 cat conftest.err >&5 10861 cat conftest.err >&5
10838 echo "$as_me:10838: \$? = $ac_status" >&5 10862 echo "$as_me:10862: \$? = $ac_status" >&5
10839 (exit $ac_status); } >/dev/null; then 10863 (exit $ac_status); } >/dev/null; then
10840 if test -s conftest.err; then 10864 if test -s conftest.err; then
10841 ac_cpp_err=$ac_c_preproc_warn_flag 10865 ac_cpp_err=$ac_c_preproc_warn_flag
10842 else 10866 else
10843 ac_cpp_err= 10867 ac_cpp_err=
10852 cat conftest.$ac_ext >&5 10876 cat conftest.$ac_ext >&5
10853 eval "$as_ac_Header=no" 10877 eval "$as_ac_Header=no"
10854 fi 10878 fi
10855 rm -f conftest.err conftest.$ac_ext 10879 rm -f conftest.err conftest.$ac_ext
10856 fi 10880 fi
10857 echo "$as_me:10857: result: `eval echo '${'$as_ac_Header'}'`" >&5 10881 echo "$as_me:10881: result: `eval echo '${'$as_ac_Header'}'`" >&5
10858 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 10882 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10859 if test `eval echo '${'$as_ac_Header'}'` = yes; then 10883 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10860 cat >>confdefs.h <<EOF 10884 cat >>confdefs.h <<EOF
10861 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 10885 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10862 EOF 10886 EOF
10867 else 10891 else
10868 10892
10869 for ac_header in des.h 10893 for ac_header in des.h
10870 do 10894 do
10871 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 10895 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10872 echo "$as_me:10872: checking for $ac_header" >&5 10896 echo "$as_me:10896: checking for $ac_header" >&5
10873 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 10897 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10874 if eval "test \"\${$as_ac_Header+set}\" = set"; then 10898 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10875 echo $ECHO_N "(cached) $ECHO_C" >&6 10899 echo $ECHO_N "(cached) $ECHO_C" >&6
10876 else 10900 else
10877 cat >conftest.$ac_ext <<_ACEOF 10901 cat >conftest.$ac_ext <<_ACEOF
10878 #line 10878 "configure" 10902 #line 10902 "configure"
10879 #include "confdefs.h" 10903 #include "confdefs.h"
10880 #include <$ac_header> 10904 #include <$ac_header>
10881 _ACEOF 10905 _ACEOF
10882 if { (eval echo "$as_me:10882: \"$ac_cpp conftest.$ac_ext\"") >&5 10906 if { (eval echo "$as_me:10906: \"$ac_cpp conftest.$ac_ext\"") >&5
10883 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 10907 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10884 ac_status=$? 10908 ac_status=$?
10885 egrep -v '^ *\+' conftest.er1 >conftest.err 10909 egrep -v '^ *\+' conftest.er1 >conftest.err
10886 rm -f conftest.er1 10910 rm -f conftest.er1
10887 cat conftest.err >&5 10911 cat conftest.err >&5
10888 echo "$as_me:10888: \$? = $ac_status" >&5 10912 echo "$as_me:10912: \$? = $ac_status" >&5
10889 (exit $ac_status); } >/dev/null; then 10913 (exit $ac_status); } >/dev/null; then
10890 if test -s conftest.err; then 10914 if test -s conftest.err; then
10891 ac_cpp_err=$ac_c_preproc_warn_flag 10915 ac_cpp_err=$ac_c_preproc_warn_flag
10892 else 10916 else
10893 ac_cpp_err= 10917 ac_cpp_err=
10902 cat conftest.$ac_ext >&5 10926 cat conftest.$ac_ext >&5
10903 eval "$as_ac_Header=no" 10927 eval "$as_ac_Header=no"
10904 fi 10928 fi
10905 rm -f conftest.err conftest.$ac_ext 10929 rm -f conftest.err conftest.$ac_ext
10906 fi 10930 fi
10907 echo "$as_me:10907: result: `eval echo '${'$as_ac_Header'}'`" >&5 10931 echo "$as_me:10931: result: `eval echo '${'$as_ac_Header'}'`" >&5
10908 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 10932 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10909 if test `eval echo '${'$as_ac_Header'}'` = yes; then 10933 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10910 cat >>confdefs.h <<EOF 10934 cat >>confdefs.h <<EOF
10911 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 10935 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10912 EOF 10936 EOF
10914 else 10938 else
10915 10939
10916 for ac_header in kerberosIV/des.h 10940 for ac_header in kerberosIV/des.h
10917 do 10941 do
10918 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 10942 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10919 echo "$as_me:10919: checking for $ac_header" >&5 10943 echo "$as_me:10943: checking for $ac_header" >&5
10920 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 10944 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10921 if eval "test \"\${$as_ac_Header+set}\" = set"; then 10945 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10922 echo $ECHO_N "(cached) $ECHO_C" >&6 10946 echo $ECHO_N "(cached) $ECHO_C" >&6
10923 else 10947 else
10924 cat >conftest.$ac_ext <<_ACEOF 10948 cat >conftest.$ac_ext <<_ACEOF
10925 #line 10925 "configure" 10949 #line 10949 "configure"
10926 #include "confdefs.h" 10950 #include "confdefs.h"
10927 #include <$ac_header> 10951 #include <$ac_header>
10928 _ACEOF 10952 _ACEOF
10929 if { (eval echo "$as_me:10929: \"$ac_cpp conftest.$ac_ext\"") >&5 10953 if { (eval echo "$as_me:10953: \"$ac_cpp conftest.$ac_ext\"") >&5
10930 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 10954 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10931 ac_status=$? 10955 ac_status=$?
10932 egrep -v '^ *\+' conftest.er1 >conftest.err 10956 egrep -v '^ *\+' conftest.er1 >conftest.err
10933 rm -f conftest.er1 10957 rm -f conftest.er1
10934 cat conftest.err >&5 10958 cat conftest.err >&5
10935 echo "$as_me:10935: \$? = $ac_status" >&5 10959 echo "$as_me:10959: \$? = $ac_status" >&5
10936 (exit $ac_status); } >/dev/null; then 10960 (exit $ac_status); } >/dev/null; then
10937 if test -s conftest.err; then 10961 if test -s conftest.err; then
10938 ac_cpp_err=$ac_c_preproc_warn_flag 10962 ac_cpp_err=$ac_c_preproc_warn_flag
10939 else 10963 else
10940 ac_cpp_err= 10964 ac_cpp_err=
10949 cat conftest.$ac_ext >&5 10973 cat conftest.$ac_ext >&5
10950 eval "$as_ac_Header=no" 10974 eval "$as_ac_Header=no"
10951 fi 10975 fi
10952 rm -f conftest.err conftest.$ac_ext 10976 rm -f conftest.err conftest.$ac_ext
10953 fi 10977 fi
10954 echo "$as_me:10954: result: `eval echo '${'$as_ac_Header'}'`" >&5 10978 echo "$as_me:10978: result: `eval echo '${'$as_ac_Header'}'`" >&5
10955 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 10979 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10956 if test `eval echo '${'$as_ac_Header'}'` = yes; then 10980 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10957 cat >>confdefs.h <<EOF 10981 cat >>confdefs.h <<EOF
10958 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 10982 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10959 EOF 10983 EOF
10961 else 10985 else
10962 10986
10963 for ac_header in kerberos/des.h 10987 for ac_header in kerberos/des.h
10964 do 10988 do
10965 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 10989 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10966 echo "$as_me:10966: checking for $ac_header" >&5 10990 echo "$as_me:10990: checking for $ac_header" >&5
10967 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 10991 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10968 if eval "test \"\${$as_ac_Header+set}\" = set"; then 10992 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10969 echo $ECHO_N "(cached) $ECHO_C" >&6 10993 echo $ECHO_N "(cached) $ECHO_C" >&6
10970 else 10994 else
10971 cat >conftest.$ac_ext <<_ACEOF 10995 cat >conftest.$ac_ext <<_ACEOF
10972 #line 10972 "configure" 10996 #line 10996 "configure"
10973 #include "confdefs.h" 10997 #include "confdefs.h"
10974 #include <$ac_header> 10998 #include <$ac_header>
10975 _ACEOF 10999 _ACEOF
10976 if { (eval echo "$as_me:10976: \"$ac_cpp conftest.$ac_ext\"") >&5 11000 if { (eval echo "$as_me:11000: \"$ac_cpp conftest.$ac_ext\"") >&5
10977 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11001 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10978 ac_status=$? 11002 ac_status=$?
10979 egrep -v '^ *\+' conftest.er1 >conftest.err 11003 egrep -v '^ *\+' conftest.er1 >conftest.err
10980 rm -f conftest.er1 11004 rm -f conftest.er1
10981 cat conftest.err >&5 11005 cat conftest.err >&5
10982 echo "$as_me:10982: \$? = $ac_status" >&5 11006 echo "$as_me:11006: \$? = $ac_status" >&5
10983 (exit $ac_status); } >/dev/null; then 11007 (exit $ac_status); } >/dev/null; then
10984 if test -s conftest.err; then 11008 if test -s conftest.err; then
10985 ac_cpp_err=$ac_c_preproc_warn_flag 11009 ac_cpp_err=$ac_c_preproc_warn_flag
10986 else 11010 else
10987 ac_cpp_err= 11011 ac_cpp_err=
10996 cat conftest.$ac_ext >&5 11020 cat conftest.$ac_ext >&5
10997 eval "$as_ac_Header=no" 11021 eval "$as_ac_Header=no"
10998 fi 11022 fi
10999 rm -f conftest.err conftest.$ac_ext 11023 rm -f conftest.err conftest.$ac_ext
11000 fi 11024 fi
11001 echo "$as_me:11001: result: `eval echo '${'$as_ac_Header'}'`" >&5 11025 echo "$as_me:11025: result: `eval echo '${'$as_ac_Header'}'`" >&5
11002 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11026 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11003 if test `eval echo '${'$as_ac_Header'}'` = yes; then 11027 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11004 cat >>confdefs.h <<EOF 11028 cat >>confdefs.h <<EOF
11005 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11029 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11006 EOF 11030 EOF
11015 done 11039 done
11016 11040
11017 for ac_header in krb.h 11041 for ac_header in krb.h
11018 do 11042 do
11019 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11043 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11020 echo "$as_me:11020: checking for $ac_header" >&5 11044 echo "$as_me:11044: checking for $ac_header" >&5
11021 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11045 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11022 if eval "test \"\${$as_ac_Header+set}\" = set"; then 11046 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11023 echo $ECHO_N "(cached) $ECHO_C" >&6 11047 echo $ECHO_N "(cached) $ECHO_C" >&6
11024 else 11048 else
11025 cat >conftest.$ac_ext <<_ACEOF 11049 cat >conftest.$ac_ext <<_ACEOF
11026 #line 11026 "configure" 11050 #line 11050 "configure"
11027 #include "confdefs.h" 11051 #include "confdefs.h"
11028 #include <$ac_header> 11052 #include <$ac_header>
11029 _ACEOF 11053 _ACEOF
11030 if { (eval echo "$as_me:11030: \"$ac_cpp conftest.$ac_ext\"") >&5 11054 if { (eval echo "$as_me:11054: \"$ac_cpp conftest.$ac_ext\"") >&5
11031 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11055 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11032 ac_status=$? 11056 ac_status=$?
11033 egrep -v '^ *\+' conftest.er1 >conftest.err 11057 egrep -v '^ *\+' conftest.er1 >conftest.err
11034 rm -f conftest.er1 11058 rm -f conftest.er1
11035 cat conftest.err >&5 11059 cat conftest.err >&5
11036 echo "$as_me:11036: \$? = $ac_status" >&5 11060 echo "$as_me:11060: \$? = $ac_status" >&5
11037 (exit $ac_status); } >/dev/null; then 11061 (exit $ac_status); } >/dev/null; then
11038 if test -s conftest.err; then 11062 if test -s conftest.err; then
11039 ac_cpp_err=$ac_c_preproc_warn_flag 11063 ac_cpp_err=$ac_c_preproc_warn_flag
11040 else 11064 else
11041 ac_cpp_err= 11065 ac_cpp_err=
11050 cat conftest.$ac_ext >&5 11074 cat conftest.$ac_ext >&5
11051 eval "$as_ac_Header=no" 11075 eval "$as_ac_Header=no"
11052 fi 11076 fi
11053 rm -f conftest.err conftest.$ac_ext 11077 rm -f conftest.err conftest.$ac_ext
11054 fi 11078 fi
11055 echo "$as_me:11055: result: `eval echo '${'$as_ac_Header'}'`" >&5 11079 echo "$as_me:11079: result: `eval echo '${'$as_ac_Header'}'`" >&5
11056 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11080 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11057 if test `eval echo '${'$as_ac_Header'}'` = yes; then 11081 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11058 cat >>confdefs.h <<EOF 11082 cat >>confdefs.h <<EOF
11059 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11083 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11060 EOF 11084 EOF
11062 else 11086 else
11063 11087
11064 for ac_header in kerberosIV/krb.h 11088 for ac_header in kerberosIV/krb.h
11065 do 11089 do
11066 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11090 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11067 echo "$as_me:11067: checking for $ac_header" >&5 11091 echo "$as_me:11091: checking for $ac_header" >&5
11068 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11092 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11069 if eval "test \"\${$as_ac_Header+set}\" = set"; then 11093 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11070 echo $ECHO_N "(cached) $ECHO_C" >&6 11094 echo $ECHO_N "(cached) $ECHO_C" >&6
11071 else 11095 else
11072 cat >conftest.$ac_ext <<_ACEOF 11096 cat >conftest.$ac_ext <<_ACEOF
11073 #line 11073 "configure" 11097 #line 11097 "configure"
11074 #include "confdefs.h" 11098 #include "confdefs.h"
11075 #include <$ac_header> 11099 #include <$ac_header>
11076 _ACEOF 11100 _ACEOF
11077 if { (eval echo "$as_me:11077: \"$ac_cpp conftest.$ac_ext\"") >&5 11101 if { (eval echo "$as_me:11101: \"$ac_cpp conftest.$ac_ext\"") >&5
11078 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11102 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11079 ac_status=$? 11103 ac_status=$?
11080 egrep -v '^ *\+' conftest.er1 >conftest.err 11104 egrep -v '^ *\+' conftest.er1 >conftest.err
11081 rm -f conftest.er1 11105 rm -f conftest.er1
11082 cat conftest.err >&5 11106 cat conftest.err >&5
11083 echo "$as_me:11083: \$? = $ac_status" >&5 11107 echo "$as_me:11107: \$? = $ac_status" >&5
11084 (exit $ac_status); } >/dev/null; then 11108 (exit $ac_status); } >/dev/null; then
11085 if test -s conftest.err; then 11109 if test -s conftest.err; then
11086 ac_cpp_err=$ac_c_preproc_warn_flag 11110 ac_cpp_err=$ac_c_preproc_warn_flag
11087 else 11111 else
11088 ac_cpp_err= 11112 ac_cpp_err=
11097 cat conftest.$ac_ext >&5 11121 cat conftest.$ac_ext >&5
11098 eval "$as_ac_Header=no" 11122 eval "$as_ac_Header=no"
11099 fi 11123 fi
11100 rm -f conftest.err conftest.$ac_ext 11124 rm -f conftest.err conftest.$ac_ext
11101 fi 11125 fi
11102 echo "$as_me:11102: result: `eval echo '${'$as_ac_Header'}'`" >&5 11126 echo "$as_me:11126: result: `eval echo '${'$as_ac_Header'}'`" >&5
11103 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11127 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11104 if test `eval echo '${'$as_ac_Header'}'` = yes; then 11128 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11105 cat >>confdefs.h <<EOF 11129 cat >>confdefs.h <<EOF
11106 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11130 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11107 EOF 11131 EOF
11109 else 11133 else
11110 11134
11111 for ac_header in kerberos/krb.h 11135 for ac_header in kerberos/krb.h
11112 do 11136 do
11113 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11137 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11114 echo "$as_me:11114: checking for $ac_header" >&5 11138 echo "$as_me:11138: checking for $ac_header" >&5
11115 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11139 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11116 if eval "test \"\${$as_ac_Header+set}\" = set"; then 11140 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11117 echo $ECHO_N "(cached) $ECHO_C" >&6 11141 echo $ECHO_N "(cached) $ECHO_C" >&6
11118 else 11142 else
11119 cat >conftest.$ac_ext <<_ACEOF 11143 cat >conftest.$ac_ext <<_ACEOF
11120 #line 11120 "configure" 11144 #line 11144 "configure"
11121 #include "confdefs.h" 11145 #include "confdefs.h"
11122 #include <$ac_header> 11146 #include <$ac_header>
11123 _ACEOF 11147 _ACEOF
11124 if { (eval echo "$as_me:11124: \"$ac_cpp conftest.$ac_ext\"") >&5 11148 if { (eval echo "$as_me:11148: \"$ac_cpp conftest.$ac_ext\"") >&5
11125 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11149 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11126 ac_status=$? 11150 ac_status=$?
11127 egrep -v '^ *\+' conftest.er1 >conftest.err 11151 egrep -v '^ *\+' conftest.er1 >conftest.err
11128 rm -f conftest.er1 11152 rm -f conftest.er1
11129 cat conftest.err >&5 11153 cat conftest.err >&5
11130 echo "$as_me:11130: \$? = $ac_status" >&5 11154 echo "$as_me:11154: \$? = $ac_status" >&5
11131 (exit $ac_status); } >/dev/null; then 11155 (exit $ac_status); } >/dev/null; then
11132 if test -s conftest.err; then 11156 if test -s conftest.err; then
11133 ac_cpp_err=$ac_c_preproc_warn_flag 11157 ac_cpp_err=$ac_c_preproc_warn_flag
11134 else 11158 else
11135 ac_cpp_err= 11159 ac_cpp_err=
11144 cat conftest.$ac_ext >&5 11168 cat conftest.$ac_ext >&5
11145 eval "$as_ac_Header=no" 11169 eval "$as_ac_Header=no"
11146 fi 11170 fi
11147 rm -f conftest.err conftest.$ac_ext 11171 rm -f conftest.err conftest.$ac_ext
11148 fi 11172 fi
11149 echo "$as_me:11149: result: `eval echo '${'$as_ac_Header'}'`" >&5 11173 echo "$as_me:11173: result: `eval echo '${'$as_ac_Header'}'`" >&5
11150 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11174 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11151 if test `eval echo '${'$as_ac_Header'}'` = yes; then 11175 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11152 cat >>confdefs.h <<EOF 11176 cat >>confdefs.h <<EOF
11153 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11177 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11154 EOF 11178 EOF
11165 fi 11189 fi
11166 11190
11167 for ac_header in com_err.h 11191 for ac_header in com_err.h
11168 do 11192 do
11169 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11193 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11170 echo "$as_me:11170: checking for $ac_header" >&5 11194 echo "$as_me:11194: checking for $ac_header" >&5
11171 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11195 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11172 if eval "test \"\${$as_ac_Header+set}\" = set"; then 11196 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11173 echo $ECHO_N "(cached) $ECHO_C" >&6 11197 echo $ECHO_N "(cached) $ECHO_C" >&6
11174 else 11198 else
11175 cat >conftest.$ac_ext <<_ACEOF 11199 cat >conftest.$ac_ext <<_ACEOF
11176 #line 11176 "configure" 11200 #line 11200 "configure"
11177 #include "confdefs.h" 11201 #include "confdefs.h"
11178 #include <$ac_header> 11202 #include <$ac_header>
11179 _ACEOF 11203 _ACEOF
11180 if { (eval echo "$as_me:11180: \"$ac_cpp conftest.$ac_ext\"") >&5 11204 if { (eval echo "$as_me:11204: \"$ac_cpp conftest.$ac_ext\"") >&5
11181 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11205 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11182 ac_status=$? 11206 ac_status=$?
11183 egrep -v '^ *\+' conftest.er1 >conftest.err 11207 egrep -v '^ *\+' conftest.er1 >conftest.err
11184 rm -f conftest.er1 11208 rm -f conftest.er1
11185 cat conftest.err >&5 11209 cat conftest.err >&5
11186 echo "$as_me:11186: \$? = $ac_status" >&5 11210 echo "$as_me:11210: \$? = $ac_status" >&5
11187 (exit $ac_status); } >/dev/null; then 11211 (exit $ac_status); } >/dev/null; then
11188 if test -s conftest.err; then 11212 if test -s conftest.err; then
11189 ac_cpp_err=$ac_c_preproc_warn_flag 11213 ac_cpp_err=$ac_c_preproc_warn_flag
11190 else 11214 else
11191 ac_cpp_err= 11215 ac_cpp_err=
11200 cat conftest.$ac_ext >&5 11224 cat conftest.$ac_ext >&5
11201 eval "$as_ac_Header=no" 11225 eval "$as_ac_Header=no"
11202 fi 11226 fi
11203 rm -f conftest.err conftest.$ac_ext 11227 rm -f conftest.err conftest.$ac_ext
11204 fi 11228 fi
11205 echo "$as_me:11205: result: `eval echo '${'$as_ac_Header'}'`" >&5 11229 echo "$as_me:11229: result: `eval echo '${'$as_ac_Header'}'`" >&5
11206 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11230 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11207 if test `eval echo '${'$as_ac_Header'}'` = yes; then 11231 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11208 cat >>confdefs.h <<EOF 11232 cat >>confdefs.h <<EOF
11209 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11233 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11210 EOF 11234 EOF
11215 fi 11239 fi
11216 11240
11217 # Solaris requires -lintl if you want strerror (which calls dgettext) 11241 # Solaris requires -lintl if you want strerror (which calls dgettext)
11218 # to return localized messages. 11242 # to return localized messages.
11219 11243
11220 echo "$as_me:11220: checking for dgettext in -lintl" >&5 11244 echo "$as_me:11244: checking for dgettext in -lintl" >&5
11221 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6 11245 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6
11222 if test "${ac_cv_lib_intl_dgettext+set}" = set; then 11246 if test "${ac_cv_lib_intl_dgettext+set}" = set; then
11223 echo $ECHO_N "(cached) $ECHO_C" >&6 11247 echo $ECHO_N "(cached) $ECHO_C" >&6
11224 else 11248 else
11225 ac_check_lib_save_LIBS=$LIBS 11249 ac_check_lib_save_LIBS=$LIBS
11226 LIBS="-lintl $LIBS" 11250 LIBS="-lintl $LIBS"
11227 cat >conftest.$ac_ext <<_ACEOF 11251 cat >conftest.$ac_ext <<_ACEOF
11228 #line 11228 "configure" 11252 #line 11252 "configure"
11229 #include "confdefs.h" 11253 #include "confdefs.h"
11230 11254
11231 /* Override any gcc2 internal prototype to avoid an error. */ 11255 /* Override any gcc2 internal prototype to avoid an error. */
11232 #ifdef __cplusplus 11256 #ifdef __cplusplus
11233 extern "C" 11257 extern "C"
11242 ; 11266 ;
11243 return 0; 11267 return 0;
11244 } 11268 }
11245 _ACEOF 11269 _ACEOF
11246 rm -f conftest.$ac_objext conftest$ac_exeext 11270 rm -f conftest.$ac_objext conftest$ac_exeext
11247 if { (eval echo "$as_me:11247: \"$ac_link\"") >&5 11271 if { (eval echo "$as_me:11271: \"$ac_link\"") >&5
11248 (eval $ac_link) 2>&5 11272 (eval $ac_link) 2>&5
11249 ac_status=$? 11273 ac_status=$?
11250 echo "$as_me:11250: \$? = $ac_status" >&5 11274 echo "$as_me:11274: \$? = $ac_status" >&5
11251 (exit $ac_status); } && 11275 (exit $ac_status); } &&
11252 { ac_try='test -s conftest$ac_exeext' 11276 { ac_try='test -s conftest$ac_exeext'
11253 { (eval echo "$as_me:11253: \"$ac_try\"") >&5 11277 { (eval echo "$as_me:11277: \"$ac_try\"") >&5
11254 (eval $ac_try) 2>&5 11278 (eval $ac_try) 2>&5
11255 ac_status=$? 11279 ac_status=$?
11256 echo "$as_me:11256: \$? = $ac_status" >&5 11280 echo "$as_me:11280: \$? = $ac_status" >&5
11257 (exit $ac_status); }; }; then 11281 (exit $ac_status); }; }; then
11258 ac_cv_lib_intl_dgettext=yes 11282 ac_cv_lib_intl_dgettext=yes
11259 else 11283 else
11260 echo "$as_me: failed program was:" >&5 11284 echo "$as_me: failed program was:" >&5
11261 cat conftest.$ac_ext >&5 11285 cat conftest.$ac_ext >&5
11262 ac_cv_lib_intl_dgettext=no 11286 ac_cv_lib_intl_dgettext=no
11263 fi 11287 fi
11264 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11288 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11265 LIBS=$ac_check_lib_save_LIBS 11289 LIBS=$ac_check_lib_save_LIBS
11266 fi 11290 fi
11267 echo "$as_me:11267: result: $ac_cv_lib_intl_dgettext" >&5 11291 echo "$as_me:11291: result: $ac_cv_lib_intl_dgettext" >&5
11268 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6 11292 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6
11269 if test $ac_cv_lib_intl_dgettext = yes; then 11293 if test $ac_cv_lib_intl_dgettext = yes; then
11270 cat >>confdefs.h <<EOF 11294 cat >>confdefs.h <<EOF
11271 #define HAVE_LIBINTL 1 11295 #define HAVE_LIBINTL 1
11272 EOF 11296 EOF
11273 11297
11274 LIBS="-lintl $LIBS" 11298 LIBS="-lintl $LIBS"
11275 11299
11276 fi 11300 fi
11277 11301
11278 echo "$as_me:11278: checking whether localtime caches TZ" >&5 11302 echo "$as_me:11302: checking whether localtime caches TZ" >&5
11279 echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6 11303 echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6
11280 if test "${emacs_cv_localtime_cache+set}" = set; then 11304 if test "${emacs_cv_localtime_cache+set}" = set; then
11281 echo $ECHO_N "(cached) $ECHO_C" >&6 11305 echo $ECHO_N "(cached) $ECHO_C" >&6
11282 else 11306 else
11283 if test x$ac_cv_func_tzset = xyes; then 11307 if test x$ac_cv_func_tzset = xyes; then
11284 if test "$cross_compiling" = yes; then 11308 if test "$cross_compiling" = yes; then
11285 # If we have tzset, assume the worst when cross-compiling. 11309 # If we have tzset, assume the worst when cross-compiling.
11286 emacs_cv_localtime_cache=yes 11310 emacs_cv_localtime_cache=yes
11287 else 11311 else
11288 cat >conftest.$ac_ext <<_ACEOF 11312 cat >conftest.$ac_ext <<_ACEOF
11289 #line 11289 "configure" 11313 #line 11313 "configure"
11290 #include "confdefs.h" 11314 #include "confdefs.h"
11291 #include <time.h> 11315 #include <time.h>
11292 extern char **environ; 11316 extern char **environ;
11293 unset_TZ () 11317 unset_TZ ()
11294 { 11318 {
11317 exit (1); 11341 exit (1);
11318 exit (0); 11342 exit (0);
11319 } 11343 }
11320 _ACEOF 11344 _ACEOF
11321 rm -f conftest$ac_exeext 11345 rm -f conftest$ac_exeext
11322 if { (eval echo "$as_me:11322: \"$ac_link\"") >&5 11346 if { (eval echo "$as_me:11346: \"$ac_link\"") >&5
11323 (eval $ac_link) 2>&5 11347 (eval $ac_link) 2>&5
11324 ac_status=$? 11348 ac_status=$?
11325 echo "$as_me:11325: \$? = $ac_status" >&5 11349 echo "$as_me:11349: \$? = $ac_status" >&5
11326 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 11350 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11327 { (eval echo "$as_me:11327: \"$ac_try\"") >&5 11351 { (eval echo "$as_me:11351: \"$ac_try\"") >&5
11328 (eval $ac_try) 2>&5 11352 (eval $ac_try) 2>&5
11329 ac_status=$? 11353 ac_status=$?
11330 echo "$as_me:11330: \$? = $ac_status" >&5 11354 echo "$as_me:11354: \$? = $ac_status" >&5
11331 (exit $ac_status); }; }; then 11355 (exit $ac_status); }; }; then
11332 emacs_cv_localtime_cache=no 11356 emacs_cv_localtime_cache=no
11333 else 11357 else
11334 echo "$as_me: program exited with status $ac_status" >&5 11358 echo "$as_me: program exited with status $ac_status" >&5
11335 echo "$as_me: failed program was:" >&5 11359 echo "$as_me: failed program was:" >&5
11342 # If we lack tzset, report that localtime does not cache TZ, 11366 # If we lack tzset, report that localtime does not cache TZ,
11343 # since we can't invalidate the cache if we don't have tzset. 11367 # since we can't invalidate the cache if we don't have tzset.
11344 emacs_cv_localtime_cache=no 11368 emacs_cv_localtime_cache=no
11345 fi 11369 fi
11346 fi 11370 fi
11347 echo "$as_me:11347: result: $emacs_cv_localtime_cache" >&5 11371 echo "$as_me:11371: result: $emacs_cv_localtime_cache" >&5
11348 echo "${ECHO_T}$emacs_cv_localtime_cache" >&6 11372 echo "${ECHO_T}$emacs_cv_localtime_cache" >&6
11349 if test $emacs_cv_localtime_cache = yes; then 11373 if test $emacs_cv_localtime_cache = yes; then
11350 cat >>confdefs.h <<\EOF 11374 cat >>confdefs.h <<\EOF
11351 #define LOCALTIME_CACHE 1 11375 #define LOCALTIME_CACHE 1
11352 EOF 11376 EOF
11356 if test "x$HAVE_TIMEVAL" = xyes; then 11380 if test "x$HAVE_TIMEVAL" = xyes; then
11357 11381
11358 for ac_func in gettimeofday 11382 for ac_func in gettimeofday
11359 do 11383 do
11360 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 11384 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11361 echo "$as_me:11361: checking for $ac_func" >&5 11385 echo "$as_me:11385: checking for $ac_func" >&5
11362 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 11386 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11363 if eval "test \"\${$as_ac_var+set}\" = set"; then 11387 if eval "test \"\${$as_ac_var+set}\" = set"; then
11364 echo $ECHO_N "(cached) $ECHO_C" >&6 11388 echo $ECHO_N "(cached) $ECHO_C" >&6
11365 else 11389 else
11366 cat >conftest.$ac_ext <<_ACEOF 11390 cat >conftest.$ac_ext <<_ACEOF
11367 #line 11367 "configure" 11391 #line 11391 "configure"
11368 #include "confdefs.h" 11392 #include "confdefs.h"
11369 /* System header to define __stub macros and hopefully few prototypes, 11393 /* System header to define __stub macros and hopefully few prototypes,
11370 which can conflict with char $ac_func (); below. */ 11394 which can conflict with char $ac_func (); below. */
11371 #include <assert.h> 11395 #include <assert.h>
11372 /* Override any gcc2 internal prototype to avoid an error. */ 11396 /* Override any gcc2 internal prototype to avoid an error. */
11393 ; 11417 ;
11394 return 0; 11418 return 0;
11395 } 11419 }
11396 _ACEOF 11420 _ACEOF
11397 rm -f conftest.$ac_objext conftest$ac_exeext 11421 rm -f conftest.$ac_objext conftest$ac_exeext
11398 if { (eval echo "$as_me:11398: \"$ac_link\"") >&5 11422 if { (eval echo "$as_me:11422: \"$ac_link\"") >&5
11399 (eval $ac_link) 2>&5 11423 (eval $ac_link) 2>&5
11400 ac_status=$? 11424 ac_status=$?
11401 echo "$as_me:11401: \$? = $ac_status" >&5 11425 echo "$as_me:11425: \$? = $ac_status" >&5
11402 (exit $ac_status); } && 11426 (exit $ac_status); } &&
11403 { ac_try='test -s conftest$ac_exeext' 11427 { ac_try='test -s conftest$ac_exeext'
11404 { (eval echo "$as_me:11404: \"$ac_try\"") >&5 11428 { (eval echo "$as_me:11428: \"$ac_try\"") >&5
11405 (eval $ac_try) 2>&5 11429 (eval $ac_try) 2>&5
11406 ac_status=$? 11430 ac_status=$?
11407 echo "$as_me:11407: \$? = $ac_status" >&5 11431 echo "$as_me:11431: \$? = $ac_status" >&5
11408 (exit $ac_status); }; }; then 11432 (exit $ac_status); }; }; then
11409 eval "$as_ac_var=yes" 11433 eval "$as_ac_var=yes"
11410 else 11434 else
11411 echo "$as_me: failed program was:" >&5 11435 echo "$as_me: failed program was:" >&5
11412 cat conftest.$ac_ext >&5 11436 cat conftest.$ac_ext >&5
11413 eval "$as_ac_var=no" 11437 eval "$as_ac_var=no"
11414 fi 11438 fi
11415 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11439 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11416 fi 11440 fi
11417 echo "$as_me:11417: result: `eval echo '${'$as_ac_var'}'`" >&5 11441 echo "$as_me:11441: result: `eval echo '${'$as_ac_var'}'`" >&5
11418 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 11442 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11419 if test `eval echo '${'$as_ac_var'}'` = yes; then 11443 if test `eval echo '${'$as_ac_var'}'` = yes; then
11420 cat >>confdefs.h <<EOF 11444 cat >>confdefs.h <<EOF
11421 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 11445 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11422 EOF 11446 EOF
11423 11447
11424 fi 11448 fi
11425 done 11449 done
11426 11450
11427 echo "$as_me:11427: checking whether gettimeofday can accept two arguments" >&5 11451 echo "$as_me:11451: checking whether gettimeofday can accept two arguments" >&5
11428 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6 11452 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6
11429 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then 11453 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
11430 echo $ECHO_N "(cached) $ECHO_C" >&6 11454 echo $ECHO_N "(cached) $ECHO_C" >&6
11431 else 11455 else
11432 cat >conftest.$ac_ext <<_ACEOF 11456 cat >conftest.$ac_ext <<_ACEOF
11433 #line 11433 "configure" 11457 #line 11457 "configure"
11434 #include "confdefs.h" 11458 #include "confdefs.h"
11435 11459
11436 #ifdef TIME_WITH_SYS_TIME 11460 #ifdef TIME_WITH_SYS_TIME
11437 #include <sys/time.h> 11461 #include <sys/time.h>
11438 #include <time.h> 11462 #include <time.h>
11451 ; 11475 ;
11452 return 0; 11476 return 0;
11453 } 11477 }
11454 _ACEOF 11478 _ACEOF
11455 rm -f conftest.$ac_objext 11479 rm -f conftest.$ac_objext
11456 if { (eval echo "$as_me:11456: \"$ac_compile\"") >&5 11480 if { (eval echo "$as_me:11480: \"$ac_compile\"") >&5
11457 (eval $ac_compile) 2>&5 11481 (eval $ac_compile) 2>&5
11458 ac_status=$? 11482 ac_status=$?
11459 echo "$as_me:11459: \$? = $ac_status" >&5 11483 echo "$as_me:11483: \$? = $ac_status" >&5
11460 (exit $ac_status); } && 11484 (exit $ac_status); } &&
11461 { ac_try='test -s conftest.$ac_objext' 11485 { ac_try='test -s conftest.$ac_objext'
11462 { (eval echo "$as_me:11462: \"$ac_try\"") >&5 11486 { (eval echo "$as_me:11486: \"$ac_try\"") >&5
11463 (eval $ac_try) 2>&5 11487 (eval $ac_try) 2>&5
11464 ac_status=$? 11488 ac_status=$?
11465 echo "$as_me:11465: \$? = $ac_status" >&5 11489 echo "$as_me:11489: \$? = $ac_status" >&5
11466 (exit $ac_status); }; }; then 11490 (exit $ac_status); }; }; then
11467 emacs_cv_gettimeofday_two_arguments=yes 11491 emacs_cv_gettimeofday_two_arguments=yes
11468 else 11492 else
11469 echo "$as_me: failed program was:" >&5 11493 echo "$as_me: failed program was:" >&5
11470 cat conftest.$ac_ext >&5 11494 cat conftest.$ac_ext >&5
11471 emacs_cv_gettimeofday_two_arguments=no 11495 emacs_cv_gettimeofday_two_arguments=no
11472 fi 11496 fi
11473 rm -f conftest.$ac_objext conftest.$ac_ext 11497 rm -f conftest.$ac_objext conftest.$ac_ext
11474 fi 11498 fi
11475 echo "$as_me:11475: result: $emacs_cv_gettimeofday_two_arguments" >&5 11499 echo "$as_me:11499: result: $emacs_cv_gettimeofday_two_arguments" >&5
11476 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6 11500 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
11477 if test $emacs_cv_gettimeofday_two_arguments = no; then 11501 if test $emacs_cv_gettimeofday_two_arguments = no; then
11478 cat >>confdefs.h <<\EOF 11502 cat >>confdefs.h <<\EOF
11479 #define GETTIMEOFDAY_ONE_ARGUMENT 1 11503 #define GETTIMEOFDAY_ONE_ARGUMENT 1
11480 EOF 11504 EOF
11481 11505
11482 fi 11506 fi
11483 fi 11507 fi
11484 11508
11485 if test "$ac_cv_func_gettimeofday" = yes; then 11509 if test "$ac_cv_func_gettimeofday" = yes; then
11486 echo "$as_me:11486: checking for struct timezone" >&5 11510 echo "$as_me:11510: checking for struct timezone" >&5
11487 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6 11511 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
11488 if test "${emacs_cv_struct_timezone+set}" = set; then 11512 if test "${emacs_cv_struct_timezone+set}" = set; then
11489 echo $ECHO_N "(cached) $ECHO_C" >&6 11513 echo $ECHO_N "(cached) $ECHO_C" >&6
11490 else 11514 else
11491 cat >conftest.$ac_ext <<_ACEOF 11515 cat >conftest.$ac_ext <<_ACEOF
11492 #line 11492 "configure" 11516 #line 11516 "configure"
11493 #include "confdefs.h" 11517 #include "confdefs.h"
11494 #include <sys/time.h> 11518 #include <sys/time.h>
11495 int 11519 int
11496 main () 11520 main ()
11497 { 11521 {
11499 ; 11523 ;
11500 return 0; 11524 return 0;
11501 } 11525 }
11502 _ACEOF 11526 _ACEOF
11503 rm -f conftest.$ac_objext 11527 rm -f conftest.$ac_objext
11504 if { (eval echo "$as_me:11504: \"$ac_compile\"") >&5 11528 if { (eval echo "$as_me:11528: \"$ac_compile\"") >&5
11505 (eval $ac_compile) 2>&5 11529 (eval $ac_compile) 2>&5
11506 ac_status=$? 11530 ac_status=$?
11507 echo "$as_me:11507: \$? = $ac_status" >&5 11531 echo "$as_me:11531: \$? = $ac_status" >&5
11508 (exit $ac_status); } && 11532 (exit $ac_status); } &&
11509 { ac_try='test -s conftest.$ac_objext' 11533 { ac_try='test -s conftest.$ac_objext'
11510 { (eval echo "$as_me:11510: \"$ac_try\"") >&5 11534 { (eval echo "$as_me:11534: \"$ac_try\"") >&5
11511 (eval $ac_try) 2>&5 11535 (eval $ac_try) 2>&5
11512 ac_status=$? 11536 ac_status=$?
11513 echo "$as_me:11513: \$? = $ac_status" >&5 11537 echo "$as_me:11537: \$? = $ac_status" >&5
11514 (exit $ac_status); }; }; then 11538 (exit $ac_status); }; }; then
11515 if test "$cross_compiling" = yes; then 11539 if test "$cross_compiling" = yes; then
11516 emacs_cv_struct_timezone=yes 11540 emacs_cv_struct_timezone=yes
11517 else 11541 else
11518 cat >conftest.$ac_ext <<_ACEOF 11542 cat >conftest.$ac_ext <<_ACEOF
11519 #line 11519 "configure" 11543 #line 11543 "configure"
11520 #include "confdefs.h" 11544 #include "confdefs.h"
11521 11545
11522 #ifdef TIME_WITH_SYS_TIME 11546 #ifdef TIME_WITH_SYS_TIME
11523 #include <sys/time.h> 11547 #include <sys/time.h>
11524 #include <time.h> 11548 #include <time.h>
11534 struct timezone dummy; 11558 struct timezone dummy;
11535 exit (gettimeofday (&time, &dummy)); 11559 exit (gettimeofday (&time, &dummy));
11536 } 11560 }
11537 _ACEOF 11561 _ACEOF
11538 rm -f conftest$ac_exeext 11562 rm -f conftest$ac_exeext
11539 if { (eval echo "$as_me:11539: \"$ac_link\"") >&5 11563 if { (eval echo "$as_me:11563: \"$ac_link\"") >&5
11540 (eval $ac_link) 2>&5 11564 (eval $ac_link) 2>&5
11541 ac_status=$? 11565 ac_status=$?
11542 echo "$as_me:11542: \$? = $ac_status" >&5 11566 echo "$as_me:11566: \$? = $ac_status" >&5
11543 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 11567 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11544 { (eval echo "$as_me:11544: \"$ac_try\"") >&5 11568 { (eval echo "$as_me:11568: \"$ac_try\"") >&5
11545 (eval $ac_try) 2>&5 11569 (eval $ac_try) 2>&5
11546 ac_status=$? 11570 ac_status=$?
11547 echo "$as_me:11547: \$? = $ac_status" >&5 11571 echo "$as_me:11571: \$? = $ac_status" >&5
11548 (exit $ac_status); }; }; then 11572 (exit $ac_status); }; }; then
11549 emacs_cv_struct_timezone=yes 11573 emacs_cv_struct_timezone=yes
11550 else 11574 else
11551 echo "$as_me: program exited with status $ac_status" >&5 11575 echo "$as_me: program exited with status $ac_status" >&5
11552 echo "$as_me: failed program was:" >&5 11576 echo "$as_me: failed program was:" >&5
11560 cat conftest.$ac_ext >&5 11584 cat conftest.$ac_ext >&5
11561 emacs_cv_struct_timezone=no 11585 emacs_cv_struct_timezone=no
11562 fi 11586 fi
11563 rm -f conftest.$ac_objext conftest.$ac_ext 11587 rm -f conftest.$ac_objext conftest.$ac_ext
11564 fi 11588 fi
11565 echo "$as_me:11565: result: $emacs_cv_struct_timezone" >&5 11589 echo "$as_me:11589: result: $emacs_cv_struct_timezone" >&5
11566 echo "${ECHO_T}$emacs_cv_struct_timezone" >&6 11590 echo "${ECHO_T}$emacs_cv_struct_timezone" >&6
11567 fi 11591 fi
11568 11592
11569 ok_so_far=yes 11593 ok_so_far=yes
11570 echo "$as_me:11570: checking for socket" >&5 11594 echo "$as_me:11594: checking for socket" >&5
11571 echo $ECHO_N "checking for socket... $ECHO_C" >&6 11595 echo $ECHO_N "checking for socket... $ECHO_C" >&6
11572 if test "${ac_cv_func_socket+set}" = set; then 11596 if test "${ac_cv_func_socket+set}" = set; then
11573 echo $ECHO_N "(cached) $ECHO_C" >&6 11597 echo $ECHO_N "(cached) $ECHO_C" >&6
11574 else 11598 else
11575 cat >conftest.$ac_ext <<_ACEOF 11599 cat >conftest.$ac_ext <<_ACEOF
11576 #line 11576 "configure" 11600 #line 11600 "configure"
11577 #include "confdefs.h" 11601 #include "confdefs.h"
11578 /* System header to define __stub macros and hopefully few prototypes, 11602 /* System header to define __stub macros and hopefully few prototypes,
11579 which can conflict with char socket (); below. */ 11603 which can conflict with char socket (); below. */
11580 #include <assert.h> 11604 #include <assert.h>
11581 /* Override any gcc2 internal prototype to avoid an error. */ 11605 /* Override any gcc2 internal prototype to avoid an error. */
11602 ; 11626 ;
11603 return 0; 11627 return 0;
11604 } 11628 }
11605 _ACEOF 11629 _ACEOF
11606 rm -f conftest.$ac_objext conftest$ac_exeext 11630 rm -f conftest.$ac_objext conftest$ac_exeext
11607 if { (eval echo "$as_me:11607: \"$ac_link\"") >&5 11631 if { (eval echo "$as_me:11631: \"$ac_link\"") >&5
11608 (eval $ac_link) 2>&5 11632 (eval $ac_link) 2>&5
11609 ac_status=$? 11633 ac_status=$?
11610 echo "$as_me:11610: \$? = $ac_status" >&5 11634 echo "$as_me:11634: \$? = $ac_status" >&5
11611 (exit $ac_status); } && 11635 (exit $ac_status); } &&
11612 { ac_try='test -s conftest$ac_exeext' 11636 { ac_try='test -s conftest$ac_exeext'
11613 { (eval echo "$as_me:11613: \"$ac_try\"") >&5 11637 { (eval echo "$as_me:11637: \"$ac_try\"") >&5
11614 (eval $ac_try) 2>&5 11638 (eval $ac_try) 2>&5
11615 ac_status=$? 11639 ac_status=$?
11616 echo "$as_me:11616: \$? = $ac_status" >&5 11640 echo "$as_me:11640: \$? = $ac_status" >&5
11617 (exit $ac_status); }; }; then 11641 (exit $ac_status); }; }; then
11618 ac_cv_func_socket=yes 11642 ac_cv_func_socket=yes
11619 else 11643 else
11620 echo "$as_me: failed program was:" >&5 11644 echo "$as_me: failed program was:" >&5
11621 cat conftest.$ac_ext >&5 11645 cat conftest.$ac_ext >&5
11622 ac_cv_func_socket=no 11646 ac_cv_func_socket=no
11623 fi 11647 fi
11624 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11648 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11625 fi 11649 fi
11626 echo "$as_me:11626: result: $ac_cv_func_socket" >&5 11650 echo "$as_me:11650: result: $ac_cv_func_socket" >&5
11627 echo "${ECHO_T}$ac_cv_func_socket" >&6 11651 echo "${ECHO_T}$ac_cv_func_socket" >&6
11628 if test $ac_cv_func_socket = yes; then 11652 if test $ac_cv_func_socket = yes; then
11629 : 11653 :
11630 else 11654 else
11631 ok_so_far=no 11655 ok_so_far=no
11632 fi 11656 fi
11633 11657
11634 if test $ok_so_far = yes; then 11658 if test $ok_so_far = yes; then
11635 echo "$as_me:11635: checking for netinet/in.h" >&5 11659 echo "$as_me:11659: checking for netinet/in.h" >&5
11636 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6 11660 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6
11637 if test "${ac_cv_header_netinet_in_h+set}" = set; then 11661 if test "${ac_cv_header_netinet_in_h+set}" = set; then
11638 echo $ECHO_N "(cached) $ECHO_C" >&6 11662 echo $ECHO_N "(cached) $ECHO_C" >&6
11639 else 11663 else
11640 cat >conftest.$ac_ext <<_ACEOF 11664 cat >conftest.$ac_ext <<_ACEOF
11641 #line 11641 "configure" 11665 #line 11665 "configure"
11642 #include "confdefs.h" 11666 #include "confdefs.h"
11643 #include <netinet/in.h> 11667 #include <netinet/in.h>
11644 _ACEOF 11668 _ACEOF
11645 if { (eval echo "$as_me:11645: \"$ac_cpp conftest.$ac_ext\"") >&5 11669 if { (eval echo "$as_me:11669: \"$ac_cpp conftest.$ac_ext\"") >&5
11646 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11670 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11647 ac_status=$? 11671 ac_status=$?
11648 egrep -v '^ *\+' conftest.er1 >conftest.err 11672 egrep -v '^ *\+' conftest.er1 >conftest.err
11649 rm -f conftest.er1 11673 rm -f conftest.er1
11650 cat conftest.err >&5 11674 cat conftest.err >&5
11651 echo "$as_me:11651: \$? = $ac_status" >&5 11675 echo "$as_me:11675: \$? = $ac_status" >&5
11652 (exit $ac_status); } >/dev/null; then 11676 (exit $ac_status); } >/dev/null; then
11653 if test -s conftest.err; then 11677 if test -s conftest.err; then
11654 ac_cpp_err=$ac_c_preproc_warn_flag 11678 ac_cpp_err=$ac_c_preproc_warn_flag
11655 else 11679 else
11656 ac_cpp_err= 11680 ac_cpp_err=
11665 cat conftest.$ac_ext >&5 11689 cat conftest.$ac_ext >&5
11666 ac_cv_header_netinet_in_h=no 11690 ac_cv_header_netinet_in_h=no
11667 fi 11691 fi
11668 rm -f conftest.err conftest.$ac_ext 11692 rm -f conftest.err conftest.$ac_ext
11669 fi 11693 fi
11670 echo "$as_me:11670: result: $ac_cv_header_netinet_in_h" >&5 11694 echo "$as_me:11694: result: $ac_cv_header_netinet_in_h" >&5
11671 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6 11695 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6
11672 if test $ac_cv_header_netinet_in_h = yes; then 11696 if test $ac_cv_header_netinet_in_h = yes; then
11673 : 11697 :
11674 else 11698 else
11675 ok_so_far=no 11699 ok_so_far=no
11676 fi 11700 fi
11677 11701
11678 fi 11702 fi
11679 if test $ok_so_far = yes; then 11703 if test $ok_so_far = yes; then
11680 echo "$as_me:11680: checking for arpa/inet.h" >&5 11704 echo "$as_me:11704: checking for arpa/inet.h" >&5
11681 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6 11705 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6
11682 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 11706 if test "${ac_cv_header_arpa_inet_h+set}" = set; then
11683 echo $ECHO_N "(cached) $ECHO_C" >&6 11707 echo $ECHO_N "(cached) $ECHO_C" >&6
11684 else 11708 else
11685 cat >conftest.$ac_ext <<_ACEOF 11709 cat >conftest.$ac_ext <<_ACEOF
11686 #line 11686 "configure" 11710 #line 11710 "configure"
11687 #include "confdefs.h" 11711 #include "confdefs.h"
11688 #include <arpa/inet.h> 11712 #include <arpa/inet.h>
11689 _ACEOF 11713 _ACEOF
11690 if { (eval echo "$as_me:11690: \"$ac_cpp conftest.$ac_ext\"") >&5 11714 if { (eval echo "$as_me:11714: \"$ac_cpp conftest.$ac_ext\"") >&5
11691 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11715 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11692 ac_status=$? 11716 ac_status=$?
11693 egrep -v '^ *\+' conftest.er1 >conftest.err 11717 egrep -v '^ *\+' conftest.er1 >conftest.err
11694 rm -f conftest.er1 11718 rm -f conftest.er1
11695 cat conftest.err >&5 11719 cat conftest.err >&5
11696 echo "$as_me:11696: \$? = $ac_status" >&5 11720 echo "$as_me:11720: \$? = $ac_status" >&5
11697 (exit $ac_status); } >/dev/null; then 11721 (exit $ac_status); } >/dev/null; then
11698 if test -s conftest.err; then 11722 if test -s conftest.err; then
11699 ac_cpp_err=$ac_c_preproc_warn_flag 11723 ac_cpp_err=$ac_c_preproc_warn_flag
11700 else 11724 else
11701 ac_cpp_err= 11725 ac_cpp_err=
11710 cat conftest.$ac_ext >&5 11734 cat conftest.$ac_ext >&5
11711 ac_cv_header_arpa_inet_h=no 11735 ac_cv_header_arpa_inet_h=no
11712 fi 11736 fi
11713 rm -f conftest.err conftest.$ac_ext 11737 rm -f conftest.err conftest.$ac_ext
11714 fi 11738 fi
11715 echo "$as_me:11715: result: $ac_cv_header_arpa_inet_h" >&5 11739 echo "$as_me:11739: result: $ac_cv_header_arpa_inet_h" >&5
11716 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6 11740 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6
11717 if test $ac_cv_header_arpa_inet_h = yes; then 11741 if test $ac_cv_header_arpa_inet_h = yes; then
11718 : 11742 :
11719 else 11743 else
11720 ok_so_far=no 11744 ok_so_far=no
11733 #define HAVE_AIX_SMT_EXP 1 11757 #define HAVE_AIX_SMT_EXP 1
11734 EOF 11758 EOF
11735 11759
11736 fi 11760 fi
11737 11761
11738 echo "$as_me:11738: checking whether system supports dynamic ptys" >&5 11762 echo "$as_me:11762: checking whether system supports dynamic ptys" >&5
11739 echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6 11763 echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6
11740 if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then 11764 if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then
11741 echo "$as_me:11741: result: yes" >&5 11765 echo "$as_me:11765: result: yes" >&5
11742 echo "${ECHO_T}yes" >&6 11766 echo "${ECHO_T}yes" >&6
11743 cat >>confdefs.h <<\EOF 11767 cat >>confdefs.h <<\EOF
11744 #define HAVE_DEV_PTMX 1 11768 #define HAVE_DEV_PTMX 1
11745 EOF 11769 EOF
11746 11770
11747 else 11771 else
11748 echo "$as_me:11748: result: no" >&5 11772 echo "$as_me:11772: result: no" >&5
11749 echo "${ECHO_T}no" >&6 11773 echo "${ECHO_T}no" >&6
11750 fi 11774 fi
11751 11775
11752 echo "$as_me:11752: checking for pid_t" >&5 11776 echo "$as_me:11776: checking for pid_t" >&5
11753 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 11777 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
11754 if test "${ac_cv_type_pid_t+set}" = set; then 11778 if test "${ac_cv_type_pid_t+set}" = set; then
11755 echo $ECHO_N "(cached) $ECHO_C" >&6 11779 echo $ECHO_N "(cached) $ECHO_C" >&6
11756 else 11780 else
11757 cat >conftest.$ac_ext <<_ACEOF 11781 cat >conftest.$ac_ext <<_ACEOF
11758 #line 11758 "configure" 11782 #line 11782 "configure"
11759 #include "confdefs.h" 11783 #include "confdefs.h"
11760 $ac_includes_default 11784 $ac_includes_default
11761 int 11785 int
11762 main () 11786 main ()
11763 { 11787 {
11768 ; 11792 ;
11769 return 0; 11793 return 0;
11770 } 11794 }
11771 _ACEOF 11795 _ACEOF
11772 rm -f conftest.$ac_objext 11796 rm -f conftest.$ac_objext
11773 if { (eval echo "$as_me:11773: \"$ac_compile\"") >&5 11797 if { (eval echo "$as_me:11797: \"$ac_compile\"") >&5
11774 (eval $ac_compile) 2>&5 11798 (eval $ac_compile) 2>&5
11775 ac_status=$? 11799 ac_status=$?
11776 echo "$as_me:11776: \$? = $ac_status" >&5 11800 echo "$as_me:11800: \$? = $ac_status" >&5
11777 (exit $ac_status); } && 11801 (exit $ac_status); } &&
11778 { ac_try='test -s conftest.$ac_objext' 11802 { ac_try='test -s conftest.$ac_objext'
11779 { (eval echo "$as_me:11779: \"$ac_try\"") >&5 11803 { (eval echo "$as_me:11803: \"$ac_try\"") >&5
11780 (eval $ac_try) 2>&5 11804 (eval $ac_try) 2>&5
11781 ac_status=$? 11805 ac_status=$?
11782 echo "$as_me:11782: \$? = $ac_status" >&5 11806 echo "$as_me:11806: \$? = $ac_status" >&5
11783 (exit $ac_status); }; }; then 11807 (exit $ac_status); }; }; then
11784 ac_cv_type_pid_t=yes 11808 ac_cv_type_pid_t=yes
11785 else 11809 else
11786 echo "$as_me: failed program was:" >&5 11810 echo "$as_me: failed program was:" >&5
11787 cat conftest.$ac_ext >&5 11811 cat conftest.$ac_ext >&5
11788 ac_cv_type_pid_t=no 11812 ac_cv_type_pid_t=no
11789 fi 11813 fi
11790 rm -f conftest.$ac_objext conftest.$ac_ext 11814 rm -f conftest.$ac_objext conftest.$ac_ext
11791 fi 11815 fi
11792 echo "$as_me:11792: result: $ac_cv_type_pid_t" >&5 11816 echo "$as_me:11816: result: $ac_cv_type_pid_t" >&5
11793 echo "${ECHO_T}$ac_cv_type_pid_t" >&6 11817 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
11794 if test $ac_cv_type_pid_t = yes; then 11818 if test $ac_cv_type_pid_t = yes; then
11795 : 11819 :
11796 else 11820 else
11797 11821
11802 fi 11826 fi
11803 11827
11804 for ac_header in unistd.h vfork.h 11828 for ac_header in unistd.h vfork.h
11805 do 11829 do
11806 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11830 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11807 echo "$as_me:11807: checking for $ac_header" >&5 11831 echo "$as_me:11831: checking for $ac_header" >&5
11808 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11832 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11809 if eval "test \"\${$as_ac_Header+set}\" = set"; then 11833 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11810 echo $ECHO_N "(cached) $ECHO_C" >&6 11834 echo $ECHO_N "(cached) $ECHO_C" >&6
11811 else 11835 else
11812 cat >conftest.$ac_ext <<_ACEOF 11836 cat >conftest.$ac_ext <<_ACEOF
11813 #line 11813 "configure" 11837 #line 11837 "configure"
11814 #include "confdefs.h" 11838 #include "confdefs.h"
11815 #include <$ac_header> 11839 #include <$ac_header>
11816 _ACEOF 11840 _ACEOF
11817 if { (eval echo "$as_me:11817: \"$ac_cpp conftest.$ac_ext\"") >&5 11841 if { (eval echo "$as_me:11841: \"$ac_cpp conftest.$ac_ext\"") >&5
11818 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11842 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11819 ac_status=$? 11843 ac_status=$?
11820 egrep -v '^ *\+' conftest.er1 >conftest.err 11844 egrep -v '^ *\+' conftest.er1 >conftest.err
11821 rm -f conftest.er1 11845 rm -f conftest.er1
11822 cat conftest.err >&5 11846 cat conftest.err >&5
11823 echo "$as_me:11823: \$? = $ac_status" >&5 11847 echo "$as_me:11847: \$? = $ac_status" >&5
11824 (exit $ac_status); } >/dev/null; then 11848 (exit $ac_status); } >/dev/null; then
11825 if test -s conftest.err; then 11849 if test -s conftest.err; then
11826 ac_cpp_err=$ac_c_preproc_warn_flag 11850 ac_cpp_err=$ac_c_preproc_warn_flag
11827 else 11851 else
11828 ac_cpp_err= 11852 ac_cpp_err=
11837 cat conftest.$ac_ext >&5 11861 cat conftest.$ac_ext >&5
11838 eval "$as_ac_Header=no" 11862 eval "$as_ac_Header=no"
11839 fi 11863 fi
11840 rm -f conftest.err conftest.$ac_ext 11864 rm -f conftest.err conftest.$ac_ext
11841 fi 11865 fi
11842 echo "$as_me:11842: result: `eval echo '${'$as_ac_Header'}'`" >&5 11866 echo "$as_me:11866: result: `eval echo '${'$as_ac_Header'}'`" >&5
11843 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11867 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11844 if test `eval echo '${'$as_ac_Header'}'` = yes; then 11868 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11845 cat >>confdefs.h <<EOF 11869 cat >>confdefs.h <<EOF
11846 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11870 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11847 EOF 11871 EOF
11850 done 11874 done
11851 11875
11852 for ac_func in fork vfork 11876 for ac_func in fork vfork
11853 do 11877 do
11854 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 11878 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11855 echo "$as_me:11855: checking for $ac_func" >&5 11879 echo "$as_me:11879: checking for $ac_func" >&5
11856 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 11880 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11857 if eval "test \"\${$as_ac_var+set}\" = set"; then 11881 if eval "test \"\${$as_ac_var+set}\" = set"; then
11858 echo $ECHO_N "(cached) $ECHO_C" >&6 11882 echo $ECHO_N "(cached) $ECHO_C" >&6
11859 else 11883 else
11860 cat >conftest.$ac_ext <<_ACEOF 11884 cat >conftest.$ac_ext <<_ACEOF
11861 #line 11861 "configure" 11885 #line 11885 "configure"
11862 #include "confdefs.h" 11886 #include "confdefs.h"
11863 /* System header to define __stub macros and hopefully few prototypes, 11887 /* System header to define __stub macros and hopefully few prototypes,
11864 which can conflict with char $ac_func (); below. */ 11888 which can conflict with char $ac_func (); below. */
11865 #include <assert.h> 11889 #include <assert.h>
11866 /* Override any gcc2 internal prototype to avoid an error. */ 11890 /* Override any gcc2 internal prototype to avoid an error. */
11887 ; 11911 ;
11888 return 0; 11912 return 0;
11889 } 11913 }
11890 _ACEOF 11914 _ACEOF
11891 rm -f conftest.$ac_objext conftest$ac_exeext 11915 rm -f conftest.$ac_objext conftest$ac_exeext
11892 if { (eval echo "$as_me:11892: \"$ac_link\"") >&5 11916 if { (eval echo "$as_me:11916: \"$ac_link\"") >&5
11893 (eval $ac_link) 2>&5 11917 (eval $ac_link) 2>&5
11894 ac_status=$? 11918 ac_status=$?
11895 echo "$as_me:11895: \$? = $ac_status" >&5 11919 echo "$as_me:11919: \$? = $ac_status" >&5
11896 (exit $ac_status); } && 11920 (exit $ac_status); } &&
11897 { ac_try='test -s conftest$ac_exeext' 11921 { ac_try='test -s conftest$ac_exeext'
11898 { (eval echo "$as_me:11898: \"$ac_try\"") >&5 11922 { (eval echo "$as_me:11922: \"$ac_try\"") >&5
11899 (eval $ac_try) 2>&5 11923 (eval $ac_try) 2>&5
11900 ac_status=$? 11924 ac_status=$?
11901 echo "$as_me:11901: \$? = $ac_status" >&5 11925 echo "$as_me:11925: \$? = $ac_status" >&5
11902 (exit $ac_status); }; }; then 11926 (exit $ac_status); }; }; then
11903 eval "$as_ac_var=yes" 11927 eval "$as_ac_var=yes"
11904 else 11928 else
11905 echo "$as_me: failed program was:" >&5 11929 echo "$as_me: failed program was:" >&5
11906 cat conftest.$ac_ext >&5 11930 cat conftest.$ac_ext >&5
11907 eval "$as_ac_var=no" 11931 eval "$as_ac_var=no"
11908 fi 11932 fi
11909 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11933 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11910 fi 11934 fi
11911 echo "$as_me:11911: result: `eval echo '${'$as_ac_var'}'`" >&5 11935 echo "$as_me:11935: result: `eval echo '${'$as_ac_var'}'`" >&5
11912 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 11936 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11913 if test `eval echo '${'$as_ac_var'}'` = yes; then 11937 if test `eval echo '${'$as_ac_var'}'` = yes; then
11914 cat >>confdefs.h <<EOF 11938 cat >>confdefs.h <<EOF
11915 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 11939 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11916 EOF 11940 EOF
11918 fi 11942 fi
11919 done 11943 done
11920 11944
11921 ac_cv_func_fork_works=$ac_cv_func_fork 11945 ac_cv_func_fork_works=$ac_cv_func_fork
11922 if test "x$ac_cv_func_fork" = xyes; then 11946 if test "x$ac_cv_func_fork" = xyes; then
11923 echo "$as_me:11923: checking for working fork" >&5 11947 echo "$as_me:11947: checking for working fork" >&5
11924 echo $ECHO_N "checking for working fork... $ECHO_C" >&6 11948 echo $ECHO_N "checking for working fork... $ECHO_C" >&6
11925 if test "${ac_cv_func_fork_works+set}" = set; then 11949 if test "${ac_cv_func_fork_works+set}" = set; then
11926 echo $ECHO_N "(cached) $ECHO_C" >&6 11950 echo $ECHO_N "(cached) $ECHO_C" >&6
11927 else 11951 else
11928 if test "$cross_compiling" = yes; then 11952 if test "$cross_compiling" = yes; then
11941 exit (1); 11965 exit (1);
11942 exit (0); 11966 exit (0);
11943 } 11967 }
11944 _ACEOF 11968 _ACEOF
11945 rm -f conftest$ac_exeext 11969 rm -f conftest$ac_exeext
11946 if { (eval echo "$as_me:11946: \"$ac_link\"") >&5 11970 if { (eval echo "$as_me:11970: \"$ac_link\"") >&5
11947 (eval $ac_link) 2>&5 11971 (eval $ac_link) 2>&5
11948 ac_status=$? 11972 ac_status=$?
11949 echo "$as_me:11949: \$? = $ac_status" >&5 11973 echo "$as_me:11973: \$? = $ac_status" >&5
11950 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 11974 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11951 { (eval echo "$as_me:11951: \"$ac_try\"") >&5 11975 { (eval echo "$as_me:11975: \"$ac_try\"") >&5
11952 (eval $ac_try) 2>&5 11976 (eval $ac_try) 2>&5
11953 ac_status=$? 11977 ac_status=$?
11954 echo "$as_me:11954: \$? = $ac_status" >&5 11978 echo "$as_me:11978: \$? = $ac_status" >&5
11955 (exit $ac_status); }; }; then 11979 (exit $ac_status); }; }; then
11956 ac_cv_func_fork_works=yes 11980 ac_cv_func_fork_works=yes
11957 else 11981 else
11958 echo "$as_me: program exited with status $ac_status" >&5 11982 echo "$as_me: program exited with status $ac_status" >&5
11959 echo "$as_me: failed program was:" >&5 11983 echo "$as_me: failed program was:" >&5
11961 ac_cv_func_fork_works=no 11985 ac_cv_func_fork_works=no
11962 fi 11986 fi
11963 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11987 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11964 fi 11988 fi
11965 fi 11989 fi
11966 echo "$as_me:11966: result: $ac_cv_func_fork_works" >&5 11990 echo "$as_me:11990: result: $ac_cv_func_fork_works" >&5
11967 echo "${ECHO_T}$ac_cv_func_fork_works" >&6 11991 echo "${ECHO_T}$ac_cv_func_fork_works" >&6
11968 11992
11969 fi 11993 fi
11970 if test "x$ac_cv_func_fork_works" = xcross; then 11994 if test "x$ac_cv_func_fork_works" = xcross; then
11971 case $host in 11995 case $host in
11975 ;; 11999 ;;
11976 *) 12000 *)
11977 ac_cv_func_fork_works=yes 12001 ac_cv_func_fork_works=yes
11978 ;; 12002 ;;
11979 esac 12003 esac
11980 { echo "$as_me:11980: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&5 12004 { echo "$as_me:12004: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&5
11981 echo "$as_me: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&2;} 12005 echo "$as_me: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&2;}
11982 fi 12006 fi
11983 ac_cv_func_vfork_works=$ac_cv_func_vfork 12007 ac_cv_func_vfork_works=$ac_cv_func_vfork
11984 if test "x$ac_cv_func_vfork" = xyes; then 12008 if test "x$ac_cv_func_vfork" = xyes; then
11985 echo "$as_me:11985: checking for working vfork" >&5 12009 echo "$as_me:12009: checking for working vfork" >&5
11986 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6 12010 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
11987 if test "${ac_cv_func_vfork_works+set}" = set; then 12011 if test "${ac_cv_func_vfork_works+set}" = set; then
11988 echo $ECHO_N "(cached) $ECHO_C" >&6 12012 echo $ECHO_N "(cached) $ECHO_C" >&6
11989 else 12013 else
11990 if test "$cross_compiling" = yes; then 12014 if test "$cross_compiling" = yes; then
11991 ac_cv_func_vfork_works=cross 12015 ac_cv_func_vfork_works=cross
11992 else 12016 else
11993 cat >conftest.$ac_ext <<_ACEOF 12017 cat >conftest.$ac_ext <<_ACEOF
11994 #line 11994 "configure" 12018 #line 12018 "configure"
11995 #include "confdefs.h" 12019 #include "confdefs.h"
11996 /* Thanks to Paul Eggert for this test. */ 12020 /* Thanks to Paul Eggert for this test. */
11997 #include <stdio.h> 12021 #include <stdio.h>
11998 #include <sys/types.h> 12022 #include <sys/types.h>
11999 #include <sys/stat.h> 12023 #include <sys/stat.h>
12086 ); 12110 );
12087 } 12111 }
12088 } 12112 }
12089 _ACEOF 12113 _ACEOF
12090 rm -f conftest$ac_exeext 12114 rm -f conftest$ac_exeext
12091 if { (eval echo "$as_me:12091: \"$ac_link\"") >&5 12115 if { (eval echo "$as_me:12115: \"$ac_link\"") >&5
12092 (eval $ac_link) 2>&5 12116 (eval $ac_link) 2>&5
12093 ac_status=$? 12117 ac_status=$?
12094 echo "$as_me:12094: \$? = $ac_status" >&5 12118 echo "$as_me:12118: \$? = $ac_status" >&5
12095 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 12119 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12096 { (eval echo "$as_me:12096: \"$ac_try\"") >&5 12120 { (eval echo "$as_me:12120: \"$ac_try\"") >&5
12097 (eval $ac_try) 2>&5 12121 (eval $ac_try) 2>&5
12098 ac_status=$? 12122 ac_status=$?
12099 echo "$as_me:12099: \$? = $ac_status" >&5 12123 echo "$as_me:12123: \$? = $ac_status" >&5
12100 (exit $ac_status); }; }; then 12124 (exit $ac_status); }; }; then
12101 ac_cv_func_vfork_works=yes 12125 ac_cv_func_vfork_works=yes
12102 else 12126 else
12103 echo "$as_me: program exited with status $ac_status" >&5 12127 echo "$as_me: program exited with status $ac_status" >&5
12104 echo "$as_me: failed program was:" >&5 12128 echo "$as_me: failed program was:" >&5
12106 ac_cv_func_vfork_works=no 12130 ac_cv_func_vfork_works=no
12107 fi 12131 fi
12108 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 12132 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12109 fi 12133 fi
12110 fi 12134 fi
12111 echo "$as_me:12111: result: $ac_cv_func_vfork_works" >&5 12135 echo "$as_me:12135: result: $ac_cv_func_vfork_works" >&5
12112 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6 12136 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
12113 12137
12114 fi; 12138 fi;
12115 if test "x$ac_cv_func_fork_works" = xcross; then 12139 if test "x$ac_cv_func_fork_works" = xcross; then
12116 ac_cv_func_vfork_works=ac_cv_func_vfork 12140 ac_cv_func_vfork_works=ac_cv_func_vfork
12117 { echo "$as_me:12117: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&5 12141 { echo "$as_me:12141: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&5
12118 echo "$as_me: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&2;} 12142 echo "$as_me: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&2;}
12119 fi 12143 fi
12120 12144
12121 if test "x$ac_cv_func_vfork_works" = xyes; then 12145 if test "x$ac_cv_func_vfork_works" = xyes; then
12122 12146
12138 EOF 12162 EOF
12139 12163
12140 fi 12164 fi
12141 12165
12142 # Fixme: This should be replaced when we have autoconf 2.14. 12166 # Fixme: This should be replaced when we have autoconf 2.14.
12143 echo "$as_me:12143: checking for size_t" >&5 12167 echo "$as_me:12167: checking for size_t" >&5
12144 echo $ECHO_N "checking for size_t... $ECHO_C" >&6 12168 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
12145 if test "${ac_cv_type_size_t+set}" = set; then 12169 if test "${ac_cv_type_size_t+set}" = set; then
12146 echo $ECHO_N "(cached) $ECHO_C" >&6 12170 echo $ECHO_N "(cached) $ECHO_C" >&6
12147 else 12171 else
12148 cat >conftest.$ac_ext <<_ACEOF 12172 cat >conftest.$ac_ext <<_ACEOF
12149 #line 12149 "configure" 12173 #line 12173 "configure"
12150 #include "confdefs.h" 12174 #include "confdefs.h"
12151 $ac_includes_default 12175 $ac_includes_default
12152 int 12176 int
12153 main () 12177 main ()
12154 { 12178 {
12159 ; 12183 ;
12160 return 0; 12184 return 0;
12161 } 12185 }
12162 _ACEOF 12186 _ACEOF
12163 rm -f conftest.$ac_objext 12187 rm -f conftest.$ac_objext
12164 if { (eval echo "$as_me:12164: \"$ac_compile\"") >&5 12188 if { (eval echo "$as_me:12188: \"$ac_compile\"") >&5
12165 (eval $ac_compile) 2>&5 12189 (eval $ac_compile) 2>&5
12166 ac_status=$? 12190 ac_status=$?
12167 echo "$as_me:12167: \$? = $ac_status" >&5 12191 echo "$as_me:12191: \$? = $ac_status" >&5
12168 (exit $ac_status); } && 12192 (exit $ac_status); } &&
12169 { ac_try='test -s conftest.$ac_objext' 12193 { ac_try='test -s conftest.$ac_objext'
12170 { (eval echo "$as_me:12170: \"$ac_try\"") >&5 12194 { (eval echo "$as_me:12194: \"$ac_try\"") >&5
12171 (eval $ac_try) 2>&5 12195 (eval $ac_try) 2>&5
12172 ac_status=$? 12196 ac_status=$?
12173 echo "$as_me:12173: \$? = $ac_status" >&5 12197 echo "$as_me:12197: \$? = $ac_status" >&5
12174 (exit $ac_status); }; }; then 12198 (exit $ac_status); }; }; then
12175 ac_cv_type_size_t=yes 12199 ac_cv_type_size_t=yes
12176 else 12200 else
12177 echo "$as_me: failed program was:" >&5 12201 echo "$as_me: failed program was:" >&5
12178 cat conftest.$ac_ext >&5 12202 cat conftest.$ac_ext >&5
12179 ac_cv_type_size_t=no 12203 ac_cv_type_size_t=no
12180 fi 12204 fi
12181 rm -f conftest.$ac_objext conftest.$ac_ext 12205 rm -f conftest.$ac_objext conftest.$ac_ext
12182 fi 12206 fi
12183 echo "$as_me:12183: result: $ac_cv_type_size_t" >&5 12207 echo "$as_me:12207: result: $ac_cv_type_size_t" >&5
12184 echo "${ECHO_T}$ac_cv_type_size_t" >&6 12208 echo "${ECHO_T}$ac_cv_type_size_t" >&6
12185 if test $ac_cv_type_size_t = yes; then 12209 if test $ac_cv_type_size_t = yes; then
12186 : 12210 :
12187 else 12211 else
12188 12212
12198 12222
12199 #### Find out which version of Emacs this is. 12223 #### Find out which version of Emacs this is.
12200 version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \ 12224 version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \
12201 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'` 12225 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'`
12202 if test x"${version}" = x; then 12226 if test x"${version}" = x; then
12203 { { echo "$as_me:12203: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5 12227 { { echo "$as_me:12227: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5
12204 echo "$as_me: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&2;} 12228 echo "$as_me: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&2;}
12205 { (exit 1); exit 1; }; } 12229 { (exit 1); exit 1; }; }
12206 fi 12230 fi
12207 12231
12208 ### Specify what sort of things we'll be editing into Makefile and config.h. 12232 ### Specify what sort of things we'll be editing into Makefile and config.h.
12284 fi 12308 fi
12285 12309
12286 for ac_header in nlist.h 12310 for ac_header in nlist.h
12287 do 12311 do
12288 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 12312 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12289 echo "$as_me:12289: checking for $ac_header" >&5 12313 echo "$as_me:12313: checking for $ac_header" >&5
12290 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 12314 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12291 if eval "test \"\${$as_ac_Header+set}\" = set"; then 12315 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12292 echo $ECHO_N "(cached) $ECHO_C" >&6 12316 echo $ECHO_N "(cached) $ECHO_C" >&6
12293 else 12317 else
12294 cat >conftest.$ac_ext <<_ACEOF 12318 cat >conftest.$ac_ext <<_ACEOF
12295 #line 12295 "configure" 12319 #line 12319 "configure"
12296 #include "confdefs.h" 12320 #include "confdefs.h"
12297 #include <$ac_header> 12321 #include <$ac_header>
12298 _ACEOF 12322 _ACEOF
12299 if { (eval echo "$as_me:12299: \"$ac_cpp conftest.$ac_ext\"") >&5 12323 if { (eval echo "$as_me:12323: \"$ac_cpp conftest.$ac_ext\"") >&5
12300 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 12324 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12301 ac_status=$? 12325 ac_status=$?
12302 egrep -v '^ *\+' conftest.er1 >conftest.err 12326 egrep -v '^ *\+' conftest.er1 >conftest.err
12303 rm -f conftest.er1 12327 rm -f conftest.er1
12304 cat conftest.err >&5 12328 cat conftest.err >&5
12305 echo "$as_me:12305: \$? = $ac_status" >&5 12329 echo "$as_me:12329: \$? = $ac_status" >&5
12306 (exit $ac_status); } >/dev/null; then 12330 (exit $ac_status); } >/dev/null; then
12307 if test -s conftest.err; then 12331 if test -s conftest.err; then
12308 ac_cpp_err=$ac_c_preproc_warn_flag 12332 ac_cpp_err=$ac_c_preproc_warn_flag
12309 else 12333 else
12310 ac_cpp_err= 12334 ac_cpp_err=
12319 cat conftest.$ac_ext >&5 12343 cat conftest.$ac_ext >&5
12320 eval "$as_ac_Header=no" 12344 eval "$as_ac_Header=no"
12321 fi 12345 fi
12322 rm -f conftest.err conftest.$ac_ext 12346 rm -f conftest.err conftest.$ac_ext
12323 fi 12347 fi
12324 echo "$as_me:12324: result: `eval echo '${'$as_ac_Header'}'`" >&5 12348 echo "$as_me:12348: result: `eval echo '${'$as_ac_Header'}'`" >&5
12325 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 12349 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12326 if test `eval echo '${'$as_ac_Header'}'` = yes; then 12350 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12327 cat >>confdefs.h <<EOF 12351 cat >>confdefs.h <<EOF
12328 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 12352 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12329 EOF 12353 EOF
12379 ## CPP_NEED_TRADITIONAL to `yes' so that the code to generate Makefile 12403 ## CPP_NEED_TRADITIONAL to `yes' so that the code to generate Makefile
12380 ## from Makefile.c can correctly provide the arg `-traditional' to the 12404 ## from Makefile.c can correctly provide the arg `-traditional' to the
12381 ## C preprocessor. 12405 ## C preprocessor.
12382 12406
12383 cat >conftest.$ac_ext <<_ACEOF 12407 cat >conftest.$ac_ext <<_ACEOF
12384 #line 12384 "configure" 12408 #line 12408 "configure"
12385 #include "confdefs.h" 12409 #include "confdefs.h"
12386 yes..yes 12410 yes..yes
12387 _ACEOF 12411 _ACEOF
12388 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 12412 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12389 egrep "yes..yes" >/dev/null 2>&1; then 12413 egrep "yes..yes" >/dev/null 2>&1; then
12472 DEFS=-DHAVE_CONFIG_H 12496 DEFS=-DHAVE_CONFIG_H
12473 12497
12474 : ${CONFIG_STATUS=./config.status} 12498 : ${CONFIG_STATUS=./config.status}
12475 ac_clean_files_save=$ac_clean_files 12499 ac_clean_files_save=$ac_clean_files
12476 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 12500 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12477 { echo "$as_me:12477: creating $CONFIG_STATUS" >&5 12501 { echo "$as_me:12501: creating $CONFIG_STATUS" >&5
12478 echo "$as_me: creating $CONFIG_STATUS" >&6;} 12502 echo "$as_me: creating $CONFIG_STATUS" >&6;}
12479 cat >$CONFIG_STATUS <<_ACEOF 12503 cat >$CONFIG_STATUS <<_ACEOF
12480 #! $SHELL 12504 #! $SHELL
12481 # Generated automatically by configure. 12505 # Generated automatically by configure.
12482 # Run this file to recreate the current configuration. 12506 # Run this file to recreate the current configuration.
12648 cat >>$CONFIG_STATUS <<\EOF 12672 cat >>$CONFIG_STATUS <<\EOF
12649 --version | --vers* | -V ) 12673 --version | --vers* | -V )
12650 echo "$ac_cs_version"; exit 0 ;; 12674 echo "$ac_cs_version"; exit 0 ;;
12651 --he | --h) 12675 --he | --h)
12652 # Conflict between --help and --header 12676 # Conflict between --help and --header
12653 { { echo "$as_me:12653: error: ambiguous option: $1 12677 { { echo "$as_me:12677: error: ambiguous option: $1
12654 Try \`$0 --help' for more information." >&5 12678 Try \`$0 --help' for more information." >&5
12655 echo "$as_me: error: ambiguous option: $1 12679 echo "$as_me: error: ambiguous option: $1
12656 Try \`$0 --help' for more information." >&2;} 12680 Try \`$0 --help' for more information." >&2;}
12657 { (exit 1); exit 1; }; };; 12681 { (exit 1); exit 1; }; };;
12658 --help | --hel | -h ) 12682 --help | --hel | -h )
12667 shift 12691 shift
12668 CONFIG_HEADERS="$CONFIG_HEADERS $1" 12692 CONFIG_HEADERS="$CONFIG_HEADERS $1"
12669 ac_need_defaults=false;; 12693 ac_need_defaults=false;;
12670 12694
12671 # This is an error. 12695 # This is an error.
12672 -*) { { echo "$as_me:12672: error: unrecognized option: $1 12696 -*) { { echo "$as_me:12696: error: unrecognized option: $1
12673 Try \`$0 --help' for more information." >&5 12697 Try \`$0 --help' for more information." >&5
12674 echo "$as_me: error: unrecognized option: $1 12698 echo "$as_me: error: unrecognized option: $1
12675 Try \`$0 --help' for more information." >&2;} 12699 Try \`$0 --help' for more information." >&2;}
12676 { (exit 1); exit 1; }; } ;; 12700 { (exit 1); exit 1; }; } ;;
12677 12701
12722 "lisp/Makefile" ) CONFIG_FILES="$CONFIG_FILES lisp/Makefile" ;; 12746 "lisp/Makefile" ) CONFIG_FILES="$CONFIG_FILES lisp/Makefile" ;;
12723 "lispref/Makefile" ) CONFIG_FILES="$CONFIG_FILES lispref/Makefile" ;; 12747 "lispref/Makefile" ) CONFIG_FILES="$CONFIG_FILES lispref/Makefile" ;;
12724 "leim/Makefile" ) CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; 12748 "leim/Makefile" ) CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;;
12725 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; 12749 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
12726 "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h:src/config.in" ;; 12750 "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h:src/config.in" ;;
12727 *) { { echo "$as_me:12727: error: invalid argument: $ac_config_target" >&5 12751 *) { { echo "$as_me:12751: error: invalid argument: $ac_config_target" >&5
12728 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 12752 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12729 { (exit 1); exit 1; }; };; 12753 { (exit 1); exit 1; }; };;
12730 esac 12754 esac
12731 done 12755 done
12732 12756
12969 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 12993 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
12970 *) ac_INSTALL=$ac_dots$INSTALL ;; 12994 *) ac_INSTALL=$ac_dots$INSTALL ;;
12971 esac 12995 esac
12972 12996
12973 if test x"$ac_file" != x-; then 12997 if test x"$ac_file" != x-; then
12974 { echo "$as_me:12974: creating $ac_file" >&5 12998 { echo "$as_me:12998: creating $ac_file" >&5
12975 echo "$as_me: creating $ac_file" >&6;} 12999 echo "$as_me: creating $ac_file" >&6;}
12976 rm -f "$ac_file" 13000 rm -f "$ac_file"
12977 fi 13001 fi
12978 # Let's still pretend it is `configure' which instantiates (i.e., don't 13002 # Let's still pretend it is `configure' which instantiates (i.e., don't
12979 # use $as_me), people would be surprised to read: 13003 # use $as_me), people would be surprised to read:
12987 for f in $ac_file_in; do 13011 for f in $ac_file_in; do
12988 case $f in 13012 case $f in
12989 -) echo $tmp/stdin ;; 13013 -) echo $tmp/stdin ;;
12990 [\\/$]*) 13014 [\\/$]*)
12991 # Absolute (can't be DOS-style, as IFS=:) 13015 # Absolute (can't be DOS-style, as IFS=:)
12992 test -f "$f" || { { echo "$as_me:12992: error: cannot find input file: $f" >&5 13016 test -f "$f" || { { echo "$as_me:13016: error: cannot find input file: $f" >&5
12993 echo "$as_me: error: cannot find input file: $f" >&2;} 13017 echo "$as_me: error: cannot find input file: $f" >&2;}
12994 { (exit 1); exit 1; }; } 13018 { (exit 1); exit 1; }; }
12995 echo $f;; 13019 echo $f;;
12996 *) # Relative 13020 *) # Relative
12997 if test -f "$f"; then 13021 if test -f "$f"; then
13000 elif test -f "$srcdir/$f"; then 13024 elif test -f "$srcdir/$f"; then
13001 # Source tree 13025 # Source tree
13002 echo $srcdir/$f 13026 echo $srcdir/$f
13003 else 13027 else
13004 # /dev/null tree 13028 # /dev/null tree
13005 { { echo "$as_me:13005: error: cannot find input file: $f" >&5 13029 { { echo "$as_me:13029: error: cannot find input file: $f" >&5
13006 echo "$as_me: error: cannot find input file: $f" >&2;} 13030 echo "$as_me: error: cannot find input file: $f" >&2;}
13007 { (exit 1); exit 1; }; } 13031 { (exit 1); exit 1; }; }
13008 fi;; 13032 fi;;
13009 esac 13033 esac
13010 done` || { (exit 1); exit 1; } 13034 done` || { (exit 1); exit 1; }
13061 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 13085 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
13062 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 13086 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
13063 * ) ac_file_in=$ac_file.in ;; 13087 * ) ac_file_in=$ac_file.in ;;
13064 esac 13088 esac
13065 13089
13066 test x"$ac_file" != x- && { echo "$as_me:13066: creating $ac_file" >&5 13090 test x"$ac_file" != x- && { echo "$as_me:13090: creating $ac_file" >&5
13067 echo "$as_me: creating $ac_file" >&6;} 13091 echo "$as_me: creating $ac_file" >&6;}
13068 13092
13069 # First look for the input files in the build tree, otherwise in the 13093 # First look for the input files in the build tree, otherwise in the
13070 # src tree. 13094 # src tree.
13071 ac_file_inputs=`IFS=: 13095 ac_file_inputs=`IFS=:
13072 for f in $ac_file_in; do 13096 for f in $ac_file_in; do
13073 case $f in 13097 case $f in
13074 -) echo $tmp/stdin ;; 13098 -) echo $tmp/stdin ;;
13075 [\\/$]*) 13099 [\\/$]*)
13076 # Absolute (can't be DOS-style, as IFS=:) 13100 # Absolute (can't be DOS-style, as IFS=:)
13077 test -f "$f" || { { echo "$as_me:13077: error: cannot find input file: $f" >&5 13101 test -f "$f" || { { echo "$as_me:13101: error: cannot find input file: $f" >&5
13078 echo "$as_me: error: cannot find input file: $f" >&2;} 13102 echo "$as_me: error: cannot find input file: $f" >&2;}
13079 { (exit 1); exit 1; }; } 13103 { (exit 1); exit 1; }; }
13080 echo $f;; 13104 echo $f;;
13081 *) # Relative 13105 *) # Relative
13082 if test -f "$f"; then 13106 if test -f "$f"; then
13085 elif test -f "$srcdir/$f"; then 13109 elif test -f "$srcdir/$f"; then
13086 # Source tree 13110 # Source tree
13087 echo $srcdir/$f 13111 echo $srcdir/$f
13088 else 13112 else
13089 # /dev/null tree 13113 # /dev/null tree
13090 { { echo "$as_me:13090: error: cannot find input file: $f" >&5 13114 { { echo "$as_me:13114: error: cannot find input file: $f" >&5
13091 echo "$as_me: error: cannot find input file: $f" >&2;} 13115 echo "$as_me: error: cannot find input file: $f" >&2;}
13092 { (exit 1); exit 1; }; } 13116 { (exit 1); exit 1; }; }
13093 fi;; 13117 fi;;
13094 esac 13118 esac
13095 done` || { (exit 1); exit 1; } 13119 done` || { (exit 1); exit 1; }
13202 fi 13226 fi
13203 cat $tmp/in >>$tmp/config.h 13227 cat $tmp/in >>$tmp/config.h
13204 rm -f $tmp/in 13228 rm -f $tmp/in
13205 if test x"$ac_file" != x-; then 13229 if test x"$ac_file" != x-; then
13206 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then 13230 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
13207 { echo "$as_me:13207: $ac_file is unchanged" >&5 13231 { echo "$as_me:13231: $ac_file is unchanged" >&5
13208 echo "$as_me: $ac_file is unchanged" >&6;} 13232 echo "$as_me: $ac_file is unchanged" >&6;}
13209 else 13233 else
13210 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13234 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13211 X"$ac_file" : 'X\(//\)[^/]' \| \ 13235 X"$ac_file" : 'X\(//\)[^/]' \| \
13212 X"$ac_file" : 'X\(//\)$' \| \ 13236 X"$ac_file" : 'X\(//\)$' \| \