Skip to content

Commit

Permalink
* configure.in (HAVE_LIBAUDIT): Check
Browse files Browse the repository at this point in the history
	audit_log_user_avc_message instead of audit_log_avc.

2006-01-04  Joseph S. Myers  <joseph@codesourcery.com>

	* sysdeps/ieee754/bits/nan.h: Fix typo.
  • Loading branch information
Ulrich Drepper committed Jan 4, 2006
1 parent b01fe5f commit 943db9e
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 9 deletions.
9 changes: 9 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
2006-01-03 H.J. Lu <hongjiu.lu@intel.com>

* configure.in (HAVE_LIBAUDIT): Check
audit_log_user_avc_message instead of audit_log_avc.

2006-01-04 Joseph S. Myers <joseph@codesourcery.com>

* sysdeps/ieee754/bits/nan.h: Fix typo.

2006-01-03 Jakub Jelinek <jakub@redhat.com>

* sysdeps/unix/sysv/linux/m68k/fchownat.c: Include string.h.
Expand Down
8 changes: 4 additions & 4 deletions configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -1956,13 +1956,13 @@ else
fi
# Check if we're building with SELinux support.
if test "x$have_selinux" = xyes; then
AC_DEFINE(HAVE_SELINUX,1,[SELinux support])
AC_DEFINE(HAVE_SELINUX, 1, [SELinux support])

# See if we have the libaudit library
AC_CHECK_LIB(audit, audit_log_avc,
have_libaudit=yes, have_libaudit=no)
AC_CHECK_LIB(audit, audit_log_user_avc_message,
have_libaudit=yes, have_libaudit=no)
if test "x$have_libaudit" = xyes; then
AC_DEFINE(HAVE_LIBAUDIT,1,[SELinux libaudit support])
AC_DEFINE(HAVE_LIBAUDIT, 1, [SELinux libaudit support])
fi
AC_SUBST(have_libaudit)
fi
Expand Down
10 changes: 5 additions & 5 deletions sysdeps/ieee754/bits/nan.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* `NAN' constant for IEEE 754 machines.
Copyright (C) 1992, 1996, 1997, 1999, 2004 Free Software Foundation, Inc.
Copyright (C) 1992,1996,1997,1999,2004,2006 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
Expand All @@ -26,13 +26,13 @@

#if __GNUC_PREREQ(3,3)

# define NAN (__builtin_nanf(""))
# define NAN (__builtin_nanf (""))

#elif defined__GNUC__
#elif defined __GNUC__

# define NAN \
(__extension__ \
((union { unsigned __l __attribute__((__mode__(__SI__))); float __d; }) \
(__extension__ \
((union { unsigned __l __attribute__ ((__mode__ (__SI__))); float __d; }) \
{ __l: 0x7fc00000UL }).__d)

#else
Expand Down

0 comments on commit 943db9e

Please sign in to comment.