Mercurial > emacs
comparison configure @ 57230:4408561037cf
* configure.in (HAVE_EXECSHIELD): Only define on x86.
* configure: Rebuild.
author | Jan Djärv <jan.h.d@swipnet.se> |
---|---|
date | Sat, 25 Sep 2004 20:41:08 +0000 |
parents | 6e40bed9e91e |
children | 6ce2eaa4905a e23928ac5a97 |
comparison
equal
deleted
inserted
replaced
57229:fb9de0d75bef | 57230:4408561037cf |
---|---|
4300 else | 4300 else |
4301 emacs_cv_execshield=0 | 4301 emacs_cv_execshield=0 |
4302 fi | 4302 fi |
4303 | 4303 |
4304 if test "$emacs_cv_execshield" = 1; then | 4304 if test "$emacs_cv_execshield" = 1; then |
4305 # Extract the first word of "setarch", so it can be a program name with args. | 4305 # Extract the first word of "setarch", so it can be a program name with args. |
4306 set dummy setarch; ac_word=$2 | 4306 set dummy setarch; ac_word=$2 |
4307 echo "$as_me:$LINENO: checking for $ac_word" >&5 | 4307 echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4308 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 4308 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
4309 if test "${ac_cv_path_SETARCH+set}" = set; then | 4309 if test "${ac_cv_path_SETARCH+set}" = set; then |
4310 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4310 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4341 echo "$as_me:$LINENO: result: no" >&5 | 4341 echo "$as_me:$LINENO: result: no" >&5 |
4342 echo "${ECHO_T}no" >&6 | 4342 echo "${ECHO_T}no" >&6 |
4343 fi | 4343 fi |
4344 | 4344 |
4345 | 4345 |
4346 if test "$setarch" != no; then | 4346 if test "$setarch" != no && test "$machine" = "intel386"; then |
4347 | 4347 |
4348 cat >>confdefs.h <<\_ACEOF | 4348 cat >>confdefs.h <<\_ACEOF |
4349 #define HAVE_EXECSHIELD 1 | 4349 #define HAVE_EXECSHIELD 1 |
4350 _ACEOF | 4350 _ACEOF |
4351 | 4351 |
4352 fi | 4352 else |
4353 case "`cat /proc/sys/kernel/exec-shield`" in | |
4354 0) ;; | |
4355 *) | |
4356 { { echo "$as_me:$LINENO: error: Exec-shield is turned on. | |
4357 Emacs can not dump itself if exec-shield is turned on. | |
4358 See \`etc/PROBLEMS' for further information." >&5 | |
4359 echo "$as_me: error: Exec-shield is turned on. | |
4360 Emacs can not dump itself if exec-shield is turned on. | |
4361 See \`etc/PROBLEMS' for further information." >&2;} | |
4362 { (exit 1); exit 1; }; } | |
4363 esac | |
4364 fi | |
4353 fi | 4365 fi |
4354 | 4366 |
4355 #### Extract some information from the operating system and machine files. | 4367 #### Extract some information from the operating system and machine files. |
4356 | 4368 |
4357 { echo "$as_me:$LINENO: checking the machine- and system-dependent files to find out | 4369 { echo "$as_me:$LINENO: checking the machine- and system-dependent files to find out |