# By default assume that objects files use an extension of .o. Only
# change it if the script calls AC_OBJEXT.
ac_objext=o
-# Factoring default headers for most tests.
-dnl If ever you change this variable, please keep autoconf.texi in sync.
-ac_includes_default="\
-#include <stdio.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#if STDC_HEADERS
-# include <stdlib.h>
-# include <stddef.h>
-#else
-# if HAVE_STDLIB_H
-# include <stdlib.h>
-# endif
-#endif
-#if HAVE_STRING_H
-# if !STDC_HEADERS && HAVE_MEMORY_H
-# include <memory.h>
-# endif
-# include <string.h>
-#else
-# if HAVE_STRINGS_H
-# include <strings.h>
-# endif
-#endif
-#if HAVE_INTTYPES_H
-# include <inttypes.h>
-#endif
-#if HAVE_UNISTD_H
-# include <unistd.h>
-#endif"
+
m4_divert_pop()dnl
])# _AC_INIT_DEFAULTS
# macros. It is easier to document, to extend, and to understand than
# having specific defaults for each macro.
-# Of course, one would like to issue these default headers only if
-# they were used, i.e.., AC_INCLUDES_DEFAULT was called, and the
-# default `branch' was run. Unfortunately AC_INCLUDES_DEFAULT is
-# called unquoted, so it is unsafe to try to divert from there.
-# Therefore, the following *is* buggy, but this is the kind of
-# tradeoff we accept in order to improve configure.
-
-# See _AC_INIT_PREPARE to see the value of `ac_includes_default'.
+# _AC_INCLUDES_DEFAULT_REQUIREMENTS
+# ---------------------------------
+# Required when AC_INCLUDES_DEFAULT uses its default branch.
+AC_DEFUN([_AC_INCLUDES_DEFAULT_REQUIREMENTS],
+[m4_divert_text([DEFAULTS],
+[# Factoring default headers for most tests.
+dnl If ever you change this variable, please keep autoconf.texi in sync.
+ac_includes_default="\
+#include <stdio.h>
+#include <sys/types.h>
+#include <sys/stat.h>
+#if STDC_HEADERS
+# include <stdlib.h>
+# include <stddef.h>
+#else
+# if HAVE_STDLIB_H
+# include <stdlib.h>
+# endif
+#endif
+#if HAVE_STRING_H
+# if !STDC_HEADERS && HAVE_MEMORY_H
+# include <memory.h>
+# endif
+# include <string.h>
+#else
+# if HAVE_STRINGS_H
+# include <strings.h>
+# endif
+#endif
+#if HAVE_INTTYPES_H
+# include <inttypes.h>
+#endif
+#if HAVE_UNISTD_H
+# include <unistd.h>
+#endif"
+])dnl
+AC_REQUIRE([AC_HEADER_STDC])dnl
+AC_CHECK_HEADERS(stdlib.h string.h memory.h strings.h inttypes.h unistd.h)
+])
# AC_INCLUDES_DEFAULT([INCLUDES])
# -------------------------------
# If INCLUDES is empty, expand in default includes, otherwise in
# INCLUDES.
-#
-# The end-of-line after `$[1]' below is meant, and it is actually
-# because this new line is meant that we don't use m4_default. The
-# problem is that this macro is used *unquoted* in AC_TRY_COMPILE
-# etc. It is used unquoted because unfortunately (this is a real
-# pain), AC_TRY_COMPILE is over quoting some of its arguments. This
-# is a sad decision.
-#
-# Still, there are calls such as this
-#
-# AC_TRY_COMPILE(AC_INCLUDES_DEFAULT([#include <pwd.h>]),
-# AC_BLAH_BLAH..)
-#
-# Because AC_INCLUDES_DEFAULT *has* to be unquoted, after evaluation,
-# if there were no end of line, you'd get
-#
-# AC_TRY_COMPILE(#include <pwd.h>,
-# AC_BLAH_BLAH,
-# AC_MORE_BLAH_BLAH)
-#
-# i.e. the first argument given to AC_TRY_COMPILE is
-#
-# #include <pwd.h>,
-# AC_BLAH_BLAH
-#
-# (note how the comma was swallowed because of the comment mark) and
-# the second is
-#
-# AC_MORE_BLAH_BLAH
-#
-# so all the arguments are shifted.
-#
-# Because I don't see any backward compatible means to fix the
-# brokenness of AC_TRY_COMPILE, we are doomed to leave a extra new
-# line here.
-m4_define([AC_INCLUDES_DEFAULT],
-[m4_ifval([$1], [$1
-],
- [$ac_includes_default])])
-
+AC_DEFUN([AC_INCLUDES_DEFAULT],
+[m4_default([$1], [AC_REQUIRE([_AC_INCLUDES_DEFAULT_REQUIREMENTS])dnl
+$ac_includes_default])])
[AC_FATAL([$0: requires literal arguments])])dnl
m4_if(m4_regexp([$1], [\.]), -1,
[AC_FATAL([$0: Did not see any dot in `$1'])])dnl
-AC_REQUIRE([AC_HEADER_STDC])dnl
AC_VAR_PUSHDEF([ac_Member], [ac_cv_member_$1])dnl
dnl Extract the aggregate name, and the member name
AC_CACHE_CHECK([for $1], ac_Member,
# variable, we just use a cast to avoid warnings from the compiler.
# Suggested by Paul Eggert.
m4_define([_AC_CHECK_TYPE_NEW],
-[AC_REQUIRE([AC_HEADER_STDC])dnl
-AC_VAR_PUSHDEF([ac_Type], [ac_cv_type_$1])dnl
+[AC_VAR_PUSHDEF([ac_Type], [ac_cv_type_$1])dnl
AC_CACHE_CHECK([for $1], ac_Type,
[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT([$4])],
[if (($1 *) 0)
ac_tr_sh="sed y%*+%pp%;s%[^_$ac_cr_alnum]%_%g"
ac_tr_cpp="sed y%*$ac_cr_az%P$ac_cr_AZ%;s%[^_$ac_cr_alnum]%_%g"
-# By default always use an empty string as the executable extension.
-# Only change it if the script calls AC_EXEEXT.
-ac_exeext=
-# By default assume that objects files use an extension of .o. Only
-# change it if the script calls AC_OBJEXT.
-ac_objext=o
-# Factoring default headers for most tests.
-ac_includes_default="\
-#include <stdio.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#if STDC_HEADERS
-# include <stdlib.h>
-# include <stddef.h>
-#else
-# if HAVE_STDLIB_H
-# include <stdlib.h>
-# endif
-#endif
-#if HAVE_STRING_H
-# if !STDC_HEADERS && HAVE_MEMORY_H
-# include <memory.h>
-# endif
-# include <string.h>
-#else
-# if HAVE_STRINGS_H
-# include <strings.h>
-# endif
-#endif
-#if HAVE_INTTYPES_H
-# include <inttypes.h>
-#endif
-#if HAVE_UNISTD_H
-# include <unistd.h>
-#endif"
ac_unique_file="acgeneral.m4"
# Initialize some variables set by options.
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:249: error: invalid feature name: $ac_feature" >&5
+ { { echo "$as_me:214: error: invalid feature name: $ac_feature" >&5
echo "$as_me: error: invalid feature name: $ac_feature" >&2;}
{ (exit 1); exit; }; }
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
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:259: error: invalid feature name: $ac_feature" >&5
+ { { echo "$as_me:224: error: invalid feature name: $ac_feature" >&5
echo "$as_me: error: invalid feature name: $ac_feature" >&2;}
{ (exit 1); exit; }; }
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
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:442: error: invalid package name: $ac_package" >&5
+ { { echo "$as_me:407: error: invalid package name: $ac_package" >&5
echo "$as_me: error: invalid package name: $ac_package" >&2;}
{ (exit 1); exit; }; }
ac_package=`echo $ac_package| sed 's/-/_/g'`
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:456: error: invalid package name: $ac_package" >&5
+ { { echo "$as_me:421: error: invalid package name: $ac_package" >&5
echo "$as_me: error: invalid package name: $ac_package" >&2;}
{ (exit 1); exit; }; }
ac_package=`echo $ac_package | sed 's/-/_/g'`
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
x_libraries=$ac_optarg ;;
- -*) { { echo "$as_me:480: error: unrecognized option: $ac_option
+ -*) { { echo "$as_me:445: 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;}
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:491: error: invalid variable name: $ac_envvar" >&5
+ { { echo "$as_me:456: error: invalid variable name: $ac_envvar" >&5
echo "$as_me: error: invalid variable name: $ac_envvar" >&2;}
{ (exit 1); exit; }; }
ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
*)
# FIXME: should be removed in autoconf 3.0.
- { echo "$as_me:500: WARNING: you should use --build, --host, --target" >&5
+ { echo "$as_me:465: 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:503: WARNING: invalid host type: $ac_option" >&5
+ { echo "$as_me:468: 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}
;;
if test -n "$ac_prev"; then
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
- { { echo "$as_me:513: error: missing argument to $ac_option" >&5
+ { { echo "$as_me:478: error: missing argument to $ac_option" >&5
echo "$as_me: error: missing argument to $ac_option" >&2;}
{ (exit 1); exit; }; }
fi
case $ac_val in
[\\/$]* | ?:[\\/]* ) ;;
NONE ) ;;
- *) { { echo "$as_me:527: error: expected an absolute path for --$ac_var: $ac_val" >&5
+ *) { { echo "$as_me:492: 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; }; };;
esac
if test "x$host_alias" != x; then
if test "x$build_alias" = x; then
cross_compiling=maybe
- { echo "$as_me:543: WARNING: If you wanted to set the --build type, don't use --host.
+ { echo "$as_me:508: 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;}
fi
if test ! -r $srcdir/$ac_unique_file; then
if test "$ac_srcdir_defaulted" = yes; then
- { { echo "$as_me:571: error: cannot find sources in $ac_confdir or .." >&5
+ { { echo "$as_me:536: error: cannot find sources in $ac_confdir or .." >&5
echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2;}
{ (exit 1); exit; }; }
else
- { { echo "$as_me:575: error: cannot find sources in $srcdir" >&5
+ { { echo "$as_me:540: error: cannot find sources in $srcdir" >&5
echo "$as_me: error: cannot find sources in $srcdir" >&2;}
{ (exit 1); exit; }; }
fi
echo
$ac_configure --help
else
- { echo "$as_me:701: WARNING: no configuration information is in $ac_subdir" >&5
+ { echo "$as_me:666: 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
# 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:782: loading cache $cache_file" >&5
+ { echo "$as_me:747: loading cache $cache_file" >&5
echo "$as_me: loading cache $cache_file" >&6;}
case $cache_file in
[\\/]* | ?:[\\/]* ) . $cache_file;;
esac
fi
else
- { echo "$as_me:790: creating cache $cache_file" >&5
+ { echo "$as_me:755: creating cache $cache_file" >&5
echo "$as_me: creating cache $cache_file" >&6;}
>$cache_file
fi
eval ac_new_val="\$ac_env_${ac_var}_value"
case $ac_old_set,$ac_new_set in
set,)
- { echo "$as_me:806: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
+ { echo "$as_me:771: 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:810: WARNING: \`$ac_var' was not set in the previous run" >&5
+ { echo "$as_me:775: 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:816: WARNING: \`$ac_var' has changed since the previous run:" >&5
+ { echo "$as_me:781: 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:818: WARNING: former value: $ac_old_val" >&5
+ { echo "$as_me:783: WARNING: former value: $ac_old_val" >&5
echo "$as_me: WARNING: former value: $ac_old_val" >&2;}
- { echo "$as_me:820: WARNING: current value: $ac_new_val" >&5
+ { echo "$as_me:785: 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:827: WARNING: changes in the environment can compromise the build" >&5
+ { echo "$as_me:792: 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:829: WARNING: consider removing $cache_file and starting over" >&5
+ { echo "$as_me:794: WARNING: consider removing $cache_file and starting over" >&5
echo "$as_me: WARNING: consider removing $cache_file and starting over" >&2;}
fi
fi
done
if test -z "$ac_aux_dir"; then
- { { echo "$as_me:863: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
+ { { echo "$as_me:828: 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; }; }
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:883: checking for a BSD compatible install" >&5
+echo "$as_me:848: 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
INSTALL=$ac_install_sh
fi
fi
-echo "$as_me:932: result: $INSTALL" >&5
+echo "$as_me:897: result: $INSTALL" >&5
echo "${ECHO_T}$INSTALL" >&6
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-echo "$as_me:943: checking whether build environment is sane" >&5
+echo "$as_me:908: checking whether build environment is sane" >&5
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
# Just in case
sleep 1
# 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:966: error: ls -t appears to fail. Make sure there is not a broken
+ { { echo "$as_me:931: 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;}
# Ok.
:
else
- { { echo "$as_me:979: error: newly created file is older than distributed files!
+ { { echo "$as_me:944: 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; }; }
fi
rm -f conftest*
-echo "$as_me:986: result: yes" >&5
+echo "$as_me:951: result: yes" >&5
echo "${ECHO_T}yes" >&6
if test "$program_transform_name" = s,x,x,; then
program_transform_name=
# sed with no file args requires a program.
test -z "$program_transform_name" && program_transform_name="s,x,x,"
-echo "$as_me:1007: checking whether ${MAKE-make} sets \${MAKE}" >&5
+echo "$as_me:972: 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
rm -f conftestmake
fi
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
- echo "$as_me:1027: result: yes" >&5
+ echo "$as_me:992: result: yes" >&5
echo "${ECHO_T}yes" >&6
SET_MAKE=
else
- echo "$as_me:1031: result: no" >&5
+ echo "$as_me:996: result: no" >&5
echo "${ECHO_T}no" >&6
SET_MAKE="MAKE=${MAKE-make}"
fi
VERSION=2.49c
if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
- { { echo "$as_me:1041: error: source directory already configured; run \"make distclean\" there first" >&5
+ { { echo "$as_me:1006: 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; }; }
fi
EOF
missing_dir=`cd $ac_aux_dir && pwd`
-echo "$as_me:1055: checking for working aclocal" >&5
+echo "$as_me:1020: 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:1062: result: found" >&5
+ echo "$as_me:1027: result: found" >&5
echo "${ECHO_T}found" >&6
else
ACLOCAL="$SHELL $missing_dir/missing aclocal"
- echo "$as_me:1066: result: missing" >&5
+ echo "$as_me:1031: result: missing" >&5
echo "${ECHO_T}missing" >&6
fi
-echo "$as_me:1070: checking for working autoconf" >&5
+echo "$as_me:1035: 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:1077: result: found" >&5
+ echo "$as_me:1042: result: found" >&5
echo "${ECHO_T}found" >&6
else
AUTOCONF="$SHELL $missing_dir/missing autoconf"
- echo "$as_me:1081: result: missing" >&5
+ echo "$as_me:1046: result: missing" >&5
echo "${ECHO_T}missing" >&6
fi
-echo "$as_me:1085: checking for working automake" >&5
+echo "$as_me:1050: 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:1092: result: found" >&5
+ echo "$as_me:1057: result: found" >&5
echo "${ECHO_T}found" >&6
else
AUTOMAKE="$SHELL $missing_dir/missing automake"
- echo "$as_me:1096: result: missing" >&5
+ echo "$as_me:1061: result: missing" >&5
echo "${ECHO_T}missing" >&6
fi
-echo "$as_me:1100: checking for working autoheader" >&5
+echo "$as_me:1065: 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:1107: result: found" >&5
+ echo "$as_me:1072: result: found" >&5
echo "${ECHO_T}found" >&6
else
AUTOHEADER="$SHELL $missing_dir/missing autoheader"
- echo "$as_me:1111: result: missing" >&5
+ echo "$as_me:1076: result: missing" >&5
echo "${ECHO_T}missing" >&6
fi
-echo "$as_me:1115: checking for working makeinfo" >&5
+echo "$as_me:1080: 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:1122: result: found" >&5
+ echo "$as_me:1087: result: found" >&5
echo "${ECHO_T}found" >&6
else
MAKEINFO="$SHELL $missing_dir/missing makeinfo"
- echo "$as_me:1126: result: missing" >&5
+ echo "$as_me:1091: result: missing" >&5
echo "${ECHO_T}missing" >&6
fi
# Extract the first word of "expr", so it can be a program name with args.
set dummy expr; ac_word=$2
-echo "$as_me:1135: checking for $ac_word" >&5
+echo "$as_me:1100: 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
EXPR=$ac_cv_path_EXPR
if test -n "$EXPR"; then
- echo "$as_me:1162: result: $EXPR" >&5
+ echo "$as_me:1127: result: $EXPR" >&5
echo "${ECHO_T}$EXPR" >&6
else
- echo "$as_me:1165: result: no" >&5
+ echo "$as_me:1130: result: no" >&5
echo "${ECHO_T}no" >&6
fi
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:1177: checking for $ac_word" >&5
+echo "$as_me:1142: 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
M4=$ac_cv_path_M4
if test -n "$M4"; then
- echo "$as_me:1204: result: $M4" >&5
+ echo "$as_me:1169: result: $M4" >&5
echo "${ECHO_T}$M4" >&6
else
- echo "$as_me:1207: result: no" >&5
+ echo "$as_me:1172: result: no" >&5
echo "${ECHO_T}no" >&6
fi
done
test -n "$M4" || M4="m4"
-echo "$as_me:1215: checking whether m4 supports frozen files" >&5
+echo "$as_me:1180: 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
esac
fi
fi
-echo "$as_me:1227: result: $ac_cv_prog_gnu_m4" >&5
+echo "$as_me:1192: 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:1230: error: GNU m4 1.4 is required" >&5
+ { { echo "$as_me:1195: error: GNU m4 1.4 is required" >&5
echo "$as_me: error: GNU m4 1.4 is required" >&2;}
{ (exit 1); exit; }; }
fi
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:1242: checking for $ac_word" >&5
+echo "$as_me:1207: 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
fi
AWK=$ac_cv_prog_AWK
if test -n "$AWK"; then
- echo "$as_me:1264: result: $AWK" >&5
+ echo "$as_me:1229: result: $AWK" >&5
echo "${ECHO_T}$AWK" >&6
else
- echo "$as_me:1267: result: no" >&5
+ echo "$as_me:1232: result: no" >&5
echo "${ECHO_T}no" >&6
fi
done
# Generating man pages.
-echo "$as_me:1275: checking for working help2man" >&5
+echo "$as_me:1240: 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:1282: result: found" >&5
+ echo "$as_me:1247: result: found" >&5
echo "${ECHO_T}found" >&6
else
HELP2MAN="$SHELL $missing_dir/missing help2man"
- echo "$as_me:1286: result: missing" >&5
+ echo "$as_me:1251: 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:1293: checking for $ac_word" >&5
+echo "$as_me:1258: 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
PERL=$ac_cv_path_PERL
if test -n "$PERL"; then
- echo "$as_me:1321: result: $PERL" >&5
+ echo "$as_me:1286: result: $PERL" >&5
echo "${ECHO_T}$PERL" >&6
else
- echo "$as_me:1324: result: no" >&5
+ echo "$as_me:1289: result: no" >&5
echo "${ECHO_T}no" >&6
fi
if test "$PERL" != no; then
PERLSCRIPTS=autoscan
else
- { echo "$as_me:1331: WARNING: autoscan will not be built since perl is not found" >&5
+ { echo "$as_me:1296: 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
# 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:1347: checking for a BSD compatible install" >&5
+echo "$as_me:1312: 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
INSTALL=$ac_install_sh
fi
fi
-echo "$as_me:1396: result: $INSTALL" >&5
+echo "$as_me:1361: result: $INSTALL" >&5
echo "${ECHO_T}$INSTALL" >&6
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
: ${CONFIG_STATUS=./config.status}
ac_clean_files_save=$ac_clean_files
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
-{ echo "$as_me:1551: creating $CONFIG_STATUS" >&5
+{ echo "$as_me:1516: creating $CONFIG_STATUS" >&5
echo "$as_me: creating $CONFIG_STATUS" >&6;}
cat >$CONFIG_STATUS <<\_ACEOF
#! /bin/sh
echo "$ac_cs_version"; exit 0 ;;
--he | --h)
# Conflict between --help and --header
- { { echo "$as_me:1713: error: ambiguous option: $1
+ { { echo "$as_me:1678: 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;}
'tests/atconfig' ) CONFIG_FILES="$CONFIG_FILES tests/atconfig" ;;
# This is an error.
- -*) { { echo "$as_me:1740: error: unrecognized option: $1
+ -*) { { echo "$as_me:1705: 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; }; } ;;
- *) { { echo "$as_me:1745: error: invalid argument: $1" >&5
+ *) { { echo "$as_me:1710: error: invalid argument: $1" >&5
echo "$as_me: error: invalid argument: $1" >&2;}
{ (exit 1); exit; }; };;
esac
esac
if test x"$ac_file" != x-; then
- { echo "$as_me:1947: creating $ac_file" >&5
+ { echo "$as_me:1912: creating $ac_file" >&5
echo "$as_me: creating $ac_file" >&6;}
rm -f "$ac_file"
fi
-) echo $tmp/stdin ;;
[\\/$]* | ?:[\\/]*)
# Absolute
- test -f "$f" || { { echo "$as_me:1968: error: cannot find input file: $f" >&5
+ test -f "$f" || { { echo "$as_me:1933: error: cannot find input file: $f" >&5
echo "$as_me: error: cannot find input file: $f" >&2;}
{ (exit 1); exit; }; }
echo $f;;
echo $ac_given_srcdir/$f
else
# /dev/null tree
- { { echo "$as_me:1981: error: cannot find input file: $f" >&5
+ { { echo "$as_me:1946: error: cannot find input file: $f" >&5
echo "$as_me: error: cannot find input file: $f" >&2;}
{ (exit 1); exit; }; }
fi;;
# By default assume that objects files use an extension of .o. Only
# change it if the script calls AC_OBJEXT.
ac_objext=o
-# Factoring default headers for most tests.
-dnl If ever you change this variable, please keep autoconf.texi in sync.
-ac_includes_default="\
-#include <stdio.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#if STDC_HEADERS
-# include <stdlib.h>
-# include <stddef.h>
-#else
-# if HAVE_STDLIB_H
-# include <stdlib.h>
-# endif
-#endif
-#if HAVE_STRING_H
-# if !STDC_HEADERS && HAVE_MEMORY_H
-# include <memory.h>
-# endif
-# include <string.h>
-#else
-# if HAVE_STRINGS_H
-# include <strings.h>
-# endif
-#endif
-#if HAVE_INTTYPES_H
-# include <inttypes.h>
-#endif
-#if HAVE_UNISTD_H
-# include <unistd.h>
-#endif"
+
m4_divert_pop()dnl
])# _AC_INIT_DEFAULTS
# macros. It is easier to document, to extend, and to understand than
# having specific defaults for each macro.
-# Of course, one would like to issue these default headers only if
-# they were used, i.e.., AC_INCLUDES_DEFAULT was called, and the
-# default `branch' was run. Unfortunately AC_INCLUDES_DEFAULT is
-# called unquoted, so it is unsafe to try to divert from there.
-# Therefore, the following *is* buggy, but this is the kind of
-# tradeoff we accept in order to improve configure.
-
-# See _AC_INIT_PREPARE to see the value of `ac_includes_default'.
+# _AC_INCLUDES_DEFAULT_REQUIREMENTS
+# ---------------------------------
+# Required when AC_INCLUDES_DEFAULT uses its default branch.
+AC_DEFUN([_AC_INCLUDES_DEFAULT_REQUIREMENTS],
+[m4_divert_text([DEFAULTS],
+[# Factoring default headers for most tests.
+dnl If ever you change this variable, please keep autoconf.texi in sync.
+ac_includes_default="\
+#include <stdio.h>
+#include <sys/types.h>
+#include <sys/stat.h>
+#if STDC_HEADERS
+# include <stdlib.h>
+# include <stddef.h>
+#else
+# if HAVE_STDLIB_H
+# include <stdlib.h>
+# endif
+#endif
+#if HAVE_STRING_H
+# if !STDC_HEADERS && HAVE_MEMORY_H
+# include <memory.h>
+# endif
+# include <string.h>
+#else
+# if HAVE_STRINGS_H
+# include <strings.h>
+# endif
+#endif
+#if HAVE_INTTYPES_H
+# include <inttypes.h>
+#endif
+#if HAVE_UNISTD_H
+# include <unistd.h>
+#endif"
+])dnl
+AC_REQUIRE([AC_HEADER_STDC])dnl
+AC_CHECK_HEADERS(stdlib.h string.h memory.h strings.h inttypes.h unistd.h)
+])
# AC_INCLUDES_DEFAULT([INCLUDES])
# -------------------------------
# If INCLUDES is empty, expand in default includes, otherwise in
# INCLUDES.
-#
-# The end-of-line after `$[1]' below is meant, and it is actually
-# because this new line is meant that we don't use m4_default. The
-# problem is that this macro is used *unquoted* in AC_TRY_COMPILE
-# etc. It is used unquoted because unfortunately (this is a real
-# pain), AC_TRY_COMPILE is over quoting some of its arguments. This
-# is a sad decision.
-#
-# Still, there are calls such as this
-#
-# AC_TRY_COMPILE(AC_INCLUDES_DEFAULT([#include <pwd.h>]),
-# AC_BLAH_BLAH..)
-#
-# Because AC_INCLUDES_DEFAULT *has* to be unquoted, after evaluation,
-# if there were no end of line, you'd get
-#
-# AC_TRY_COMPILE(#include <pwd.h>,
-# AC_BLAH_BLAH,
-# AC_MORE_BLAH_BLAH)
-#
-# i.e. the first argument given to AC_TRY_COMPILE is
-#
-# #include <pwd.h>,
-# AC_BLAH_BLAH
-#
-# (note how the comma was swallowed because of the comment mark) and
-# the second is
-#
-# AC_MORE_BLAH_BLAH
-#
-# so all the arguments are shifted.
-#
-# Because I don't see any backward compatible means to fix the
-# brokenness of AC_TRY_COMPILE, we are doomed to leave a extra new
-# line here.
-m4_define([AC_INCLUDES_DEFAULT],
-[m4_ifval([$1], [$1
-],
- [$ac_includes_default])])
-
+AC_DEFUN([AC_INCLUDES_DEFAULT],
+[m4_default([$1], [AC_REQUIRE([_AC_INCLUDES_DEFAULT_REQUIREMENTS])dnl
+$ac_includes_default])])
[AC_FATAL([$0: requires literal arguments])])dnl
m4_if(m4_regexp([$1], [\.]), -1,
[AC_FATAL([$0: Did not see any dot in `$1'])])dnl
-AC_REQUIRE([AC_HEADER_STDC])dnl
AC_VAR_PUSHDEF([ac_Member], [ac_cv_member_$1])dnl
dnl Extract the aggregate name, and the member name
AC_CACHE_CHECK([for $1], ac_Member,
# variable, we just use a cast to avoid warnings from the compiler.
# Suggested by Paul Eggert.
m4_define([_AC_CHECK_TYPE_NEW],
-[AC_REQUIRE([AC_HEADER_STDC])dnl
-AC_VAR_PUSHDEF([ac_Type], [ac_cv_type_$1])dnl
+[AC_VAR_PUSHDEF([ac_Type], [ac_cv_type_$1])dnl
AC_CACHE_CHECK([for $1], ac_Type,
[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT([$4])],
[if (($1 *) 0)