From: Nikos Mavrogiannopoulos <nmav(a)redhat.com>
---
m4/virt-gnutls.m4 | 3 +++
1 file changed, 3 insertions(+)
I thought this was onlist already, but there was a typo
in To, so neither the original patch or my ACK made it
to the list. I pushed as a build fix.
diff --git a/m4/virt-gnutls.m4 b/m4/virt-gnutls.m4
index b850828..5bca950 100644
--- a/m4/virt-gnutls.m4
+++ b/m4/virt-gnutls.m4
@@ -54,8 +54,11 @@ AC_DEFUN([LIBVIRT_CHECK_GNUTLS],[
#include <gnutls/gnutls.h>
]])
+ OLD_LIBS="$LIBS"
+ LIBS="$LIBS $GNUTLS_LIBS"
AC_CHECK_FUNC([gnutls_rnd])
AC_CHECK_FUNC([gnutls_cipher_encrypt])
+ LIBS=$OLD_LIBS
fi
])
--
2.9.3