[rhythmbox] audiocd: add check for mb_extract_uuid to configure.ac



commit 1b09fc581c6c776afcc9e49fa75e3cc954d87cbe
Author: Jonathan Matthew <jonathan d14n org>
Date:   Sun Jan 31 13:46:04 2010 +1000

    audiocd: add check for mb_extract_uuid to configure.ac
    
    Maybe some day there will be a libmusicbrainz3 release that includes
    this function.  Until then, we weren't getting musicbrainz IDs anyway.

 configure.ac |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index abb08fa..0ed81d5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -359,6 +359,11 @@ if test x"$enable_musicbrainz" != "xno"; then
 	AC_SUBST(MUSICBRAINZ_LIBS)
 
 	if test x"$have_musicbrainz3" = xyes; then
+		oldlibs=$LIBS
+		LIBS="$LIBS $MUSICBRAINZ3_LIBS"
+		AC_CHECK_FUNCS(mb_extract_uuid)
+		LIBS="$oldlibs"
+
 		AC_DEFINE([HAVE_MUSICBRAINZ3], 1, [Whether libmusicbrainz3 is available])
 	fi
 	if test x"$have_musicbrainz" = xyes; then



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]