aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 5 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index f6d870f332..43a622feab 100644
--- a/configure.ac
+++ b/configure.ac
@@ -342,7 +342,11 @@ BITCOIN_FIND_BDB48
dnl Check for libminiupnpc (optional)
if test x$use_upnp != xno; then
- AC_CHECK_LIB([miniupnpc], [main],, [have_miniupnpc=no])
+ AC_CHECK_HEADERS(
+ [miniupnpc/miniwget.h miniupnpc/miniupnpc.h miniupnpc/upnpcommands.h miniupnpc/upnperrors.h],
+ [AC_CHECK_LIB([miniupnpc], [main],, [have_miniupnpc=no])],
+ [have_miniupnpc=no]
+ )
fi
dnl Check for boost libs