summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--m4/decoders.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/decoders.m4 b/m4/decoders.m4
index f1d9a9403..e2190e772 100644
--- a/m4/decoders.m4
+++ b/m4/decoders.m4
@@ -384,10 +384,10 @@ AC_DEFUN([XINE_DECODER_PLUGINS], [
AC_ARG_ENABLE([mng],
[AS_HELP_STRING([--enable-mng], [Enable MNG decoder support (default: enabled)])],
[test x"$enableval" != x"no" && enable_mng="yes"])
- if test x"$with_mng" != x"no"; then
+ if test x"$enable_mng" != x"no"; then
AC_CHECK_LIB([mng], [mng_initialize],
[AC_CHECK_HEADERS([libmng.h], [have_mng=yes], [have_mng=no])], [have_mng=no])
- if test x"$with_mng" = x"yes" && test x"$have_mng" != x"yes"; then
+ if test x"$enable_mng" = x"yes" && test x"$have_mng" != x"yes"; then
AC_MSG_ERROR([MNG support requested, but libmng not found])
elif test x"$have_mng" = x"yes"; then
MNG_LIBS="-lmng"