summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2014-06-12 12:54:27 +0100
committerDaniel Kolesa <d.kolesa@samsung.com>2014-06-12 12:54:27 +0100
commitbe0062ab0f233869803d770fb207e051e9b12619 (patch)
tree75ad3fd75a89faff41b0cde57f73bf28e46c88dc /configure.ac
parent4995d1a4b034a9c83faa4576ac63c33005fc55de (diff)
elua: use --with-elua instead of --with-elua-bin
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac32
1 files changed, 29 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 03825caf9e..30ed76f675 100644
--- a/configure.ac
+++ b/configure.ac
@@ -147,7 +147,33 @@ 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])
150EFL_WITH_BIN([elua], [elua-bin]) 150
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)
151 177
152#### Default values 178#### Default values
153 179
@@ -4651,8 +4677,8 @@ if test "x${with_binary_eolian_cxx}" != "x"; then
4651echo " eolian_cxx....: ${with_binary_eolian_cxx}" 4677echo " eolian_cxx....: ${with_binary_eolian_cxx}"
4652fi 4678fi
4653 4679
4654if test "x${with_binary_elua_bin}" != "x"; then 4680if test "x${with_binary_elua}" != "x"; then
4655echo " elua..........: ${with_binary_elua_bin}" 4681echo " elua..........: ${with_binary_elua}"
4656fi 4682fi
4657 4683
4658echo " " 4684echo " "