diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2011-05-20 20:45:09 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2011-05-20 20:45:09 +0900 |
| commit | fbba1010ee617981ba55b66446e7aae4874313ae (patch) | |
| tree | 0db954403788b629ec3a33a46a36a62127a04a96 /configure.ac | |
| parent | c6b71eac8f9742e8ecf570bb17cdd05d75da4863 (diff) | |
Require gnutls >= 2.2.0
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index d0e1acdd..0e374175 100644 --- a/configure.ac +++ b/configure.ac @@ -99,8 +99,9 @@ if test "x$with_sqlite3" = "xyes"; then fi if test "x$with_gnutls" = "xyes"; then - # gnutls >= 2.8 doesn't have libgnutls-config anymore. - PKG_CHECK_MODULES([LIBGNUTLS], [gnutls >= 1.2.9], + # gnutls >= 2.8 doesn't have libgnutls-config anymore. We require + # 2.2.0 because we use gnutls_priority_set_direct() + PKG_CHECK_MODULES([LIBGNUTLS], [gnutls >= 2.2.0], [have_libgnutls=yes], [have_libgnutls=no]) if test "x$have_libgnutls" = "xyes"; then AC_DEFINE([HAVE_LIBGNUTLS], [1], [Define to 1 if you have libgnutls.]) |
