telepathy-salut: configure: add AC_ARG_ENABLE(debug)

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


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

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

configure: add AC_ARG_ENABLE(debug)

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

---

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

diff --git a/configure.ac b/configure.ac
index cc96472..6c1f1da 100644
--- a/configure.ac
+++ b/configure.ac
@@ -89,6 +89,10 @@ TP_COMPILER_WARNINGS([ERROR_CFLAGS], [test "x$enable_fatal_warnings" = xyes],
    unused-parameter])
 AC_SUBST([ERROR_CFLAGS])
 
+AC_ARG_ENABLE([debug],
+      [AC_HELP_STRING([--disable-debug], [compile without debug code])],
+      [], [enable_debug=yes])
+
 AS_IF([test x$enable_debug = xyes],
   [AC_DEFINE(ENABLE_DEBUG, [], [Enable debug code])])
 



More information about the telepathy-commits mailing list