summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAlexander Traud <pabstraud@compuserve.com>2018-03-05 15:01:06 +0100
committerAlexander Traud <pabstraud@compuserve.com>2018-03-06 17:58:55 +0100
commitef79e583ec2d78ac251ef65bc46cd76a3ba3eab1 (patch)
tree341a1a87bfe1ec28ebbc6fd0689f25899c44ff4c /configure.ac
parent73846c90faf370fecf4c2dca48f1eb6fbe532705 (diff)
BuildSystem: Enable Lua in NetBSD.
luaL_openlib got removed with Lua 5.2. luaL_newstate is available in all versions. ASTERISK-27718 Change-Id: I9c8c8880315ee36ab740d7c40153306c0bfd6f71
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index a59646cfd..a5e81d208 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2387,8 +2387,8 @@ if test "x${PBX_LUA}" = "x1" ; then
fi
fi
-# Some distributions (like SuSE) remove the 5.1 suffix.
-AST_EXT_LIB_CHECK([LUA], [lua], [luaL_openlib], [lua.h], [-lm])
+# Some distributions (like openSUSE and NetBSD) remove the 5.x suffix.
+AST_EXT_LIB_CHECK([LUA], [lua], [luaL_newstate], [lua.h], [-lm])
# Accept either RADIUS client library, their APIs are fully compatible,
# just different header filenames and different SONAMEs