diff options
| author | Jan Djärv | 2004-09-24 07:19:05 +0000 |
|---|---|---|
| committer | Jan Djärv | 2004-09-24 07:19:05 +0000 |
| commit | 83f1cb949ff65524c9aa0e1a447ebb9434337643 (patch) | |
| tree | e516628a8f368e0ec8c20a527beb92da9260690d | |
| parent | 4489ece2663ff713da6e5b08e8e3cb96a8af9fdc (diff) | |
| download | emacs-83f1cb949ff65524c9aa0e1a447ebb9434337643.tar.gz emacs-83f1cb949ff65524c9aa0e1a447ebb9434337643.zip | |
* config.in: Rebuild.
* Makefile.in: Run setarh i386 ./temacs if exec-shield is present.
| -rw-r--r-- | src/ChangeLog | 6 | ||||
| -rw-r--r-- | src/Makefile.in | 15 | ||||
| -rw-r--r-- | src/config.in | 3 |
3 files changed, 20 insertions, 4 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index e71a0e3217d..7a7b18a36b9 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2004-09-24 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> | ||
| 2 | |||
| 3 | * config.in: Rebuild. | ||
| 4 | |||
| 5 | * Makefile.in: Run setarh i386 ./temacs if exec-shield is present. | ||
| 6 | |||
| 1 | 2004-09-18 Stefan Monnier <monnier@iro.umontreal.ca> | 7 | 2004-09-18 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 8 | ||
| 3 | * xterm.c (x_term_init): Work around a bug in some X servers. | 9 | * xterm.c (x_term_init): Work around a bug in some X servers. |
diff --git a/src/Makefile.in b/src/Makefile.in index 5769e8a1e07..9fc7f7e4a9f 100644 --- a/src/Makefile.in +++ b/src/Makefile.in | |||
| @@ -905,6 +905,13 @@ LIBES = $(LOADLIBES) $(LIBS) $(LIBX) $(LIBSOUND) \ | |||
| 905 | #define OBJECTS_MACHINE | 905 | #define OBJECTS_MACHINE |
| 906 | #endif | 906 | #endif |
| 907 | 907 | ||
| 908 | #ifdef HAVE_EXECSHIELD | ||
| 909 | #undef i386 | ||
| 910 | RUN_TEMACS = @SETARCH@ i386 ./temacs | ||
| 911 | #else | ||
| 912 | RUN_TEMACS = ./temacs | ||
| 913 | #endif | ||
| 914 | |||
| 908 | all: emacs${EXEEXT} OTHER_FILES | 915 | all: emacs${EXEEXT} OTHER_FILES |
| 909 | 916 | ||
| 910 | emacs${EXEEXT}: temacs${EXEEXT} ${etc}DOC ${lisp} | 917 | emacs${EXEEXT}: temacs${EXEEXT} ${etc}DOC ${lisp} |
| @@ -913,9 +920,9 @@ emacs${EXEEXT}: temacs${EXEEXT} ${etc}DOC ${lisp} | |||
| 913 | ln temacs${EXEEXT} emacs${EXEEXT} | 920 | ln temacs${EXEEXT} emacs${EXEEXT} |
| 914 | #else | 921 | #else |
| 915 | #ifdef HAVE_SHM | 922 | #ifdef HAVE_SHM |
| 916 | LC_ALL=C ./temacs -nl -batch -l loadup dump | 923 | LC_ALL=C $(RUN_TEMACS) -nl -batch -l loadup dump |
| 917 | #else /* ! defined (HAVE_SHM) */ | 924 | #else /* ! defined (HAVE_SHM) */ |
| 918 | LC_ALL=C ./temacs -batch -l loadup dump | 925 | LC_ALL=C $(RUN_TEMACS) -batch -l loadup dump |
| 919 | #endif /* ! defined (HAVE_SHM) */ | 926 | #endif /* ! defined (HAVE_SHM) */ |
| 920 | #endif /* ! defined (CANNOT_DUMP) */ | 927 | #endif /* ! defined (CANNOT_DUMP) */ |
| 921 | -./emacs -q -batch -f list-load-path-shadows | 928 | -./emacs -q -batch -f list-load-path-shadows |
| @@ -1332,9 +1339,9 @@ bootstrap-emacs${EXEEXT}: temacs${EXEEXT} | |||
| 1332 | ln temacs${EXEEXT} bootstrap-emacs${EXEEXT} | 1339 | ln temacs${EXEEXT} bootstrap-emacs${EXEEXT} |
| 1333 | #else | 1340 | #else |
| 1334 | #ifdef HAVE_SHM | 1341 | #ifdef HAVE_SHM |
| 1335 | ./temacs -nl -batch -l loadup bootstrap | 1342 | $(RUN_TEMACS) -nl -batch -l loadup bootstrap |
| 1336 | #else /* ! defined (HAVE_SHM) */ | 1343 | #else /* ! defined (HAVE_SHM) */ |
| 1337 | ./temacs --batch --load loadup bootstrap | 1344 | $(RUN_TEMACS) --batch --load loadup bootstrap |
| 1338 | #endif /* ! defined (HAVE_SHM) */ | 1345 | #endif /* ! defined (HAVE_SHM) */ |
| 1339 | mv -f emacs${EXEEXT} bootstrap-emacs${EXEEXT} | 1346 | mv -f emacs${EXEEXT} bootstrap-emacs${EXEEXT} |
| 1340 | #endif /* ! defined (CANNOT_DUMP) */ | 1347 | #endif /* ! defined (CANNOT_DUMP) */ |
diff --git a/src/config.in b/src/config.in index 0fb4b3f3444..fac26db0a84 100644 --- a/src/config.in +++ b/src/config.in | |||
| @@ -136,6 +136,9 @@ Boston, MA 02111-1307, USA. */ | |||
| 136 | /* Define to 1 if you have the `euidaccess' function. */ | 136 | /* Define to 1 if you have the `euidaccess' function. */ |
| 137 | #undef HAVE_EUIDACCESS | 137 | #undef HAVE_EUIDACCESS |
| 138 | 138 | ||
| 139 | /* Define to 1 if this OS has exec shield. */ | ||
| 140 | #undef HAVE_EXECSHIELD | ||
| 141 | |||
| 139 | /* Define to 1 if you have the <fcntl.h> header file. */ | 142 | /* Define to 1 if you have the <fcntl.h> header file. */ |
| 140 | #undef HAVE_FCNTL_H | 143 | #undef HAVE_FCNTL_H |
| 141 | 144 | ||