1 |
commit: 234cfbece450e33bfab553ddf212f6f05b7de61b |
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:14:57 2014 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/elfix.git;a=commit;h=234cfbec |
7 |
|
8 |
configure.ac: Build fix-gnustack conditionally on --enable-ptpax |
9 |
|
10 |
--- |
11 |
configure.ac | 3 ++- |
12 |
1 file changed, 2 insertions(+), 1 deletion(-) |
13 |
|
14 |
diff --git a/configure.ac b/configure.ac |
15 |
index 865cbaf..de0cc22 100644 |
16 |
--- a/configure.ac |
17 |
+++ b/configure.ac |
18 |
@@ -52,7 +52,6 @@ AC_CHECK_HEADERS( |
19 |
|
20 |
# Checks for DECLs. |
21 |
AC_CHECK_DECL([ELF_C_RDWR_MMAP],[],[],[[#include <libelf.h>]]) |
22 |
-AM_CONDITIONAL([BUILD_ELF],[test "x$ac_cv_have_decl_ELF_C_RDWR_MMAP" = "xyes"]) |
23 |
|
24 |
# Checks for typedefs, structures, and compiler characteristics. |
25 |
AC_TYPE_PID_T |
26 |
@@ -107,6 +106,8 @@ AS_IF( |
27 |
] |
28 |
) |
29 |
|
30 |
+AM_CONDITIONAL([BUILD_ELF],[test "x$enable_ptpax" = "xyes" && test "x$ac_cv_have_decl_ELF_C_RDWR_MMAP" = "xyes"]) |
31 |
+ |
32 |
AC_ARG_ENABLE( |
33 |
[xtpax], |
34 |
AS_HELP_STRING( |