]> git.sesse.net Git - vlc/commitdiff
configure.ac: fix libxml2 detection (module name is 'xml').
authorRémi Duraffort <ivoire@videolan.org>
Tue, 25 Aug 2009 18:00:50 +0000 (20:00 +0200)
committerRémi Duraffort <ivoire@videolan.org>
Tue, 25 Aug 2009 18:01:34 +0000 (20:01 +0200)
configure.ac

index b590d02563463aeb731e2984f7ecd2108af57431..2a30a6bcc96f42d7b8bb475c7c14160e1e07a127 100644 (file)
@@ -2105,11 +2105,11 @@ then
         VLC_ADD_LIBS([opencv_example],[-L${with_opencv_tree}/lib -lcv -lcxcore -lcvaux -lhighgui])
         VLC_ADD_CXXFLAGS([opencv_example],[-I${with_opencv_tree}/cv/include -I${with_opencv_tree}/cxcore/include -I${with_opencv_tree}/cvaux/include -I${with_opencv_tree}/otherlibs/highgui])
         AC_LANG_POP(C++)
-         else
+      else
         dnl  No opencv could be found, sorry
         AC_MSG_RESULT(no)
         AC_MSG_ERROR([cannot find opencv in ${with_opencv_tree}])
-         fi
+      fi
     else
       PKG_CHECK_MODULES(OPENCV, opencv,
         [
@@ -3733,7 +3733,7 @@ fi
 dnl
 dnl  libxml2 module
 dnl
-PKG_ENABLE_MODULES_VLC([libxml2], [], [libxml-2.0 >= 2.5], [libxml2 support],[auto])
+PKG_ENABLE_MODULES_VLC([libxml2], [xml], [libxml-2.0 >= 2.5], [libxml2 support],[auto])
 
 dnl
 dnl  SVG module