From 1d21084e8ffdacb3e3b60840261b6d456d23887e Mon Sep 17 00:00:00 2001 From: Xiaotian Wu Date: Mon, 16 Oct 2023 10:42:27 +0800 Subject: sendto: require gupnp-1.6 --- configure.ac | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index c8fb513..8df589a 100644 --- a/configure.ac +++ b/configure.ac @@ -119,7 +119,7 @@ if test "x$enable_sendto" = "xyes"; then GTHREAD_REQUIRED=2.6.0 DBUS_REQUIRED=1.0 DBUS_GLIB_REQUIRED=0.60 - GUPNP_REQUIRED=0.13 + GUPNP_REQUIRED=1.6 PKG_CHECK_MODULES(SENDTO, glib-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GTHREAD_REQUIRED @@ -233,9 +233,7 @@ if test "x$enable_sendto" = "xyes"; then fi ;; upnp) - PKG_CHECK_MODULES(UPNP, gupnp-1.2 >= $GUPNP_REQUIRED, - enable_upnp=yes AC_DEFINE([HAS_GUPNP_VERSION_1_2], 1, ["Version is at least 1.2"]), enable_upnp=no) - PKG_CHECK_MODULES(UPNP, gupnp-1.0 >= $GUPNP_REQUIRED, + PKG_CHECK_MODULES(UPNP, gupnp-1.6 >= $GUPNP_REQUIRED, enable_upnp=yes, enable_upnp=no) if test "${enable_upnp}" != "yes" ; then sendto_plugin_error_or_ignore "you need gupnp installed to build the upnp plugin" -- cgit v1.2.1