From 93934a40733ceb191fc4f87fdac24a5bb9020bd3 Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Wed, 19 Aug 2009 18:41:20 +0000 Subject: Use pkg-config for gnutls 2.8.0 and later (thanks to Andreas Metzler). --- SConstruct | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SConstruct b/SConstruct index 2a01b614..2e86832c 100644 --- a/SConstruct +++ b/SConstruct @@ -1617,7 +1617,7 @@ AC_ARG_ENABLE(tls, if test "x$conf_tls" = "xyes"; then # -- GNU TLS Library (http://www.gnu.org/software/gnutls/) - AM_PATH_LIBGNUTLS(1.2.0, have_gnutls=yes, have_gnutls=no) + PKG_CHECK_MODULES([LIBGNUTLS], [gnutls >= 1.2.0], have_gnutls=yes, have_gnutls=no) if test "x$have_gnutls" = "xyes"; then AM_CONDITIONAL(VMIME_HAVE_TLS_SUPPORT, true) -- cgit v1.2.3