summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan A. Suarez Romero <jasuarez@igalia.com>2015-12-10 11:21:21 +0000
committerJuan A. Suarez Romero <jasuarez@igalia.com>2015-12-10 11:21:21 +0000
commitd8cd2e0bc668342684fea140cf5c8e7e975e1fbf (patch)
treec46bf3e00072708c89a001db65a1dba4c22fd8c5
parente7329cd8ff8434373846242e4d533eb1d20edd19 (diff)
build: Show better configuration info
Pretty-print configuration setup. https://bugzilla.gnome.org/show_bug.cgi?id=755702
-rw-r--r--configure.ac25
1 files changed, 24 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 7d63b32..9af45a4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -228,7 +228,8 @@ fi
AC_ARG_ENABLE([tests],
AS_HELP_STRING([--enable-tests],[build unit tests]),
- enable_tests=yes)
+ enable_tests=yes,
+ enable_tests=no)
AM_CONDITIONAL(ENABLE_TESTS, test "x$enable_tests" = "xyes")
@@ -304,3 +305,25 @@ AC_CONFIG_FILES([
])
AC_OUTPUT
+
+echo "
+
+Configuration
+ Version : ${VERSION}
+ Prefix : ${prefix}
+ Compiler : ${CC}
+
+ Enable debug : ${enable_debug}
+ Enable tests : ${enable_tests}
+
+ Enable docs : ${enable_gtk_doc}
+
+ Introspection support : ${found_introspection}
+ Vala support : ${enable_vala}
+
+ Enable Test UI : ${HAVE_GTK}
+
+ GrlNet support : ${HAVE_LIBSOUP}
+ GrlPls support : ${HAVE_TOTEM_PL_PARSER}
+
+"