summaryrefslogtreecommitdiff
path: root/configure.ac
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 /configure.ac
parent17da530d609a62b9d6e5da436feefa4fe38bae7b (diff)
- (dtucker) [configure.ac] The BSM header test needs time.h in some cases.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac12
1 files changed, 9 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 493409f4d..4a3c39fcb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
1# $Id: configure.ac,v 1.361 2006/09/07 01:11:29 tim Exp $ 1# $Id: configure.ac,v 1.362 2006/09/08 15:05:21 dtucker Exp $
2# 2#
3# Copyright (c) 1999-2004 Damien Miller 3# Copyright (c) 1999-2004 Damien Miller
4# 4#
@@ -15,7 +15,7 @@
15# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 15# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16 16
17AC_INIT(OpenSSH, Portable, openssh-unix-dev@mindrot.org) 17AC_INIT(OpenSSH, Portable, openssh-unix-dev@mindrot.org)
18AC_REVISION($Revision: 1.361 $) 18AC_REVISION($Revision: 1.362 $)
19AC_CONFIG_SRCDIR([ssh.c]) 19AC_CONFIG_SRCDIR([ssh.c])
20 20
21AC_CONFIG_HEADER(config.h) 21AC_CONFIG_HEADER(config.h)
@@ -1166,7 +1166,13 @@ AC_ARG_WITH(audit,
1166 AUDIT_MODULE=bsm 1166 AUDIT_MODULE=bsm
1167 dnl Checks for headers, libs and functions 1167 dnl Checks for headers, libs and functions
1168 AC_CHECK_HEADERS(bsm/audit.h, [], 1168 AC_CHECK_HEADERS(bsm/audit.h, [],
1169 [AC_MSG_ERROR(BSM enabled and bsm/audit.h not found)]) 1169 [AC_MSG_ERROR(BSM enabled and bsm/audit.h not found)],
1170 [
1171#ifdef HAVE_TIME_H
1172# include <time.h>
1173#endif
1174 ]
1175)
1170 AC_CHECK_LIB(bsm, getaudit, [], 1176 AC_CHECK_LIB(bsm, getaudit, [],
1171 [AC_MSG_ERROR(BSM enabled and required library not found)]) 1177 [AC_MSG_ERROR(BSM enabled and required library not found)])
1172 AC_CHECK_FUNCS(getaudit, [], 1178 AC_CHECK_FUNCS(getaudit, [],