From f02cc3ab02bbfbca8497ff3246755ae9f00d3b7b Mon Sep 17 00:00:00 2001 From: Toni Gundogdu Date: Tue, 6 Aug 2013 16:58:13 +0300 Subject: [PATCH] FIX: error: implicit declaration of function 'luaL_register' Signed-off-by: Toni Gundogdu --- configure.ac | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configure.ac b/configure.ac index af0ffb9..0dc300b 100644 --- a/configure.ac +++ b/configure.ac @@ -157,6 +157,12 @@ AC_ARG_WITH([manual], [with_manual=yes]) AM_CONDITIONAL([WITH_MANUAL], [test x"$with_manual" != "xno"]) +# 'quvi-object' is currently a globally accessible module. Lua 5.2 +# discourages this practice by removing the luaL_register (and adds the +# luaL_setfuncs) call from the C API. We'll dismiss that (for now) with: +AC_DEFINE([LUA_COMPAT_MODULE], [1], + [Define for backwards-compatibility with Lua 5.1]) + AC_CONFIG_FILES([ Makefile doc/man3/Makefile -- 2.11.4.GIT