X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=configure.ac;fp=configure.ac;h=b9ccbfef3c53b70ba28b4679b8011103d2f83d97;hp=45445fa3ad28935be2abe5098aea754f2ab5b1b1;hb=6330e4f8b84a03016323be9c1b875eded97e95d7;hpb=54beb3f312604a2bb24f414122a2370e9b95072a diff --git a/configure.ac b/configure.ac index 45445fa3..b9ccbfef 100644 --- a/configure.ac +++ b/configure.ac @@ -279,7 +279,7 @@ AS_IF([test x"$with_ssl" = xopenssl], [ then AC_MSG_NOTICE([compiling in support for SSL via OpenSSL]) AC_LIBOBJ([openssl]) - LIBS="-lopenssl $LIBS" + LIBS="$LIBSSL $LIBS" elif test x"$with_ssl" != x then AC_MSG_ERROR([--with-ssl=openssl was given, but SSL is not available.]) @@ -303,7 +303,7 @@ AS_IF([test x"$with_ssl" = xopenssl], [ then AC_MSG_NOTICE([compiling in support for SSL via GnuTLS]) AC_LIBOBJ([gnutls]) - LIBS="-lgnutls $LIBS" + LIBS="$LIBGNUTLS $LIBS" else AC_MSG_ERROR([--with-ssl was given, but GNUTLS is not available.]) fi