- (dtucker) [configure.ac] The BSM header test needs time.h in some cases.

This commit is contained in:
Darren Tucker 2006-09-09 01:05:21 +10:00
parent 17da530d60
commit 6d0d6fbfdf
2 changed files with 11 additions and 4 deletions

View File

@ -1,6 +1,7 @@
20060908
- (dtucker) [auth-sia.c] Add includes required for build on Tru64. Patch
from Chris Adams.
- (dtucker) [configure.ac] The BSM header test needs time.h in some cases.
20060907
- (djm) [sshd.c auth.c] Set up fakepw() with privsep uid/gid, so it can
@ -5414,4 +5415,4 @@
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
$Id: ChangeLog,v 1.4536 2006/09/07 23:54:41 dtucker Exp $
$Id: ChangeLog,v 1.4537 2006/09/08 15:05:21 dtucker Exp $

View File

@ -1,4 +1,4 @@
# $Id: configure.ac,v 1.361 2006/09/07 01:11:29 tim Exp $
# $Id: configure.ac,v 1.362 2006/09/08 15:05:21 dtucker Exp $
#
# Copyright (c) 1999-2004 Damien Miller
#
@ -15,7 +15,7 @@
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
AC_INIT(OpenSSH, Portable, openssh-unix-dev@mindrot.org)
AC_REVISION($Revision: 1.361 $)
AC_REVISION($Revision: 1.362 $)
AC_CONFIG_SRCDIR([ssh.c])
AC_CONFIG_HEADER(config.h)
@ -1166,7 +1166,13 @@ AC_ARG_WITH(audit,
AUDIT_MODULE=bsm
dnl Checks for headers, libs and functions
AC_CHECK_HEADERS(bsm/audit.h, [],
[AC_MSG_ERROR(BSM enabled and bsm/audit.h not found)])
[AC_MSG_ERROR(BSM enabled and bsm/audit.h not found)],
[
#ifdef HAVE_TIME_H
# include <time.h>
#endif
]
)
AC_CHECK_LIB(bsm, getaudit, [],
[AC_MSG_ERROR(BSM enabled and required library not found)])
AC_CHECK_FUNCS(getaudit, [],