Merge branch 'maint'
authorStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 17 Mar 2011 22:31:48 +0000 (23:31 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 17 Mar 2011 22:31:48 +0000 (23:31 +0100)
1  2 
ChangeLog
tests/alloca.test
tests/alloca2.test

diff --cc ChangeLog
+++ b/ChangeLog
@@@ -1,27 -1,16 +1,40 @@@
+ 2011-03-04  Stefano Lattarini  <stefano.lattarini@gmail.com>
+       tests: fix bug in alloca*.test
+       * tests/alloca.test: Make grepping of automake stderr stricter,
+       add a trailing `:' command; also, add AC_PROG_CC to configure.in,
+       and create a dummy alloca.c file, to ensure that we fail for the
+       proper reason.
+       * tests/alloca2.test: Likewise.  Also, look for LT_INIT, not
+       AC_PROG_LIBTOOL, in the error message (bug introduced with commit
+       v1.11-315-gd51e7b7 "libtool: suggest LT_INIT if LTLIBRARIES
+       primary is used").
+       From a report by Patrick Welche.
 +2011-03-17  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      cosmetics: better use of m4 quoting and m4sugar macros
 +      * m4/dmalloc.m4: Better use of m4 quoting.  Bump serial number.
 +      * m4/gcj.m4: Likewise.
 +      * m4/init.m4: Likewise.
 +      * m4/install-sh.m4: Likewise.
 +      * m4/lex.m4: Likewise.
 +      * m4/multi.m4: Likewise.
 +      * m4/option.m4: Likewise.
 +      * m4/python.m4: Likewise.
 +      * m4/sanity.m4: Likewise.
 +      * m4/cond.m4: Likewise.  Also, prefer the m4sugar macro 'm4_if'
 +      over the plain m4 macro 'ifelse'.
 +      * m4/depend.m4: Likewise.
 +
 +2011-03-17  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      tests: add test about deprecated use of AC_INIT
 +      * tests/deprecated-acinit.test: New test, check that automake
 +      and autoconf complain about an old-style AC_INIT call used with
 +      a new-style AM_AUTOMAKE_INIT call.
 +      * tests/Makefile.am (TESTS): Update.
 +
  2011-03-04  Stefano Lattarini  <stefano.lattarini@gmail.com>
  
        tests: fix bug (comments-in-var-defn.test + autoconf 2.62)
  
  . ./defs || Exit 1
  
 -set -e
 -
+ cat >> configure.in <<'END'
+ AC_PROG_CC
+ END
  cat > Makefile.am << 'END'
  noinst_LIBRARIES = libtu.a
  libtu_a_SOURCES =
  
  . ./defs || Exit 1
  
 -set -e
 -
+ cat >> configure.in <<'END'
+ AC_PROG_CC
+ END
  cat > Makefile.am << 'END'
  noinst_LTLIBRARIES = libtu.la
  libtu_la_SOURCES =