* doc/autoconf.texi (Subdirectories): Clarify that the

subdirectory should exist.
This commit is contained in:
Akim Demaille 2002-03-08 12:51:35 +00:00
parent fbee53ee14
commit 70ce730782
2 changed files with 20 additions and 8 deletions

View File

@ -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.

View 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