mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-15 05:48:33 +00:00
FS-7967 SmartOS compatibility
configure.ac: honor NetBSD and SmartOS in search for system lua src/switch_utf8.c: remove switch_u8_vprintf and switch_u8_printf replace u_int32_t with C99 standard uint32_t, and also the same for 8,16,64 bit
This commit is contained in:
1 parent
4df2476564
commit
98a190a107
9 files changed
+29
-69
No files matched your search
+6
-7
@@ -559,13 +559,12 @@ AC_SUBST(SYS_XMLRPC_CFLAGS)
|
||||
AC_SUBST(SYS_XMLRPC_LDFLAGS)
|
||||
AM_CONDITIONAL([SYSTEM_XMLRPCC],[test "${enable_xmlrpcc}" = "yes"])
|
||||
|
||||
PKG_CHECK_MODULES([LUA],[lua5.2],[have_lua=yes],[have_lua=no])
|
||||
if test "${have_lua}" = "no" ; then
|
||||
PKG_CHECK_MODULES([LUA],[lua5.1],[have_lua=yes],[have_lua=no])
|
||||
fi
|
||||
if test "${have_lua}" = "no" ; then
|
||||
PKG_CHECK_MODULES([LUA],[lua],[have_lua=yes],[have_lua=no])
|
||||
fi
|
||||
for luaversion in lua5.2 lua-5.2 lua5.1 lua-5.1 lua; do
|
||||
PKG_CHECK_MODULES([LUA],[${luaversion}],[have_lua=yes],[have_lua=no])
|
||||
if test ${have_lua} = yes; then
|
||||
break
|
||||
fi
|
||||
done
|
||||
if test x"${LUA_LIBS}" = x"" ; then
|
||||
LUA_LIBS="-llua"
|
||||
fi
|
||||
|
||||
Reference in new issue
Block a user