From: Pieter Lexis Date: Mon, 23 May 2016 10:38:16 +0000 (+0200) Subject: rec: add configure summary X-Git-Tag: auth-4.0.0-beta1~14^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=231da4c6f51acc0d62a04be61fe6fac17d68d6fa;p=pdns rec: add configure summary --- diff --git a/pdns/recursordist/configure.ac b/pdns/recursordist/configure.ac index f077a5937..6666a592f 100644 --- a/pdns/recursordist/configure.ac +++ b/pdns/recursordist/configure.ac @@ -142,3 +142,38 @@ AC_CONFIG_FILES([Makefile ext/yahttp/yahttp/Makefile]) AC_OUTPUT + +AC_MSG_NOTICE([]) +AC_MSG_NOTICE([Configuration summary]) +AC_MSG_NOTICE([=====================]) +AC_MSG_NOTICE([]) +AS_IF([test "x$pdns_configure_args" != "x"], + [summary_conf_opts=$pdns_configure_args], + [summary_conf_opts="(no options)"] +) +AC_MSG_NOTICE([PowerDNS Recursor configured with: $summary_conf_opts]) +AC_MSG_NOTICE([]) +AC_MSG_NOTICE([CC: $CC]) +AC_MSG_NOTICE([CXX: $CXX]) +AC_MSG_NOTICE([LD: $LD]) +AC_MSG_NOTICE([CFLAGS: $CFLAGS]) +AC_MSG_NOTICE([CPPFLAGS: $CPPFLAGS]) +AC_MSG_NOTICE([CXXFLAGS: $CXXFLAGS]) +AC_MSG_NOTICE([LDFLAGS: $LDFLAGS]) +AC_MSG_NOTICE([LIBS: $LIBS]) +AC_MSG_NOTICE([]) +AC_MSG_NOTICE([BOOST_CPPFLAGS: $BOOST_CPPFLAGS]) +AC_MSG_NOTICE([]) +AS_IF([test "x$LUAPC" != "x"], + [AC_MSG_NOTICE([Lua support: $LUAPC])], + [AC_MSG_NOTICE([Lua support: no])] +) +AS_IF([test "x$PROTOBUF_LIBS" != "x" -a x"$PROTOC" != "x"], + [AC_MSG_NOTICE([Protobuf support: yes])], + [AC_MSG_NOTICE([Protobuf support: no])] +) +AS_IF([test "x$systemd" != "x"], + [AC_MSG_NOTICE([systemd support: yes])], + [AC_MSG_NOTICE([systemd support: no])] +) +AC_MSG_NOTICE([])