pkgconfig does not support libgcrypt. Use autoconf macro instead.

This commit is contained in:
antona 2005-08-04 11:59:28 +00:00
parent d658b8f019
commit 74650cc050

View File

@ -159,7 +159,7 @@ AM_CONDITIONAL(ENABLE_FUSE_MODULE, $compile_fuse_module)
# Autodetect whether we can build crypto stuff or not.
compile_crypto=false
if test "$enable_crypto" != "no"; then
PKG_CHECK_MODULES(CRYPTO, [libgcrypt], [ compile_crypto=true ],
AM_PATH_LIBGCRYPT(, [ compile_crypto=true ],
[
if test "$enable_crypto" = "yes"; then
AC_MSG_ERROR([Linux-NTFS crypto code requires the gcrypt library.])