* bin/autoreconf.in (autoreconf): Run automake after rerunning

aclocal.
This commit is contained in:
Andreas Schwab 2002-04-03 10:53:55 +00:00
parent 9b7a51e844
commit 70e9cf4bd3
2 changed files with 27 additions and 21 deletions

View File

@ -1,3 +1,8 @@
2002-04-03 Andreas Schwab <schwab@suse.de>
* bin/autoreconf.in (autoreconf): Run automake after rerunning
aclocal.
2002-04-03 Akim Demaille <akim@epita.fr>
* lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT)

View File

@ -426,6 +426,28 @@ sub autoreconf ($)
}
# ------------------- #
# Rerunning aclocal. #
# ------------------- #
# If we re-installed Libtool or Gettext, the macros might have changed.
# Automake also needs an up-to-date aclocal.m4.
if ($rerun_alocal)
{
if (!$uses_aclocal)
{
verbose "$configure_ac: not using aclocal";
}
else
{
xsystem ("$aclocal $aclocal_flags --output=aclocal.m4t");
# aclocal may produce no output.
update_file ('aclocal.m4t', 'aclocal.m4')
if -f 'aclocal.m4t';
}
}
# ------------------ #
# Running automake. #
# ------------------ #
@ -444,27 +466,6 @@ sub autoreconf ($)
}
# ------------------- #
# Rerunning aclocal. #
# ------------------- #
# If we re-installed Libtool or Gettext, the macros might have changed.
if ($rerun_alocal)
{
if (!$uses_aclocal)
{
verbose "$configure_ac: not using aclocal";
}
else
{
xsystem ("$aclocal $aclocal_flags --output=aclocal.m4t");
# aclocal may produce no output.
update_file ('aclocal.m4t', 'aclocal.m4')
if -f 'aclocal.m4t';
}
}
# ------------------ #
# Running autoconf. #
# ------------------ #