From: vapier Date: Sun, 13 Nov 2005 04:44:39 +0000 (+0000) Subject: only require xine or gstreamer, not both X-Git-Tag: submit/2.0alpha-wayland/20121127.222018~525 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0e73893cb80b67d16e4837bc8de43831b80cefaa;p=profile%2Fivi%2Femotion.git only require xine or gstreamer, not both git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/emotion@18448 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/configure.in b/configure.in index 4bda0c2..d98b6b5 100644 --- a/configure.in +++ b/configure.in @@ -130,6 +130,8 @@ AC_PATH_GENERIC(embryo, 0.9.1, [ AC_MSG_ERROR(Embryo isn't installed)] ) +requirements="eet evas edje ecore embryo" + AC_ARG_ENABLE(xine, AC_HELP_STRING([--disable-xine],[disable xine support @<:@default=auto@:>@]), [enable_xine=$enableval],[enable_xine=auto]) @@ -138,6 +140,7 @@ if test "$enable_xine" != "no" ; then AC_PATH_GENERIC(xine, 1.0.0, [HAVE_XINE="yes"]) if test "$HAVE_XINE" = "yes" ; then + requirements="$requirements libxine" xine_plugins=`$XINE_CONFIG --plugindir` AC_SUBST(xine_plugins) fi @@ -179,6 +182,7 @@ if test "$HAVE_GSTPLUG" = "no" ; then GSTPLUG_MSG="no (you should install gst-plugins and gst-ffmpeg)" fi else + requirements="$requirements gstreamer" GSTPLUG_MSG="yes" fi @@ -192,7 +196,6 @@ AM_CONDITIONAL([BUILD_GSTREAMER_MODULE], [test "$HAVE_GSTREAMER" = yes]) AC_CHECK_LIB(dl, dlopen, dlopen_libs=-ldl) AC_SUBST(dlopen_libs) -requirements="eet evas ecore edje libxine gstreamer" AC_SUBST(requirements) AC_OUTPUT([