2011-08-11 Giuseppe Scrivano <gscrivano@gnu.org>
+ * configure.ac: Do not hardcode GNU TLS and OpenSSL libraries.
+
* bootstrap.conf (gnulib_modules): Include module iconv.
* configure.ac: Allow --with-libgnutls-prefix and
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.])
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