tests: propagate CPPFLAGS into build invocations
authorPhil Pennock <pdp@exim.org>
Sat, 15 Sep 2018 00:55:33 +0000 (20:55 -0400)
committerPhil Pennock <pdp@exim.org>
Sat, 15 Sep 2018 00:55:33 +0000 (20:55 -0400)
With openssl installed by brew on macOS, OpenSSL headers are not in a
normal place.  I can fiddle with LDFLAGS/CPPFLAGS to get them available,
but then the `./configure` step succeeds and build fails.

Propagating the CPPFLAGS into the generated Makefile lets the build
succeed and we get a `client-ssl` binary output.

test/Makefile.in

index edcc4ab78c6eb416ce9a2cdb66f78641744e4cee..6d3bc55502d1bf660ee209eeee17660ba00e799e 100644 (file)
@@ -4,7 +4,7 @@
 # These variables are set by the configure script.
 
 CC=@CC@
-CFLAGS=@CFLAGS@ @BIND_8_COMPAT@ @DEFS@
+CFLAGS=@CFLAGS@ @CPPFLAGS@ @BIND_8_COMPAT@ @DEFS@
 LDFLAGS=@LDFLAGS@
 CLIENT_SSL=@CLIENT_SSL@
 CLIENT_GNUTLS=@CLIENT_GNUTLS@