[freetds] [PATCH] --without-gnutls does not work
Johnny C. Lam
jlam at pkgsrc.org
Sun Mar 23 01:56:51 EDT 2008
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
-------------- next part --------------
$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`"
More information about the FreeTDS
mailing list