From: Jiri Denemark Date: Wed, 27 Apr 2011 09:19:23 +0000 (+0200) Subject: build: Ignore old audit library X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=14c8dc841b0b19db6520d0945ec95492dcce127b;p=libvirt.git 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. --- diff --git a/configure.ac b/configure.ac index 758c89322f..dbae23852c 100644 --- a/configure.ac +++ b/configure.ac @@ -1026,7 +1026,7 @@ if test "$with_audit" != "no" ; then LIBS="$LIBS $AUDIT_LIBS" fail=0 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 "$with_audit" = "yes" ; then