Commit 0fbf5615 authored by Rémi Duraffort's avatar Rémi Duraffort

configure.ac: fix libxml2 detection (module name is 'xml').

parent cc108086
...@@ -2105,11 +2105,11 @@ then ...@@ -2105,11 +2105,11 @@ then
VLC_ADD_LIBS([opencv_example],[-L${with_opencv_tree}/lib -lcv -lcxcore -lcvaux -lhighgui]) 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]) 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++) AC_LANG_POP(C++)
else else
dnl No opencv could be found, sorry dnl No opencv could be found, sorry
AC_MSG_RESULT(no) AC_MSG_RESULT(no)
AC_MSG_ERROR([cannot find opencv in ${with_opencv_tree}]) AC_MSG_ERROR([cannot find opencv in ${with_opencv_tree}])
fi fi
else else
PKG_CHECK_MODULES(OPENCV, opencv, PKG_CHECK_MODULES(OPENCV, opencv,
[ [
...@@ -3733,7 +3733,7 @@ fi ...@@ -3733,7 +3733,7 @@ fi
dnl dnl
dnl libxml2 module dnl libxml2 module
dnl 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
dnl SVG module dnl SVG module
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment