Hi,
This patch add an option in configure to enable/disable theme build. It's
usefull when you cross compile elementary and your host doesn't have
edje_cc. (it's the case in GeexBox toolchain)
Default behaviour build the theme.

regards
-- 
Nicolas Aguirre
Mail: aguirre.nico...@gmail.com
Web: http://www.digital-corner.org
Index: configure.in
===================================================================
--- configure.in	(révision 39608)
+++ configure.in	(copie de travail)
@@ -177,6 +177,14 @@
 AC_CHECK_HEADER(libintl.h, [ELM_LIBINTL_H_DEF="#define"])
 AC_SUBST(ELM_LIBINTL_H_DEF)
 
+AC_ARG_ENABLE(theme,
+	[AC_HELP_STRING([--disable-theme], [disable theme.
+        [[default=enabled]]])],
+	[build_theme=$enableval],
+	[build_theme="yes"]
+)
+AM_CONDITIONAL([ELM_BUILD_THEME], test "x${build_theme}" = "xyes")
+
 AC_ARG_WITH(edje-cc,
 [  --with-edje-cc=PATH              specify a specific path to edje_cc],
 [
@@ -228,6 +236,8 @@
 echo "  EDBus.........: ${have_elementary_edbus}"
 echo
 echo "edje_cc.........: ${edje_cc}"
+echo 
+echo "Build theme.....: ${build_theme}"
 echo
 echo "------------------------------------------------------------------------"
 echo
Index: data/themes/Makefile.am
===================================================================
--- data/themes/Makefile.am	(révision 39608)
+++ data/themes/Makefile.am	(copie de travail)
@@ -1,3 +1,5 @@
+if ELM_BUILD_THEME
+
 AUTOMAKE_OPTIONS     = 1.4 foreign
 MAINTAINERCLEANFILES = Makefile.in
 
@@ -123,6 +125,8 @@
 	$(EDJE_CC) $(EDJE_FLAGS) \
 	$(top_srcdir)/data/themes/default.edc \
 	$(top_builddir)/data/themes/default.edj
+endif
 
 clean-local:
 	rm -f *.edj
+
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to