Skip to content

Commit

Permalink
Require gnutls >= 2.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tatsuhiro-t committed May 20, 2011
1 parent c6b71ea commit fbba101
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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.])
Expand Down

0 comments on commit fbba101

Please sign in to comment.