Modernized check for libgnutls using pkg-config. (Had to do it, since libgnutls doesn't have the necessary .m4 file in more recent releases.)
parent
36b876375e
commit
7a3ddf1e14
|
@ -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.])
|
||||
|
|
Loading…
Reference in New Issue