mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
build: Ignore old audit library
Check for audit_encode_nv_string in libaudit so that ancient audit library is ignored rather than trying to compile with libaudit support and failing.
This commit is contained in:
+1
-1
@@ -1026,7 +1026,7 @@ if test "$with_audit" != "no" ; then
|
|||||||
LIBS="$LIBS $AUDIT_LIBS"
|
LIBS="$LIBS $AUDIT_LIBS"
|
||||||
fail=0
|
fail=0
|
||||||
AC_CHECK_HEADER([libaudit.h], [], [fail=1])
|
AC_CHECK_HEADER([libaudit.h], [], [fail=1])
|
||||||
AC_CHECK_LIB([audit], [audit_is_enabled], [], [fail=1])
|
AC_CHECK_LIB([audit], [audit_encode_nv_string], [], [fail=1])
|
||||||
|
|
||||||
if test $fail = 1 ; then
|
if test $fail = 1 ; then
|
||||||
if test "$with_audit" = "yes" ; then
|
if test "$with_audit" = "yes" ; then
|
||||||
|
|||||||
Reference in New Issue
Block a user