summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@gmail.com>2010-02-05 23:22:34 +0000
committerGustavo Sverzut Barbieri <barbieri@gmail.com>2010-02-05 23:22:34 +0000
commitf6c8bb2a30b72d410b4e3e87e3286b1ac13ce8c5 (patch)
tree6e4d8b195d8ab4956c67b2b6d3c07f677d0546db /configure.ac
parent204cf1076584fe11b4a6784a37a190b12cbf196f (diff)
disable automagic to find exchange.
This allows build systems to forcefully disable build using exchange library, even if it was found in the system during compile. SVN revision: 45917
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac13
1 files changed, 12 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 2169693..1e03fdb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -391,10 +391,21 @@ define([CHECK_MODULE_TEMPERATURE],
391 [], [TEMPERATURE=false]) 391 [], [TEMPERATURE=false])
392]) 392])
393 393
394have_exchange=no
395AC_ARG_ENABLE(exchange,
396 AC_HELP_STRING([--disable-exchange], [disable Exchange support @<:@default=detect@:>@]),
397 [want_exchange=$enableval],
398 [want_exchange=auto]
399)
400
394AM_CONDITIONAL(HAVE_EXCHANGE, false) 401AM_CONDITIONAL(HAVE_EXCHANGE, false)
395define([CHECK_MODULE_CONF_THEME], 402define([CHECK_MODULE_CONF_THEME],
396[ 403[
397 AC_E_CHECK_PKG(EXCHANGE, [exchange], [], [:]) 404 if test "x$want_exchange" != "xno" ; then
405 AC_E_CHECK_PKG(EXCHANGE, [exchange], [], [:])
406 else
407 AC_MSG_NOTICE([requested to not use exchange library])
408 fi
398]) 409])
399 410
400AM_CONDITIONAL(HAVE_ALSA, false) 411AM_CONDITIONAL(HAVE_ALSA, false)