PERFORCE change 92502 for review

Robert Watson rwatson at FreeBSD.org
Mon Feb 27 16:51:52 PST 2006


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

Change 92502 by rwatson at rwatson_peppercorn on 2006/02/28 00:50:57

	Link, not just compile, the LIST_FIRST() test.

Affected files ...

.. //depot/projects/trustedbsd/openbsm/configure#6 edit
.. //depot/projects/trustedbsd/openbsm/configure.ac#9 edit

Differences ...

==== //depot/projects/trustedbsd/openbsm/configure#6 (xtext) ====

@@ -1,5 +1,5 @@
 #! /bin/sh
-# From configure.ac P4: //depot/projects/trustedbsd/openbsm/configure.ac#7 .
+# From configure.ac P4: //depot/projects/trustedbsd/openbsm/configure.ac#8 .
 # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.59 for OpenBSM 1.0a5.
 #
@@ -22544,9 +22544,9 @@
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
-  (eval $ac_compile) 2>conftest.er1
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+  (eval $ac_link) 2>conftest.er1
   ac_status=$?
   grep -v '^ *+' conftest.er1 >conftest.err
   rm -f conftest.er1
@@ -22560,7 +22560,7 @@
   ac_status=$?
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); }; } &&
-	 { ac_try='test -s conftest.$ac_objext'
+	 { ac_try='test -s conftest$ac_exeext'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
@@ -22578,7 +22578,8 @@
 sed 's/^/| /' conftest.$ac_ext >&5
 
 fi
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
+rm -f conftest.err conftest.$ac_objext \
+      conftest$ac_exeext conftest.$ac_ext
 
                                                                                                     ac_config_files="$ac_config_files Makefile bin/Makefile bin/audit/Makefile bin/auditd/Makefile bin/auditreduce/Makefile bin/praudit/Makefile bsm/Makefile libbsm/Makefile man/Makefile tools/Makefile"
 

==== //depot/projects/trustedbsd/openbsm/configure.ac#9 (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#8 $])
+AC_REVISION([$P4: //depot/projects/trustedbsd/openbsm/configure.ac#9 $])
 AC_CONFIG_SRCDIR([bin/auditreduce/auditreduce.c])
 AC_CONFIG_AUX_DIR(config)
 AC_CONFIG_HEADER([config/config.h])
@@ -47,7 +47,7 @@
 # sys/queue.h exists on most systems, but its capabilities vary a great deal.
 # test for LIST_FIRST, which appears to not exist in all of them, and is
 # necessary for OpenBSM.
-AC_TRY_COMPILE([
+AC_TRY_LINK([
 	#include <sys/queue.h>
 ], [
 	struct foo {


More information about the trustedbsd-cvs mailing list