From: Andreas Schwab Date: Wed, 3 Apr 2002 10:53:55 +0000 (+0000) Subject: * bin/autoreconf.in (autoreconf): Run automake after rerunning X-Git-Tag: AUTOCONF-2.53a~46 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=70e9cf4bd3ce04a7f769c125c92264ebcd0bce7a;p=thirdparty%2Fautoconf.git * bin/autoreconf.in (autoreconf): Run automake after rerunning aclocal. --- diff --git a/ChangeLog b/ChangeLog index 8b964a148..f7b558b26 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-04-03 Andreas Schwab + + * bin/autoreconf.in (autoreconf): Run automake after rerunning + aclocal. + 2002-04-03 Akim Demaille * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT) diff --git a/bin/autoreconf.in b/bin/autoreconf.in index b4905cc67..befe103b5 100644 --- a/bin/autoreconf.in +++ b/bin/autoreconf.in @@ -426,29 +426,12 @@ sub autoreconf ($) } - # ------------------ # - # Running automake. # - # ------------------ # - - # Assumes that there is a Makefile.am in the topmost directory. - if (!-f 'Makefile.am') - { - verbose "$configure_ac: not using Automake"; - } - else - { - # We should always run automake, and let it decide whether it shall - # update the file or not. In fact, the effect of `$force' is already - # included in `$automake' via `--no-force'. - xsystem ($automake); - } - - # ------------------- # # 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) @@ -465,6 +448,24 @@ sub autoreconf ($) } + # ------------------ # + # Running automake. # + # ------------------ # + + # Assumes that there is a Makefile.am in the topmost directory. + if (!-f 'Makefile.am') + { + verbose "$configure_ac: not using Automake"; + } + else + { + # We should always run automake, and let it decide whether it shall + # update the file or not. In fact, the effect of `$force' is already + # included in `$automake' via `--no-force'. + xsystem ($automake); + } + + # ------------------ # # Running autoconf. # # ------------------ #