summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2006-09-09 01:05:21 +1000
committerDarren Tucker <dtucker@zip.com.au>2006-09-09 01:05:21 +1000
commit6d0d6fbfdfe7afd7fa0bb8541b743f9194cdd437 (patch)
tree72bbf8d058269754c5296b95ed19eb82b0240b66
parent17da530d609a62b9d6e5da436feefa4fe38bae7b (diff)
- (dtucker) [configure.ac] The BSM header test needs time.h in some cases.
-rw-r--r--ChangeLog3
-rw-r--r--configure.ac12
2 files changed, 11 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index aaf8563c..818cb977 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 493409f4..4a3c39fc 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 @@ 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, [],