Skip to content
Snippets Groups Projects
Commit 3bc3a108 authored by Simon South's avatar Simon South
Browse files

configure.ac: Define ENABLE_COVERAGE macro

Allow conditional compilation based on whether the "--enable-coverage"
configure option was specified.
parent fbf2e7e9
No related branches found
No related tags found
No related merge requests found
......@@ -119,6 +119,11 @@ AM_CONDITIONAL(USE_RUST, test "x$enable_rust" = "xyes")
AM_CONDITIONAL(USE_NSS, test "x$enable_nss" = "xyes")
AM_CONDITIONAL(USE_OPENSSL, test "x$enable_nss" != "xyes")
if test "x$enable_coverage" = "xyes"; then
AC_DEFINE(ENABLE_COVERAGE, 1,
[Defined if coverage support is enabled for the unit tests])
fi
if test "x$enable_nss" = "xyes"; then
AC_DEFINE(ENABLE_NSS, 1,
[Defined if we're building with NSS.])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment