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
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