From: Ken Raeburn Date: Sun, 11 Jun 2017 20:11:29 +0000 (-0400) Subject: Use CANNOT_DUMP mode. X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=761346dc6e3a8d64cd087796491ab7c1b0a36f20;p=emacs.git 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. --- diff --git a/configure.ac b/configure.ac index 4628cfb8576..7aaf772a1be 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 57969d5fc58..e2f70e6a9f6 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