summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2012-06-03 16:14:22 -0700
committerGlenn Morris <rgm@gnu.org>2012-06-03 16:14:22 -0700
commitc71232db6e7a2dbd0cb0830829dcce8285ffa138 (patch)
tree8f08f7d51cd276908dee9838df21e70937d1af8e /configure.in
parent7afbaca445e5d49ece642f5b809ff0cdcbd69356 (diff)
downloademacs-c71232db6e7a2dbd0cb0830829dcce8285ffa138.tar.gz
Workaround dumping problem on PaX-enabled Linux kernels
* configure.in (PAXCTL): Check for paxctl. * src/Makefile.in (PAXCTL): Define. (temacs$(EXEEXT)): Disable memory randomization for the temacs binary via PaX flags if the paxctl utility is available. (emacs$(EXEEXT), bootstrap-emacs$(EXEEXT)): Restore PaX flags to their default. Fixes: debbugs:11398
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 055db30772e..07925142bc1 100644
--- a/configure.in
+++ b/configure.in
@@ -699,6 +699,8 @@ AC_PATH_PROG(INSTALL_INFO, install-info, :,
$PATH$PATH_SEPARATOR/usr/sbin$PATH_SEPARATOR/sbin)
dnl Don't use GZIP, which is used by gzip for additional parameters.
AC_PATH_PROG(GZIP_PROG, gzip)
+AC_PATH_PROG(PAXCTL, paxctl,,
+ [$PATH$PATH_SEPARATOR/sbin$PATH_SEPARATOR/usr/sbin])
## Need makeinfo >= 4.7 (?) to build the manuals.