Commit 32d9ba9a authored by Ulrich Müller's avatar Ulrich Müller Committed by Glenn Morris

* configure.ac: Disable paxctl if binaries don't have a PT_PAX_FLAGS header.

Fixes: debbugs:11979
parent 615b0bf0
2012-08-05 Ulrich Müller <ulm@gentoo.org>
* configure.ac: Disable paxctl if binaries don't have a
PT_PAX_FLAGS program header. (Bug#11979)
2012-08-03 Eli Zaretskii <eliz@gnu.org>
* lib/makefile.w32-in (GNULIBOBJS): Add $(BLD)/stat-time.$(O),
......
......@@ -731,6 +731,12 @@ AC_PATH_PROG(GZIP_PROG, gzip)
if test $opsys = gnu-linux; then
AC_PATH_PROG(PAXCTL, paxctl,,
[$PATH$PATH_SEPARATOR/sbin$PATH_SEPARATOR/usr/sbin])
if test "X$PAXCTL" != X; then
AC_MSG_CHECKING([whether binaries have a PT_PAX_FLAGS header])
AC_LINK_IFELSE([AC_LANG_PROGRAM([], [])],
[if $PAXCTL -v conftest$EXEEXT >/dev/null 2>&1; then AC_MSG_RESULT(yes)
else AC_MSG_RESULT(no); PAXCTL=""; fi])
fi
fi
## Need makeinfo >= 4.7 (?) to build the manuals.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment