mirror of
git://git.sv.gnu.org/autoconf
synced 2024-12-03 02:00:36 +08:00
* bin/autoreconf.in (autoreconf): Run automake after rerunning
aclocal.
This commit is contained in:
parent
9b7a51e844
commit
70e9cf4bd3
@ -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)
|
||||
|
@ -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. #
|
||||
# ------------------ #
|
||||
|
Loading…
Reference in New Issue
Block a user