emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] scratch/raeburn-startup 761346d 34/43: Use CANNOT_DUMP mod


From: Ken Raeburn
Subject: [Emacs-diffs] scratch/raeburn-startup 761346d 34/43: Use CANNOT_DUMP mode.
Date: Mon, 31 Jul 2017 02:11:04 -0400 (EDT)

branch: scratch/raeburn-startup
commit 761346dc6e3a8d64cd087796491ab7c1b0a36f20
Author: Ken Raeburn <address@hidden>
Commit: Ken Raeburn <address@hidden>

    Use CANNOT_DUMP mode.
    
    * configure.ac: Always set CANNOT_DUMP=yes.
    * src/Makefile.in (emacs$(EXEEXT)): Always execute the "dump" code.
    (bootstrap-emacs$(EXEEXT)): Always execute the "bootstrap" code.
---
 configure.ac    | 7 +++----
 src/Makefile.in | 4 ++--
 2 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/configure.ac b/configure.ac
index 4628cfb..7aaf772 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1347,10 +1347,9 @@ AC_CACHE_CHECK([whether addresses are sanitized],
 
 dnl The function dump-emacs will not be defined and temacs will do
 dnl (load "loadup") automatically unless told otherwise.
-test "x$CANNOT_DUMP" = "x" && CANNOT_DUMP=no
-case "$opsys" in
-  nacl) CANNOT_DUMP=yes ;;
-esac
+dnl
+dnl For the big-elc model, we never support dumping.
+CANNOT_DUMP=yes
 
 if test "$CANNOT_DUMP" = "yes"; then
   AC_DEFINE(CANNOT_DUMP, 1, [Define if Emacs cannot be dumped on your system.])
diff --git a/src/Makefile.in b/src/Makefile.in
index 57969d5..e2f70e6 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -529,10 +529,10 @@ ${lispintdir}/characters.elc: ${charscript:.el=.elc}
 emacs$(EXEEXT): temacs$(EXEEXT) \
                 lisp.mk $(etc)/DOC $(lisp) \
                 $(lispsource)/international/charprop.el ${charsets}
+       LC_ALL=C $(RUN_TEMACS) -batch $(BUILD_DETAILS) -l loadup dump
 ifeq ($(CANNOT_DUMP),yes)
        ln -f temacs$(EXEEXT) $@
 else
-       LC_ALL=C $(RUN_TEMACS) -batch $(BUILD_DETAILS) -l loadup dump
   ifneq ($(PAXCTL_dumped),)
        $(PAXCTL_dumped) $@
   endif
@@ -733,10 +733,10 @@ $(lispsource)/loaddefs.el: $(VCSWITNESS) | 
bootstrap-emacs$(EXEEXT)
 ## files from loadup.el in source form.
 bootstrap-emacs$(EXEEXT): temacs$(EXEEXT)
        $(MAKE) -C ../lisp update-subdirs
+       $(RUN_TEMACS) --batch $(BUILD_DETAILS) --load loadup bootstrap
 ifeq ($(CANNOT_DUMP),yes)
        ln -f temacs$(EXEEXT) $@
 else
-       $(RUN_TEMACS) --batch $(BUILD_DETAILS) --load loadup bootstrap
   ifneq ($(PAXCTL_dumped),)
        $(PAXCTL_dumped) emacs$(EXEEXT)
   endif



reply via email to

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