telepathy-salut: configure: add summary

Guillaume Desmottes gdesmott at kemper.freedesktop.org
Wed Sep 11 06:37:06 PDT 2013


Module: telepathy-salut
Branch: master
Commit: f975459090db7972390aec5461974a02a8738e00
URL:    http://cgit.freedesktop.org/telepathy/telepathy-salut/commit/?id=f975459090db7972390aec5461974a02a8738e00

Author: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>
Date:   Tue Sep 10 16:08:32 2013 +0200

configure: add summary

https://bugs.freedesktop.org/show_bug.cgi?id=69216

---

 configure.ac |   27 +++++++++++++++++++++++++++
 1 files changed, 27 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac
index 6c1f1da..930ea94 100644
--- a/configure.ac
+++ b/configure.ac
@@ -242,6 +242,7 @@ AS_IF([test x$with_backend = xavahi],
   AC_SUBST(AVAHI_CFLAGS)
   AC_SUBST(AVAHI_LIBS)
   AC_SUBST(USE_BACKEND_AVAHI)
+  backend="Avahi"
 ])
 
 dnl Check for Bonjour Client Library libdns_sd
@@ -252,12 +253,14 @@ AS_IF([test x$with_backend = xbonjour],
   AC_SUBST(BONJOUR_CFLAGS)
   AC_SUBST(BONJOUR_LIBS)
   AC_SUBST(USE_BACKEND_BONJOUR)
+  backend="Bonjour"
 ])
 
 AS_IF([test x$with_backend = xno],
 [
   AC_DEFINE(USE_BACKEND_DUMMY, [], [Use dummy backend])
   AC_SUBST(USE_BACKEND_DUMMY)
+  backend="Dummy"
 ])
 
 dnl Check for libsoup
@@ -382,3 +385,27 @@ AC_OUTPUT( Makefile                       \
            salut/telepathy-salut-uninstalled.pc \
            salut/telepathy-salut.pc
 )
+
+if test false != "$TEST_PYTHON"; then
+  tests_enabled=yes
+else
+  tests_enabled=no
+fi
+
+echo "
+Configure summary:
+
+        Compiler....................:  ${CC}
+        Compiler Flags..............:  ${CFLAGS} ${ERROR_CFLAGS}
+        Prefix......................:  ${prefix}
+        Backend.....................:  ${backend}
+        Enable debug................:  ${enable_debug}
+        Python tests................:  ${tests_enabled}
+        Avahi tests.................:  ${enable_avahi_tests}
+        Plugins.....................:  ${enable_plugins}
+
+Features:
+
+        OLPC support................:  ${enable_olpc}
+
+"



More information about the telepathy-commits mailing list