1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-11 16:08:13 +00:00

Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-581

Fix exec-shield autoconf test

2004-09-29  Miles Bader  <miles@gnu.org>

   * configure.in (HAVE_EXECSHIELD): Test correct env variable to see
   if setarch is present.
This commit is contained in:
Miles Bader 2004-09-29 09:52:39 +00:00
parent f2be4fd018
commit bc9b2430ed
3 changed files with 193 additions and 353 deletions

View File

@ -1,3 +1,8 @@
2004-09-29 Miles Bader <miles@gnu.org>
* configure.in (HAVE_EXECSHIELD): Test correct env variable to see
if setarch is present.
2004-09-25 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
* configure.in (HAVE_EXECSHIELD): Only define on x86.

539
configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -1292,7 +1292,7 @@ AC_CHECK_FILE(/proc/sys/kernel/exec-shield, emacs_cv_execshield=1,
if test "$emacs_cv_execshield" = 1; then
AC_PATH_PROG(SETARCH, setarch, no)
AC_SUBST(SETARCH)
if test "$setarch" != no && test "$machine" = "intel386"; then
if test "$SETARCH" != no && test "$machine" = "intel386"; then
AC_DEFINE(HAVE_EXECSHIELD, 1,
[Define to 1 if this OS has exec shield and we can handle it.])
else