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
This commit is contained in:
parent
204cf10765
commit
f6c8bb2a30
11
configure.ac
11
configure.ac
|
@ -391,10 +391,21 @@ define([CHECK_MODULE_TEMPERATURE],
|
|||
[], [TEMPERATURE=false])
|
||||
])
|
||||
|
||||
have_exchange=no
|
||||
AC_ARG_ENABLE(exchange,
|
||||
AC_HELP_STRING([--disable-exchange], [disable Exchange support @<:@default=detect@:>@]),
|
||||
[want_exchange=$enableval],
|
||||
[want_exchange=auto]
|
||||
)
|
||||
|
||||
AM_CONDITIONAL(HAVE_EXCHANGE, false)
|
||||
define([CHECK_MODULE_CONF_THEME],
|
||||
[
|
||||
if test "x$want_exchange" != "xno" ; then
|
||||
AC_E_CHECK_PKG(EXCHANGE, [exchange], [], [:])
|
||||
else
|
||||
AC_MSG_NOTICE([requested to not use exchange library])
|
||||
fi
|
||||
])
|
||||
|
||||
AM_CONDITIONAL(HAVE_ALSA, false)
|
||||
|
|
Loading…
Reference in New Issue