autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Autoconf] Re: [autoconf-patches] _AC_OUTPUT_SUBDIRS: check for configur


From: Rüdiger Kuhlmann
Subject: [Autoconf] Re: [autoconf-patches] _AC_OUTPUT_SUBDIRS: check for configure.gnu as well
Date: Fri, 15 Sep 2000 01:48:38 +0200
User-agent: Mutt/1.2.4i

Hi!

>--[Akim Demaille]--<address@hidden>
> >>>>> "diger" == diger Kuhlmann <R> writes:
> diger> Well... I don't have to tell you what I think about "Gnus"...
> Actually it's XEmacs that is wrong I think.  A friend of mine who also
> used SuperCite + BBDB + Gnus + Emacs recently moved to XEmacs and
> suddenly faced the same failures.

Let's start a flame war about (X)Emacs! ;-)

> diger> So for me, .gnu sounds easier...
> Thanks for explaining.

Sure.

> >>>>> "Tom" == Tom Tromey <address@hidden> writes:
> Tom> I don't see anything deeply wrong with recognizing
> Tom> `configure.gnu'.  It is like recognizing GNUMakefile.
> I am now convinced, and I understand better the point of this patch.
> I also understand `.gnu' is better than `.ac', since only the
> interface matters, and this interface is dictated by the GNU coding
> standards, not by the Autoconf CS.

Cool :).

> So I'm now in favor of this patch with one regret though: it's lacking
> the documentation part.  If this goes into Autoconf, it should be
> displayed (even in NEWS actually).

Okay, what about this (I'm writing .texi the first time...):

Index: ChangeLog
from Rüdiger Kuhlmann <address@hidden>
        * acgeneral.m4(_AC_OUTPUT_SUBDIRS): check for configure.gnu as well.
        * (_AC_INIT_HELP): check for configure.gnu as well.
        * (NEWS): Note checking for configure.gnu.
        * (doc/autoconf.texi): Document checking for configure.gnu when
          recursing subdirectories.

Index: NEWS
===================================================================
RCS file: /cvs/autoconf/NEWS,v
retrieving revision 1.133
diff -u -u -r1.133 NEWS
--- NEWS        2000/09/04 12:12:21     1.133
+++ NEWS        2000/09/14 23:22:13
@@ -25,6 +25,10 @@
 - --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: acgeneral.m4
===================================================================
RCS file: /cvs/autoconf/acgeneral.m4,v
retrieving revision 1.551
diff -u -u -r1.551 acgeneral.m4
--- acgeneral.m4        2000/09/14 07:50:15     1.551
+++ acgeneral.m4        2000/09/14 23:22:14
@@ -1812,7 +1812,10 @@
     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 +5217,9 @@
     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: doc/autoconf.texi
===================================================================
RCS file: /cvs/autoconf/doc/autoconf.texi,v
retrieving revision 1.364
diff -u -u -r1.364 autoconf.texi
--- doc/autoconf.texi   2000/09/11 07:04:38     1.364
+++ doc/autoconf.texi   2000/09/14 23:22:17
@@ -2375,9 +2375,13 @@
 @end example
 
 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
+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
address@hidden, the Cygnus @code{configure} script found by
 @code{AC_CONFIG_AUXDIR} is used.
 
 The subdirectory @code{configure} scripts are given the same command

Yours, Rüdiger.

-- 
   http://www.ruediger-kuhlmann.de/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]