From: Timo Sirainen Date: Mon, 22 Jul 2019 15:35:05 +0000 (+0300) Subject: lib-ssl-iostream: Don't build test-iostream-ssl if building without ssl X-Git-Tag: 2.3.8~182 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=abb51273b19d34c1d89fa9499d27df9450a9bd0b;p=thirdparty%2Fdovecot%2Fcore.git lib-ssl-iostream: Don't build test-iostream-ssl if building without ssl Fixes compiling when building without ssl. --- diff --git a/src/lib-ssl-iostream/Makefile.am b/src/lib-ssl-iostream/Makefile.am index ce5203a080..94ead5cec8 100644 --- a/src/lib-ssl-iostream/Makefile.am +++ b/src/lib-ssl-iostream/Makefile.am @@ -38,6 +38,7 @@ headers = \ pkginc_libdir=$(pkgincludedir) pkginc_lib_HEADERS = $(headers) +if BUILD_OPENSSL test_libs = \ $(module_LTLIBRARIES) \ $(noinst_LTLIBRARIES) \ @@ -58,3 +59,4 @@ check-local: for bin in $(test_programs); do \ if ! $(RUN_TEST) ./$$bin; then exit 1; fi; \ done +endif