summaryrefslogtreecommitdiff
path: root/source4/lib/tdb/config.m4
blob: 58fdc02eb963ca2afc5aea64c46209684288c60a (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)

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