summaryrefslogtreecommitdiffstats
path: root/tcpd/configure.ac
diff options
context:
space:
mode:
authorSam Varshavchik2018-07-14 14:19:27 -0400
committerGitHub2018-07-14 14:19:27 -0400
commit1c8c2d831ed06de4a9b6507d79fe7e80b172260c (patch)
treef02ac5bc8f559cd5edb2d722d9fc594b91fc38b7 /tcpd/configure.ac
parentfdc3f1b75ed5dbded07c69c1000f31bb7c74f0e0 (diff)
parent944f2d96d21dd3cf7e3fa38fdc98003fa6bbb56a (diff)
downloadcourier-libs-1c8c2d831ed06de4a9b6507d79fe7e80b172260c.tar.bz2
Merge pull request #11 from mumumu/with_gnutls_gcrypt_is_required
libgcrypt is required when --with-gnutls specified explicitly
Diffstat (limited to 'tcpd/configure.ac')
-rw-r--r--tcpd/configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/tcpd/configure.ac b/tcpd/configure.ac
index 13aec55..5f1e1e2 100644
--- a/tcpd/configure.ac
+++ b/tcpd/configure.ac
@@ -459,8 +459,13 @@ then
CRYPTLIBS="$CRYPTLIBS -lgcrypt"
], [
AC_MSG_RESULT(no)
+have_gcrypt="no"
])
+ if test "$have_gcrypt" = "no"
+ then
+ AC_MSG_ERROR(gcrypt header file is required for GNUTLS)
+ fi
AC_MSG_CHECKING([for libgpg-error])
LIBS="$LIBS -lgpg-error"
AC_TRY_LINK( [