diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-11-21 16:04:13 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-12-21 05:46:03 +0100 |
commit | c14de3fd893c4a44cf35c2b354e51bf7f4a81992 (patch) | |
tree | adc9fded6bb9069342b61932761b6eb7e529cb9c /source4/libcli | |
parent | 3950e76a2f2a33f726ea4a798e603d6af53e8069 (diff) | |
download | samba-c14de3fd893c4a44cf35c2b354e51bf7f4a81992.tar.gz samba-c14de3fd893c4a44cf35c2b354e51bf7f4a81992.tar.bz2 samba-c14de3fd893c4a44cf35c2b354e51bf7f4a81992.zip |
r26100: Also check for SWIG.
(This used to be commit 1755adffecb8ed68047d6ad69087a680cc63ba8f)
Diffstat (limited to 'source4/libcli')
-rw-r--r-- | source4/libcli/config.m4 | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/source4/libcli/config.m4 b/source4/libcli/config.m4 deleted file mode 100644 index e31359fdaa..0000000000 --- a/source4/libcli/config.m4 +++ /dev/null @@ -1,31 +0,0 @@ -AC_MSG_CHECKING([for Python (libcli_nbt)]) - -PYTHON= - -AC_ARG_WITH(python, -[ --with-python=PYTHONNAME build Python libraries], -[ case "${withval-python}" in - yes) - PYTHON=python - ;; - no) - PYTHON= - ;; - *) - PYTHON=${withval-python} - ;; - esac ]) - -if test x"$PYTHON" != "x"; then - incdir=`python -c 'import sys; print "%s/include/python%d.%d" % (sys.prefix, sys.version_info[[0]], sys.version_info[[1]])'` - CPPFLAGS="$CPPFLAGS -I $incdir" -fi - -if test x"$PYTHON" != "x"; then - AC_MSG_RESULT([${withval-python}]) -else - AC_MSG_RESULT(no) - SMB_ENABLE(swig_libcli_nbt, NO) -fi - -AC_SUBST(PYTHON) |