1 |
commit: 93e9b5dd7d516bcda6a935ee910fd9df8a4b8f10 |
2 |
Author: Maxim Kammerer <mk <AT> dee <DOT> su> |
3 |
AuthorDate: Wed Jul 30 04:52:08 2014 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jul 30 16:43:07 2014 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/elfix.git;a=commit;h=93e9b5dd |
7 |
|
8 |
configure.ac: Build fix-gnustack conditionally on --enable-ptpax |
9 |
|
10 |
X-Gentoo-Bug: 518524 |
11 |
X-Gentoo-Bug-URL: https://bugs.gentoo.org/518524 |
12 |
|
13 |
--- |
14 |
configure.ac | 3 ++- |
15 |
1 file changed, 2 insertions(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/configure.ac b/configure.ac |
18 |
index 63e4116..ffd2609 100644 |
19 |
--- a/configure.ac |
20 |
+++ b/configure.ac |
21 |
@@ -52,7 +52,6 @@ AC_CHECK_HEADERS( |
22 |
|
23 |
# Checks for DECLs. |
24 |
AC_CHECK_DECL([ELF_C_RDWR_MMAP],[],[],[[#include <libelf.h>]]) |
25 |
-AM_CONDITIONAL([BUILD_ELF],[test "x$ac_cv_have_decl_ELF_C_RDWR_MMAP" = "xyes"]) |
26 |
|
27 |
# Checks for typedefs, structures, and compiler characteristics. |
28 |
AC_TYPE_PID_T |
29 |
@@ -107,6 +106,8 @@ AS_IF( |
30 |
] |
31 |
) |
32 |
|
33 |
+AM_CONDITIONAL([BUILD_ELF],[test "x$enable_ptpax" = "xyes" && test "x$ac_cv_have_decl_ELF_C_RDWR_MMAP" = "xyes"]) |
34 |
+ |
35 |
AC_ARG_ENABLE( |
36 |
[xtpax], |
37 |
AS_HELP_STRING( |