From 231da4c6f51acc0d62a04be61fe6fac17d68d6fa Mon Sep 17 00:00:00 2001 From: Pieter Lexis Date: Mon, 23 May 2016 12:38:16 +0200 Subject: [PATCH] rec: add configure summary --- pdns/recursordist/configure.ac | 35 ++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) 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([]) -- 2.40.0