Browse code

add test for stdbool.h

git-svn: trunk@2596

Tomasz Kojm authored on 2007/01/08 05:25:37
Showing 3 changed files
... ...
@@ -219,6 +219,9 @@
219 219
 /* Define to 1 if you have the `snprintf' function. */
220 220
 #undef HAVE_SNPRINTF
221 221
 
222
+/* Define to 1 if you have the <stdbool.h> header file. */
223
+#undef HAVE_STDBOOL_H
224
+
222 225
 /* Define to 1 if you have the <stdint.h> header file. */
223 226
 #undef HAVE_STDINT_H
224 227
 
... ...
@@ -19735,7 +19735,8 @@ fi
19735 19735
 
19736 19736
 
19737 19737
 
19738
-for ac_header in stdint.h unistd.h sys/int_types.h dlfcn.h inttypes.h sys/inttypes.h memory.h ndir.h stdlib.h strings.h string.h sys/mman.h sys/param.h sys/stat.h sys/types.h malloc.h poll.h regex.h limits.h sys/filio.h sys/uio.h termios.h iconv.h
19738
+
19739
+for ac_header in stdint.h unistd.h sys/int_types.h dlfcn.h inttypes.h sys/inttypes.h memory.h ndir.h stdlib.h strings.h string.h sys/mman.h sys/param.h sys/stat.h sys/types.h malloc.h poll.h regex.h limits.h sys/filio.h sys/uio.h termios.h iconv.h stdbool.h
19739 19740
 do
19740 19741
 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19741 19742
 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
... ...
@@ -40,7 +40,7 @@ AC_DEFINE(SCANBUFF, 131072, [scan buffer size])
40 40
 AC_DEFINE(FILEBUFF, 8192,   [file i/o buffer size])
41 41
 
42 42
 AC_HEADER_STDC
43
-AC_CHECK_HEADERS(stdint.h unistd.h sys/int_types.h dlfcn.h inttypes.h sys/inttypes.h memory.h ndir.h stdlib.h strings.h string.h sys/mman.h sys/param.h sys/stat.h sys/types.h malloc.h poll.h regex.h limits.h sys/filio.h sys/uio.h termios.h iconv.h)
43
+AC_CHECK_HEADERS(stdint.h unistd.h sys/int_types.h dlfcn.h inttypes.h sys/inttypes.h memory.h ndir.h stdlib.h strings.h string.h sys/mman.h sys/param.h sys/stat.h sys/types.h malloc.h poll.h regex.h limits.h sys/filio.h sys/uio.h termios.h iconv.h stdbool.h)
44 44
 AC_CHECK_HEADER(syslog.h,AC_DEFINE(USE_SYSLOG,1,[use syslog]),)
45 45
 
46 46
 AC_TYPE_OFF_T