Kent Boortz improved the configure check for GnuTLS to properly set LIBS
authorDaniel Stenberg <daniel@haxx.se>
Sat, 11 Feb 2006 12:56:52 +0000 (12:56 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 11 Feb 2006 12:56:52 +0000 (12:56 +0000)
instead of LDFLAGS.

CHANGES
RELEASE-NOTES
configure.ac

diff --git a/CHANGES b/CHANGES
index d832e81..88961d3 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -6,6 +6,10 @@
 
                                   Changelog
 
+Daniel (11 February 2006)
+- Kent Boortz improved the configure check for GnuTLS to properly set LIBS
+  instead of LDFLAGS.
+
 Daniel (8 February 2006)
 - Philippe Vaucher provided a brilliant piece of test code that show a problem
   with re-used FTP connections. If the second request on the same connection
index 9c9c7a6..d7babaa 100644 (file)
@@ -20,6 +20,7 @@ This release includes the following changes:
 
 This release includes the following bugfixes:
 
+ o improved GnuTLS check in configure
  o re-used FTP connections when the second request didn't do a transfer
  o plain --limit-rate [num] means bytes
  o re-creating a dead connection is no longer counted internally as a followed
@@ -59,6 +60,7 @@ advice from friends like these:
 
  Dov Murik, Jean Jacques Drouin, Andres Garcia, Yang Tse, Gisle Vanem, Dan
  Fandrich, Alexander Lazic, Michael Jahn, Andrew Benham, Bryan Henderson,
- David Shaw, Jon Turner, Duane Cathey, Michal Marek, Philippe Vaucher
+ David Shaw, Jon Turner, Duane Cathey, Michal Marek, Philippe Vaucher,
+ Kent Boortz
  
         Thanks! (and sorry if I forgot to mention someone)
index 792afbb..5cfa90d 100644 (file)
@@ -1063,10 +1063,10 @@ if test "$OPENSSL_ENABLED" != "1"; then
     fi
     if test -n "$addlib"; then
 
-      CLEANLDFLAGS="$LDFLAGS"
+      CLEANLIBS="$LIBS"
       CLEANCPPFLAGS="$CPPFLAGS"
   
-      LDFLAGS="$LDFLAGS $addlib"
+      LIBS="$LIBS $addlib"
       if test "$addcflags" != "-I/usr/include"; then
          CPPFLAGS="$CPPFLAGS $addcflags"
       fi
@@ -1079,7 +1079,7 @@ if test "$OPENSSL_ENABLED" != "1"; then
        curl_ssl_msg="enabled (GnuTLS)"
        ],
        [
-         LDFLAGS="$CLEANLDFLAGS"
+         LIBS="$CLEANLIBS"
          CPPFLAGS="$CLEANCPPFLAGS"
        ])