This commit is contained in:
Akim Demaille 2001-02-27 09:33:36 +00:00
parent 8713190b75
commit 60058c0469

236
configure vendored
View File

@ -23,41 +23,25 @@ else
as_expr=false
fi
rm -f conftest conftest.exe conftest.file
echo >conftest.file
if ln -s conftest.file conftest 2>/dev/null; then
rm -f conf$$ conf$$.exe conf$$.file
echo >conf$$.file
if ln -s conf$$.file conf$$ 2>/dev/null; then
# We could just check for DJGPP; but this test a) works b) is more generic
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
if test -f conftest.exe; then
if test -f conf$$.exe; then
# Don't use ln at all; we don't have any links
as_ln_s='cp -p'
else
as_ln_s='ln -s'
fi
elif ln conftest.file conftest 2>/dev/null; then
elif ln conf$$.file conf$$ 2>/dev/null; then
as_ln_s=ln
else
as_ln_s='cp -p'
fi
rm -f conftest conftest.exe conftest.file
rm -f conf$$ conf$$.exe conf$$.file
# Find out how to test for executable files. Don't use a zero-byte file,
# as systems may use methods other than mode bits to determine executability.
cat >conftest.file <<_ASEOF
#! /bin/sh
exit 0
_ASEOF
chmod +x conftest.file
if test -x conftest.file >/dev/null 2>&1; then
as_executable_p="test -x"
elif test -f conftest.file >/dev/null 2>&1; then
as_executable_p="test -f"
else
{ { echo "$as_me:56: error: cannot check whether a file is executable on this system" >&5
echo "$as_me: error: cannot check whether a file is executable on this system" >&2;}
{ (exit 1); exit 1; }; }
fi
rm -f conftest.file
as_executable_p="test -f"
# Support unset when possible.
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
@ -262,7 +246,7 @@ do
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
# Reject names that are not valid shell variable names.
expr "x$ac_feature" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
{ { echo "$as_me:265: error: invalid feature name: $ac_feature" >&5
{ { echo "$as_me:249: error: invalid feature name: $ac_feature" >&5
echo "$as_me: error: invalid feature name: $ac_feature" >&2;}
{ (exit 1); exit 1; }; }
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
@ -272,7 +256,7 @@ echo "$as_me: error: invalid feature name: $ac_feature" >&2;}
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
# Reject names that are not valid shell variable names.
expr "x$ac_feature" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
{ { echo "$as_me:275: error: invalid feature name: $ac_feature" >&5
{ { echo "$as_me:259: error: invalid feature name: $ac_feature" >&5
echo "$as_me: error: invalid feature name: $ac_feature" >&2;}
{ (exit 1); exit 1; }; }
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
@ -455,7 +439,7 @@ echo "$as_me: error: invalid feature name: $ac_feature" >&2;}
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
# Reject names that are not valid shell variable names.
expr "x$ac_package" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
{ { echo "$as_me:458: error: invalid package name: $ac_package" >&5
{ { echo "$as_me:442: error: invalid package name: $ac_package" >&5
echo "$as_me: error: invalid package name: $ac_package" >&2;}
{ (exit 1); exit 1; }; }
ac_package=`echo $ac_package| sed 's/-/_/g'`
@ -469,7 +453,7 @@ echo "$as_me: error: invalid package name: $ac_package" >&2;}
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
# Reject names that are not valid shell variable names.
expr "x$ac_package" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
{ { echo "$as_me:472: error: invalid package name: $ac_package" >&5
{ { echo "$as_me:456: error: invalid package name: $ac_package" >&5
echo "$as_me: error: invalid package name: $ac_package" >&2;}
{ (exit 1); exit 1; }; }
ac_package=`echo $ac_package | sed 's/-/_/g'`
@ -493,7 +477,7 @@ echo "$as_me: error: invalid package name: $ac_package" >&2;}
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
x_libraries=$ac_optarg ;;
-*) { { echo "$as_me:496: error: unrecognized option: $ac_option
-*) { { echo "$as_me:480: error: unrecognized option: $ac_option
Try \`$0 --help' for more information." >&5
echo "$as_me: error: unrecognized option: $ac_option
Try \`$0 --help' for more information." >&2;}
@ -504,7 +488,7 @@ Try \`$0 --help' for more information." >&2;}
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
# Reject names that are not valid shell variable names.
expr "x$ac_envvar" : ".*[^_$ac_cr_alnum]" >/dev/null &&
{ { echo "$as_me:507: error: invalid variable name: $ac_envvar" >&5
{ { echo "$as_me:491: error: invalid variable name: $ac_envvar" >&5
echo "$as_me: error: invalid variable name: $ac_envvar" >&2;}
{ (exit 1); exit 1; }; }
ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
@ -513,10 +497,10 @@ echo "$as_me: error: invalid variable name: $ac_envvar" >&2;}
*)
# FIXME: should be removed in autoconf 3.0.
{ echo "$as_me:516: WARNING: you should use --build, --host, --target" >&5
{ echo "$as_me:500: WARNING: you should use --build, --host, --target" >&5
echo "$as_me: WARNING: you should use --build, --host, --target" >&2;}
expr "x$ac_option" : ".*[^-._$ac_cr_alnum]" >/dev/null &&
{ echo "$as_me:519: WARNING: invalid host type: $ac_option" >&5
{ echo "$as_me:503: WARNING: invalid host type: $ac_option" >&5
echo "$as_me: WARNING: invalid host type: $ac_option" >&2;}
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
;;
@ -526,7 +510,7 @@ done
if test -n "$ac_prev"; then
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
{ { echo "$as_me:529: error: missing argument to $ac_option" >&5
{ { echo "$as_me:513: error: missing argument to $ac_option" >&5
echo "$as_me: error: missing argument to $ac_option" >&2;}
{ (exit 1); exit 1; }; }
fi
@ -540,7 +524,7 @@ do
case $ac_val in
[\\/$]* | ?:[\\/]* ) ;;
NONE ) ;;
*) { { echo "$as_me:543: error: expected an absolute path for --$ac_var: $ac_val" >&5
*) { { echo "$as_me:527: error: expected an absolute path for --$ac_var: $ac_val" >&5
echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2;}
{ (exit 1); exit 1; }; };;
esac
@ -556,7 +540,7 @@ target=$target_alias
if test "x$host_alias" != x; then
if test "x$build_alias" = x; then
cross_compiling=maybe
{ echo "$as_me:559: WARNING: If you wanted to set the --build type, don't use --host.
{ echo "$as_me:543: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used." >&5
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used." >&2;}
@ -586,11 +570,11 @@ else
fi
if test ! -r $srcdir/$ac_unique_file; then
if test "$ac_srcdir_defaulted" = yes; then
{ { echo "$as_me:589: error: cannot find sources in $ac_confdir or .." >&5
{ { echo "$as_me:573: error: cannot find sources in $ac_confdir or .." >&5
echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2;}
{ (exit 1); exit 1; }; }
else
{ { echo "$as_me:593: error: cannot find sources in $srcdir" >&5
{ { echo "$as_me:577: error: cannot find sources in $srcdir" >&5
echo "$as_me: error: cannot find sources in $srcdir" >&2;}
{ (exit 1); exit 1; }; }
fi
@ -716,7 +700,7 @@ if test "$ac_init_help" = "recursive"; then
echo
$ac_configure --help
else
{ echo "$as_me:719: WARNING: no configuration information is in $ac_subdir" >&5
{ echo "$as_me:703: WARNING: no configuration information is in $ac_subdir" >&5
echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2;}
fi
cd $ac_popdir
@ -796,7 +780,7 @@ trap 'exit_status=$?
test "$ac_signal" != 0 &&
echo "$as_me: caught signal $ac_signal" >&5
echo "$as_me: exit $exit_status" >&5
rm -rf conftest* confdefs* core core.* *.core $ac_clean_files &&
rm -rf conftest* confdefs* core core.* *.core conf$ $ac_clean_files &&
exit $exit_status
' 0
for ac_signal in 1 2 13 15; do
@ -820,7 +804,7 @@ if test -z "$CONFIG_SITE"; then
fi
for ac_site_file in $CONFIG_SITE; do
if test -r "$ac_site_file"; then
{ echo "$as_me:823: loading site script $ac_site_file" >&5
{ echo "$as_me:807: loading site script $ac_site_file" >&5
echo "$as_me: loading site script $ac_site_file" >&6;}
cat "$ac_site_file" >&5
. "$ac_site_file"
@ -831,7 +815,7 @@ if test -r "$cache_file"; then
# Some versions of bash will fail to source /dev/null (special
# files actually), so we avoid doing that.
if test -f "$cache_file"; then
{ echo "$as_me:834: loading cache $cache_file" >&5
{ echo "$as_me:818: loading cache $cache_file" >&5
echo "$as_me: loading cache $cache_file" >&6;}
case $cache_file in
[\\/]* | ?:[\\/]* ) . $cache_file;;
@ -839,7 +823,7 @@ echo "$as_me: loading cache $cache_file" >&6;}
esac
fi
else
{ echo "$as_me:842: creating cache $cache_file" >&5
{ echo "$as_me:826: creating cache $cache_file" >&5
echo "$as_me: creating cache $cache_file" >&6;}
>$cache_file
fi
@ -855,30 +839,30 @@ for ac_var in `(set) 2>&1 |
eval ac_new_val="\$ac_env_${ac_var}_value"
case $ac_old_set,$ac_new_set in
set,)
{ echo "$as_me:858: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
{ echo "$as_me:842: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
echo "$as_me: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
ac_suggest_removing_cache=: ;;
,set)
{ echo "$as_me:862: WARNING: \`$ac_var' was not set in the previous run" >&5
{ echo "$as_me:846: WARNING: \`$ac_var' was not set in the previous run" >&5
echo "$as_me: WARNING: \`$ac_var' was not set in the previous run" >&2;}
ac_suggest_removing_cache=: ;;
,);;
*)
if test "x$ac_old_val" != "x$ac_new_val"; then
{ echo "$as_me:868: WARNING: \`$ac_var' has changed since the previous run:" >&5
{ echo "$as_me:852: WARNING: \`$ac_var' has changed since the previous run:" >&5
echo "$as_me: WARNING: \`$ac_var' has changed since the previous run:" >&2;}
{ echo "$as_me:870: WARNING: former value: $ac_old_val" >&5
{ echo "$as_me:854: WARNING: former value: $ac_old_val" >&5
echo "$as_me: WARNING: former value: $ac_old_val" >&2;}
{ echo "$as_me:872: WARNING: current value: $ac_new_val" >&5
{ echo "$as_me:856: WARNING: current value: $ac_new_val" >&5
echo "$as_me: WARNING: current value: $ac_new_val" >&2;}
ac_suggest_removing_cache=:
fi;;
esac
done
if $ac_suggest_removing_cache; then
{ echo "$as_me:879: WARNING: changes in the environment can compromise the build" >&5
{ echo "$as_me:863: WARNING: changes in the environment can compromise the build" >&5
echo "$as_me: WARNING: changes in the environment can compromise the build" >&2;}
{ echo "$as_me:881: WARNING: consider removing $cache_file and starting over" >&5
{ echo "$as_me:865: WARNING: consider removing $cache_file and starting over" >&5
echo "$as_me: WARNING: consider removing $cache_file and starting over" >&2;}
fi
@ -897,10 +881,10 @@ esac
echo "#! $SHELL" >conftest.sh
echo "exit 0" >>conftest.sh
chmod +x conftest.sh
if { (echo "$as_me:900: PATH=\".;\`pwd\`\"; conftest.sh") >&5
if { (echo "$as_me:884: PATH=\".;\`pwd\`\"; conftest.sh") >&5
(PATH=".;`pwd`"; conftest.sh) 2>&5
ac_status=$?
echo "$as_me:903: \$? = $ac_status" >&5
echo "$as_me:887: \$? = $ac_status" >&5
(exit $ac_status); }; then
ac_path_separator=';'
else
@ -926,7 +910,7 @@ for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
fi
done
if test -z "$ac_aux_dir"; then
{ { echo "$as_me:929: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
{ { echo "$as_me:913: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
{ (exit 1); exit 1; }; }
fi
@ -946,14 +930,15 @@ ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
# ./install, which can be erroneously created by make from ./install.sh.
echo "$as_me:949: checking for a BSD compatible install" >&5
echo "$as_me:933: checking for a BSD compatible install" >&5
echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
if test -z "$INSTALL"; then
if test "${ac_cv_path_install+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_save_IFS=$IFS; IFS=':'
ac_save_IFS=$IFS; IFS=$ac_path_separator
for ac_dir in $PATH; do
IFS=$ac_save_IFS
# Account for people who put trailing slashes in PATH elements.
case $ac_dir/ in
/ | ./ | .// | /cC/* \
@ -964,7 +949,7 @@ else
# Don't use installbsd from OSF since it installs stuff as root
# by default.
for ac_prog in ginstall scoinst install; do
if test -f "$ac_dir/$ac_prog"; then
if $as_executable_p "$ac_dir/$ac_prog"; then
if test $ac_prog = install &&
grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
# AIX install. It has an incompatible calling convention.
@ -982,7 +967,6 @@ else
;;
esac
done
IFS=$ac_save_IFS
fi
if test "${ac_cv_path_install+set}" = set; then
@ -995,7 +979,7 @@ fi
INSTALL=$ac_install_sh
fi
fi
echo "$as_me:998: result: $INSTALL" >&5
echo "$as_me:982: result: $INSTALL" >&5
echo "${ECHO_T}$INSTALL" >&6
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
@ -1006,7 +990,7 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
echo "$as_me:1009: checking whether build environment is sane" >&5
echo "$as_me:993: checking whether build environment is sane" >&5
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
# Just in case
sleep 1
@ -1029,7 +1013,7 @@ if (
# if, for instance, CONFIG_SHELL is bash and it inherits a
# broken ls alias from the environment. This has actually
# happened. Such a system could not be considered "sane".
{ { echo "$as_me:1032: error: ls -t appears to fail. Make sure there is not a broken
{ { echo "$as_me:1016: error: ls -t appears to fail. Make sure there is not a broken
alias in your environment" >&5
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
alias in your environment" >&2;}
@ -1042,14 +1026,14 @@ then
# Ok.
:
else
{ { echo "$as_me:1045: error: newly created file is older than distributed files!
{ { echo "$as_me:1029: error: newly created file is older than distributed files!
Check your system clock" >&5
echo "$as_me: error: newly created file is older than distributed files!
Check your system clock" >&2;}
{ (exit 1); exit 1; }; }
fi
rm -f conftest*
echo "$as_me:1052: result: yes" >&5
echo "$as_me:1036: result: yes" >&5
echo "${ECHO_T}yes" >&6
if test "$program_transform_name" = s,x,x,; then
program_transform_name=
@ -1070,7 +1054,7 @@ test "$program_suffix" != NONE &&
# sed with no file args requires a program.
test -z "$program_transform_name" && program_transform_name="s,x,x,"
echo "$as_me:1073: checking whether ${MAKE-make} sets \${MAKE}" >&5
echo "$as_me:1057: checking whether ${MAKE-make} sets \${MAKE}" >&5
echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
@ -1090,11 +1074,11 @@ fi
rm -f conftest.make
fi
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
echo "$as_me:1093: result: yes" >&5
echo "$as_me:1077: result: yes" >&5
echo "${ECHO_T}yes" >&6
SET_MAKE=
else
echo "$as_me:1097: result: no" >&5
echo "$as_me:1081: result: no" >&5
echo "${ECHO_T}no" >&6
SET_MAKE="MAKE=${MAKE-make}"
fi
@ -1104,7 +1088,7 @@ PACKAGE=autoconf
VERSION=2.49d
if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
{ { echo "$as_me:1107: error: source directory already configured; run \"make distclean\" there first" >&5
{ { echo "$as_me:1091: error: source directory already configured; run \"make distclean\" there first" >&5
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
{ (exit 1); exit 1; }; }
fi
@ -1118,78 +1102,78 @@ cat >>confdefs.h <<EOF
EOF
missing_dir=`cd $ac_aux_dir && pwd`
echo "$as_me:1121: checking for working aclocal" >&5
echo "$as_me:1105: checking for working aclocal" >&5
echo $ECHO_N "checking for working aclocal... $ECHO_C" >&6
# Run test in a subshell; some versions of sh will print an error if
# an executable is not found, even if stderr is redirected.
# Redirect stdin to placate older versions of autoconf. Sigh.
if (aclocal --version) < /dev/null > /dev/null 2>&1; then
ACLOCAL=aclocal
echo "$as_me:1128: result: found" >&5
echo "$as_me:1112: result: found" >&5
echo "${ECHO_T}found" >&6
else
ACLOCAL="$SHELL $missing_dir/missing aclocal"
echo "$as_me:1132: result: missing" >&5
echo "$as_me:1116: result: missing" >&5
echo "${ECHO_T}missing" >&6
fi
echo "$as_me:1136: checking for working autoconf" >&5
echo "$as_me:1120: checking for working autoconf" >&5
echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6
# Run test in a subshell; some versions of sh will print an error if
# an executable is not found, even if stderr is redirected.
# Redirect stdin to placate older versions of autoconf. Sigh.
if (autoconf --version) < /dev/null > /dev/null 2>&1; then
AUTOCONF=autoconf
echo "$as_me:1143: result: found" >&5
echo "$as_me:1127: result: found" >&5
echo "${ECHO_T}found" >&6
else
AUTOCONF="$SHELL $missing_dir/missing autoconf"
echo "$as_me:1147: result: missing" >&5
echo "$as_me:1131: result: missing" >&5
echo "${ECHO_T}missing" >&6
fi
echo "$as_me:1151: checking for working automake" >&5
echo "$as_me:1135: checking for working automake" >&5
echo $ECHO_N "checking for working automake... $ECHO_C" >&6
# Run test in a subshell; some versions of sh will print an error if
# an executable is not found, even if stderr is redirected.
# Redirect stdin to placate older versions of autoconf. Sigh.
if (automake --version) < /dev/null > /dev/null 2>&1; then
AUTOMAKE=automake
echo "$as_me:1158: result: found" >&5
echo "$as_me:1142: result: found" >&5
echo "${ECHO_T}found" >&6
else
AUTOMAKE="$SHELL $missing_dir/missing automake"
echo "$as_me:1162: result: missing" >&5
echo "$as_me:1146: result: missing" >&5
echo "${ECHO_T}missing" >&6
fi
echo "$as_me:1166: checking for working autoheader" >&5
echo "$as_me:1150: checking for working autoheader" >&5
echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6
# Run test in a subshell; some versions of sh will print an error if
# an executable is not found, even if stderr is redirected.
# Redirect stdin to placate older versions of autoconf. Sigh.
if (autoheader --version) < /dev/null > /dev/null 2>&1; then
AUTOHEADER=autoheader
echo "$as_me:1173: result: found" >&5
echo "$as_me:1157: result: found" >&5
echo "${ECHO_T}found" >&6
else
AUTOHEADER="$SHELL $missing_dir/missing autoheader"
echo "$as_me:1177: result: missing" >&5
echo "$as_me:1161: result: missing" >&5
echo "${ECHO_T}missing" >&6
fi
echo "$as_me:1181: checking for working makeinfo" >&5
echo "$as_me:1165: checking for working makeinfo" >&5
echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6
# Run test in a subshell; some versions of sh will print an error if
# an executable is not found, even if stderr is redirected.
# Redirect stdin to placate older versions of autoconf. Sigh.
if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
MAKEINFO=makeinfo
echo "$as_me:1188: result: found" >&5
echo "$as_me:1172: result: found" >&5
echo "${ECHO_T}found" >&6
else
MAKEINFO="$SHELL $missing_dir/missing makeinfo"
echo "$as_me:1192: result: missing" >&5
echo "$as_me:1176: result: missing" >&5
echo "${ECHO_T}missing" >&6
fi
@ -1198,7 +1182,7 @@ AUTOTEST_PATH=..
# Extract the first word of "expr", so it can be a program name with args.
set dummy expr; ac_word=$2
echo "$as_me:1201: checking for $ac_word" >&5
echo "$as_me:1185: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_path_EXPR+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
@ -1225,10 +1209,10 @@ fi
EXPR=$ac_cv_path_EXPR
if test -n "$EXPR"; then
echo "$as_me:1228: result: $EXPR" >&5
echo "$as_me:1212: result: $EXPR" >&5
echo "${ECHO_T}$EXPR" >&6
else
echo "$as_me:1231: result: no" >&5
echo "$as_me:1215: result: no" >&5
echo "${ECHO_T}no" >&6
fi
@ -1240,7 +1224,7 @@ for ac_prog in gm4 gnum4 m4
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo "$as_me:1243: checking for $ac_word" >&5
echo "$as_me:1227: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_path_M4+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
@ -1267,10 +1251,10 @@ fi
M4=$ac_cv_path_M4
if test -n "$M4"; then
echo "$as_me:1270: result: $M4" >&5
echo "$as_me:1254: result: $M4" >&5
echo "${ECHO_T}$M4" >&6
else
echo "$as_me:1273: result: no" >&5
echo "$as_me:1257: result: no" >&5
echo "${ECHO_T}no" >&6
fi
@ -1278,7 +1262,7 @@ fi
done
test -n "$M4" || M4="m4"
echo "$as_me:1281: checking whether m4 supports frozen files" >&5
echo "$as_me:1265: checking whether m4 supports frozen files" >&5
echo $ECHO_N "checking whether m4 supports frozen files... $ECHO_C" >&6
if test "${ac_cv_prog_gnu_m4+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
@ -1290,10 +1274,10 @@ if test x"$M4" != x; then
esac
fi
fi
echo "$as_me:1293: result: $ac_cv_prog_gnu_m4" >&5
echo "$as_me:1277: result: $ac_cv_prog_gnu_m4" >&5
echo "${ECHO_T}$ac_cv_prog_gnu_m4" >&6
if test x"$ac_cv_prog_gnu_m4" != xyes; then
{ { echo "$as_me:1296: error: GNU m4 1.4 is required" >&5
{ { echo "$as_me:1280: error: GNU m4 1.4 is required" >&5
echo "$as_me: error: GNU m4 1.4 is required" >&2;}
{ (exit 1); exit 1; }; }
fi
@ -1305,7 +1289,7 @@ for ac_prog in mawk gawk nawk awk
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo "$as_me:1308: checking for $ac_word" >&5
echo "$as_me:1292: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_AWK+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
@ -1327,10 +1311,10 @@ fi
fi
AWK=$ac_cv_prog_AWK
if test -n "$AWK"; then
echo "$as_me:1330: result: $AWK" >&5
echo "$as_me:1314: result: $AWK" >&5
echo "${ECHO_T}$AWK" >&6
else
echo "$as_me:1333: result: no" >&5
echo "$as_me:1317: result: no" >&5
echo "${ECHO_T}no" >&6
fi
@ -1338,25 +1322,25 @@ fi
done
# Generating man pages.
echo "$as_me:1341: checking for working help2man" >&5
echo "$as_me:1325: checking for working help2man" >&5
echo $ECHO_N "checking for working help2man... $ECHO_C" >&6
# Run test in a subshell; some versions of sh will print an error if
# an executable is not found, even if stderr is redirected.
# Redirect stdin to placate older versions of autoconf. Sigh.
if (help2man --version) < /dev/null > /dev/null 2>&1; then
HELP2MAN=help2man
echo "$as_me:1348: result: found" >&5
echo "$as_me:1332: result: found" >&5
echo "${ECHO_T}found" >&6
else
HELP2MAN="$SHELL $missing_dir/missing help2man"
echo "$as_me:1352: result: missing" >&5
echo "$as_me:1336: result: missing" >&5
echo "${ECHO_T}missing" >&6
fi
# We use a path for perl so the #! line in autoscan will work.
# Extract the first word of "perl", so it can be a program name with args.
set dummy perl; ac_word=$2
echo "$as_me:1359: checking for $ac_word" >&5
echo "$as_me:1343: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_path_PERL+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
@ -1384,17 +1368,17 @@ fi
PERL=$ac_cv_path_PERL
if test -n "$PERL"; then
echo "$as_me:1387: result: $PERL" >&5
echo "$as_me:1371: result: $PERL" >&5
echo "${ECHO_T}$PERL" >&6
else
echo "$as_me:1390: result: no" >&5
echo "$as_me:1374: result: no" >&5
echo "${ECHO_T}no" >&6
fi
if test "$PERL" != no; then
PERLSCRIPTS=autoscan
else
{ echo "$as_me:1397: WARNING: autoscan will not be built since perl is not found" >&5
{ echo "$as_me:1381: WARNING: autoscan will not be built since perl is not found" >&5
echo "$as_me: WARNING: autoscan will not be built since perl is not found" >&2;}
fi
@ -1410,14 +1394,15 @@ fi
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
# ./install, which can be erroneously created by make from ./install.sh.
echo "$as_me:1413: checking for a BSD compatible install" >&5
echo "$as_me:1397: checking for a BSD compatible install" >&5
echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
if test -z "$INSTALL"; then
if test "${ac_cv_path_install+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_save_IFS=$IFS; IFS=':'
ac_save_IFS=$IFS; IFS=$ac_path_separator
for ac_dir in $PATH; do
IFS=$ac_save_IFS
# Account for people who put trailing slashes in PATH elements.
case $ac_dir/ in
/ | ./ | .// | /cC/* \
@ -1428,7 +1413,7 @@ else
# Don't use installbsd from OSF since it installs stuff as root
# by default.
for ac_prog in ginstall scoinst install; do
if test -f "$ac_dir/$ac_prog"; then
if $as_executable_p "$ac_dir/$ac_prog"; then
if test $ac_prog = install &&
grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
# AIX install. It has an incompatible calling convention.
@ -1446,7 +1431,6 @@ else
;;
esac
done
IFS=$ac_save_IFS
fi
if test "${ac_cv_path_install+set}" = set; then
@ -1459,7 +1443,7 @@ fi
INSTALL=$ac_install_sh
fi
fi
echo "$as_me:1462: result: $INSTALL" >&5
echo "$as_me:1446: result: $INSTALL" >&5
echo "${ECHO_T}$INSTALL" >&6
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
@ -1585,7 +1569,7 @@ rm -f confdef2opt.sed
: ${CONFIG_STATUS=./config.status}
ac_clean_files_save=$ac_clean_files
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
{ echo "$as_me:1588: creating $CONFIG_STATUS" >&5
{ echo "$as_me:1572: creating $CONFIG_STATUS" >&5
echo "$as_me: creating $CONFIG_STATUS" >&6;}
cat >$CONFIG_STATUS <<\_ACEOF
#! /bin/sh
@ -1612,41 +1596,25 @@ else
as_expr=false
fi
rm -f conftest conftest.exe conftest.file
echo >conftest.file
if ln -s conftest.file conftest 2>/dev/null; then
rm -f conf$$ conf$$.exe conf$$.file
echo >conf$$.file
if ln -s conf$$.file conf$$ 2>/dev/null; then
# We could just check for DJGPP; but this test a) works b) is more generic
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
if test -f conftest.exe; then
if test -f conf$$.exe; then
# Don't use ln at all; we don't have any links
as_ln_s='cp -p'
else
as_ln_s='ln -s'
fi
elif ln conftest.file conftest 2>/dev/null; then
elif ln conf$$.file conf$$ 2>/dev/null; then
as_ln_s=ln
else
as_ln_s='cp -p'
fi
rm -f conftest conftest.exe conftest.file
rm -f conf$$ conf$$.exe conf$$.file
# Find out how to test for executable files. Don't use a zero-byte file,
# as systems may use methods other than mode bits to determine executability.
cat >conftest.file <<_ASEOF
#! /bin/sh
exit 0
_ASEOF
chmod +x conftest.file
if test -x conftest.file >/dev/null 2>&1; then
as_executable_p="test -x"
elif test -f conftest.file >/dev/null 2>&1; then
as_executable_p="test -f"
else
{ { echo "$as_me:1645: error: cannot check whether a file is executable on this system" >&5
echo "$as_me: error: cannot check whether a file is executable on this system" >&2;}
{ (exit 1); exit 1; }; }
fi
rm -f conftest.file
as_executable_p="test -f"
# Support unset when possible.
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
@ -1777,7 +1745,7 @@ cat >>$CONFIG_STATUS <<\EOF
echo "$ac_cs_version"; exit 0 ;;
--he | --h)
# Conflict between --help and --header
{ { echo "$as_me:1780: error: ambiguous option: $1
{ { echo "$as_me:1748: error: ambiguous option: $1
Try \`$0 --help' for more information." >&5
echo "$as_me: error: ambiguous option: $1
Try \`$0 --help' for more information." >&2;}
@ -1804,12 +1772,12 @@ Try \`$0 --help' for more information." >&2;}
'tests/atconfig' ) CONFIG_FILES="$CONFIG_FILES tests/atconfig" ;;
# This is an error.
-*) { { echo "$as_me:1807: error: unrecognized option: $1
-*) { { echo "$as_me:1775: error: unrecognized option: $1
Try \`$0 --help' for more information." >&5
echo "$as_me: error: unrecognized option: $1
Try \`$0 --help' for more information." >&2;}
{ (exit 1); exit 1; }; } ;;
*) { { echo "$as_me:1812: error: invalid argument: $1" >&5
*) { { echo "$as_me:1780: error: invalid argument: $1" >&5
echo "$as_me: error: invalid argument: $1" >&2;}
{ (exit 1); exit 1; }; };;
esac
@ -2023,7 +1991,7 @@ done; }
esac
if test x"$ac_file" != x-; then
{ echo "$as_me:2026: creating $ac_file" >&5
{ echo "$as_me:1994: creating $ac_file" >&5
echo "$as_me: creating $ac_file" >&6;}
rm -f "$ac_file"
fi
@ -2041,7 +2009,7 @@ echo "$as_me: creating $ac_file" >&6;}
-) echo $tmp/stdin ;;
[\\/$]* | ?:[\\/]*)
# Absolute
test -f "$f" || { { echo "$as_me:2044: error: cannot find input file: $f" >&5
test -f "$f" || { { echo "$as_me:2012: error: cannot find input file: $f" >&5
echo "$as_me: error: cannot find input file: $f" >&2;}
{ (exit 1); exit 1; }; }
echo $f;;
@ -2054,7 +2022,7 @@ echo "$as_me: error: cannot find input file: $f" >&2;}
echo $srcdir/$f
else
# /dev/null tree
{ { echo "$as_me:2057: error: cannot find input file: $f" >&5
{ { echo "$as_me:2025: error: cannot find input file: $f" >&5
echo "$as_me: error: cannot find input file: $f" >&2;}
{ (exit 1); exit 1; }; }
fi;;
@ -2086,7 +2054,7 @@ EOF
cat >>$CONFIG_STATUS <<\EOF
exit 0
{ (exit 0); exit 0; }
EOF
chmod +x $CONFIG_STATUS
ac_clean_files=$ac_clean_files_save