]> granicus.if.org Git - pdns/commitdiff
rec: add configure summary
authorPieter Lexis <pieter.lexis@powerdns.com>
Mon, 23 May 2016 10:38:16 +0000 (12:38 +0200)
committerPieter Lexis <pieter.lexis@powerdns.com>
Mon, 23 May 2016 10:38:16 +0000 (12:38 +0200)
pdns/recursordist/configure.ac

index f077a5937ecc884564bdbb64ee9a76953e2013d0..6666a592f6e500ae32941c3e1041a139d9cd0980 100644 (file)
@@ -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([])