diff options
author | Eric Blake <eblake@redhat.com> | 2012-06-26 10:40:39 -0600 |
---|---|---|
committer | Stefano Lattarini <stefano.lattarini@gmail.com> | 2012-06-26 20:15:25 +0200 |
commit | 0fcbd7c19e18265a4d2ca9f2158ec98daf4d67a9 (patch) | |
tree | a093f9841d93b69589159b76d4f3c1cbbd2f99ae /lib/missing | |
parent | 9adbc8d7d5a2a90e97d29af5ebff176fb3d794f3 (diff) | |
download | automake-0fcbd7c19e18265a4d2ca9f2158ec98daf4d67a9.tar.gz |
missing: --run is supported again (as a no-op) for use by older automake
Commit v1.12.1-87-ga22717d of 2012-06-21 ("missing: do not touch
timestamps; only warn for out-of-date files") has removed the '--run'
option, 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 (this happened in practice for GNU m4; see:
<http://lists.gnu.org/archive/html/bug-m4/2012-06/msg00001.html>), 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'.
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Diffstat (limited to 'lib/missing')
-rwxr-xr-x | lib/missing | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/missing b/lib/missing index 86301c441..dab67a874 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 <pinard@iro.umontreal.ca>, 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]... |