aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorCory Fields <theuni-nospam-@xbmc.org>2012-08-14 15:37:14 -0400
committerCory Fields <theuni-nospam-@xbmc.org>2012-08-14 18:52:28 -0400
commitc0214429c1ffd75dd5832c77cf3a4f6e6cc23c6f (patch)
treeda21f209e42748a1bcd986bfce44c6d712bc8800 /configure.in
parent688eaf2662c9c06083f69e4a315fe9864834feb1 (diff)
build: fix alsa/dbus detection
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 2db2d70252..46095cad08 100644
--- a/configure.in
+++ b/configure.in
@@ -962,11 +962,11 @@ if test "x$use_alsa" != "xno"; then
PKG_CHECK_MODULES([ALSA], [alsa],
[INCLUDES="$INCLUDES $ALSA_CFLAGS"; LIBS="$LIBS $ALSA_LIBS"; use_alsa=yes],
AC_MSG_NOTICE($alsa_not_found); use_alsa=no)
+fi
PKG_CHECK_MODULES([DBUS], [dbus-1],
[INCLUDES="$INCLUDES $DBUS_CFLAGS"; LIBS="$LIBS $DBUS_LIBS"; use_dbus=yes]; \
AC_DEFINE([HAVE_DBUS],[1],["Define to 1 if dbus is installed"]),
AC_MSG_NOTICE($missing_library); use_dbus=no)
-fi
if test "x$use_sdl" != "xno"; then
PKG_CHECK_MODULES([SDL], [sdl],
[INCLUDES="$INCLUDES $SDL_CFLAGS"; LIBS="$LIBS $SDL_LIBS"],