Add option to configure to specify edje_cc. The build of the

theme can now be done when cross-compiling


SVN revision: 40638
This commit is contained in:
Vincent Torri 2009-05-14 08:09:47 +00:00
parent 0d295c7299
commit edbc2f8cfd
2 changed files with 14 additions and 1 deletions

View 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"

View 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