Skip to Content.
Sympa Menu

freetds - [freetds] [PATCH] --without-gnutls does not work

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Johnny C. Lam" <jlam AT pkgsrc.org>
  • To: freetds AT lists.ibiblio.org
  • Subject: [freetds] [PATCH] --without-gnutls does not work
  • Date: Sun, 23 Mar 2008 05:56:51 +0000

The configure script improperly checks the value of $with_gnutls in
such a way that it accepts either --with-gnutls or --without-gnutls
as meaning "use GnuTLS". The attached patch fixes this issue in
configure.ac and the configure script should be regenerated.

Cheers,

-- Johnny C. Lam
$NetBSD$

--- configure.ac.orig 2008-03-12 17:08:07.000000000 -0400
+++ configure.ac
@@ -621,7 +621,7 @@ AC_SUBST(ODBCNODMLIBAPP)

AC_ARG_WITH(gnutls,
AS_HELP_STRING([--with-gnutls], [build with TLS support]))
-if test "$with_gnutls"; then
+if test "$with_gnutls" = "yes"; then
AC_DEFINE(HAVE_GNUTLS, 1, [Define to 1 if you have GNU tls.])
CPPFLAGS="$CPPFLAGS `libgnutls-config --cflags`"
NETWORK_LIBS="$NETWORK_LIBS `libgnutls-config --libs`"



Archive powered by MHonArc 2.6.24.

Top of Page