Mercurial > hg > xemacs-beta
diff configure.ac @ 5831:ad3e9b3274d5
Link SSL libraries using $LIBS instead of $LDFLAGS.
author | Jeff Sparkes <jsparkes@gmail.com> |
---|---|
date | Thu, 27 Nov 2014 14:29:40 -0500 |
parents | a58070ee1f31 |
children | 69f9e31c9ccf |
line wrap: on
line diff
--- a/configure.ac Mon Nov 10 14:20:19 2014 -0500 +++ b/configure.ac Thu Nov 27 14:29:40 2014 -0500 @@ -5371,7 +5371,7 @@ fi gnutls_libs=`pkg-config --libs gnutls` if test "$?" = 0; then - XE_PREPEND("$gnutls_libs", LDFLAGS) + XE_APPEND("$gnutls_libs", LIBS) fi AC_CHECK_FUNC(gnutls_certificate_verification_status_print, [AC_DEFINE(HAVE_GNUTLS_CERTIFICATE_VERIFICATION_STATUS_PRINT)]) @@ -5385,7 +5385,7 @@ fi nss_libs=`pkg-config --libs nss` if test "$?" = 0; then - XE_PREPEND("$nss_libs", LDFLAGS) + XE_APPEND("$nss_libs", LIBS) fi else AC_DEFINE(HAVE_OPENSSL) @@ -5395,7 +5395,7 @@ fi openssl_libs=`pkg-config --libs openssl` if test "$?" = 0; then - XE_PREPEND("$openssl_libs", LDFLAGS) + XE_APPEND("$openssl_libs", LIBS) fi AC_CHECK_FUNC(X509_check_host, [AC_DEFINE(HAVE_X509_CHECK_HOST)]) fi