summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-27 23:23:15 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-10-27 23:23:15 +0100
commit9de5172a20dff6f8e1fd0a94cde52977479e0c62 (patch)
tree3e506e1c7a62751c1f9a334d401fcf717c3fa308 /lib
parentb881d2ee78f685aea7ae8b67b3e0fb3c4f5205ed (diff)
downloadsamba-9de5172a20dff6f8e1fd0a94cde52977479e0c62.tar.gz
Remove duplicate check for volatile, move all utime-checks to
libreplace.
Diffstat (limited to 'lib')
-rw-r--r--lib/replace/README4
-rw-r--r--lib/replace/libreplace.m44
2 files changed, 6 insertions, 2 deletions
diff --git a/lib/replace/README b/lib/replace/README
index 4d94317c4b0..2f3b37340fc 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 05e73fb5697..5e13d4a47ec 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])