autoconf-patches
[Top][All Lists]
Advanced

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

Do not pass --no-force to Automake versions prior to 1.8.


From: Alexandre Duret-Lutz
Subject: Do not pass --no-force to Automake versions prior to 1.8.
Date: Mon, 25 Aug 2003 00:46:53 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux)

Hi Akim,

This is what we talked about.  Ok to commit?

2003-08-25  Alexandre Duret-Lutz  <address@hidden>

        * bin/autoreconf.in (parse_args): Do not pass --no-force to
        Automake versions prior to 1.8.

Index: bin/autoreconf.in
===================================================================
RCS file: /cvsroot/autoconf/autoconf/bin/autoreconf.in,v
retrieving revision 1.118
diff -u -r1.118 autoreconf.in
--- bin/autoreconf.in   21 Aug 2003 17:50:11 -0000      1.118
+++ bin/autoreconf.in   24 Aug 2003 22:42:48 -0000
@@ -200,7 +200,12 @@
     }
   else
     {
-      $automake .= ' --no-force';
+      # The implementation of --no-force is bogus in all implementations
+      # of Automake up to 1.8, so we avoid it in these cases.  (Automake
+      # 1.8 is the first version where aclocal supports force, hence
+      # the condition.)
+      $automake .= ' --no-force'
+       if $aclocal_supports_force;
     }
   # --debug;
   if ($debug)
-- 
Alexandre Duret-Lutz





reply via email to

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