build: fix crosscompilation to be actually working.
authorCedric Bail <cedric.bail@free.fr>
Sun, 8 Dec 2013 04:32:14 +0000 (13:32 +0900)
committerCedric Bail <cedric.bail@free.fr>
Sun, 8 Dec 2013 04:32:14 +0000 (13:32 +0900)
legacy/elementary/data/objects/Makefile.am
legacy/elementary/m4/efl_binary.m4

index f18e347..7fde81e 100644 (file)
@@ -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
 
index f6262dc..91a26b2 100644 (file)
@@ -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}])