]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
configure.ac: fix build with --enable-bufferevents
authorAnthony G. Basile <blueness@gentoo.org>
Fri, 20 Jun 2014 12:47:26 +0000 (08:47 -0400)
committerNick Mathewson <nickm@torproject.org>
Wed, 16 Jul 2014 08:36:34 +0000 (10:36 +0200)
When building with bufferevents enabled, configure.ac throws an
error if "$ac_cv_header_event2_bufferevent_ssl_h" is not set to
"yes".  However, nowhere was AC_CHECK_HEADERS(event2/bufferevent_ssl.h)
done.  This commit adds the check.

configure.ac

index 38d922206878fa249ae152f729d8e84a91dff67a..1d8cfa78f052eb399c394d3e6254dcbe2866db94 100644 (file)
@@ -454,7 +454,7 @@ AC_CHECK_MEMBERS([struct event.min_heap_idx], , ,
 [#include <event.h>
 ])
 
-AC_CHECK_HEADERS(event2/event.h event2/dns.h)
+AC_CHECK_HEADERS(event2/event.h event2/dns.h event2/bufferevent_ssl.h)
 
 LIBS="$save_LIBS"
 LDFLAGS="$save_LDFLAGS"