From: Peter van Dijk Date: Mon, 16 Feb 2015 14:11:14 +0000 (+0100) Subject: Merge pull request #2236 from Whissi/cleanup-configure-output X-Git-Tag: dnsdist-1.0.0-alpha1~292 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=122891de877480bd4f3e075dd1f0cb7271aae97a;p=pdns Merge pull request #2236 from Whissi/cleanup-configure-output Improve configure output --- 122891de877480bd4f3e075dd1f0cb7271aae97a diff --cc configure.ac index ed069d435,6df5054e4..f9f32ab0c --- a/configure.ac +++ b/configure.ac @@@ -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