1 AC_CHECK_FUNCS(mmap pread pwrite getpagesize utime)
2 AC_CHECK_HEADERS(getopt.h sys/select.h sys/time.h)
4 AC_HAVE_DECL(pread, [#include <unistd.h>])
5 AC_HAVE_DECL(pwrite, [#include <unistd.h>])
7 AC_MSG_CHECKING([for Python])
12 [ --with-python=PYTHONNAME build Python libraries],
13 [ case "${withval-python}" in
21 PYTHON=${withval-python}
25 if test x"$PYTHON" != "x"; then
26 incdir=`python -c 'import sys; print "%s/include/python%d.%d" % (sys.prefix, sys.version_info[[0]], sys.version_info[[1]])'`
27 CPPFLAGS="$CPPFLAGS -I $incdir"
30 if test x"$PYTHON" != "x"; then
31 AC_MSG_RESULT([${withval-python}])
33 SMB_ENABLE(swig_tdb, NO)