[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#13507: small patch for 1.13.1 t/lisp-flags.sh

From: Thien-Thi Nguyen
Subject: bug#13507: small patch for 1.13.1 t/lisp-flags.sh
Date: Sun, 20 Jan 2013 19:05:37 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux)

Here is a suitable ChangeLog entry:

2013-01-20  Thien-Thi Nguyen  <address@hidden>  (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 @@

+# Don't get fooled when running as an Emacs subprocess.
+unset EMACS
 $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: pgpjk89kW5lzK.pgp
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]