From: Markus Kötter Date: Thu, 1 Nov 2018 09:51:15 +0000 (+0100) Subject: automake - configure show build options X-Git-Tag: v0.93~1^2~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9eddfacd8e9b9c2f4ce6f7ef98814bff02b5a2b7;p=thirdparty%2Fmtr.git automake - configure show build options --- diff --git a/configure.ac b/configure.ac index e41e06e..ad81332 100644 --- a/configure.ac +++ b/configure.ac @@ -110,7 +110,7 @@ AS_IF([test "x$with_ncurses" = "xyes"], ]) AM_CONDITIONAL([WITH_CURSES], [test "x$with_ncurses" = xyes]) -AC_CHECK_LIB([cap], [cap_set_proc], [], +AC_CHECK_LIB([cap], [cap_set_proc], [have_cap="yes"], AS_IF([test "$host_os" = linux-gnu], AC_MSG_WARN([Capabilities support is strongly recommended for increased security. See SECURITY for more information.]))) @@ -243,7 +243,16 @@ AC_ARG_ENABLE([bash-completion], [], [enable_bash_completion=yes] ) AM_CONDITIONAL([BUILD_BASH_COMPLETION], [test "x$enable_bash_completion" = xyes]) - +echo "build options:" +echo "--------------" +echo "ipv6 :$USES_IPV6" +echo "ipinfo :$with_ipinfo" +echo "ncurses :$with_ncurses" +echo "gtk :$with_gtk" +echo "cap :$have_cap" +echo "libs :$LIBS" +echo "cflags :$CFLAGS" +echo "--------------" # Prepare config.h, Makefile, and output them. AC_CONFIG_HEADERS([config.h]) AC_CONFIG_FILES([Makefile])