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>.
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.
-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]
# Rerun `./configure && make'?
my $make = 0;
+# Recurse into subpackages
+my $recursive = 1;
+
## ---------- ##
## Routines. ##
## ---------- ##
'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.
$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.
{
if (-d)
{
- verb "$configure_ac: subdirectory $_ to autoreconf";
+ verb "$configure_ac: adding subdirectory $_ to autoreconf";
autoreconf ($_);
}
else
@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