[geany/geany-plugins] 8b15f7: Merge pull request #188 from b4n/lua-version
Frank Lanitz
git-noreply at xxxxx
Mon Feb 16 18:32:21 UTC 2015
Branch: refs/heads/master
Author: Frank Lanitz <frank at frank.uvena.de>
Committer: Frank Lanitz <frank at frank.uvena.de>
Date: Mon, 16 Feb 2015 18:32:21 UTC
Commit: 8b15f7a8190c862d3e2435e43ca684b8abae79ce
https://github.com/geany/geany-plugins/commit/8b15f7a8190c862d3e2435e43ca684b8abae79ce
Log Message:
-----------
Merge pull request #188 from b4n/lua-version
geanylua: Do not accept Lua5.2 as the plugin doesn't build with it
Modified Paths:
--------------
build/geanylua.m4
geanylua/wscript_configure
Modified: build/geanylua.m4
4 lines changed, 3 insertions(+), 1 deletions(-)
===================================================================
@@ -14,8 +14,10 @@ AC_DEFUN([GP_CHECK_GEANYLUA],
done])
LUA_VERSION=5.1
+ LUA_VERSION_BOUNDARY=5.2
GP_CHECK_PLUGIN_DEPS([GeanyLua], [LUA],
- [${LUA_PKG_NAME} >= ${LUA_VERSION}])
+ [${LUA_PKG_NAME} >= ${LUA_VERSION}
+ ${LUA_PKG_NAME} < ${LUA_VERSION_BOUNDARY}])
GP_CHECK_PLUGIN_DEPS([GeanyLua], [GMODULE], [gmodule-2.0])
GP_COMMIT_PLUGIN_STATUS([GeanyLua])
Modified: geanylua/wscript_configure
6 lines changed, 4 insertions(+), 2 deletions(-)
===================================================================
@@ -30,10 +30,12 @@ def try_to_find_lua_package():
for package_name in package_names:
check_cfg_cached(conf,
package=package_name,
- atleast_version='5.1',
mandatory=False,
uselib_store='LUA',
- args='--cflags --libs')
+ args='%s >= 5.1 %s < 5.2 --cflags --libs' %
+ (package_name, package_name),
+ msg="Checking for '%s' >= 5.1 and < 5.2" %
+ package_name)
if conf.env['HAVE_LUA'] == 1:
return True
return False
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Plugins-Commits
mailing list