summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/replace/config.m4
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/ldb/replace/config.m4')
-rw-r--r--source4/lib/ldb/replace/config.m411
1 files changed, 11 insertions, 0 deletions
diff --git a/source4/lib/ldb/replace/config.m4 b/source4/lib/ldb/replace/config.m4
new file mode 100644
index 0000000000..794618e62d
--- /dev/null
+++ b/source4/lib/ldb/replace/config.m4
@@ -0,0 +1,11 @@
+AC_CHECK_HEADERS([stdint.h inttypes.h])
+AC_CHECK_TYPE(uint8_t, unsigned char)
+AC_CHECK_TYPE(int64_t, long long)
+AC_CHECK_TYPE(uint64_t, unsigned long long)
+AC_CHECK_TYPE(comparison_fn_t,
+[AC_DEFINE(HAVE_COMPARISON_FN_T, 1,[Whether or not we have comparison_fn_t])])
+
+AC_CHECK_FUNCS(strerror timegm strnlen)
+AC_HAVE_DECL(errno, [#include <errno.h>])
+
+AC_CHECK_HEADERS(strings.h)