1 Fix libminiupnpc version detection
3 Problem is known upstream: https://trac.transmissionbt.com/ticket/6140
5 For buildroot we know the libminiupnpc version so we hard-code 2.0.
7 Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
9 diff -uNr transmission-2.92.org/configure.ac transmission-2.92/configure.ac
10 --- transmission-2.92.org/configure.ac 2016-03-06 21:23:45.336198393 +0100
11 +++ transmission-2.92/configure.ac 2016-07-02 21:48:13.452385686 +0200
13 dnl MINIUPNPC_API_VERSION and we won't have to figure
15 if test "x$upnp_version" = "xunknown" ; then
18 - [#include <stdlib.h>
19 - #include <miniupnpc/miniupnpc.h>],
20 - [#ifdef MINIUPNPC_API_VERSION
21 - return EXIT_SUCCESS;
23 - return EXIT_FAILURE;
26 - [upnp_version=">= 1.7"]
31 dnl Or maybe it's miniupnp 1.6