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: Stefan Dösinger <stefan@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
d4bbda626a
commit
7e0e556726
|
@ -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;]])],
|
||||
|
|
Loading…
Reference in New Issue