Commit 7e0e5567 authored by Stefan Dösinger's avatar Stefan Dösinger Committed by Alexandre Julliard

configure: Try -lgnutls as gnutls default lib.

This allows configure on MacOS to pick up a homebrew installed gnutls without PKGCONFIG and manually added GNUTLS_LIBS var. Signed-off-by: 's avatarStefan Dösinger <stefan@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent d4bbda62
......@@ -13565,7 +13565,7 @@ if ${GNUTLS_LIBS:+false} :; then :
fi
fi
GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
$as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
$as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
ac_save_CPPFLAGS=$CPPFLAGS
......
......@@ -1449,7 +1449,7 @@ fi
dnl **** Check for libgnutls ****
if test "x$with_gnutls" != "xno"
then
WINE_PACKAGE_FLAGS(GNUTLS,[gnutls],,,,
WINE_PACKAGE_FLAGS(GNUTLS,[gnutls],[-lgnutls],,,
[AC_CHECK_HEADER(gnutls/gnutls.h,
[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <gnutls/gnutls.h>
#include <gnutls/crypto.h>]], [[static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;]])],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment