23 lines
710 B
Diff
23 lines
710 B
Diff
--- a/m4/libupnp.m4
|
|
+++ b/m4/libupnp.m4
|
|
@@ -57,7 +57,6 @@ dnl Test for --with-libupnp-prefix
|
|
])
|
|
|
|
dnl Check for libupnp >= MIN_LIBUPNP_VERSION
|
|
- AS_IF([test $cross_compiling = no], [
|
|
AC_MSG_CHECKING([for libupnp version >= MIN_LIBUPNP_VERSION])
|
|
AS_IF([test -n "$PKG_CONFIG"], [
|
|
AS_IF([$PKG_CONFIG libupnp --exists], [
|
|
@@ -84,11 +83,6 @@ dnl Check for libupnp >= MIN_LIBUPNP_VER
|
|
])
|
|
AC_MSG_RESULT([$result$resultstr])
|
|
libupnp_error="libupnp >= MIN_LIBUPNP_VERSION not found$resultstr"
|
|
- ], [
|
|
-dnl Currently cross-compilation with libupnp is not supported.
|
|
- result=no
|
|
- libupnp_error="cross compiling"
|
|
- ])
|
|
|
|
dnl Execute the right action.
|
|
AS_IF([test ${result:-no} = yes], [$2], [$3])
|