[PATCH] --without-gnutls does not work
"Johnny C. Lam" <[email protected]>
| Newsgroups | gmane.comp.db.tds.freetds |
|---|---|
| Message-ID | <[email protected]> |
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 _______________________________________________ FreeTDS mailing list [email protected] http://lists.ibiblio.org/mailman/listinfo/freetds
patch-zb
(text/plain, 453 B)
$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`"