]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* doc/autoconf.texi (Subdirectories): Clarify that the
authorAkim Demaille <akim@epita.fr>
Fri, 8 Mar 2002 12:51:35 +0000 (12:51 +0000)
committerAkim Demaille <akim@epita.fr>
Fri, 8 Mar 2002 12:51:35 +0000 (12:51 +0000)
subdirectory should exist.

ChangeLog
doc/autoconf.texi

index 621da637c4f74b2179dcb5283880a04f6a46bf9e..f2980ae80cd30e6d6a31f0618154ba9165243e0c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2002-03-08  Akim Demaille  <akim@epita.fr>
+
+       * doc/autoconf.texi (Subdirectories): Clarify that the
+       subdirectory should exist.
+
 2002-03-08  Akim Demaille  <akim@epita.fr>
 
        * Makefile.am (AUTOMAKE_OPTIONS): 1.6.
index 55825d27b40edea6a384fcc41c64c4ef235d1991..f7fa38d8e5d98d8ea6f375fddfaad5ca81d4a82b 100644 (file)
@@ -2771,15 +2771,22 @@ if test "$package_foo_enabled" = yes; then
 fi
 @end example
 
-If a given @var{dir} is not found, no error is reported, so a
-@command{configure} script can configure whichever parts of a large source
-tree are present.  If a given @var{dir} contains @command{configure.gnu},
-it is run instead of @command{configure}. This is for packages that might
-use a non-autoconf script @command{Configure}, which can't be called
-through a wrapper @command{configure} since it would be the same file on
+If a given @var{dir} is not found, an error is reported: if the
+subdirectory is optional, write:
+
+@example
+if test -d $srcdir/foo; then
+  AC_CONFIG_SUBDIRS(foo)
+fi
+@end example
+
+If a given @var{dir} contains @command{configure.gnu}, it is run instead
+of @command{configure}. This is for packages that might use a
+non-autoconf script @command{Configure}, which can't be called through a
+wrapper @command{configure} since it would be the same file on
 case-insensitive filesystems. Likewise, if a @var{dir} contains
-@file{configure.ac} but no @command{configure}, the Cygnus @command{configure}
-script found by @code{AC_CONFIG_AUX_DIR} is used.
+@file{configure.ac} but no @command{configure}, the Cygnus
+@command{configure} script found by @code{AC_CONFIG_AUX_DIR} is used.
 
 The subdirectory @command{configure} scripts are given the same command
 line options that were given to this @command{configure} script, with minor