1 AC_MSG_CHECKING([for Python (libcli_nbt)])
6 [ --with-python=PYTHONNAME build Python libraries],
7 [ case "${withval-python}" in
15 PYTHON=${withval-python}
19 if test x"$PYTHON" != "x"; then
20 incdir=`python -c 'import sys; print "%s/include/python%d.%d" % (sys.prefix, sys.version_info[[0]], sys.version_info[[1]])'`
21 CPPFLAGS="$CPPFLAGS -I $incdir"
24 if test x"$PYTHON" != "x"; then
25 AC_MSG_RESULT([${withval-python}])
28 SMB_ENABLE(swig_libcli_nbt, NO)