Kent Boortz improved the configure check for GnuTLS to properly set LIBS

instead of LDFLAGS.
This commit is contained in:
Daniel Stenberg 2006-02-11 12:56:52 +00:00
parent 3b19c7d0d9
commit b0bc2f00d2
3 changed files with 10 additions and 4 deletions

View 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"
])