bug-automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: wrong error message "`AM_INIT_AUTOMAKE' must be used"


From: Alexandre Duret-Lutz
Subject: Re: wrong error message "`AM_INIT_AUTOMAKE' must be used"
Date: Sat, 12 Apr 2003 13:15:50 +0200
User-agent: Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.2 (gnu/linux)

>>> "Bruno" == Bruno Haible <address@hidden> writes:

[...]

 Bruno> So please update the error message to read something like

 Bruno> no proper invocation of AM_INIT_AUTOMAKE was found.
 Bruno> You should verify that configure.{in,ac} invokes AM_INIT_AUTOMAKE,
 Bruno> that aclocal.m4 is present in the top level directory,
 Bruno> and that aclocal.m4 was recently regenerated (using aclocal).

Merci Bruno!  I'm installing this on HEAD & branch-1-7.

2003-04-12  Alexandre Duret-Lutz  <address@hidden>

        * automake.in (scan_autoconf_files): Augment the error message
        about AM_INIT_AUTOMAKE not found.
        Suggested by Bruno Haible.

Index: automake.in
===================================================================
RCS file: /cvs/automake/automake/automake.in,v
retrieving revision 1.1365.2.39
diff -u -r1.1365.2.39 automake.in
--- automake.in 6 Apr 2003 19:27:52 -0000       1.1365.2.39
+++ automake.in 12 Apr 2003 11:14:36 -0000
@@ -5414,7 +5414,11 @@
 
     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
       {


-- 
Alexandre Duret-Lutz





reply via email to

[Prev in Thread] Current Thread [Next in Thread]