From: Alexandre Duret-Lutz Date: Sat, 12 Apr 2003 11:16:51 +0000 (+0000) Subject: * automake.in (scan_autoconf_files): Augment the error message X-Git-Tag: Release-1-7-3b~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6125f2ebd6e164a6b99d6df5113520ced05e94e9;p=thirdparty%2Fautomake.git * automake.in (scan_autoconf_files): Augment the error message about AM_INIT_AUTOMAKE not found. Suggested by Bruno Haible. --- diff --git a/ChangeLog b/ChangeLog index e5c188bf1..a5ba62eff 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2003-04-12 Alexandre Duret-Lutz + * 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. diff --git a/automake.in b/automake.in index ac582c595..db375fcf3 100755 --- a/automake.in +++ b/automake.in @@ -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 {