summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2008-04-18 08:47:26 +0200
committerSimon Josefsson <simon@josefsson.org>2008-04-18 08:47:26 +0200
commit7718d3a0efb931dd9bfe1f685fcd518ef1677390 (patch)
tree13d2407445be170946c5e1afb62f7243a66bb85a
parent4146c16f033259e0cf8a50733248ecf6a1b68fd1 (diff)
downloadgnutls-7718d3a0efb931dd9bfe1f685fcd518ef1677390.tar.gz
Link to libgcrypt when running gnulib checks, to get their vasprintf on MinGW.
-rw-r--r--configure.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 02a0ac8940..29b76af4e1 100644
--- a/configure.in
+++ b/configure.in
@@ -620,8 +620,11 @@ dnl
AC_MSG_RESULT([***
*** Setting up gnulib compatibility files...
])
+save_LIBS="$LIBS"
+LIBS="$LIBS $LIBGCRYPT_LIBS"
gl_INIT
lgl_INIT
+LIBS="$save_LIBS"
AC_TRY_LINK([#include <winsock2.h>], [
WORD wVersionRequested = MAKEWORD(2, 2);