* bin/autoreconf.in: New option `--no-recursive'.

Improve wording for subpackages a bit.
* doc/autoconf.texi (autoreconf Invocation): Updated.
* NEWS: Updated.
This commit is contained in:
Ralf Wildenhues 2006-01-31 12:07:40 +00:00
parent 0b9bb6512e
commit 8e944069ad
4 changed files with 20 additions and 3 deletions

View File

@ -1,5 +1,10 @@
2006-01-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* bin/autoreconf.in: New option `--no-recursive'.
Improve wording for subpackages a bit.
* doc/autoconf.texi (autoreconf Invocation): Updated.
* NEWS: Updated.
* doc/install.texi (Defining Variables): Put `CONFIG_SHELL'
in environment of `configure', not the command line.
Reported by Howard Chu <hyc@highlandsun.com>.

3
NEWS
View File

@ -72,6 +72,9 @@
as in `${LIBOBJDIR}alloca.o'. LIBOBJDIR is meant to be defined from
`Makefile.in' in case the object files lie in a different directory.
** autoreconf
Supports --no-recursive now.
* Major changes in Autoconf 2.59b
Released 2004-08-20, by Paul Eggert.

View File

@ -74,6 +74,7 @@ Operation modes:
-d, --debug don't remove temporary files
-f, --force consider all files obsolete
-i, --install copy missing auxiliary files
--no-recursive don't rebuild sub-packages
-s, --symlink with -i, install symbolic links instead of copies
-m, --make when applicable, re-run ./configure && make
-W, --warnings=CATEGORY report the warnings falling in CATEGORY [syntax]
@ -129,6 +130,9 @@ my @warning;
# Rerun `./configure && make'?
my $make = 0;
# Recurse into subpackages
my $recursive = 1;
## ---------- ##
## Routines. ##
## ---------- ##
@ -146,7 +150,8 @@ sub parse_args ()
'B|prepend-include=s' => \@prepend_include,
'i|install' => \$install,
's|symlink' => \$symlink,
'm|make' => \$make);
'm|make' => \$make,
'recursive!' => \$recursive);
# Split the warnings as a list of elements instead of a list of
# lists.
@ -459,7 +464,7 @@ sub autoreconf_current_directory ()
$uses_libtool = 1 if /(AC_PROG_LIBTOOL|LT_INIT)/;
$uses_autoheader = 1 if /AC_CONFIG_HEADERS/;
$uses_automake = 1 if /AM_INIT_AUTOMAKE/;
push @subdir, split (' ', $1) if /AC_CONFIG_SUBDIRS:(.*)/;
push @subdir, split (' ', $1) if /AC_CONFIG_SUBDIRS:(.*)/ && $recursive;
}
# The subdirs are *optional*, they may not exist.
@ -467,7 +472,7 @@ sub autoreconf_current_directory ()
{
if (-d)
{
verb "$configure_ac: subdirectory $_ to autoreconf";
verb "$configure_ac: adding subdirectory $_ to autoreconf";
autoreconf ($_);
}
else

View File

@ -1516,6 +1516,10 @@ If deemed appropriate, this option triggers calls to
@samp{automake --add-missing},
@samp{libtoolize}, @samp{autopoint}, etc.
@item --no-recursive
Do not rebuild files in subdirectories to configure (see @ref{Subdirectories},
macro @code{AC_CONFIG_SUBDIRS}).
@item --symlink
@itemx -s
When used with @option{--install}, install symbolic links to the missing