]> git.eshelyaron.com Git - emacs.git/commitdiff
* config.in: Rebuild.
authorJan Djärv <jan.h.d@swipnet.se>
Fri, 24 Sep 2004 07:19:05 +0000 (07:19 +0000)
committerJan Djärv <jan.h.d@swipnet.se>
Fri, 24 Sep 2004 07:19:05 +0000 (07:19 +0000)
* Makefile.in: Run setarh i386 ./temacs if exec-shield  is present.

src/ChangeLog
src/Makefile.in
src/config.in

index e71a0e3217da596d6c0504c2335b8226cf4efd69..7a7b18a36b972559c3d16c1d15e6f29c97bd5a0f 100644 (file)
@@ -1,3 +1,9 @@
+2004-09-24  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+
+       * config.in: Rebuild.
+
+       * Makefile.in: Run setarh i386 ./temacs if exec-shield  is present.
+
 2004-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * xterm.c (x_term_init): Work around a bug in some X servers.
index 5769e8a1e072c229dd05a86b9921d52e1490e0a0..9fc7f7e4a9ffac73120d978b67a5746db5acde01 100644 (file)
@@ -905,6 +905,13 @@ LIBES = $(LOADLIBES) $(LIBS) $(LIBX) $(LIBSOUND) \
 #define OBJECTS_MACHINE
 #endif
 
+#ifdef HAVE_EXECSHIELD
+#undef i386
+RUN_TEMACS = @SETARCH@ i386 ./temacs
+#else
+RUN_TEMACS = ./temacs
+#endif
+
 all: emacs${EXEEXT} OTHER_FILES
 
 emacs${EXEEXT}: temacs${EXEEXT} ${etc}DOC ${lisp}
@@ -913,9 +920,9 @@ emacs${EXEEXT}: temacs${EXEEXT} ${etc}DOC ${lisp}
        ln temacs${EXEEXT} emacs${EXEEXT}
 #else
 #ifdef HAVE_SHM
-       LC_ALL=C ./temacs -nl -batch -l loadup dump
+       LC_ALL=C $(RUN_TEMACS) -nl -batch -l loadup dump
 #else /* ! defined (HAVE_SHM) */
-       LC_ALL=C ./temacs -batch -l loadup dump
+       LC_ALL=C $(RUN_TEMACS) -batch -l loadup dump
 #endif /* ! defined (HAVE_SHM) */
 #endif /* ! defined (CANNOT_DUMP) */
        -./emacs -q -batch -f list-load-path-shadows
@@ -1332,9 +1339,9 @@ bootstrap-emacs${EXEEXT}: temacs${EXEEXT}
        ln temacs${EXEEXT} bootstrap-emacs${EXEEXT}
 #else
 #ifdef HAVE_SHM
-       ./temacs -nl -batch -l loadup bootstrap
+       $(RUN_TEMACS) -nl -batch -l loadup bootstrap
 #else /* ! defined (HAVE_SHM) */
-       ./temacs --batch --load loadup bootstrap
+       $(RUN_TEMACS) --batch --load loadup bootstrap
 #endif /* ! defined (HAVE_SHM) */
        mv -f emacs${EXEEXT} bootstrap-emacs${EXEEXT}
 #endif /* ! defined (CANNOT_DUMP) */
index 0fb4b3f3444715809e47cab8efb4b5881f810a2a..fac26db0a84a5735a32432a4e59579a53c0aa945 100644 (file)
@@ -136,6 +136,9 @@ Boston, MA 02111-1307, USA.  */
 /* Define to 1 if you have the `euidaccess' function. */
 #undef HAVE_EUIDACCESS
 
+/* Define to 1 if this OS has exec shield. */
+#undef HAVE_EXECSHIELD
+
 /* Define to 1 if you have the <fcntl.h> header file. */
 #undef HAVE_FCNTL_H