[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 589de5ec20bf6f15813fc3bddb7a814309184800
Author: Anthony G. Basile <blueness@xxxxxxxxxx>
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"



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits