automake-patches
[Top][All Lists]
Advanced

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

[PATCH] missing: retore back-compat for use by older automake


From: Eric Blake
Subject: [PATCH] missing: retore back-compat for use by older automake
Date: Tue, 26 Jun 2012 10:40:39 -0600

Commit a22717dffe3 removed the --run argument, since our new preferred
calling conventions now imply it; but if a newer 'missing' is mixed
with an already built project that used an older Automake version, then
the 'Makefile' in that project will fail due to passing the --run
option when trying to bring the project up-to-date.

* lib/missing: Parse and ignore --run.
---
 lib/missing |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/lib/missing b/lib/missing
index 86301c4..dab67a8 100755
--- a/lib/missing
+++ b/lib/missing
@@ -1,7 +1,7 @@
 #! /bin/sh
 # Common wrapper for a few potentially missing GNU programs.

-scriptversion=2012-06-25.09; # UTC
+scriptversion=2012-06-26.16; # UTC

 # Copyright (C) 1996-2012 Free Software Foundation, Inc.
 # Originally written by Fran,cois Pinard <address@hidden>, 1996.
@@ -37,6 +37,11 @@ case $1 in
     exit 0
     ;;

+  --run)
+    # Back-compat with the calling convention used by older automake.
+    shift
+    ;;
+
   -h|--h|--he|--hel|--help)
     echo "\
 $0 [OPTION]... PROGRAM [ARGUMENT]...
-- 
1.7.10.2




reply via email to

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