summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-06-14 16:50:44 +0200
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-06-14 16:50:44 +0200
commit8181192bb6dcfaccedda0c38fc30d1b2490e8640 (patch)
treec7cf4e380220f13dd05a7e1293140bb478ed822f /m4
parent03a15d1e256828942493d9214f5d4d55ed718b58 (diff)
downloadxine-lib-8181192bb6dcfaccedda0c38fc30d1b2490e8640.tar.gz
xine-lib-8181192bb6dcfaccedda0c38fc30d1b2490e8640.tar.bz2
Fix the fixes to disable mlib, thanks Matt.
Diffstat (limited to 'm4')
-rw-r--r--m4/decoders.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/decoders.m4 b/m4/decoders.m4
index 94db2ea51..fa24359d0 100644
--- a/m4/decoders.m4
+++ b/m4/decoders.m4
@@ -336,11 +336,11 @@ use internal ffmpeg.
dnl mlib
AC_ARG_ENABLE([mlib],
[AS_HELP_STRING([--enable-mlib], [build Sun mediaLib support (default: disabled)])],
- [test x"$enableval" != x"yes" && enable_mlib="no"])
+ [test x"$enableval" != x"no" && enable_mlib="yes"], [enable_lib="no"])
AC_ARG_ENABLE([mlib-lazyload],
[AS_HELP_STRING([--enable-mlib-lazyload], [check for Sun mediaLib at runtime])],
[test x"$enableval" != x"no" && enable_mlib_lazyload="yes"], [enable_mlib_lazyload="no"])
- if test x"$enable_mlib" = x"yes"; then
+ if test x"$enable_mlib" != x"no"; then
mlibhome="$MLIBHOME" test x"$mlibhome" = x"" && mlibhome="/opt/SUNWmlib"
AC_CHECK_LIB([mlib], [mlib_VideoAddBlock_U8_S16],
[saved_CPPFLAGS="$CPPFLAGS" CPPFLAGS="$CPPFLAGS -I$mlibhome/include"