aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2017-05-13 10:39:07 +0200
committerMarc André Tanner <mat@brain-dump.org>2017-05-13 10:39:07 +0200
commit9d216fdaca5c89fdce1308cc1b2b2ed2f7fdee11 (patch)
tree568220c21e1772526c0fe0a5a946de95724ed75d
parent49db502f1721184a428feb99ed7621b24ce749bc (diff)
downloadvis-9d216fdaca5c89fdce1308cc1b2b2ed2f7fdee11.tar.gz
vis-9d216fdaca5c89fdce1308cc1b2b2ed2f7fdee11.tar.xz
build: fix warning in lua related configure check
luaL_openlibs is actually declared in lualib.h.
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index 24d4cd8..56b204b 100755
--- a/configure
+++ b/configure
@@ -435,6 +435,7 @@ if test "$lua" != "no" ; then
cat > "$tmpc" <<EOF
#include <lua.h>
+#include <lualib.h>
#include <lauxlib.h>
#if LUA_VERSION_NUM < 502
@@ -493,6 +494,7 @@ if test $CONFIG_LUA -eq 1 -a "$lpeg" != "no" ; then
cat > "$tmpc" <<EOF
#include <lua.h>
+#include <lualib.h>
#include <lauxlib.h>
int main(int argc, char *argv[]) {