-
Notifications
You must be signed in to change notification settings - Fork 887
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3741 from stefansaraev/ntfs3g-crypto
ntfs-3g_ntfsprogs: fix gcrypt check in autoreconf
- Loading branch information
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
packages/sysutils/ntfs-3g_ntfsprogs/patches/ntfs-3g_ntfsprogs-01-meh-gcrypt.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
diff --git a/configure.ac b/configure.ac | ||
index 830c5fb..e0d3bac 100644 | ||
--- a/configure.ac | ||
+++ b/configure.ac | ||
@@ -318,6 +318,7 @@ fi | ||
compile_crypto=false | ||
if test "$enable_crypto" != "no"; then | ||
have_libgcrypt=false | ||
+ m4_ifdef([AM_PATH_LIBGCRYPT], | ||
AM_PATH_LIBGCRYPT(1.2.2, [ have_libgcrypt=true ], | ||
[ | ||
if test "$enable_crypto" = "yes"; then | ||
@@ -325,7 +326,7 @@ if test "$enable_crypto" != "no"; then | ||
else | ||
AC_MSG_WARN([ntfsprogs crypto code requires the gcrypt library.]) | ||
fi | ||
- ]) | ||
+ ]),[have_libgcrypt=false]) | ||
have_libgnutls=false | ||
PKG_CHECK_MODULES(GNUTLS, gnutls >= 1.4.4, [ have_libgnutls=true ], | ||
if test "$enable_crypto" = "yes"; then |