14 lines
662 B
Diff
14 lines
662 B
Diff
diff --git a/configure.ac b/configure.ac
|
|
index 4bf7d08..3c5a89e 100644
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -196,6 +196,8 @@ if test "x$enable_sendto" = "xyes"; then
|
|
fi
|
|
;;
|
|
upnp)
|
|
+ PKG_CHECK_MODULES(UPNP, gupnp-1.6 >= $GUPNP_REQUIRED,
|
|
+ enable_upnp=yes AC_DEFINE([HAS_GUPNP_VERSION_1_6], 1, ["Version is at least 1.6"]), enable_upnp=no)
|
|
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,
|