diff -Naur ekg2-20090608-orig/configure.ac ekg2-20090608/configure.ac --- ekg2-20090608-orig/configure.ac 2009-06-07 20:14:32.000000000 -0600 +++ ekg2-20090608/configure.ac 2009-06-08 15:25:46.079865107 -0600 @@ -284,7 +284,7 @@ AC_ARG_WITH(libgnutls, AC_HELP_STRING([--without-libgnutls], [Compile without libgnutls support (TLS in jabber)])) if test "x$with_libgnutls" != "xno"; then - AM_PATH_LIBGNUTLS( 1.0.0,,AC_MSG_WARN([[ + PKG_CHECK_MODULES(LIBGNUTLS, gnutls >= 1.0.0,,AC_MSG_WARN([[ *** *** libgnutls was not found. You may want to get it from *** ftp://ftp.gnutls.org/pub/gnutls/