From 7a3ddf1e143ee2b81d386fc6f140b8825b383c53 Mon Sep 17 00:00:00 2001 From: Erik Larsson Date: Wed, 30 Jun 2010 11:27:12 +0200 Subject: [PATCH] Modernized check for libgnutls using pkg-config. (Had to do it, since libgnutls doesn't have the necessary .m4 file in more recent releases.) --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index e3c3ee75..c38fe821 100644 --- a/configure.ac +++ b/configure.ac @@ -245,7 +245,7 @@ if test "$enable_crypto" != "no"; then fi ]) have_libgnutls=false - AM_PATH_LIBGNUTLS(1.2.8, [ have_libgnutls=true ], + PKG_CHECK_MODULES(GNUTLS_MODULE, gnutls >= 1.2.8, [ have_libgnutls=true ], [ if test "$enable_crypto" = "yes"; then AC_MSG_ERROR([Linux-NTFS crypto code requires the gnutls library.])