]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
Merge branch 'master' into ng/master
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 24 Jun 2012 08:56:46 +0000 (10:56 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 24 Jun 2012 08:56:46 +0000 (10:56 +0200)
* master:
  tests: fix automatic re-execution of tests with Zsh
  tests: drop support for older Zsh shells
  tests: allow AM_TEST_RUNNER_SHELL to be overridden
  tests: fix setup for older Zsh
  missing: do not touch timestamps; only warn for out-of-date files

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
1  2 
doc/automake-ng.texi
lib/am/distdir.am
lib/missing
t/README
t/man6.sh

index 805957144c11420f7ecb4fbfec3b9ca84654ac3e,73dceabb8ec50e2076ca91ec568bba4f60164714..9626b1a77f9a106cf28d2b2207a6e953ee3b99f2
@@@ -2306,10 -2294,20 +2306,10 @@@ a file and prints some date informatio
  
  @item missing
  This wraps a number of programs that are typically only required by
- maintainers.  If the program in question doesn't exist,
- @command{missing} prints an informative warning and attempts to fix
- things so that the build can continue.
+ maintainers.  If the program in question doesn't exist, or seems to old,
+ @command{missing} will print an informative warning before failing out,
+ to provide the user with more context and information.
  
 -@item mkinstalldirs
 -This script used to be a wrapper around @samp{mkdir -p}, which is not
 -portable.  Now we prefer to use @samp{install-sh -d} when @command{configure}
 -finds that @samp{mkdir -p} does not work, this makes one less script to
 -distribute.
 -
 -For backward compatibility @file{mkinstalldirs} is still used and
 -distributed when @command{automake} finds it in a package.  But it is no
 -longer installed automatically, and it should be safe to remove it.
 -
  @item py-compile
  This is used to byte-compile Python scripts.
  
Simple merge
diff --cc lib/missing
index be44a62b132a4dac64e39f97a1f601a9cf9f3b31,06e0af1d78a39b56fefc7382a1adf23498d1bc39..a65c9b6c7d9cf54d605059a93a4f1d88e5d770e8
@@@ -1,10 -1,10 +1,10 @@@
  #! /bin/sh
- # Common stub for a few missing GNU programs while installing.
+ # Common wrapper for a few potentially missing GNU programs.
  
- scriptversion=2012-06-02.10; # UTC
 -scriptversion=2012-06-14.10; # UTC
++scriptversion=2012-06-24.10; # UTC
  
  # Copyright (C) 1996-2012 Free Software Foundation, Inc.
- # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
+ # Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
  
  # This program is free software; you can redistribute it and/or modify
  # it under the terms of the GNU General Public License as published by
@@@ -29,30 -29,21 +29,15 @@@ if test $# -eq 0; the
    exit 1
  fi
  
- run=:
- sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p'
- sed_minuso='s/.* -o \([^ ]*\).*/\1/p'
 -# In the cases where this matters, 'missing' is being run in the
 -# srcdir already.
 -if test -f configure.ac; then
 -  configure_ac=configure.ac
 -else
 -  configure_ac=configure.in
 -fi
 +configure_ac=configure.ac
  
- msg="missing on your system"
  case $1 in
- --run)
-   # Try to run requested program, and just exit if it succeeds.
-   run=
-   shift
-   "$@" && exit 0
-   # Exit code 63 means version mismatch.  This often happens
-   # when the user try to use an ancient version of a tool on
-   # a file that requires a minimum version.  In this case we
-   # we should proceed has if the program had been absent, or
-   # if --run hadn't been passed.
-   if test $? = 63; then
-     run=:
-     msg="probably too old"
-   fi
-   ;;
+   --is-lightweight)
+     # Used by our autoconf macros to check whether the available missing
+     # script is modern enough.
+     exit 0
+     ;;
  
    -h|--h|--he|--hel|--help)
      echo "\
diff --cc t/README
Simple merge
diff --cc t/man6.sh
Simple merge