emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/configure.in [lexbind]


From: Miles Bader
Subject: [Emacs-diffs] Changes to emacs/configure.in [lexbind]
Date: Wed, 06 Oct 2004 01:47:02 -0400

Index: emacs/configure.in
diff -c emacs/configure.in:1.299.2.9 emacs/configure.in:1.299.2.10
*** emacs/configure.in:1.299.2.9        Wed Oct  6 05:21:58 2004
--- emacs/configure.in  Wed Oct  6 05:23:58 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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]