mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-20 20:48:07 +00:00
Check upnp version
This commit is contained in:
parent
2566366990
commit
aefc883656
2 changed files with 7 additions and 2 deletions
|
|
@ -183,7 +183,12 @@ AC_ARG_ENABLE(upnp,
|
|||
)
|
||||
|
||||
if test "$build_upnp" != "false" ; then
|
||||
PKG_CHECK_MODULES([LIBUPNP], [libupnp], [build_upnp=true],
|
||||
PKG_CHECK_MODULES([LIBUPNP], [libupnp],
|
||||
[if pkg-config --atleast-version=1.6 "libupnp < 1.7"; then
|
||||
build_upnp=true
|
||||
else
|
||||
AC_MSG_ERROR([libupnp >= 1.6 < 1.5 required.])
|
||||
fi],
|
||||
[if test "$build_upnp" == "true" ; then
|
||||
AC_MSG_ERROR([libupnp not found.])
|
||||
else
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit d1d3e1af51ab26ecb9808d6f83629e661c67af5f
|
||||
Subproject commit f223705f2853e62f0fb5340b994cd40665b9e854
|
||||
Loading…
Add table
Reference in a new issue