# Patch managed by http://www.holgerschurig.de/patcher.html
#
---- xine-lib-1.1.0/configure.ac~configure-1.0
-+++ xine-lib-1.1.0/configure.ac
+Index: xine-lib-1.1.0/configure.ac
+===================================================================
+--- xine-lib-1.1.0.orig/configure.ac 2005-07-21 21:10:10.000000000 +0000
++++ xine-lib-1.1.0/configure.ac 2006-01-11 14:30:05.965735856 +0000
@@ -715,6 +715,7 @@
LIBS="$saved_libs"
fi
AC_SUBST(MNG_LIBS)
dnl ---------------------------------------------
-@@ -1153,7 +1120,7 @@
+@@ -1134,6 +1101,9 @@
+ dnl ---------------------------------------------
+
+ AC_PATH_PROG(WAND_CONFIG, Wand-config, no)
++if ( ! test -f "$WAND_CONFIG" ) && ( ! test -x "$WAND_CONFIG" ) ; then
++ WAND_CONFIG="no"
++fi
+ if test "$WAND_CONFIG" = "no" ; then
+ AC_MSG_RESULT([*** All Imagemagick dependent parts will be disabled, Wand-config not found. ***])
+ else
+@@ -1153,7 +1123,7 @@
dnl freetype2 lib.
dnl ---------------------------------------------
dnl ---------------------------------------------
-@@ -1196,37 +1163,21 @@
+@@ -1196,37 +1166,21 @@
dnl ESD support
dnl ---------------------------------------------
dnl ---------------------------------------------
-@@ -1403,75 +1354,7 @@
+@@ -1403,75 +1357,7 @@
],ISOC99_PRAGMA=no)
AC_MSG_RESULT($ISOC99_PRAGMA)
--without-xv --without-xxmc --without-xvmc \
--with-x --x-includes=${STAGING_INCDIR}/X11 --x-libraries=${STAGING_LIBDIR}"
+export WAND_CONFIG="${STAGING_BINDIR}/Wand-config"
+
do_compile() {
oe_runmake LIBTOOL=${S}/${TARGET_SYS}-libtool
}