From e49a7e361c91771fc8650ff97ad97fc0a334ecc8 Mon Sep 17 00:00:00 2001
From: Dan Fandrich <dan@coneharvesters.com>
Date: Wed, 27 Jul 2005 18:22:21 +0000
Subject: [PATCH] Fixed --without-gnutls

---
 configure.ac | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 317d08b591..32c111cdf6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -977,7 +977,7 @@ dnl FIX: only check for GnuTLS if OpenSSL is not enabled
 dnl ----------------------------------------------------
 
 dnl Default to compiler & linker defaults for GnuTLS files & libraries.
-OPT_GNUTLS=off
+OPT_GNUTLS=no
 
 AC_ARG_WITH(gnutls,dnl
 AC_HELP_STRING([--with-gnutls=PATH],[where to look for GnuTLS, PATH points to the installation root (default: /usr/local/)])
@@ -986,7 +986,7 @@ AC_HELP_STRING([--without-gnutls], [disable GnuTLS detection]),
 
 if test "$OPENSSL_ENABLED" != "1"; then
 
-  if test X"$OPT_GNUTLS" != Xoff; then
+  if test X"$OPT_GNUTLS" != Xno; then
     if test "x$OPT_GNUTLS" = "xyes"; then
      check=`libgnutls-config --version 2>/dev/null`
      if test -n "$check"; then
-- 
GitLab