[rhythmbox] use libdmapsharing 2.0 if available
- From: Jonathan Matthew <jmatthew src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox] use libdmapsharing 2.0 if available
- Date: Wed, 21 Jul 2010 05:49:34 +0000 (UTC)
commit 7f57420c53f1fc2d271b05dfa5939665ef61354d
Author: Jonathan Matthew <jonathan d14n org>
Date: Wed Jul 21 15:49:13 2010 +1000
use libdmapsharing 2.0 if available
configure.ac | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 5e82be7..fae35df 100644
--- a/configure.ac
+++ b/configure.ac
@@ -790,9 +790,15 @@ AC_ARG_ENABLE(daap,
[Disable DAAP support]),,
enable_daap=auto)
if test "x$enable_daap" != "xno"; then
- PKG_CHECK_MODULES(DMAPSHARING, libdmapsharing-1.9 >= 1.9.0.21,
+ PKG_CHECK_MODULES(DMAPSHARING, libdmapsharing-2.0,
have_libdmapsharing=yes,
have_libdmapsharing=no)
+ if test "x$have_libdmapsharing" = "xno"; then
+ PKG_CHECK_MODULES(DMAPSHARING, libdmapsharing-1.9 >= 1.9.0.21,
+ have_libdmapsharing=yes,
+ have_libdmapsharing=no)
+ fi
+
if test "x$have_libdmapsharing" = "xno" -a "x$enable_daap" = "xyes"; then
AC_MSG_ERROR([DAAP support explicitly requested, but libdmapsharing couldn't be found])
fi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]