summaryrefslogtreecommitdiff
path: root/source4/lib/replace/libreplace.m4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-02-12 17:36:00 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:48:06 -0500
commit4126b34e1f34a67b1eed06329530c17dfa54fb00 (patch)
treeb7e26d04eff469b1887628061fb4aae19c3910c8 /source4/lib/replace/libreplace.m4
parent71115bb3e69e301cbced87b85418815237d50329 (diff)
downloadsamba-4126b34e1f34a67b1eed06329530c17dfa54fb00.tar.gz
samba-4126b34e1f34a67b1eed06329530c17dfa54fb00.tar.bz2
samba-4126b34e1f34a67b1eed06329530c17dfa54fb00.zip
r21302: Provide simple redirecting headers for standard headers.
(This used to be commit 74c47839536c9ccfa1240289d20df65d9d13839d)
Diffstat (limited to 'source4/lib/replace/libreplace.m4')
-rw-r--r--source4/lib/replace/libreplace.m45
1 files changed, 4 insertions, 1 deletions
diff --git a/source4/lib/replace/libreplace.m4 b/source4/lib/replace/libreplace.m4
index 3328dea95e..805cdc6cb5 100644
--- a/source4/lib/replace/libreplace.m4
+++ b/source4/lib/replace/libreplace.m4
@@ -61,9 +61,12 @@ AC_FUNC_MEMCMP
AC_CHECK_FUNCS(pipe strftime srandom random srand rand usleep setbuffer lstat getpgrp)
-AC_CHECK_HEADERS(stdbool.h sys/select.h)
+AC_CHECK_HEADERS(stdbool.h stdint.h sys/select.h)
AC_CHECK_HEADERS(setjmp.h)
+LIBREPLACE_PROVIDE_HEADER([stdint.h])
+LIBREPLACE_PROVIDE_HEADER([stdbool.h])
+
AC_CHECK_TYPE(bool,
[AC_DEFINE(HAVE_BOOL, 1, [Whether the bool type is available])],,
[