diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index d933ff5de4..0ba22300e0 100644 --- a/configure.ac +++ b/configure.ac @@ -456,6 +456,12 @@ AC_ARG_WITH(idn, AS_HELP_STRING([--without-idn], try_libidn="$withval", try_libidn=yes) +with_old_nettle=no +if ! $PKG_CONFIG --atleast-version=3.3 nettle; then + with_old_nettle=yes +fi +AM_CONDITIONAL(WITH_OLD_NETTLE, test "$with_old_nettle" != "no") + if test "$try_libidn" = yes;then PKG_CHECK_MODULES(LIBIDN, libidn >= 0.5.6, [with_libidn=yes], [with_libidn=no]) if test "$with_libidn" != "no";then |