summaryrefslogtreecommitdiffstats
path: root/dcoppython
diff options
context:
space:
mode:
Diffstat (limited to 'dcoppython')
-rw-r--r--dcoppython/configure.in.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/dcoppython/configure.in.in b/dcoppython/configure.in.in
index 2f645818..c4d84ea2 100644
--- a/dcoppython/configure.in.in
+++ b/dcoppython/configure.in.in
@@ -6,4 +6,7 @@ fi
AC_ARG_VAR([XSLTPROC])
AC_ARG_VAR([PYTHON])
AC_PATH_PROG([XSLTPROC],[xsltproc],[echo])
-AC_PATH_PROG([PYTHON],[python])
+AC_PATH_PROG([PYTHON],[python2])
+if test -z "$PYTHON"; then
+ AC_PATH_PROG([PYTHON],[python])
+fi