[banshee] [build] Check if ipod-sharp mdb files are present
- From: Bertrand Lorentz <blorentz src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [banshee] [build] Check if ipod-sharp mdb files are present
- Date: Sat, 31 Oct 2009 11:36:34 +0000 (UTC)
commit eae1db25b0e720d15f5a9698021a5ebd9cbbf246
Author: Chow Loong Jin <hyperair gmail com>
Date: Sat Oct 31 12:27:18 2009 +0100
[build] Check if ipod-sharp mdb files are present
Fix a build failure which occurs if ipod-sharp mdb files are not
present. These files are unnecessary for running and should not fail
the build if non-existent (BGO#598083).
Signed-off-by: Bertrand Lorentz <bertrand lorentz gmail com>
build/m4/banshee/dap-ipod.m4 | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/build/m4/banshee/dap-ipod.m4 b/build/m4/banshee/dap-ipod.m4
index 3031029..b09b922 100644
--- a/build/m4/banshee/dap-ipod.m4
+++ b/build/m4/banshee/dap-ipod.m4
@@ -18,7 +18,8 @@ AC_DEFUN([BANSHEE_CHECK_DAP_IPOD],
if test "x$enable_ipodsharp" = "xyes"; then
asms="`$PKG_CONFIG --variable=Libraries ipod-sharp` `$PKG_CONFIG --variable=Libraries ipod-sharp-ui`"
for asm in $asms; do
- IPODSHARP_ASSEMBLIES="$IPODSHARP_ASSEMBLIES $asm $asm.mdb"
+ IPODSHARP_ASSEMBLIES="$IPODSHARP_ASSEMBLIES $asm"
+ [ -r "$asm.mdb" ] && IPODSHARP_ASSEMBLIES="$IPODSHARP_ASSEMBLIES $asm.mdb"
done
AC_SUBST(IPODSHARP_ASSEMBLIES)
AC_SUBST(IPODSHARP_LIBS)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]