summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorCedric Bail <cedric.bail@free.fr>2013-12-08 13:32:14 +0900
committerCedric Bail <cedric.bail@free.fr>2013-12-08 13:32:14 +0900
commit0907be14d3169ff12cc0c340e0bd077bb9006b34 (patch)
treec631b57ffbf56e2cb17129ebe045e78305747645 /m4
parent6f19594b4c49b810cd292fc6691daf388c40724f (diff)
build: fix crosscompilation to be actually working.
Diffstat (limited to 'm4')
-rw-r--r--m4/efl_binary.m410
1 files changed, 8 insertions, 2 deletions
diff --git a/m4/efl_binary.m4 b/m4/efl_binary.m4
index f6262dc73..91a26b2a8 100644
--- a/m4/efl_binary.m4
+++ b/m4/efl_binary.m4
@@ -59,8 +59,14 @@ dnl configure option
59 59
60AC_ARG_WITH([$2], 60AC_ARG_WITH([$2],
61 [AC_HELP_STRING([--with-$2=PATH], [specify a specific path to ]DOWN[ @<:@default=$3@:>@])], 61 [AC_HELP_STRING([--with-$2=PATH], [specify a specific path to ]DOWN[ @<:@default=$3@:>@])],
62 [_efl_with_binary=${withval}], 62 [
63 [_efl_with_binary=$(pkg-config --variable=prefix $1)/bin/$3]) 63 _efl_with_binary=${withval}
64 _efl_binary_define="yes"
65 ],
66 [
67 _efl_with_binary=$(pkg-config --variable=prefix $1)/bin/$3
68 _efl_binary_define="no"
69 ])
64 70
65DOWN=${_efl_with_binary} 71DOWN=${_efl_with_binary}
66AC_MSG_NOTICE(DOWN[ set to ${_efl_with_binary}]) 72AC_MSG_NOTICE(DOWN[ set to ${_efl_with_binary}])