cedric pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=0907be14d3169ff12cc0c340e0bd077bb9006b34
commit 0907be14d3169ff12cc0c340e0bd077bb9006b34 Author: Cedric Bail <[email protected]> Date: Sun Dec 8 13:32:14 2013 +0900 build: fix crosscompilation to be actually working. --- data/objects/Makefile.am | 2 +- m4/efl_binary.m4 | 10 ++++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/data/objects/Makefile.am b/data/objects/Makefile.am index f18e347..7fde81e 100644 --- a/data/objects/Makefile.am +++ b/data/objects/Makefile.am @@ -77,7 +77,7 @@ test_prefs.edj: Makefile test_prefs.edc $(top_builddir)/data/objects/test_prefs.edj test_prefs.epb: Makefile test_prefs.epc - $(ELM_PREFS_CC) $(ELM_PREFS_FLAGS) \ + $(AM_V_EPB)$(ELM_PREFS_CC) $(ELM_PREFS_FLAGS) \ $(top_srcdir)/data/objects/test_prefs.epc \ $(top_builddir)/data/objects/test_prefs.epb diff --git a/m4/efl_binary.m4 b/m4/efl_binary.m4 index f6262dc..91a26b2 100644 --- a/m4/efl_binary.m4 +++ b/m4/efl_binary.m4 @@ -59,8 +59,14 @@ dnl configure option AC_ARG_WITH([$2], [AC_HELP_STRING([--with-$2=PATH], [specify a specific path to ]DOWN[ @<:@default=$3@:>@])], - [_efl_with_binary=${withval}], - [_efl_with_binary=$(pkg-config --variable=prefix $1)/bin/$3]) + [ + _efl_with_binary=${withval} + _efl_binary_define="yes" + ], + [ + _efl_with_binary=$(pkg-config --variable=prefix $1)/bin/$3 + _efl_binary_define="no" + ]) DOWN=${_efl_with_binary} AC_MSG_NOTICE(DOWN[ set to ${_efl_with_binary}]) --
