2020-05-17 02:55:27 +08:00
|
|
|
--- a/configure.ac
|
|
|
|
+++ b/configure.ac
|
2020-12-11 12:02:36 +08:00
|
|
|
@@ -2564,7 +2564,11 @@ if test -z "$__opus_include" -o x"$__opu
|
2020-05-17 02:55:27 +08:00
|
|
|
fi
|
|
|
|
AST_EXT_LIB_CHECK([OPUSFILE], [opusfile], [op_open_callbacks], [opus/opusfile.h], [], [$__opus_include])
|
|
|
|
|
2020-11-07 02:05:34 +08:00
|
|
|
-for ver in 5.4 5.3 5.2 5.1; do
|
2020-05-17 02:55:27 +08:00
|
|
|
+# This does not work for us. We have both liblua and liblua5.3 in
|
|
|
|
+# $(STAGING_DIR)/usr. But the headers for liblua5.3 are in
|
|
|
|
+# (STAGING_DIR)/usr/include/lua5.3. Using the below, Asterisk would
|
|
|
|
+# use the headers from liblua and link against liblua5.3 :/
|
|
|
|
+for ver in ; do
|
|
|
|
AST_EXT_LIB_CHECK([LUA], lua${ver}, [luaL_newstate], lua${ver}/lua.h, [-lm])
|
|
|
|
if test "x${PBX_LUA}" = "x1" ; then
|
|
|
|
if test x"${LUA_DIR}" = x; then
|