[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS shishi
From: |
shishi-commit |
Subject: |
CVS shishi |
Date: |
Fri, 13 Jan 2006 21:04:39 +0100 |
Update of /home/cvs/shishi
In directory dopio:/tmp/cvs-serv8106
Modified Files:
configure.ac
Log Message:
Fix gnutls check.
--- /home/cvs/shishi/configure.ac 2005/10/23 21:25:39 1.168
+++ /home/cvs/shishi/configure.ac 2006/01/13 20:03:38 1.169
@@ -171,7 +171,14 @@
AC_HELP_STRING([--disable-starttls], [disable non-standard STARTTLS]),
starttls=$enableval, starttls=yes)
if test "$starttls" != "no"; then
- AM_PATH_LIBGNUTLS(1.0.0, starttls=yes, starttls=no)
+ AC_LIB_HAVE_LINKFLAGS(gnutls,, [#include <gnutls.h>],
+ [gnutls_check_version (0);])
+ if test "$ac_cv_gnutls" != yes; then
+ starttls=no
+ AC_MSG_WARN([GnuTLS not found. STARTTLS disabled.])
+ fi
+else
+ starttls=yes
fi
AC_MSG_CHECKING([if non-standard STARTTLS support should be enabled])
AC_MSG_RESULT($starttls)
- CVS shishi,
shishi-commit <=