diff options
| author | Yoshinari Takaoka | 2018-07-15 01:27:20 +0900 |
|---|---|---|
| committer | Yoshinari Takaoka | 2018-07-15 01:27:20 +0900 |
| commit | 944f2d96d21dd3cf7e3fa38fdc98003fa6bbb56a (patch) | |
| tree | f02ac5bc8f559cd5edb2d722d9fc594b91fc38b7 | |
| parent | fdc3f1b75ed5dbded07c69c1000f31bb7c74f0e0 (diff) | |
| download | courier-libs-944f2d96d21dd3cf7e3fa38fdc98003fa6bbb56a.tar.bz2 | |
libgcrypt is required when --with-gnutls specified
| -rw-r--r-- | tcpd/configure.ac | 5 |
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( [ |
