http://sourceforge.net/tracker/?func=detail&aid=2805956&group_id=69724&atid=525568
--- SConstruct.orig	2008-10-19 14:27:32.000000000 +0200
+++ SConstruct	2009-06-13 19:01:04.000000000 +0200
@@ -1620,7 +1621,7 @@
 
 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)
