From 9de5172a20dff6f8e1fd0a94cde52977479e0c62 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 27 Oct 2008 23:23:15 +0100 Subject: Remove duplicate check for volatile, move all utime-checks to libreplace. --- lib/replace/README | 4 ++++ lib/replace/libreplace.m4 | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'lib/replace') diff --git a/lib/replace/README b/lib/replace/README index 4d94317c4b..2f3b37340f 100644 --- a/lib/replace/README +++ b/lib/replace/README @@ -72,6 +72,7 @@ uint_t uint{8,16,32,64}_t int{8,16,32,64}_t intptr_t +sig_atomic_t Constants: PATH_NAME_MAX @@ -107,6 +108,9 @@ Headers: stdint.h stdbool.h +Optional C keywords: +volatile + Prerequisites: memset (for bzero) syslog (for vsyslog) diff --git a/lib/replace/libreplace.m4 b/lib/replace/libreplace.m4 index 05e73fb569..5e13d4a47e 100644 --- a/lib/replace/libreplace.m4 +++ b/lib/replace/libreplace.m4 @@ -64,10 +64,10 @@ AC_CHECK_TYPE(offset_t,loff_t) AC_FUNC_MEMCMP -AC_CHECK_FUNCS(pipe strftime srandom random srand rand usleep setbuffer lstat getpgrp) +AC_CHECK_FUNCS([pipe strftime srandom random srand rand usleep setbuffer lstat getpgrp utime utimes]) AC_CHECK_HEADERS(stdbool.h stdint.h sys/select.h) -AC_CHECK_HEADERS(setjmp.h) +AC_CHECK_HEADERS(setjmp.h utime.h) LIBREPLACE_PROVIDE_HEADER([stdint.h]) LIBREPLACE_PROVIDE_HEADER([stdbool.h]) -- cgit