r14844: Support a stdbool.h replacement in lib/replace/
[amitay/samba.git] / source4 / lib / replace / config.m4
index 873e7b2bca43dacaaf1c92201956f631157f4fb7..3c11ac14761b935ee9590737c126b04ab76da57b 100644 (file)
@@ -1,3 +1,4 @@
+AC_CHECK_HEADERS([stdint.h inttypes.h])
 AC_CHECK_TYPE(uint_t, unsigned int)
 AC_CHECK_TYPE(int8_t, signed char)
 AC_CHECK_TYPE(uint8_t, unsigned char)
@@ -127,5 +128,7 @@ LIBS="$SAVE_LIBS"
 AC_CHECK_FUNCS([syslog memset setnetgrent getnetgrent endnetgrent memcpy],,
                           [AC_MSG_ERROR([Required function not found])])
 
+AC_CHECK_HEADERS(stdbool.h)
+
 sinclude(lib/replace/readline.m4)
 sinclude(lib/replace/getpass.m4)