summaryrefslogtreecommitdiff
path: root/source4/lib/tdb/config.m4
blob: f1aa95df542a4543ebdeab6f6b6eb9ceb3e0a18f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
AC_CHECK_FUNCS(mmap pread pwrite getpagesize utime)
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