Enables taglib by default, allows meta editing on windows & linux in QT4 interface
authorRafaël Carré <funman@videolan.org>
Mon, 13 Aug 2007 17:34:13 +0000 (17:34 +0000)
committerRafaël Carré <funman@videolan.org>
Mon, 13 Aug 2007 17:34:13 +0000 (17:34 +0000)
Thanks to Little`Bubble

configure.ac

index c01dd2b..9c3a336 100644 (file)
@@ -1735,11 +1735,11 @@ dnl
 dnl Taglibplugin
 dnl
 AC_ARG_ENABLE(taglib,
-  [  --enable-taglib Taglib support (default disabled) ])
-  AS_IF([test "${enable_taglib}" = "yes"],[
+  [  --disable-taglib Taglib support (default enabled) ])
+  AS_IF([test "${enable_taglib}" != "no"],[
     PKG_CHECK_MODULES(TAGLIB, taglib,
       [ VLC_ADD_PLUGINS([taglib])
-        VLC_ADD_LDFLAGS([taglib],[$TAGLIB_LIBS])
+        VLC_ADD_LDFLAGS([taglib],[$TAGLIB_LIBS -lz])
        VLC_ADD_CXXFLAGS([taglib],[$TAGLIB_CFLAGS]) ],
       [AC_MSG_WARN(TagLib library not found)])
   ])