mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 21:55:25 +00:00
virt-gnutls.m4: fixed check for gnutls_rnd and gnutls_cipher_encrypt
This commit is contained in:
parent
9ee5bd0415
commit
943ddcb712
@ -54,8 +54,11 @@ AC_DEFUN([LIBVIRT_CHECK_GNUTLS],[
|
|||||||
#include <gnutls/gnutls.h>
|
#include <gnutls/gnutls.h>
|
||||||
]])
|
]])
|
||||||
|
|
||||||
|
OLD_LIBS="$LIBS"
|
||||||
|
LIBS="$LIBS $GNUTLS_LIBS"
|
||||||
AC_CHECK_FUNC([gnutls_rnd])
|
AC_CHECK_FUNC([gnutls_rnd])
|
||||||
AC_CHECK_FUNC([gnutls_cipher_encrypt])
|
AC_CHECK_FUNC([gnutls_cipher_encrypt])
|
||||||
|
LIBS=$OLD_LIBS
|
||||||
fi
|
fi
|
||||||
])
|
])
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user