##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
m4_define([v_maj], [1])
m4_define([v_min], [7])
-m4_define([v_mic], [2])
+m4_define([v_mic], [3])
m4_define([v_rev], m4_esyscmd([(svnversion "${SVN_REPO_PATH:-.}" | grep -v '\(export\|Unversioned directory\)' || echo 0) | awk -F : '{printf("%s\n", $1);}' | tr -d ' :MSP\n']))
m4_if(v_rev, [0], [m4_define([v_rev], m4_esyscmd([git log 2> /dev/null | (grep -m1 git-svn-id || echo 0) | sed -e 's/.*@\([0-9]*\).*/\1/' | tr -d '\n']))])
##-- When released, remove the dnl on the below line
have_lua="yes"
requirement_lua=""
lua_libs=""
-PKG_CHECK_MODULES([LUA], [lua >= 5.1.0], requirement_lua="lua",
- [PKG_CHECK_MODULES([LUA], [lua5.1 >= 5.1.0], requirement_lua="lua5.1",
- [PKG_CHECK_MODULES([LUA], [lua-5.1 >= 5.1.0], requirement_lua="lua-5.1",
- [PKG_CHECK_MODULES([LUA], [lua51 >= 5.1.0], requirement_lua="lua51",
+PKG_CHECK_MODULES([LUA], [lua >= 5.1.0 lua < 5.2.0], requirement_lua="lua",
+ [PKG_CHECK_MODULES([LUA], [lua5.1 >= 5.1.0 lua5.1 < 5.2.0], requirement_lua="lua5.1",
+ [PKG_CHECK_MODULES([LUA], [lua-5.1 >= 5.1.0 lua-5.1 < 5.2.0], requirement_lua="lua-5.1",
+ [PKG_CHECK_MODULES([LUA], [lua51 >= 5.1.0 lua51 < 5.2.0], requirement_lua="lua51",
[have_lua="no"])])])])
if test "x${have_lua}" = "xno" ; then