[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/configure.in
From: |
Jan Djärv |
Subject: |
[Emacs-diffs] Changes to emacs/configure.in |
Date: |
Sat, 25 Sep 2004 17:03:45 -0400 |
Index: emacs/configure.in
diff -c emacs/configure.in:1.368 emacs/configure.in:1.369
*** emacs/configure.in:1.368 Fri Sep 24 07:18:15 2004
--- emacs/configure.in Sat Sep 25 20:41:08 2004
***************
*** 1288,1300 ****
dnl check if exec-shield is present.
AC_CHECK_FILE(/proc/sys/kernel/exec-shield, emacs_cv_execshield=1,
! emacs_cv_execshield=0)
if test "$emacs_cv_execshield" = 1; then
! AC_PATH_PROG(SETARCH, setarch, no)
! AC_SUBST(SETARCH)
! if test "$setarch" != no; then
! AC_DEFINE(HAVE_EXECSHIELD, 1, [Define to 1 if this OS has exec shield.])
! fi
fi
#### Extract some information from the operating system and machine files.
--- 1288,1309 ----
dnl check if exec-shield is present.
AC_CHECK_FILE(/proc/sys/kernel/exec-shield, emacs_cv_execshield=1,
! emacs_cv_execshield=0)
if test "$emacs_cv_execshield" = 1; then
! AC_PATH_PROG(SETARCH, setarch, no)
! AC_SUBST(SETARCH)
! 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
! case "`cat /proc/sys/kernel/exec-shield`" in
! 0) ;;
! *)
! AC_MSG_ERROR([Exec-shield is turned on.
! Emacs can not dump itself if exec-shield is turned on.
! See `etc/PROBLEMS' for further information.])
! esac
! fi
fi
#### Extract some information from the operating system and machine files.