Merge branch 'maint' into branch-1.11
authorStefano Lattarini <stefano.lattarini@gmail.com>
Tue, 3 Jan 2012 21:57:49 +0000 (22:57 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Tue, 3 Jan 2012 21:57:49 +0000 (22:57 +0100)
* maint:
  install: pkglibexec_SCRIPTS is a valid prefix/primary combination
  coverage: expose automake bug#10128
  progs, libs: implement EXTRA_foo_DEPENDENCIES
  tests: fix spurious failures in 'pr300*.test'

1  2 
NEWS
automake.in
doc/automake.texi
tests/Makefile.am
tests/pr300-lib.test
tests/pr300-ltlib.test
tests/primary-prefix-invalid-couples.test
tests/primary-prefix-valid-couples.test

diff --cc NEWS
--- 1/NEWS
--- 2/NEWS
+++ b/NEWS
@@@ -40,40 -46,6 +40,50 @@@ New in 1.11.2a
    - The last relics of Python 1.5 support have been removed from the
      AM_PATH_PYTHON macro.
  
++  - For programs and libraries, automake now detects EXTRA_foo_DEPENDENCIES
++    and adds them to the normal list of dependencies, but without
++    overwriting the foo_DEPENDENCIES variable, which is normally computed
++    by automake.
++
 +Bugs fixed in 1.11.2a:
 +
++* Bugs introduced by 1.11.2:
++
++  - Automake now correctly recognizes the prefix/primary combination
++   `pkglibexec_SCRIPTS' as valid.
++
 +* Long-standing bugs:
 +
 +  - The "deleted header file problem" for *.am files is avoided by stub
 +    rules.  This allows `make' to trigger a rerun of `automake' also if
 +    some previously needed `.am' file has been removed.
 +
 +  - The `silent-rules' option now generates working makefiles even
 +    for the uncommon `make' implementations that do not support the
 +    nested-variables extension to POSIX 2008.  For such `make'
 +    implementations, whether a build is silent is determined at
 +    configure time, and cannot be overridden at make time with
 +    `make V=0' or `make V=1'.
 +
 +\f
 +New in 1.11.2:
 +
 +* Changes to aclocal:
 +
 +  - The `--acdir' option is deprecated.  Now you should use the new options
 +    `--automake-acdir' and `--system-acdir' instead.
 +
 +  - The `ACLOCAL_PATH' environment variable is now interpreted as a
 +    colon-separated list of additional directories to search after the
 +    automake internal acdir (by default ${prefix}/share/aclocal-APIVERSION)
 +    and before the system acdir (by default ${prefix}/share/aclocal).
 +
 +* Miscellaneous changes:
 +
 +  - The Automake support for automatic de-ANSI-fication has been
 +    deprecated.  I will probably be removed in the next major Automake
 +    release (1.12).
 +
    - The `lzma' compression scheme and associated automake option `dist-lzma'
      is obsoleted by `xz' and `dist-xz' due to upstream changes.
  
diff --cc automake.in
Simple merge
Simple merge
@@@ -402,9 -388,8 +404,11 @@@ extra8.test 
  extra10.test \
  extra11.test \
  extra12.test \
+ extradep.test \
+ extradep2.test \
 +extra-portability.test \
 +extra-portability2.test \
 +extra-portability3.test \
  f90only.test \
  flavor.test \
  flibs.test \
@@@ -45,9 -45,14 +45,14 @@@ EN
  
  $ACLOCAL
  $AUTOCONF
 -$AUTOMAKE --copy --add-missing
 +$AUTOMAKE -Wno-extra-portability --copy --add-missing
  
- ./configure --prefix "`pwd`/inst"
+ # We pass '--libdir' explicitly, to avoid spurious failures due to users
+ # or distributions possibly overriding '${libdir}' in their $CONFIG_SITE
+ # file (for example, defining it to '${prefix}/lib64' on 64-bit systems,
+ # as is the case with openSUSE 12.1).  See automake bug#10426.
+ cwd=`pwd` || Exit 99
+ ./configure --prefix "$cwd/inst" --libdir "$cwd/inst/lib"
  
  $MAKE
  
@@@ -47,9 -47,14 +47,14 @@@ EN
  libtoolize
  $ACLOCAL
  $AUTOCONF
 -$AUTOMAKE --copy --add-missing
 +$AUTOMAKE -Wno-extra-portability --copy --add-missing
  
- ./configure --prefix "`pwd`/inst"
+ # We pass '--libdir' explicitly, to avoid spurious failures due to users
+ # or distributions possibly overriding '${libdir}' in their $CONFIG_SITE
+ # file (for example, defining it to '${prefix}/lib64' on 64-bit systems,
+ # as is the case with openSUSE 12.1).  See automake bug#10426.
+ cwd=`pwd` || Exit 99
+ ./configure --prefix "$cwd/inst" --libdir "$cwd/inst/lib"
  
  $MAKE V=1 >stdout || { cat stdout; Exit 1; }
  cat stdout