summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2022-02-12 22:53:11 +0300
committerAzat Khuzhin <azat@libevent.org>2022-02-12 22:57:30 +0300
commit3da71856a73a28e05c18f9f2d4bf7fcc6e46f4ce (patch)
treee18246c3a4080ac9ee37d79cb212af24d730b6da /include
parent6d09efe8686de824adf3d8810bbe0d5c386643e4 (diff)
downloadlibevent-3da71856a73a28e05c18f9f2d4bf7fcc6e46f4ce.tar.gz
Fix build w/o OpenSSL by w/ MbedTLS
In 78fa3971be892194aa168c04fc34bf5f2cd99b99 from https://github.com/libevent/libevent/pull/1241#commitcomment-63865496 a new "if MBEDTLS" block was added to include/include.am. This is not parsed by automake as it isn't on the first column, resulting in a subsequent error in the build. From [1]: > The if, else, and endif statements should not be indented, i.e., start on column one. [1]: https://www.gnu.org/software/automake/manual/html_node/Usage-of-Conditionals.html Fixes: #1251 Fixes: google/oss-fuzz#7149
Diffstat (limited to 'include')
-rw-r--r--include/include.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/include.am b/include/include.am
index 93f32f1a..8a5bd026 100644
--- a/include/include.am
+++ b/include/include.am
@@ -36,9 +36,9 @@ EVENT2_EXPORT = \
if OPENSSL
EVENT2_EXPORT += include/event2/bufferevent_ssl.h
else
- if MBEDTLS
- EVENT2_EXPORT += include/event2/bufferevent_ssl.h
- endif
+if MBEDTLS
+EVENT2_EXPORT += include/event2/bufferevent_ssl.h
+endif
endif
## Without the nobase_ prefixing, Automake would strip "include/event2/" from