changeset 104558:1de57b71aa21

* Makefile.in (emacs${EXEEXT}) [CANNOT_DUMP]: Set EMACSLOADPATH before invoking the newly build emacs to check for load-path shadowing.
author Ken Raeburn <raeburn@raeburn.org>
date Sun, 23 Aug 2009 04:43:12 +0000
parents 4ac126250d16
children 5341a7b533a2
files src/ChangeLog src/Makefile.in
diffstat 2 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Sun Aug 23 03:54:32 2009 +0000
+++ b/src/ChangeLog	Sun Aug 23 04:43:12 2009 +0000
@@ -1,3 +1,9 @@
+2009-08-23  Ken Raeburn  <raeburn@raeburn.org>
+
+	* Makefile.in (emacs${EXEEXT}) [CANNOT_DUMP]: Set EMACSLOADPATH
+	before invoking the newly build emacs to check for load-path
+	shadowing.
+
 2009-08-22  Glenn Morris  <rgm@gnu.org>
 
 	* Makefile.in (bootstrap_exe): New variable.
--- a/src/Makefile.in	Sun Aug 23 03:54:32 2009 +0000
+++ b/src/Makefile.in	Sun Aug 23 04:43:12 2009 +0000
@@ -908,13 +908,14 @@
 #ifdef CANNOT_DUMP
 	rm -f emacs${EXEEXT}
 	ln temacs${EXEEXT} emacs${EXEEXT}
+	-EMACSLOADPATH=${lispsource} ./emacs -q -batch -f list-load-path-shadows
 #else
 	LC_ALL=C $(RUN_TEMACS) -batch -l loadup dump
 	@: This new Emacs is as functional and more efficient then
 	@: bootstrap-emacs, so let us replace it.
 	-ln -f emacs${EXEEXT} bootstrap-emacs${EXEEXT}
+	-./emacs -q -batch -f list-load-path-shadows
 #endif /* ! defined (CANNOT_DUMP) */
-	-./emacs -q -batch -f list-load-path-shadows
 
 /* We run make-docfile twice because the command line may get too long
    on some systems.  */