]> granicus.if.org Git - graphviz/commitdiff
Add iffe test for HAVE_STDBOOL_H and HAVE_BOOL
authorerg <devnull@localhost>
Tue, 16 May 2006 21:21:07 +0000 (21:21 +0000)
committererg <devnull@localhost>
Tue, 16 May 2006 21:21:07 +0000 (21:21 +0000)
config.iffe

index 4357c074af6eafa541551648cc05576e5e5ae3fb..932e8658f5ee13001595ec37b33849931ce9715d 100644 (file)
@@ -36,6 +36,7 @@ hdr ndir
 hdr netdb
 hdr search
 hdr stdarg
+hdr stdbool
 hdr stddef
 hdr stdint
 hdr stdlib
@@ -118,6 +119,16 @@ link{
 #define HAVE_SOCKLEN_T 1
 }end
 
+compile{
+    #ifdef HAVE_STDBOOL_H
+    #include <stdbool.h>
+    #endif
+    bool xx = true, yy = false; 
+}end yes{
+/* Define to 1 if compiler supports bool */
+#define HAVE_BOOL 1
+}end
+
 compile{
     #include <iconv.h>
     iconv_t xx;