]> granicus.if.org Git - pdns/commitdiff
Merge pull request #2236 from Whissi/cleanup-configure-output
authorPeter van Dijk <peter.van.dijk@netherlabs.nl>
Mon, 16 Feb 2015 14:11:14 +0000 (15:11 +0100)
committerPeter van Dijk <peter.van.dijk@netherlabs.nl>
Mon, 16 Feb 2015 14:11:14 +0000 (15:11 +0100)
Improve configure output

1  2 
configure.ac

diff --cc configure.ac
index ed069d4359dee13a3185dd0ff9b100b70a8927d8,6df5054e4a0bdf81191189b9545ed61fba6266d3..f9f32ab0c0d5b04fa83281dc1d25d63037622c14
@@@ -35,12 -35,17 +35,18 @@@ AC_DEFINE([_GNU_SOURCE], [1]
    [Define _GNU_SOURCE so that we get all necessary prototypes]
  )
  
 +PDNS_WITH_LUA
  AX_CXX_COMPILE_STDCXX_11(,optional)
  AM_CONDITIONAL([CXX2011],[test "$HAVE_CXX11" = "1"])
- AC_ARG_ENABLE([hardening], [
-   AS_HELP_STRING([--disable-hardening, disable compiler security checks])
- ])
+ AC_MSG_CHECKING([whether we will enable compiler security checks])
+ AC_ARG_ENABLE([hardening],
+   [AS_HELP_STRING([--disable-hardening],[disable compiler security checks @<:@default=no@:>@])],
+   [enable_hardening=$enableval],
+   [enable_hardening=yes]
+ )
+ AC_MSG_RESULT([$enable_hardening])
  AS_IF([test "x$enable_hardening" != "xno"], [
    AC_CC_PIE
    AC_CC_STACK_PROTECTOR