]> git.ipfire.org Git - thirdparty/mtr.git/commitdiff
automake - configure show build options
authorMarkus Kötter <koetter@luis.uni-hannover.de>
Thu, 1 Nov 2018 09:51:15 +0000 (10:51 +0100)
committerMarkus Kötter <koetter@luis.uni-hannover.de>
Thu, 1 Nov 2018 09:51:15 +0000 (10:51 +0100)
configure.ac

index e41e06e3260227bd1ffb4b9a72be8111b4906fe4..ad813322b9d02f5fe24ae5369ba91d69559844c1 100644 (file)
@@ -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])