Commit e504573e authored by Jan Včelák's avatar Jan Včelák 🚀

configure: check existence nettle/version.h

parent 631830c6
...@@ -107,7 +107,12 @@ AS_IF([test "$enable_fastparser" = "yes"],[ ...@@ -107,7 +107,12 @@ AS_IF([test "$enable_fastparser" = "yes"],[
AM_CONDITIONAL([FAST_PARSER], [test "$enable_fastparser" = "yes"]) AM_CONDITIONAL([FAST_PARSER], [test "$enable_fastparser" = "yes"])
# GnuTLS crypto backend # GnuTLS crypto backend
PKG_CHECK_MODULES([gnutls], [gnutls >= 3.0 nettle]) PKG_CHECK_MODULES([gnutls], [gnutls >= 3.0 nettle], [
CFLAGS_save=$CFLAGS
CFLAGS="$CFLAGS $gnutls_CFLAGS"
AC_CHECK_HEADERS([nettle/version.h])
CFLAGS=$CFLAGS_save
])
# JSON for DNSSEC status storage # JSON for DNSSEC status storage
PKG_CHECK_MODULES([jansson], [jansson >= 2.3]) PKG_CHECK_MODULES([jansson], [jansson >= 2.3])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment