summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNuno Araujo <nuno.araujo@russo79.com>2013-01-29 11:12:16 -0500
committerPeng Huang <penghuang@google.com>2013-01-29 11:12:16 -0500
commit3d0680c2b9533d0abff30258d0e772b8aa97af1c (patch)
tree56bb84e04a657427c0f81f8b435074cefec9f8dc
parenteecbc1dab658acea9304c1434585669660e76689 (diff)
downloadibus-pinyin-3d0680c2b9533d0abff30258d0e772b8aa97af1c.tar.gz
Fix build on systems where default lua is 5.2
Currently, if a system has both lua5.1 and lua5.2 installed, but lua5.2 is the default, the build tries to use lua5.2 instead of lua5.1 which is currently not supported. BUG=https://code.google.com/p/ibus/issues/detail?id=1581 Review URL: https://codereview.appspot.com/7223049 Patch from Nuno Araujo <nuno.araujo@russo79.com>.
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index b95fa7d..9802310 100644
--- a/configure.ac
+++ b/configure.ac
@@ -117,6 +117,7 @@ AC_ARG_ENABLE(lua-extension,
# check lua
PKG_CHECK_MODULES(LUA, [
lua >= 5.1
+ lua < 5.2
], [],
[has_lua_extension=no]
)