[tor-commits] [tor/master] Try to fix windows build
nickm at torproject.org
nickm at torproject.org
Wed Dec 9 13:59:17 UTC 2015
commit 2a965b7537a7f46ec22f998305280a4ad89018f0
Author: Nick Mathewson <nickm at torproject.org>
Date: Wed Dec 9 08:59:01 2015 -0500
Try to fix windows build
patch from rubiate on #16651
---
configure.ac | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index b14361f..5f3b7cb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -513,8 +513,8 @@ if test "$enable_static_libevent" = "yes"; then
fi
else
if test "x$ac_cv_header_event2_event_h" = "xyes"; then
- AC_SEARCH_LIBS(event_new, [event event_core])
- AC_SEARCH_LIBS(evdns_base_new, [event event_extra])
+ AC_SEARCH_LIBS(event_new, [event event_core], , AC_MSG_ERROR("libevent2 is installed but linking it failed while searching for event_new"))
+ AC_SEARCH_LIBS(evdns_base_new, [event event_extra], , AC_MSG_ERROR("libevent2 is installed but linking it failed while searching for evdns_base_new"))
if test "$ac_cv_search_event_new" != "none required"; then
TOR_LIBEVENT_LIBS="$ac_cv_search_event_new"
More information about the tor-commits
mailing list