autoconf-patches
[Top][All Lists]
Advanced

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

FYI: --force-missing


From: Akim Demaille
Subject: FYI: --force-missing
Date: Wed, 12 Nov 2003 16:30:40 +0100
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)

Index: ChangeLog
from  Akim Demaille  <address@hidden>

        * bin/autoreconf.in (&parse_args): Don't call automake with
        --force-missing unless it actually supports it.
        From Debian #219336.

Index: bin/autoreconf.in
===================================================================
RCS file: /cvsroot/autoconf/autoconf/bin/autoreconf.in,v
retrieving revision 1.120
diff -u -u -r1.120 autoreconf.in
--- bin/autoreconf.in 3 Oct 2003 07:30:02 -0000 1.120
+++ bin/autoreconf.in 12 Nov 2003 15:27:25 -0000
@@ -117,6 +117,8 @@
 my $symlink = 0;
 # Does aclocal support --force?
 my $aclocal_supports_force = 0;
+# Does automake support --force-missing?
+my $automake_supports_force_missing = 0;
 
 my @prepend_include;
 my @include;
@@ -172,6 +174,7 @@
     }
 
   $aclocal_supports_force = `$aclocal --help` =~ /--force/;
+  $automake_supports_force_missing = `$automake --help` =~ /--force-missing/;
 
   # Dispatch autoreconf's option to the tools.
   # --include;
@@ -194,7 +197,8 @@
        if $aclocal_supports_force;
       $autoconf   .= ' --force';
       $autoheader .= ' --force';
-      $automake   .= ' --force-missing';
+      $automake   .= ' --force-missing'
+       if $automake_supports_force_missing;
       $autopoint  .= ' --force';
       $libtoolize .= ' --force';
     }




reply via email to

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