summaryrefslogtreecommitdiffstats
path: root/tcpd/configure.ac
diff options
context:
space:
mode:
authorYoshinari Takaoka2018-07-15 01:27:20 +0900
committerYoshinari Takaoka2018-07-15 01:27:20 +0900
commit944f2d96d21dd3cf7e3fa38fdc98003fa6bbb56a (patch)
treef02ac5bc8f559cd5edb2d722d9fc594b91fc38b7 /tcpd/configure.ac
parentfdc3f1b75ed5dbded07c69c1000f31bb7c74f0e0 (diff)
downloadcourier-libs-944f2d96d21dd3cf7e3fa38fdc98003fa6bbb56a.tar.bz2
libgcrypt is required when --with-gnutls specified
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( [