[PATCH] virt-gnutls.m4: fixed check for gnutls_rnd and gnutls_cipher_encrypt

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Nikos Mavrogiannopoulos <nmav@xxxxxxxxxx>

---
 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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux