Modernized check for libgnutls using pkg-config. (Had to do it, since libgnutls doesn't have the necessary .m4 file in more recent releases.)

edge.strict_endians
Erik Larsson 2010-06-30 11:27:12 +02:00
parent 36b876375e
commit 7a3ddf1e14
1 changed files with 1 additions and 1 deletions

View File

@ -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.])