--- DirectFB-extra-0.9.9/configure.in.orig Thu Jan 10 19:49:32 2002 +++ DirectFB-extra-0.9.9/configure.in Wed Nov 6 23:40:30 2002 @@ -114,6 +114,8 @@ # # 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" @@ -127,7 +129,9 @@ fi AC_SUBST(OPENQUICKTIME_LIBS) - +else + openquicktime=no +fi AM_CONDITIONAL(OPENQUICKTIME, test "x$openquicktime" = xyes) @@ -135,6 +139,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 ***]) @@ -147,7 +153,9 @@ AC_SUBST(IMLIB2_LIBS) AC_SUBST(IMLIB2_INCLUDES) - +else + imlib2=no +fi AM_CONDITIONAL(IMLIB2, test "x$imlib2" = xyes) @@ -161,7 +169,7 @@ AM_CONDITIONAL(ENABLE_DEBUG, test "x$enable_debug" = xyes) -if test x$cflags_set != xset ; then +if test "x$cflags_set" != "xset" ; then DFB_CFLAGS="$DFB_CFLAGS $CFLAGS" fi