summaryrefslogtreecommitdiff
path: root/source4/scripting/python/config.m4
diff options
context:
space:
mode:
Diffstat (limited to 'source4/scripting/python/config.m4')
-rw-r--r--source4/scripting/python/config.m45
1 files changed, 4 insertions, 1 deletions
diff --git a/source4/scripting/python/config.m4 b/source4/scripting/python/config.m4
index bdc977b0ba..8a4aba4a66 100644
--- a/source4/scripting/python/config.m4
+++ b/source4/scripting/python/config.m4
@@ -1,9 +1,12 @@
+m4_include(scripting/python/ac_pkg_swig.m4)
+
AC_ARG_VAR([PYTHON_VERSION],[The installed Python
version to use, for example '2.3'. This string
will be appended to the Python interpreter
canonical name.])
-AC_PATH_PROG(SWIG,swig,no)
+AC_PROG_SWIG(1.3.25)
+
AC_PATH_PROG([PYTHON],[python[$PYTHON_VERSION]])
if test -z "$PYTHON"; then
working_python=no