[tor-commits] [tor/master] configure.ac: fix build with --enable-bufferevents

nickm at torproject.org nickm at torproject.org
Wed Jul 16 09:10:24 UTC 2014


commit 589de5ec20bf6f15813fc3bddb7a814309184800
Author: Anthony G. Basile <blueness at gentoo.org>
Date:   Fri Jun 20 08:47:26 2014 -0400

    configure.ac: fix build with --enable-bufferevents
    
    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 |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 38d9222..1d8cfa7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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"





More information about the tor-commits mailing list