diff options
author | Darren Tucker <dtucker@zip.com.au> | 2006-09-09 01:05:21 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2006-09-09 01:05:21 +1000 |
commit | 6d0d6fbfdfe7afd7fa0bb8541b743f9194cdd437 (patch) | |
tree | 72bbf8d058269754c5296b95ed19eb82b0240b66 /configure.ac | |
parent | 17da530d609a62b9d6e5da436feefa4fe38bae7b (diff) |
- (dtucker) [configure.ac] The BSM header test needs time.h in some cases.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 12 |
1 files changed, 9 insertions, 3 deletions
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, [], |