+--- caja-extensions-1.22.0/configure.ac.orig 2019-02-25 14:25:14.000000000 +0100
++++ caja-extensions-1.22.0/configure.ac 2019-05-20 20:57:04.237355843 +0200
+@@ -196,8 +196,10 @@
+ fi
+ ;;
+ upnp)
++ PKG_CHECK_MODULES(UPNP, gupnp-1.2 >= $GUPNP_REQUIRED, enable_upnp=yes, [
+ PKG_CHECK_MODULES(UPNP, gupnp-1.0 >= $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"
+ add_sendto_plugin="0"