From: Nikos Mavrogiannopoulos Date: Fri, 25 Nov 2016 15:51:13 +0000 (+0100) Subject: virt-gnutls.m4: fixed check for gnutls_rnd and gnutls_cipher_encrypt X-Git-Tag: v2.5.0-rc2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=943ddcb7120;p=thirdparty%2Flibvirt.git virt-gnutls.m4: fixed check for gnutls_rnd and gnutls_cipher_encrypt --- diff --git a/m4/virt-gnutls.m4 b/m4/virt-gnutls.m4 index b85082852f..5bca950bcd 100644 --- a/m4/virt-gnutls.m4 +++ b/m4/virt-gnutls.m4 @@ -54,8 +54,11 @@ AC_DEFUN([LIBVIRT_CHECK_GNUTLS],[ #include ]]) + OLD_LIBS="$LIBS" + LIBS="$LIBS $GNUTLS_LIBS" AC_CHECK_FUNC([gnutls_rnd]) AC_CHECK_FUNC([gnutls_cipher_encrypt]) + LIBS=$OLD_LIBS fi ])