configure: Fix gnutls detection.

This commit is contained in:
Giuseppe Scrivano 2011-03-26 19:54:47 +01:00
parent cb30bc9a94
commit 930075f467
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2011-03-26 Giuseppe Scrivano <gscrivano@gnu.org>
* configure.ac: Fix the gnutls detection.
2011-03-21 Giuseppe Scrivano <gscrivano@gnu.org>
* bootstrap: Update from gnulib.

View File

@ -268,7 +268,7 @@ AS_IF([test x"$with_ssl" = xopenssl], [
AC_CHECK_LIB(gcrypt, gcry_control)
AC_CHECK_LIB(gnutls, main)
if test x"$ac_cv_lib_gnutls_main" != x
if test x"$ac_cv_lib_gnutls_main" != xno
then
AC_MSG_NOTICE([compiling in support for SSL via GnuTLS])
AC_LIBOBJ([gnutls])