1# -*- Autoconf -*- 2# Process this file with autoconf to produce a configure script. 3 4AC_PREREQ(2.59) |
5AC_INIT([OpenBSM], [1.0a7], [trustedbsd-audit@TrustesdBSD.org],[openbsm]) 6AC_REVISION([$P4: //depot/projects/trustedbsd/openbsm/configure.ac#24 $]) |
7AC_CONFIG_SRCDIR([bin/auditreduce/auditreduce.c]) 8AC_CONFIG_AUX_DIR(config) 9AC_CONFIG_HEADER([config/config.h]) 10AM_MAINTAINER_MODE 11 12# Checks for programs. 13AC_PROG_CC 14AC_PROG_INSTALL --- 39 unchanged lines hidden (view full) --- 54AC_FUNC_MALLOC 55AC_FUNC_MKTIME 56AC_TYPE_SIGNAL 57AC_FUNC_STAT 58AC_FUNC_STRFTIME 59AC_CHECK_FUNCS([bzero ftruncate gettimeofday inet_ntoa memset strchr strerror strrchr strstr strtol strtoul]) 60 61# sys/queue.h exists on most systems, but its capabilities vary a great deal. |
62# test for LIST_FIRST and TAILQ_FOREACH_SAFE, which appears to not exist in 63# all of them, and are necessary for OpenBSM. |
64AC_TRY_LINK([ 65 #include <sys/queue.h> 66], [ |
67 |
68 #ifndef LIST_FIRST 69 #error LIST_FIRST missing 70 #endif 71 #ifndef TAILQ_FOREACH_SAFE 72 #error TAILQ_FOREACH_SAFE 73 #endif |
74], [ 75AC_DEFINE(HAVE_FULL_QUEUE_H,, Define if queue.h includes LIST_FIRST) 76]) 77 78# Systems may not define key audit system calls, in which case libbsm cannot 79# depend on them or it will generate link-time or run-time errors. Test for 80# just one. 81AC_TRY_LINK([ --- 32 unchanged lines hidden --- |