summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac8
-rw-r--r--tests/check/transmitter/rawudp-upnp.c4
2 files changed, 0 insertions, 12 deletions
diff --git a/configure.ac b/configure.ac
index 03541c5a..6b37d8c4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -383,14 +383,6 @@ if test "x$WANT_GUPNP" = "xyes" && test "x$HAVE_GUPNP" = "xno"; then
AC_ERROR([Requested GUPnP IGD, but it is not available])
fi
-if test "x$HAVE_GUPNP" = "xyes"; then
- AC_DEFINE(HAVE_GUPNP,,[Have the GUPnP IGD library])
-
- PKG_CHECK_MODULES(GUPNP_013, gupnp-1.0 >= 0.13,
- [AC_DEFINE([HAVE_GUPNP_013], [1], [Have GUPnP 0.13 or higher])],
- [true])
-fi
-
dnl *** output files ***
AC_CONFIG_FILES(
diff --git a/tests/check/transmitter/rawudp-upnp.c b/tests/check/transmitter/rawudp-upnp.c
index a21c603c..4818cd28 100644
--- a/tests/check/transmitter/rawudp-upnp.c
+++ b/tests/check/transmitter/rawudp-upnp.c
@@ -137,12 +137,8 @@ start_upnp_server (void)
gupnp_context_host_path (context, upnp_xml_path, "");
-#ifdef HAVE_GUPNP_013
dev = gupnp_root_device_new (context, "InternetGatewayDevice.xml",
upnp_xml_path);
-#else
- dev = gupnp_root_device_new (context, "/InternetGatewayDevice.xml");
-#endif
ts_fail_if (dev == NULL, "could not get root dev");
subdev1 = gupnp_device_info_get_device (GUPNP_DEVICE_INFO (dev),