summaryrefslogtreecommitdiff
path: root/m4/ax_lua.m4
diff options
context:
space:
mode:
authorReuben Thomas <rrt@sc3d.org>2012-01-30 20:57:06 +0000
committerReuben Thomas <rrt@sc3d.org>2012-01-30 20:57:06 +0000
commitfb69c91fdffa8613315804bf28179f7c8c54efc9 (patch)
tree54b5da3ba1605d3b1f387680557a9d4db2f58fb3 /m4/ax_lua.m4
parent94ec628bd828d2c780e94759c7f0a8b859739d59 (diff)
downloadautoconf-archive-fb69c91fdffa8613315804bf28179f7c8c54efc9.tar.gz
m4/ax_lua.m4: test lua_load instead of lua_call in AX_LUA_LIBS, to work with Lua 5.2.
Diffstat (limited to 'm4/ax_lua.m4')
-rw-r--r--m4/ax_lua.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/ax_lua.m4 b/m4/ax_lua.m4
index f65b35e..5ee0915 100644
--- a/m4/ax_lua.m4
+++ b/m4/ax_lua.m4
@@ -80,7 +80,7 @@
# modified version of the Autoconf Macro, you may extend this special
# exception to the GPL to apply to your modified version as well.
-#serial 15
+#serial 16
dnl Helper function to declare extra options
AC_DEFUN([_AX_LUA_OPTS],
@@ -161,7 +161,7 @@ AC_DEFUN([AX_LUA_LIBS],
AC_CHECK_LIB([m], [exp], [lua_extra_libs="$lua_extra_libs -lm"], [])
AC_CHECK_LIB([dl], [dlopen], [lua_extra_libs="$lua_extra_libs -ldl"], [])
AC_CHECK_LIB([lua$with_lua_suffix],
- [lua_call],
+ [lua_load],
[LUA_LIB="$LUA_LIB -llua$with_lua_suffix $lua_extra_libs"],
[],
[$LUA_LIB $lua_extra_libs])])dnl