autotools: do not install bufferevent_ssl.h under --disable-openssl

Refs: https://github.com/libevent/libevent/issues/760#issuecomment-502345788
This commit is contained in:
Azat Khuzhin 2019-06-26 09:36:49 +03:00
parent 69466cde03
commit 5388a002f5
No known key found for this signature in database
GPG Key ID: B86086848EF8686D

View File

@ -1,4 +1,4 @@
# include/Makefile.am for libevent
# include/include.am for libevent
# Copyright 2000-2007 Niels Provos
# Copyright 2007-2012 Niels Provos and Nick Mathewson
#
@ -11,7 +11,6 @@ EVENT2_EXPORT = \
include/event2/buffer_compat.h \
include/event2/bufferevent.h \
include/event2/bufferevent_compat.h \
include/event2/bufferevent_ssl.h \
include/event2/bufferevent_struct.h \
include/event2/dns.h \
include/event2/dns_compat.h \
@ -34,6 +33,10 @@ EVENT2_EXPORT = \
include/event2/util.h \
include/event2/visibility.h
if OPENSSL
EVENT2_EXPORT += include/event2/bufferevent_ssl.h
endif
## Without the nobase_ prefixing, Automake would strip "include/event2/" from
## the source header filename to derive the installed header filename.
## With nobase_ the installed path is $(includedir)/include/event2/ev*.h.