From 02b4c501bf87582dfa537fee116194d05726e72e Mon Sep 17 00:00:00 2001 From: Alexandre Duret-Lutz Date: Sat, 12 Apr 2003 11:16:51 +0000 Subject: [PATCH] * automake.in (scan_autoconf_files): Augment the error message about AM_INIT_AUTOMAKE not found. Suggested by Bruno Haible. --- ChangeLog | 4 ++++ automake.in | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index e5c188bf..a5ba62ef 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 ac582c59..db375fcf 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 { -- 2.43.5