FS-7180: properly build esl luamod when not using the --enable-system-lua configure arg
This commit is contained in:
parent
c36196db3f
commit
8fc19a6037
|
@ -518,7 +518,6 @@ AC_SUBST(SYS_XMLRPC_LDFLAGS)
|
||||||
AM_CONDITIONAL([SYSTEM_XMLRPCC],[test "${enable_xmlrpcc}" = "yes"])
|
AM_CONDITIONAL([SYSTEM_XMLRPCC],[test "${enable_xmlrpcc}" = "yes"])
|
||||||
|
|
||||||
AC_ARG_ENABLE([system-lua],[AS_HELP_STRING([--enable-system-lua],[use system lib for lua])],,[enable_system_lua="no"])
|
AC_ARG_ENABLE([system-lua],[AS_HELP_STRING([--enable-system-lua],[use system lib for lua])],,[enable_system_lua="no"])
|
||||||
if test "${enable_system_lua}" = "yes" ; then
|
|
||||||
PKG_CHECK_MODULES([LUA],[lua5.2],[have_lua=yes],[have_lua=no])
|
PKG_CHECK_MODULES([LUA],[lua5.2],[have_lua=yes],[have_lua=no])
|
||||||
if test "${have_lua}" = "no" ; then
|
if test "${have_lua}" = "no" ; then
|
||||||
PKG_CHECK_MODULES([LUA],[lua5.1],[have_lua=yes],[have_lua=no])
|
PKG_CHECK_MODULES([LUA],[lua5.1],[have_lua=yes],[have_lua=no])
|
||||||
|
@ -529,7 +528,6 @@ if test "${enable_system_lua}" = "yes" ; then
|
||||||
if test x"${LUA_LIBS}" = x"" ; then
|
if test x"${LUA_LIBS}" = x"" ; then
|
||||||
LUA_LIBS="-llua"
|
LUA_LIBS="-llua"
|
||||||
fi
|
fi
|
||||||
fi
|
|
||||||
AM_CONDITIONAL([SYSTEM_LUA],[test "${enable_system_lua}" = "yes"])
|
AM_CONDITIONAL([SYSTEM_LUA],[test "${enable_system_lua}" = "yes"])
|
||||||
|
|
||||||
AC_ARG_ENABLE(srtp,
|
AC_ARG_ENABLE(srtp,
|
||||||
|
|
Loading…
Reference in New Issue