cleaned up requirements

SVN revision: 28956
This commit is contained in:
tilman 2007-03-23 10:20:47 +00:00 committed by tilman
parent 1144c93c93
commit 2926465e70
2 changed files with 2 additions and 12 deletions

View File

@ -92,18 +92,12 @@ CPPFLAGS="$CPPFLAGS $ECORE_CFLAGS"
AC_CHECK_HEADERS(Ecore_X.h Ecore_Fb.h)
CPPFLAGS=$save_CPPFLAGS
requirements="eet evas edje ecore ecore-evas embryo"
AC_ARG_ENABLE(xine,
AC_HELP_STRING([--disable-xine],[disable xine support @<:@default=auto@:>@]),
[enable_xine=$enableval],[enable_xine=auto])
HAVE_XINE="no"
if test "$enable_xine" != "no" ; then
PKG_CHECK_MODULES(XINE, [libxine >= 1.1.1], [HAVE_XINE="yes"])
if test "$HAVE_XINE" = "yes" ; then
requirements="$requirements libxine"
fi
fi
if test "$enable_xine$HAVE_XINE" = "yesno" ; then
AC_MSG_RESULT(xine not found)
@ -159,17 +153,14 @@ 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-base and gst-ffmpeg)"
fi
requirements="$requirements gstreamer"
GSTPLUG_MSG="yes"
else
requirements="$requirements gstreamer"
GSTPLUG_MSG="yes"
fi
if test "$HAVE_GSTCDIOCDDASRC" = "no"; then
AC_MSG_WARN([You should install gstreamer-plugins-good and make sure that the cdiocddasrc element is installed])
GSTCDDA_MSG="no (you should install gst-plugins-good and the cdiocddasrc element)"
else
requirements="$requirements gstreamer"
GSTCDDA_MSG="yes"
fi
fi
@ -183,8 +174,6 @@ AM_CONDITIONAL([BUILD_GSTREAMER_MODULE], [test "$HAVE_GSTREAMER" = yes])
AC_CHECK_LIB(dl, dlopen, dlopen_libs=-ldl)
AC_SUBST(dlopen_libs)
AC_SUBST(requirements)
AC_OUTPUT([
Makefile
emotion.pc

View File

@ -5,7 +5,8 @@ includedir=@includedir@
Name: emotion
Description: Emotion evas based multimedia library
Requires: @requirements@
Requires: evas
Version: @VERSION@
Libs: -L${libdir} -lemotion
Libs.private: @EET_LIBS@ @EDJE_LIBS@ @ECORE_LIBS@ @EMBRYO_LIBS@ @XINE_LIBS@ @GST_LIBS@
Cflags: -I${includedir}