Mercurial > emacs
comparison configure.in @ 57268:6ce2eaa4905a
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.
author | Miles Bader <miles@gnu.org> |
---|---|
date | Wed, 29 Sep 2004 09:52:39 +0000 |
parents | 4408561037cf |
children | 76b377db0bca 6c1af301b455 |
comparison
equal
deleted
inserted
replaced
57267:617e54beffb6 | 57268:6ce2eaa4905a |
---|---|
1290 AC_CHECK_FILE(/proc/sys/kernel/exec-shield, emacs_cv_execshield=1, | 1290 AC_CHECK_FILE(/proc/sys/kernel/exec-shield, emacs_cv_execshield=1, |
1291 emacs_cv_execshield=0) | 1291 emacs_cv_execshield=0) |
1292 if test "$emacs_cv_execshield" = 1; then | 1292 if test "$emacs_cv_execshield" = 1; then |
1293 AC_PATH_PROG(SETARCH, setarch, no) | 1293 AC_PATH_PROG(SETARCH, setarch, no) |
1294 AC_SUBST(SETARCH) | 1294 AC_SUBST(SETARCH) |
1295 if test "$setarch" != no && test "$machine" = "intel386"; then | 1295 if test "$SETARCH" != no && test "$machine" = "intel386"; then |
1296 AC_DEFINE(HAVE_EXECSHIELD, 1, | 1296 AC_DEFINE(HAVE_EXECSHIELD, 1, |
1297 [Define to 1 if this OS has exec shield and we can handle it.]) | 1297 [Define to 1 if this OS has exec shield and we can handle it.]) |
1298 else | 1298 else |
1299 case "`cat /proc/sys/kernel/exec-shield`" in | 1299 case "`cat /proc/sys/kernel/exec-shield`" in |
1300 0) ;; | 1300 0) ;; |