summaryrefslogtreecommitdiff
path: root/source4/lib/tdb/config.m4
blob: 23784f37233f1cd9ca79f269cc88c656a7143db4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
AC_CHECK_FUNCS(mmap pread pwrite getpagesize)
AC_CHECK_HEADERS(getopt.h sys/select.h sys/time.h)

AC_DEFINE([_GNU_SOURCE],[],[Pull in GNU extensions])

AC_HAVE_DECL(pread, [#include <unistd.h>])
AC_HAVE_DECL(pwrite, [#include <unistd.h>])

if test x"$experimental" = x"yes"; then
	SMB_LIBRARY_ENABLE(libtdb,YES)
fi