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)
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
AC_CHECK_LIB(dl, dlopen, dlopen_libs=-ldl)
AC_SUBST(dlopen_libs)
-AC_SUBST(requirements)
-
AC_OUTPUT([
Makefile
emotion.pc
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}