Add option to configure to specify edje_cc. The build of the
authorcaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 14 May 2009 08:09:47 +0000 (08:09 +0000)
committercaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 14 May 2009 08:09:47 +0000 (08:09 +0000)
theme can now be done when cross-compiling

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/emotion@40638 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

configure.ac
data/Makefile.am

index 71ee610..a872003 100644 (file)
@@ -150,6 +150,17 @@ AM_CONDITIONAL([BUILD_VLC_MODULE], [test "$HAVE_VLC" = yes])
 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
@@ -185,6 +196,8 @@ echo "    Gstreamer plugins..: $GSTPLUG_MSG"
 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"
index 78bea68..92f1de4 100644 (file)
@@ -1,7 +1,7 @@
 
 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