Here is a suitable ChangeLog entry:

2013-01-20  Thien-Thi Nguyen  <t...@gnuvola.org>  (tiny change)

        Don't get fooled when running "make check" inside Emacs.

        Some versions of Emacs set the env var 'EMACS' to 't'
        for child processes.  Thus, when running from inside Emacs,
        '$(MAKE) -e' erroneously allows the 't' to override the one
        in the Makefile.  This change avoids that problem.

        * t/lisp-flags.sh: Unset var 'EMACS'.

Here is the patch, proper:

diff -u lisp-flags.sh\~ lisp-flags.sh
--- lisp-flags.sh~	2012-12-31 21:13:40.000000000 +0100
+++ lisp-flags.sh	2013-01-20 18:54:18.000000000 +0100
@@ -28,6 +28,9 @@
 AC_OUTPUT
 EOF

+# Don't get fooled when running as an Emacs subprocess.
+unset EMACS
+
 $ACLOCAL
 $AUTOCONF
 $AUTOMAKE --add-missing

Diff finished.  Sun Jan 20 18:55:14 2013
With this change (and a few hours waiting on this old slow computer), i
am able to see GNU Automake 1.13.1 pass "make check".

-- 
Thien-Thi Nguyen ..................................... GPG key: 4C807502
.                  NB: ttn at glug dot org is not me                   .
.                 (and has not been since 2007 or so)                  .
.                        ACCEPT NO SUBSTITUTES                         .
........... please send technical questions to mailing lists ...........

Attachment: pgp_O4f9RFnnH.pgp
Description: PGP signature

Reply via email to