Date: Tue, 28 Feb 2006 22:59:08 GMT From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 92552 for review Message-ID: <200602282259.k1SMx8Vu071597@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=92552 Change 92552 by rwatson@rwatson_peppercorn on 2006/02/28 22:58:58 When checking for auditon(), don't depend on OpenBSM include files for the definition of auditon(). Submitted by: Martin Fong <martin dot fong at sri dot com> Affected files ... .. //depot/projects/trustedbsd/openbsm/configure#14 edit .. //depot/projects/trustedbsd/openbsm/configure.ac#16 edit Differences ... ==== //depot/projects/trustedbsd/openbsm/configure#14 (xtext) ==== @@ -1,5 +1,5 @@ #! /bin/sh -# From configure.ac P4: //depot/projects/trustedbsd/openbsm/configure.ac#14 . +# From configure.ac P4: //depot/projects/trustedbsd/openbsm/configure.ac#15 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.59 for OpenBSM 1.0a5. # @@ -22828,8 +22828,9 @@ cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ - #include <sys/types.h> - #include <bsm/libbsm.h> + #include <stdlib.h> + + extern int auditon(int, void *, int); int main () ==== //depot/projects/trustedbsd/openbsm/configure.ac#16 (text+ko) ==== @@ -3,7 +3,7 @@ AC_PREREQ(2.59) AC_INIT([OpenBSM], [1.0a5], [trustedbsd-audit@TrustesdBSD.org],[openbsm]) -AC_REVISION([$P4: //depot/projects/trustedbsd/openbsm/configure.ac#15 $]) +AC_REVISION([$P4: //depot/projects/trustedbsd/openbsm/configure.ac#16 $]) AC_CONFIG_SRCDIR([bin/auditreduce/auditreduce.c]) AC_CONFIG_AUX_DIR(config) AC_CONFIG_HEADER([config/config.h]) @@ -80,8 +80,9 @@ # depend on them or it will generate link-time or run-time errors. Test for # just one. AC_TRY_LINK([ - #include <sys/types.h> - #include <bsm/libbsm.h> + #include <stdlib.h> + + extern int auditon(int, void *, int); ], [ int err;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602282259.k1SMx8Vu071597>