PERFORCE change 92552 for review

Robert Watson rwatson at FreeBSD.org
Tue Feb 28 15:01:54 PST 2006


http://perforce.freebsd.org/chv.cgi?CH=92552

Change 92552 by rwatson at 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 at 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;
 


More information about the trustedbsd-cvs mailing list