aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorSteven Murdoch <Steven.Murdoch@cl.cam.ac.uk>2011-08-22 17:38:22 +0100
committerSteven Murdoch <Steven.Murdoch@cl.cam.ac.uk>2011-08-22 17:38:43 +0100
commit850d8c9eb8a847d3d35d4e39acf2d84afe8dffa4 (patch)
tree2ad059c7175e78555c869c2f06613b0bc749bfb3 /configure.in
parentc5e74fc60db2b0c763d55f5bca8a32dc4bc05fe5 (diff)
downloadtor-850d8c9eb8a847d3d35d4e39acf2d84afe8dffa4.tar
tor-850d8c9eb8a847d3d35d4e39acf2d84afe8dffa4.tar.gz
Correct reference to libiphlpapi from libiphlapi
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.in b/configure.in
index f9e98f025..26792a667 100644
--- a/configure.in
+++ b/configure.in
@@ -325,7 +325,7 @@ dnl Where do you live, libevent? And how do we call you?
if test "$bwin32" = true; then
TOR_LIB_WS32=-lws2_32
- TOR_LIB_IPHLAPI=-liphlapi
+ TOR_LIB_IPHLPAPI=-liphlpapi
# Some of the cargo-cults recommend -lwsock32 as well, but I don't
# think it's actually necessary.
TOR_LIB_GDI=-lgdi32
@@ -335,7 +335,7 @@ else
fi
AC_SUBST(TOR_LIB_WS32)
AC_SUBST(TOR_LIB_GDI)
-AC_SUBST(TOR_LIB_IPHLAPI)
+AC_SUBST(TOR_LIB_IPHLPAPI)
dnl We need to do this before we try our disgusting hack below.
AC_CHECK_HEADERS([sys/types.h])
@@ -561,7 +561,7 @@ dnl There are no packages for Debian or Redhat as of this patch
if test "$upnp" = "true"; then
AC_DEFINE(MINIUPNPC, 1, [Define to 1 if we are building with UPnP.])
- TOR_SEARCH_LIBRARY(libminiupnpc, $trylibminiupnpcdir, [-lminiupnpc $TOR_LIB_WS32 $TOR_LIB_IPHLAPI],
+ TOR_SEARCH_LIBRARY(libminiupnpc, $trylibminiupnpcdir, [-lminiupnpc $TOR_LIB_WS32 $TOR_LIB_IPHLPAPI],
[#include <miniupnpc/miniwget.h>
#include <miniupnpc/miniupnpc.h>
#include <miniupnpc/upnpcommands.h>],