aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Kammerer <mk@dee.su>2014-07-30 08:52:08 +0400
committerAnthony G. Basile <blueness@gentoo.org>2014-07-30 12:32:27 -0400
commit414cfa1770a8cfc46308149deecf9c0eef60a5bb (patch)
treebf3c7896dba3c40e6d61e3bc4378dcf2bde1cd5f
parentmisc/install-xattr/ChangeLog: updated (diff)
downloadelfix-414cfa1770a8cfc46308149deecf9c0eef60a5bb.tar.gz
elfix-414cfa1770a8cfc46308149deecf9c0eef60a5bb.tar.bz2
elfix-414cfa1770a8cfc46308149deecf9c0eef60a5bb.zip
configure.ac: Build fix-gnustack conditionally on --enable-ptpax
X-Gentoo-Bug: 518524 X-Gentoo-Bug-URL: https://bugs.gentoo.org/518524
-rw-r--r--configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 865cbaf..de0cc22 100644
--- a/configure.ac
+++ b/configure.ac
@@ -52,7 +52,6 @@ AC_CHECK_HEADERS(
# Checks for DECLs.
AC_CHECK_DECL([ELF_C_RDWR_MMAP],[],[],[[#include <libelf.h>]])
-AM_CONDITIONAL([BUILD_ELF],[test "x$ac_cv_have_decl_ELF_C_RDWR_MMAP" = "xyes"])
# Checks for typedefs, structures, and compiler characteristics.
AC_TYPE_PID_T
@@ -107,6 +106,8 @@ AS_IF(
]
)
+AM_CONDITIONAL([BUILD_ELF],[test "x$enable_ptpax" = "xyes" && test "x$ac_cv_have_decl_ELF_C_RDWR_MMAP" = "xyes"])
+
AC_ARG_ENABLE(
[xtpax],
AS_HELP_STRING(