+2001-10-08 Akim Demaille <akim@epita.fr>
+
+ * bin/autoreconf.in (&autoreconf): Remove debugging code.
+ (&parse_args): Pass verbosity/debugging options to subtools when
+ --debug, not when --verbose.
+ * lib/autom4te.in (Autoreconf-preselections): New.
+ (Autoconf): Use it.
+
2001-10-08 Akim Demaille <akim@epita.fr>
* bin/autoreconf.in (autoreconf): Run libtoolize when appropriate.
* doc/autoconf.texi (autoreconf Invocation): Adjust.
* bin/autoreconf.in (autoreconf): Run gettextize when appropriate.
-
2001-10-08 Akim Demaille <akim@epita.fr>
* tests/tools.at (AT_CHECK_PERL_SYNTAX): Check autoreconf.
bother with $force since...
* lib/Autom4te/General.pm: does.
-
2001-10-08 Akim Demaille <akim@epita.fr>
* bin/autoreconf.in: Rewrite in Perl.
(m4_strip, m4_version_unletter): Use it.
* tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): Likewise.
-
2001-10-08 Akim Demaille <akim@epita.fr>
* lib/autoconf/autoconf.m4, lib/autoconf/general.m4,
m4_bregexp, m4_bpatsubst, and m4_bmatch.
* doc/autoconf.texi (Redefined M4 Macros): Adjust.
-
2001-10-08 Akim Demaille <akim@epita.fr>
* lib/m4sugar/m4sh.m4: Use AS_REQUIRE.
# --localdir
$autoconf .= " --include=$autoconf_dir --include=$localdir";
$autoheader .= " --include=$autoconf_dir --include=$localdir";
+ # --install and --symlink;
+ if ($install)
+ {
+ $automake .= ' --add-missing';
+ $automake .= ' --copy'
+ unless $symlink;
+ $gettextize .= ' --copy'
+ unless $symlink;
+ $libtoolize .= ' --copy'
+ unless $symlink;
+ }
# --force;
if ($force)
{
$autoconf .= ' --force';
$autoheader .= ' --force';
+ $automake .= ' --force-missing';
$gettextize .= ' --force';
$libtoolize .= ' --force';
}
{
$automake .= ' --no-force';
}
- # --verbose
- if ($verbose)
- {
- $autoconf .= ' --verbose';
- $autoheader .= ' --verbose';
- $aclocal .= ' --verbose';
- }
# --debug;
if ($debug)
{
- $autoconf .= ' --debug';
- $autoheader .= ' --debug';
+ $autoconf .= ' --verbose --debug';
+ $autoheader .= ' --verbose --debug';
$automake .= ' --verbose';
+ $aclocal .= ' --verbose';
$libtoolize .= ' --debug';
}
- # --install and --symlink;
- if ($install)
- {
- $automake .= ' --add-missing';
- $automake .= ' --copy'
- unless $symlink;
- $gettextize .= ' --copy'
- unless $symlink;
- $libtoolize .= ' --copy'
- unless $symlink;
- }
}
{
# If there it's not `configure.ac' or `configure.in', we are not
# interested in the directory.
- verbose "{$_}\n";
return
if !/^configure\.(ac|in)$/;
# -------------------- #
my $uses_libtool = 0;
- my $traces = new Autom4te::XFile "$autoconf --trace=AM_PROG_LIBTOOL |";
+ $traces = new Autom4te::XFile "$autoconf --trace=AM_PROG_LIBTOOL |";
while ($_ = $traces->getline)
{
$uses_libtool = 1
# is used too.
# Just as for autoconf, up to date ness is performed by the tool itself.
my $uses_autoheader = 0;
- my $traces = new Autom4te::XFile "$autoconf --trace=AC_CONFIG_HEADERS |";
+ $traces = new Autom4te::XFile "$autoconf --trace=AC_CONFIG_HEADERS |";
while ($_ = $traces->getline)
{
$uses_autoheader = 1
end-language: "Automake-preselections"
+## -------------------------- ##
+## Autoreconf-preselections. ##
+## -------------------------- ##
+
+begin-language: "Autoreconf-preselections"
+args: --preselect AC_PROG_LIBTOOL
+args: --preselect AM_PROG_LIBTOOL
+args: --preselect AM_GNU_GETTEXT
+end-language: "Autoreconf-preselections"
+
+
## ------------------------ ##
## Autoscan-preselections. ##
## ------------------------ ##
args: --warning syntax
args: --normalize
args: --language Autoheader-preselections
-args: --language Autoscan-preselections
args: --language Automake-preselections
+args: --language Autoreconf-preselections
+args: --language Autoscan-preselections
end-language: "Autoconf"