GNU bug report logs - #13507
small patch for 1.13.1 t/lisp-flags.sh

Previous Next

Package: automake;

Reported by: Thien-Thi Nguyen <ttn <at> gnuvola.org>

Date: Sun, 20 Jan 2013 18:33:01 UTC

Severity: normal

Done: Stefano Lattarini <stefano.lattarini <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Thien-Thi Nguyen <ttn <at> gnuvola.org>
To: bug-automake <at> gnu.org
Subject: small patch for 1.13.1 t/lisp-flags.sh
Date: Sun, 20 Jan 2013 19:05:37 +0100
[Message part 1 (text/plain, inline)]
Here is a suitable ChangeLog entry:

2013-01-20  Thien-Thi Nguyen  <ttn <at> 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:

[lisp-flags.patch (text/x-diff, inline)]
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
[Message part 3 (text/plain, inline)]
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 ...........
[Message part 4 (application/pgp-signature, inline)]

This bug report was last modified 12 years and 123 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.