diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2013-12-08 13:56:01 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2013-12-08 13:56:12 +0100 |
commit | 6893d74e1511ee68a8f6ab25f232a66dd3cbe2b6 (patch) | |
tree | 2feadc59efe566ef22a2607b4f1c931fd5df17bc /configure.ac | |
parent | 05e27c66411caa622815cc7cc7136dfd85370ab4 (diff) | |
parent | 26d1b65c532585dfb8c0405af3c56c4217cd1524 (diff) |
Merge pull request #3322
26d1b65 src/Makefile.am: Simplify clean of leveldb (Josh Triplett)
a26a367 configure.ac: Check for miniupnpc headers, not just -lminiupnpc (Josh Triplett)
82ccb05 autogen.sh: Stop passing --verbose to autoreconf (Josh Triplett)
e12dafd autogen.sh: Use long options to autoreconf, for self-documentation (Josh Triplett)
19b9add autogen.sh: Support running from outside the source directory (Josh Triplett)
97d285a autogen.sh: Use set -e to fail if any command fails (Josh Triplett)
f80b723 autogen.sh: Add a /bin/sh shebang. (Josh Triplett)
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 0f99675fb4..34509993a0 100644 --- a/configure.ac +++ b/configure.ac @@ -376,7 +376,11 @@ fi 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 |