From: raster Date: Thu, 9 Feb 2006 06:12:39 +0000 (+0000) Subject: its not an error until BOTH gstreamer and xine are not found. X-Git-Tag: submit/2.0alpha-wayland/20121127.222018~511 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=739b622e7e2330906f1751ac38c2438292c7bd9c;p=profile%2Fivi%2Femotion.git its not an error until BOTH gstreamer and xine are not found. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/emotion@20358 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/configure.in b/configure.in index a1877df..47185ff 100644 --- a/configure.in +++ b/configure.in @@ -146,7 +146,7 @@ if test "$enable_xine" != "no" ; then fi fi if test "$enable_xine$HAVE_XINE" = "yesno" ; then - AC_MSG_ERROR(xine not found) + AC_MSG_RESULT(xine not found) fi AC_ARG_ENABLE(gstreamer, @@ -177,9 +177,9 @@ if test "$enable_gstreamer" != "no" ; then [HAVE_GSTFFMPEG="no"]) fi if test "$enable_gstreamer$HAVE_GSTREAMER" = "yesno" ; then - AC_MSG_ERROR(gstreamer not found) + AC_MSG_RESULT(gstreamer not found) fi -if test "$HAVE_GSTPLUG" = "no" -o test "$HAVE_GSTFFMPEG" = "no"; then +if test "$HAVE_GSTPLUG" = "no"; then if test "$HAVE_GSTREAMER" = "no" ; then GSTPLUG_MSG="no" else @@ -187,10 +187,17 @@ if test "$HAVE_GSTPLUG" = "no" -o test "$HAVE_GSTFFMPEG" = "no"; then GSTPLUG_MSG="no (you should install gst-plugins and gst-ffmpeg)" fi else - requirements="$requirements gstreamer" - GSTPLUG_MSG="yes" + if test "$HAVE_GSTFFMPEG" = "no"; then + if test "$HAVE_GSTREAMER" = "no" ; then + GSTPLUG_MSG="no" + else + AC_MSG_WARN([You should install gstreamer plugins and gst-ffmpeg to properly decode your video and audio files]) + GSTPLUG_MSG="no (you should install gst-plugins and gst-ffmpeg)" + fi + requirements="$requirements gstreamer" + GSTPLUG_MSG="yes" + fi fi - if test "$HAVE_XINE$HAVE_GSTREAMER" = "nono" ; then AC_MSG_ERROR([Xine or Gstreamer must be installed to build emotion]) fi