]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* acgeneral.m4 (_AC_OUTPUT_SUBDIRS): Check for configure.gnu
authorAkim Demaille <akim@epita.fr>
Mon, 18 Sep 2000 11:05:41 +0000 (11:05 +0000)
committerAkim Demaille <akim@epita.fr>
Mon, 18 Sep 2000 11:05:41 +0000 (11:05 +0000)
as well.
(_AC_INIT_HELP): Likewise.
(NEWS): Note checking for configure.gnu.
* doc/autoconf.texi: Document checking for configure.gnu when
recursing subdirectories.

ChangeLog
NEWS
acgeneral.m4
doc/autoconf.texi
lib/autoconf/general.m4

index 813c6668334e0d87cacb8acc65e65e06740963f5..f5eae4303c22360b2b1dc7d5022cb05a604edab4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+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
diff --git a/NEWS b/NEWS
index 22dc1d3cbde641fc18b29b68461860261960c5db..0ca085ec826177cbc73ff0c0fb0c2a3031f78f27 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -25,6 +25,10 @@ For autoconf, autoreconf, autoupdate, autoheader, autoscan and ifnames.
 - --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
index 5ef0351cb395ffc836c5a91d25198953f186a77a..4de6c09bef450f7a578329e406212f93125995e9 100644 (file)
@@ -1812,7 +1812,10 @@ if test "$ac_init_help" = "recursive"; 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
+      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
@@ -5217,7 +5220,9 @@ AC_PROVIDE_IFELSE([AC_PROG_INSTALL],
     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
index 929d3dd0c40f99ce5485a81f5c6db8aa7395c4fc..f6e348cdeb194c61c27871423188ac0bc2b40690 100644 (file)
@@ -2376,9 +2376,13 @@ fi
 
 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
index 5ef0351cb395ffc836c5a91d25198953f186a77a..4de6c09bef450f7a578329e406212f93125995e9 100644 (file)
@@ -1812,7 +1812,10 @@ if test "$ac_init_help" = "recursive"; 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
+      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
@@ -5217,7 +5220,9 @@ AC_PROVIDE_IFELSE([AC_PROG_INSTALL],
     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