muine r1226 - trunk



Author: lmedinas
Date: Sun Sep 28 17:44:49 2008
New Revision: 1226
URL: http://svn.gnome.org/viewvc/muine?rev=1226&view=rev

Log:
2008-09-28  Luis Medinas  <lmedinas gnome org>

        * configure.in:

        Fix id3lib dependency check on configure.
        Patch from Peter Adolphs closes bgo #491057.



Modified:
   trunk/ChangeLog
   trunk/configure.in

Modified: trunk/configure.in
==============================================================================
--- trunk/configure.in	(original)
+++ trunk/configure.in	Sun Sep 28 17:44:49 2008
@@ -127,10 +127,10 @@
 AC_SUBST(FLAC_LIBS)
 
 dnl Check for libid3tag
-AC_ARG_ENABLE(id3tag, [  --disable-id3tag        Disable MP3 support],,have_id3tag=yes)
+AC_ARG_ENABLE(id3tag, [  --disable-id3tag        Disable MP3 support],have_id3tag=${enableval},have_id3tag=yes)
 if test "x$have_id3tag" = "xyes"; then
 	PKG_CHECK_MODULES(ID3TAG, id3tag >= 0.15, id3tag_detect=yes, id3tag_detect=no)
-	if test "x$id3tag_detect" = "xno"; then
+	if test "x$id3tag_detect" = "xyes"; then
 		AC_CHECK_HEADER(id3tag.h, id3tag_detect=yes, id3tag_detect=no)
 	fi
 	if test "x$id3tag_detect" = "xyes"; then
@@ -143,7 +143,7 @@
 	AC_DEFINE(HAVE_ID3TAG, 0, id3tag support)
 fi
 
-AM_CONDITIONAL(HAVE_ID3TAG, test "x$have_id3tag" = "xyes")
+AM_CONDITIONAL(HAVE_ID3TAG, test "x$id3tag_detect" = "xyes")
 AC_SUBST(ID3TAG_LIBS)
 
 dnl Check for FAAD 



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