config.h: define HAVE_LIBREPLACE
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 13 Oct 2011 03:07:52 +0000 (13:37 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 13 Oct 2011 06:58:35 +0000 (08:58 +0200)
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

lib/replace/libreplace.m4
lib/replace/wscript

index d644e5062e567869ca492cd916b69ca6a99d6398..bc2993ad07e243d171c958f9600af5dc8fdb875c 100644 (file)
@@ -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])],,
 [
index c24d6e76b3155263df3eaf498d8c23c134a9ae93..57b10a94cb5ece7fcf872b489cd85320daf26ebd 100644 (file)
@@ -29,6 +29,7 @@ def configure(conf):
 
     conf.env.standalone_replace = conf.IN_LAUNCH_DIR()
 
+    conf.DEFINE('HAVE_LIBREPLACE', 1)
     conf.DEFINE('LIBREPLACE_NETWORK_CHECKS', 1)
 
     # on Tru64 certain features are only available with _OSF_SOURCE set to 1