summaryrefslogtreecommitdiff
path: root/lib/replace/libreplace.m4
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2011-10-13 13:37:52 +1030
committerRusty Russell <rusty@rustcorp.com.au>2011-10-13 08:58:35 +0200
commit5dcce64bbd64d1fbc81fa1135e77c87316691017 (patch)
treef05f5eb290be623e9f3ce663569fa4377dcff811 /lib/replace/libreplace.m4
parent88d997a63e93c4d0ed20e39a962d34b74c90b90c (diff)
downloadsamba-5dcce64bbd64d1fbc81fa1135e77c87316691017.tar.gz
samba-5dcce64bbd64d1fbc81fa1135e77c87316691017.tar.bz2
samba-5dcce64bbd64d1fbc81fa1135e77c87316691017.zip
config.h: define HAVE_LIBREPLACE
tdb2 wants to know if it should use replace.h. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Autobuild-User: Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date: Thu Oct 13 08:58:35 CEST 2011 on sn-devel-104
Diffstat (limited to 'lib/replace/libreplace.m4')
-rw-r--r--lib/replace/libreplace.m42
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/replace/libreplace.m4 b/lib/replace/libreplace.m4
index d644e5062e..bc2993ad07 100644
--- a/lib/replace/libreplace.m4
+++ b/lib/replace/libreplace.m4
@@ -71,6 +71,8 @@ AC_CHECK_HEADERS(setjmp.h utime.h)
LIBREPLACE_PROVIDE_HEADER([stdint.h])
LIBREPLACE_PROVIDE_HEADER([stdbool.h])
+AC_DEFINE(HAVE_LIBREPLACE, 1, [We have libreplace])
+
AC_CHECK_TYPE(bool,
[AC_DEFINE(HAVE_BOOL, 1, [Whether the bool type is available])],,
[