as well.
(_AC_INIT_HELP): Likewise.
(NEWS): Note checking for configure.gnu.
* doc/autoconf.texi: Document checking for configure.gnu when
recursing subdirectories.
+2000-09-18 RĂ¼diger Kuhlmann <autoconf-list@ruediger-kuhlmann.de>
+
+ * acgeneral.m4 (_AC_OUTPUT_SUBDIRS): Check for configure.gnu
+ as well.
+ (_AC_INIT_HELP): Likewise.
+ (NEWS): Note checking for configure.gnu.
+ * doc/autoconf.texi: Document checking for configure.gnu when
+ recursing subdirectories.
+
2000-09-18 Jim Meyering <meyering@lucent.com>
* acfunctions.m4 (AC_FUNC_GETLOADAVG): Restore the initial value
- --warnings
Specify what category of warnings should be enabled.
+- When recursing into subdirectories, try for configure.gnu before
+ configure to adapt for packages not using autoconf on case-insensitive
+ filesystems.
+
** autoupdate
autoupdate is much more powerful, and is able to provide the glue code
which might be needed to move from an old macro to its newer
esac
# Check for guested configure; otherwise get Cygnus style configure.
- if test -f $ac_sub_srcdir/configure; then
+ if test -f $ac_sub_srcdir/configure.gnu; then
+ echo
+ $SHELL $ac_sub_srcdir/configure.gnu --help=recursive
+ elif test -f $ac_sub_srcdir/configure; then
echo
$SHELL $ac_sub_srcdir/configure --help=recursive
elif test -f $ac_sub_srcdir/configure.in; then
esac
# Check for guested configure; otherwise get Cygnus style configure.
- if test -f $ac_sub_srcdir/configure; then
+ if test -f $ac_sub_srcdir/configure.gnu; then
+ ac_sub_configure="$SHELL $ac_sub_srcdir/configure.gnu"
+ elif test -f $ac_sub_srcdir/configure; then
ac_sub_configure="$SHELL $ac_sub_srcdir/configure"
elif test -f $ac_sub_srcdir/configure.in; then
ac_sub_configure=$ac_configure
If a given @var{dir} is not found, no error is reported, so a
@code{configure} script can configure whichever parts of a large source
-tree are present. If a given @var{dir} contains @file{configure.in} but
-no @code{configure}, the Cygnus @code{configure} script found by
-@code{AC_CONFIG_AUXDIR} is used.
+tree are present. If a given @var{dir} contains @code{configure.gnu},
+it is run instead of @code{configure}. This is for packages that might
+use a non-autoconf script @code{Configure}, which can't be called
+through a wrapper @code{configure} since it would be the same file on
+case-insensitive filesystems. Likewise, if a @var{dir} contains
+@file{configure.in} but no @code{configure}, the Cygnus @code{configure}
+script found by @code{AC_CONFIG_AUXDIR} is used.
The subdirectory @code{configure} scripts are given the same command
line options that were given to this @code{configure} script, with minor
esac
# Check for guested configure; otherwise get Cygnus style configure.
- if test -f $ac_sub_srcdir/configure; then
+ if test -f $ac_sub_srcdir/configure.gnu; then
+ echo
+ $SHELL $ac_sub_srcdir/configure.gnu --help=recursive
+ elif test -f $ac_sub_srcdir/configure; then
echo
$SHELL $ac_sub_srcdir/configure --help=recursive
elif test -f $ac_sub_srcdir/configure.in; then
esac
# Check for guested configure; otherwise get Cygnus style configure.
- if test -f $ac_sub_srcdir/configure; then
+ if test -f $ac_sub_srcdir/configure.gnu; then
+ ac_sub_configure="$SHELL $ac_sub_srcdir/configure.gnu"
+ elif test -f $ac_sub_srcdir/configure; then
ac_sub_configure="$SHELL $ac_sub_srcdir/configure"
elif test -f $ac_sub_srcdir/configure.in; then
ac_sub_configure=$ac_configure