diff options
author | Maxim Kammerer <mk@dee.su> | 2014-07-30 08:52:08 +0400 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2014-07-30 12:43:07 -0400 |
commit | 93e9b5dd7d516bcda6a935ee910fd9df8a4b8f10 (patch) | |
tree | 2cd6f78586227869de810027c127859d51c5192e | |
parent | Prepare release 0.8.5 (diff) | |
download | elfix-93e9b5dd7d516bcda6a935ee910fd9df8a4b8f10.tar.gz elfix-93e9b5dd7d516bcda6a935ee910fd9df8a4b8f10.tar.bz2 elfix-93e9b5dd7d516bcda6a935ee910fd9df8a4b8f10.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.ac | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 63e4116..ffd2609 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( |