summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2017-06-16 15:03:09 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2017-06-16 13:31:29 -0400
commitc408215a24a67cb6b5fcc3dde507859e01f349e4 (patch)
tree576487004a45ed6a6f669812d875248910b9c3cb /configure.ac
parentdc9ebdd7066a7e7e5dbf8fd01eb019d3ee7f9336 (diff)
downloadefl-c408215a24a67cb6b5fcc3dde507859e01f349e4.tar.gz
build: add flag to disable elua
build times are already insanely long, every little bit helps @feature
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac13
1 files changed, 11 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 8e7de1256c..539dbc0a40 100644
--- a/configure.ac
+++ b/configure.ac
@@ -5030,9 +5030,18 @@ EFL_LIB_END([Ethumb_Client])
#### End of Ethumb_Client
#### Elua
-
+AC_ARG_ENABLE([elua],
+ [AS_HELP_STRING([--enable-elua],[enable ELUA support. @<:@default=enabled@:>@])],
+ [
+ if test "x${enableval}" = "xyes" ; then
+ want_elua="yes"
+ else
+ want_elua="no"
+ fi
+ ],
+ [want_elua="yes"])
have_elua="yes"
-if test "${want_lua_old}" = "yes"; then
+if test "${want_lua_old}" = "yes" -o "x$want_elua" = "xno"; then
have_elua="no"
fi