summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2014-06-12 15:20:18 +0100
committerDaniel Kolesa <d.kolesa@samsung.com>2014-06-12 15:20:18 +0100
commit9a4deeafe2cf4f5972bf8e777a059b1a6dda0f52 (patch)
tree18404f9ded1414f371118d76d02f41bcd631f94e /configure.ac
parentbe0062ab0f233869803d770fb207e051e9b12619 (diff)
m4: EFL_WITH_BIN_SUFFIX, make use of it in configure.ac
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac32
1 files changed, 3 insertions, 29 deletions
diff --git a/configure.ac b/configure.ac
index 30ed76f..7180e18 100644
--- a/configure.ac
+++ b/configure.ac
@@ -147,33 +147,7 @@ efl_deprecated_option="no"
147EFL_WITH_BIN([edje], [edje-cc]) 147EFL_WITH_BIN([edje], [edje-cc])
148EFL_WITH_BIN([eolian], [eolian-gen]) 148EFL_WITH_BIN([eolian], [eolian-gen])
149EFL_WITH_BIN([eolian_cxx], [eolian-cxx]) 149EFL_WITH_BIN([eolian_cxx], [eolian-cxx])
150 150EFL_WITH_BIN_SUFFIX([elua], [elua], [_bin])
151# elua binary - special handling of HAVE_ELUA_BIN
152
153elua_bin=""
154_efl_elua_define="no"
155
156AC_ARG_WITH([elua],
157 [AC_HELP_STRING([--with-elua=PATH], [specify a specific path to elua @<:@default=elua@:>@])],
158 [
159 elua_bin=${withval}
160 _efl_elua_define="yes"
161 ], [])
162
163AC_ARG_WITH([bin-elua],
164 [AC_HELP_STRING([--with-bin-elua=PATH], [specify a specific path to elua @<:@default=elua@:>@ DEPRECATED])],
165 [
166 elua_bin=${withval}
167 _efl_elua_define="yes"
168 efl_deprecated_option="yes"
169 ], [])
170
171AC_MSG_NOTICE([elua set to ${elua_bin}])
172
173with_binary_elua=${elua_bin}
174
175AM_CONDITIONAL(HAVE_ELUA_BIN, [test "x${_efl_elua_define}" = "xyes"])
176AC_SUBST(elua_bin)
177 151
178#### Default values 152#### Default values
179 153
@@ -4677,8 +4651,8 @@ if test "x${with_binary_eolian_cxx}" != "x"; then
4677echo " eolian_cxx....: ${with_binary_eolian_cxx}" 4651echo " eolian_cxx....: ${with_binary_eolian_cxx}"
4678fi 4652fi
4679 4653
4680if test "x${with_binary_elua}" != "x"; then 4654if test "x${with_binary_elua_bin}" != "x"; then
4681echo " elua..........: ${with_binary_elua}" 4655echo " elua..........: ${with_binary_elua_bin}"
4682fi 4656fi
4683 4657
4684echo " " 4658echo " "