mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 01:26:58 +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:
13
configure.ac
13
configure.ac
@@ -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