
---
 configure | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/configure b/configure
index eb01472..970eb8d 100755
--- a/configure
+++ b/configure
@@ -12331,6 +12331,8 @@ $as_echo_n "checking for LUA... " >&6; }
 
 if test -n "$LUA_CFLAGS"; then
     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
+ elif test -n "$LUA_LIBS"; then
+    pkg_cv_LUA_LIBS="$LUA_LIBS"
  elif test -n "$PKG_CONFIG"; then
     if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua\""; } >&5
-- 
2.11.1

