diff options
| author | Ulrich Müller | 2012-08-04 22:00:52 -0700 |
|---|---|---|
| committer | Glenn Morris | 2012-08-04 22:00:52 -0700 |
| commit | 32d9ba9ac2ae534cb687b81d990355f77c65aaf2 (patch) | |
| tree | 5a8405b7db6b462cac1216ae1028ad9685261597 | |
| parent | 615b0bf0b41efe0c607de3e5b0b656cc67bd1f5d (diff) | |
| download | emacs-32d9ba9ac2ae534cb687b81d990355f77c65aaf2.tar.gz emacs-32d9ba9ac2ae534cb687b81d990355f77c65aaf2.zip | |
* configure.ac: Disable paxctl if binaries don't have a PT_PAX_FLAGS header.
Fixes: debbugs:11979
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | configure.ac | 6 |
2 files changed, 11 insertions, 0 deletions
| @@ -1,3 +1,8 @@ | |||
| 1 | 2012-08-05 Ulrich Müller <ulm@gentoo.org> | ||
| 2 | |||
| 3 | * configure.ac: Disable paxctl if binaries don't have a | ||
| 4 | PT_PAX_FLAGS program header. (Bug#11979) | ||
| 5 | |||
| 1 | 2012-08-03 Eli Zaretskii <eliz@gnu.org> | 6 | 2012-08-03 Eli Zaretskii <eliz@gnu.org> |
| 2 | 7 | ||
| 3 | * lib/makefile.w32-in (GNULIBOBJS): Add $(BLD)/stat-time.$(O), | 8 | * lib/makefile.w32-in (GNULIBOBJS): Add $(BLD)/stat-time.$(O), |
diff --git a/configure.ac b/configure.ac index e9e04a4daef..2a6291e8243 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -731,6 +731,12 @@ AC_PATH_PROG(GZIP_PROG, gzip) | |||
| 731 | if test $opsys = gnu-linux; then | 731 | if test $opsys = gnu-linux; then |
| 732 | AC_PATH_PROG(PAXCTL, paxctl,, | 732 | AC_PATH_PROG(PAXCTL, paxctl,, |
| 733 | [$PATH$PATH_SEPARATOR/sbin$PATH_SEPARATOR/usr/sbin]) | 733 | [$PATH$PATH_SEPARATOR/sbin$PATH_SEPARATOR/usr/sbin]) |
| 734 | if test "X$PAXCTL" != X; then | ||
| 735 | AC_MSG_CHECKING([whether binaries have a PT_PAX_FLAGS header]) | ||
| 736 | AC_LINK_IFELSE([AC_LANG_PROGRAM([], [])], | ||
| 737 | [if $PAXCTL -v conftest$EXEEXT >/dev/null 2>&1; then AC_MSG_RESULT(yes) | ||
| 738 | else AC_MSG_RESULT(no); PAXCTL=""; fi]) | ||
| 739 | fi | ||
| 734 | fi | 740 | fi |
| 735 | 741 | ||
| 736 | ## Need makeinfo >= 4.7 (?) to build the manuals. | 742 | ## Need makeinfo >= 4.7 (?) to build the manuals. |