automake-patches
[Top][All Lists]
Advanced

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

Re: CVS, bootstrapping and DJGPP


From: Alexandre Duret-Lutz
Subject: Re: CVS, bootstrapping and DJGPP
Date: Thu, 06 Feb 2003 17:51:47 +0100
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-pc-linux-gnu)

[moved from address@hidden to address@hidden

>>> "Richard" == Richard Dawe <address@hidden> writes:

[...]

 >> > I keep getting the following message:
 >> >
 >> > configure.ac: `AM_INIT_AUTOMAKE' must be used
 >> > automake: your implementation of AM_INIT_AUTOMAKE comes from an
 >> > automake: old Automake version.  You should recreate aclocal.m4
 >> > automake: with aclocal and run automake again.
 >> > automake: no `Makefile.am' found or specified

[...]

 Richard> On further investigation it seems to be a bug in the
 Richard> DJGPP port of automake.  There's something weird going
 Richard> on with the autoconf --traces, which means it doesn't
 Richard> find AM_INIT_AUTOMAKE.

[...]

I don't know what's wrong with --traces, however I can see that
diagnostics produced by Automake are confusing.  It shouldn't
say AM_INIT_AUTOMAKE is too old if it didn't find it.

I'm installing the following change on HEAD and branch-1-7.

2003-02-06  Alexandre Duret-Lutz  <address@hidden>

        * automake.in (scan_autoconf_files): Don't complain that
        AM_INIT_AUTOMAKE comes from an old version if it was not found.

Index: automake.in
===================================================================
RCS file: /cvs/automake/automake/automake.in,v
retrieving revision 1.1365.2.29
diff -u -r1.1365.2.29 automake.in
--- automake.in 13 Jan 2003 14:06:02 -0000      1.1365.2.29
+++ automake.in 6 Feb 2003 16:44:42 -0000
@@ -5358,25 +5358,29 @@
 
     @configure_input_files = sort keys %make_list;
 
-    err_ac "`AM_INIT_AUTOMAKE' must be used"
-      if ! $seen_init_automake;
-
-    if (! $seen_automake_version)
+    if (! $seen_init_automake)
       {
-       if (-f 'aclocal.m4')
-         {
-           error ($seen_init_automake || $me,
-                  "your implementation of AM_INIT_AUTOMAKE comes from " .
-                  "an\nold Automake version.  You should recreate " .
-                  "aclocal.m4\nwith aclocal and run automake again.\n");
-         }
-       else
+       err_ac "`AM_INIT_AUTOMAKE' must be used";
+      }
+    else
+      {
+       if (! $seen_automake_version)
          {
-           error ($seen_init_automake || $me,
-                  "no proper implementation of AM_INIT_AUTOMAKE was " .
-                  "found,\nprobably because aclocal.m4 is missing...\n" .
-                  "You should run aclocal to create this file, then\n" .
-                  "run automake again.\n");
+           if (-f 'aclocal.m4')
+             {
+               error ($seen_init_automake,
+                      "your implementation of AM_INIT_AUTOMAKE comes from " .
+                      "an\nold Automake version.  You should recreate " .
+                      "aclocal.m4\nwith aclocal and run automake again.\n");
+             }
+           else
+             {
+               error ($seen_init_automake,
+                      "no proper implementation of AM_INIT_AUTOMAKE was " .
+                      "found,\nprobably because aclocal.m4 is missing...\n" .
+                      "You should run aclocal to create this file, then\n" .
+                      "run automake again.\n");
+             }
          }
       }
 

-- 
Alexandre Duret-Lutz





reply via email to

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