diff options
| author | David Bremner <david@tethera.net> | 2022-05-23 20:38:54 -0300 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2022-06-25 12:55:02 -0300 |
| commit | 2707c06a0fc587a68096a3ec6f054ba4f0d7e7c7 (patch) | |
| tree | d635b49929cd8ce74e1d1e31e8b1f83e12949b1c /configure | |
| parent | bfcf9a6c102af9232b6d2e720f919ff1c9b431f8 (diff) | |
test: define test_private_C
When testing error handling, it is sometimes difficult to cover a
particular error path deterministically. Introduce a test function to
allow calling lower level functions directly.
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -1566,9 +1566,17 @@ cat > sh.config <<EOF NOTMUCH_SRCDIR='${NOTMUCH_SRCDIR}' +# Flags needed to compile and link against Xapian +NOTMUCH_XAPIAN_CXXFLAGS="${xapian_cxxflags}" +NOTMUCH_XAPIAN_LDFLAGS="${xapian_ldflags}" + # Whether to have Xapian retry lock NOTMUCH_HAVE_XAPIAN_DB_RETRY_LOCK=${WITH_RETRY_LOCK} +# Flags needed to compile and link against GMime +NOTMUCH_GMIME_CFLAGS="${gmime_cflags}" +NOTMUCH_GMIME_LDFLAGS="${gmime_ldflags}" + # Whether GMime can verify X.509 certificate validity NOTMUCH_GMIME_X509_CERT_VALIDITY=${gmime_x509_cert_validity} @@ -1578,6 +1586,10 @@ NOTMUCH_GMIME_EMITS_ANGLE_BRACKETS=${gmime_emits_angle_brackets} # Whether GMime can verify signatures when decrypting with a session key: NOTMUCH_GMIME_VERIFY_WITH_SESSION_KEY=${gmime_verify_with_session_key} +# Flags needed to compile and link against zlib +NOTMUCH_ZLIB_CFLAGS="${zlib_cflags}" +NOTMUCH_ZLIB_LDFLAGS="${zlib_ldflags}" + # Does the C compiler support the address sanitizer NOTMUCH_HAVE_ASAN=${have_asan} @@ -1614,6 +1626,10 @@ NOTMUCH_HAVE_PYTHON3_PYTEST=${have_python3_pytest} # Is the sfsexp library available? NOTMUCH_HAVE_SFSEXP=${have_sfsexp} +# And if so, flags needed at compile/link time for sfsexp +NOTMUCH_SFSEXP_CFLAGS="${sfsexp_cflags}" +NOTMUCH_SFSEXP_LDFLAGS="${sfsexp_ldflags}" + # Platform we are run on PLATFORM=${platform} EOF |
