aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 4 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 43c74e9..7c7e3f7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -66,13 +66,15 @@ AS_IF(
AC_CHECK_DECLS(
[PT_PAX_FLAGS, PF_PAGEEXEC, PF_MPROTECT, PF_RANDMMAP],
[],
- [AC_MSG_ERROR(["Missing necessary define's in gelf.h"])],
+ [
+ CFLAGS+=" -DNEED_PAX_DECLS"
+ ],
[[#include <gelf.h>]]
)
CFLAGS+=" -DPTPAX"
],
[
- CFLAGS+=" -UPTPAX"
+ CFLAGS+=" -UPTPAX -DNEED_PAX_DECLS"
]
)