fi
AM_CONDITIONAL(ENABLE_DEBUG, test "x$enable_debug" = xyes)
-@@ -123,6 +121,8 @@
- # Imlib2 check
- #
-
-+AC_ARG_ENABLE(imlib2, [ --disable-imlib2 disable imlib2 plugin [default=yes]],, enable_imlib2=yes)
-+if test "x$enable_imlib2" = xyes ; then
- AC_PATH_PROG(IMLIB2_CONFIG, imlib2-config, no)
- if test "x$IMLIB2_CONFIG" = xno; then
- AC_MSG_WARN([*** Imlib2 library not found, building without Imlib2 support ***])
-@@ -135,13 +135,17 @@
-
- AC_SUBST(IMLIB2_LIBS)
- AC_SUBST(IMLIB2_INCLUDES)
--
-+else
-+ imlib2=no
-+fi
- AM_CONDITIONAL(IMLIB2, test "x$imlib2" = xyes)
-
-
- #
- # OpenQuicktime check
- #
-+AC_ARG_ENABLE(openquicktime, [ --disable-openquicktime disable openquicktime plugin [default=yes]],, enable_openquicktime=yes)
-+if test "x$enable_openquicktime" = xyes ; then
- AC_CHECK_LIB(openquicktime, quicktime_open, openquicktime="yes", openquicktime="no")
- if test "x$openquicktime" = xyes; then
- OPENQUICKTIME_LIBS="-lopenquicktime"
-@@ -155,7 +159,9 @@
- fi
-
- AC_SUBST(OPENQUICKTIME_LIBS)
--
-+else
-+ openquicktime=no
-+fi
- AM_CONDITIONAL(OPENQUICKTIME, test "x$openquicktime" = xyes)
-
-
@@ -223,7 +229,10 @@
# Honor aclocal flags
ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"