PERFORCE change 104000 for review
Robert Watson
rwatson at FreeBSD.org
Tue Aug 15 10:45:49 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=104000
Change 104000 by rwatson at rwatson_peppercorn on 2006/08/15 10:44:46
Test for clock_gettime(), which is not available on Darwin.
Affected files ...
.. //depot/projects/trustedbsd/openbsm/config/config.h.in#8 edit
.. //depot/projects/trustedbsd/openbsm/configure#24 edit
.. //depot/projects/trustedbsd/openbsm/configure.ac#27 edit
Differences ...
==== //depot/projects/trustedbsd/openbsm/config/config.h.in#8 (text+ko) ====
@@ -12,6 +12,9 @@
/* Define to 1 if your system has a working `chown' function. */
#undef HAVE_CHOWN
+/* Define to 1 if you have the `clock_gettime' function. */
+#undef HAVE_CLOCK_GETTIME
+
/* Define to 1 if you have the <dlfcn.h> header file. */
#undef HAVE_DLFCN_H
==== //depot/projects/trustedbsd/openbsm/configure#24 (xtext) ====
@@ -1,5 +1,5 @@
#! /bin/sh
-# From configure.ac P4: //depot/projects/trustedbsd/openbsm/configure.ac#25 .
+# From configure.ac P4: //depot/projects/trustedbsd/openbsm/configure.ac#26 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.59 for OpenBSM 1.0a8.
#
@@ -22833,7 +22833,8 @@
-for ac_func in bzero ftruncate gettimeofday inet_ntoa memset strchr strerror strrchr strstr strtol strtoul
+
+for ac_func in bzero clock_gettime ftruncate gettimeofday inet_ntoa memset strchr strerror strrchr strstr strtol strtoul
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
echo "$as_me:$LINENO: checking for $ac_func" >&5
==== //depot/projects/trustedbsd/openbsm/configure.ac#27 (text+ko) ====
@@ -3,7 +3,7 @@
AC_PREREQ(2.59)
AC_INIT([OpenBSM], [1.0a8], [trustedbsd-audit at TrustesdBSD.org],[openbsm])
-AC_REVISION([$P4: //depot/projects/trustedbsd/openbsm/configure.ac#26 $])
+AC_REVISION([$P4: //depot/projects/trustedbsd/openbsm/configure.ac#27 $])
AC_CONFIG_SRCDIR([bin/auditreduce/auditreduce.c])
AC_CONFIG_AUX_DIR(config)
AC_CONFIG_HEADER([config/config.h])
@@ -56,7 +56,7 @@
AC_TYPE_SIGNAL
AC_FUNC_STAT
AC_FUNC_STRFTIME
-AC_CHECK_FUNCS([bzero ftruncate gettimeofday inet_ntoa memset strchr strerror strrchr strstr strtol strtoul])
+AC_CHECK_FUNCS([bzero clock_gettime ftruncate gettimeofday inet_ntoa memset strchr strerror strrchr strstr strtol strtoul])
# sys/queue.h exists on most systems, but its capabilities vary a great deal.
# test for LIST_FIRST and TAILQ_FOREACH_SAFE, which appears to not exist in
More information about the trustedbsd-cvs
mailing list