From f1f8673bea54f69765c48aa71b217865562c0095 Mon Sep 17 00:00:00 2001 From: Nicolas Dufresne Date: Thu, 24 Mar 2011 20:26:52 -0400 Subject: Make Call support conditional to --enable-call --- configure.ac | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 36e616c..3d7ea48 100644 --- a/configure.ac +++ b/configure.ac @@ -181,6 +181,18 @@ if test x$enable_debug = xyes; then fi AM_CONDITIONAL([ENABLE_DEBUG], [test "x$enable_debug" = xyes]) +#------------------------------------------------------------ +# Enable Call logging +#------------------------------------------------------------ +AC_ARG_ENABLE(call, + AS_HELP_STRING([--enable-call],[compile with experimental Call logging support]), + enable_call=$enableval, enable_call=no ) + +if test x$enable_call = xyes; then + AC_DEFINE(ENABLE_CALL, [], [Enable Call logging]) +fi +AM_CONDITIONAL([ENABLE_CALL], [test "x$enable_call" = xyes]) + # ----------------------------------------------------------- # Coding style checks # ----------------------------------------------------------- @@ -224,5 +236,6 @@ Configure summary: Bugreporting URL............: ${PACKAGE_BUGREPORT} Public extensions library...: ${enable_public_extensions} Introspection support.......: ${found_introspection} + Call support................: ${enable_call} " -- cgit v1.2.1