diff --git a/configure b/configure index d46bb19fb0..224322a62b 100755 --- a/configure +++ b/configure @@ -6765,9 +6765,9 @@ _ACEOF # See if we have the libaudit library - echo "$as_me:$LINENO: checking for audit_log_avc in -laudit" >&5 -echo $ECHO_N "checking for audit_log_avc in -laudit... $ECHO_C" >&6 -if test "${ac_cv_lib_audit_audit_log_avc+set}" = set; then + echo "$as_me:$LINENO: checking for audit_log_user_avc_message in -laudit" >&5 +echo $ECHO_N "checking for audit_log_user_avc_message in -laudit... $ECHO_C" >&6 +if test "${ac_cv_lib_audit_audit_log_user_avc_message+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS @@ -6785,11 +6785,11 @@ extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ -char audit_log_avc (); +char audit_log_user_avc_message (); int main () { -audit_log_avc (); +audit_log_user_avc_message (); ; return 0; } @@ -6816,20 +6816,20 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - ac_cv_lib_audit_audit_log_avc=yes + ac_cv_lib_audit_audit_log_user_avc_message=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -ac_cv_lib_audit_audit_log_avc=no +ac_cv_lib_audit_audit_log_user_avc_message=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:$LINENO: result: $ac_cv_lib_audit_audit_log_avc" >&5 -echo "${ECHO_T}$ac_cv_lib_audit_audit_log_avc" >&6 -if test $ac_cv_lib_audit_audit_log_avc = yes; then +echo "$as_me:$LINENO: result: $ac_cv_lib_audit_audit_log_user_avc_message" >&5 +echo "${ECHO_T}$ac_cv_lib_audit_audit_log_user_avc_message" >&6 +if test $ac_cv_lib_audit_audit_log_user_avc_message = yes; then have_libaudit=yes else have_libaudit=no