- (dtucker) [configure.ac] The BSM header test needs time.h in some cases.
diff --git a/ChangeLog b/ChangeLog
index aaf8563..818cb97 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 $
diff --git a/configure.ac b/configure.ac
index 493409f..4a3c39f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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 @@
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, [],