]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
* automake.in (scan_autoconf_files): Augment the error message
authorAlexandre Duret-Lutz <adl@gnu.org>
Sat, 12 Apr 2003 11:16:51 +0000 (11:16 +0000)
committerAlexandre Duret-Lutz <adl@gnu.org>
Sat, 12 Apr 2003 11:16:51 +0000 (11:16 +0000)
about AM_INIT_AUTOMAKE not found.
Suggested by Bruno Haible.

ChangeLog
automake.in

index e5c188bf18bcf1ad0689ec94e8825416f380b4b5..a5ba62effad2ed2a9028ae7d7f80b9de31f1bc8e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2003-04-12  Alexandre Duret-Lutz  <adl@gnu.org>
 
+       * automake.in (scan_autoconf_files): Augment the error message
+       about AM_INIT_AUTOMAKE not found.
+       Suggested by Bruno Haible.
+
        * lib/Automake/Version.pm: New file.
        * lib/Automake/Makefile.am (dist_perllib_DATA): Add Version.pm.
        * lib/Automake/tests/Version.pl: New file.
index ac582c595ef569d9e8f8b2001a540d8b41ee011f..db375fcf3793e878b5c62f7cbf6d10ff6ecf7996 100755 (executable)
@@ -5366,7 +5366,11 @@ sub scan_autoconf_files
 
     if (! $seen_init_automake)
       {
-       err_ac "`AM_INIT_AUTOMAKE' must be used";
+       err_ac ("no proper invocation of AM_INIT_AUTOMAKE was found.\nYou "
+               . "should verify that $configure_ac invokes AM_INIT_AUTOMAKE,"
+               . "\nthat aclocal.m4 is present in the top-level directory,\n"
+               . "and that aclocal.m4 was recently regenerated "
+               . "(using aclocal).");
       }
     else
       {