AM_CONDITIONAL([BUILD_XINE_MODULE], [test "$HAVE_XINE" = yes])
AM_CONDITIONAL([BUILD_GSTREAMER_MODULE], [test "$HAVE_GSTREAMER" = yes])
+AC_ARG_WITH(edje-cc,
+[ --with-edje-cc=PATH specify a specific path to edje_cc],
+[
+ v=$withval;
+ edje_cc=$v
+ echo " Enlightenment edje_cc explicitly set to "$edje_cc;
+],[
+ edje_cc=$(pkg-config --variable=prefix edje)/bin/edje_cc
+])
+AC_SUBST(edje_cc)
+
AC_OUTPUT([
Makefile
emotion.pc
echo " Gstreamer FFmpeg...: $HAVE_GSTFFMPEG"
echo " Gstreamer CDDA.....: $GSTCDDA_MSG"
echo
+echo " edje_cc..............: ${edje_cc}"
+echo
echo " Compilation..........: make"
echo
echo " Installation.........: make install"
MAINTAINERCLEANFILES = Makefile.in
-EDJE_CC = edje_cc
+EDJE_CC = @edje_cc@
EDJE_FLAGS = -v -id $(top_srcdir)/data -fd $(top_srcdir)/data
filesdir = $(datadir)/emotion/data