1 | --- src/configure.in.old 2008-12-07 02:58:32.000000000 +0100 |
---|
2 | +++ src/configure.in 2008-12-07 02:58:58.000000000 +0100 |
---|
3 | @@ -949,7 +949,11 @@ |
---|
4 | AC_MSG_RESULT($enable_python3interp) |
---|
5 | if test "$enable_python3interp" = "yes" -o "$enable_python3interp" = "dynamic"; then |
---|
6 | dnl -- find the python3 executable |
---|
7 | - AC_PATH_PROG(vi_cv_path_python, python) |
---|
8 | + AC_MSG_CHECKING(--with-python argument) |
---|
9 | + AC_ARG_WITH(python, [ --with-python=PATH which python to use (default: python)], |
---|
10 | + python_name="$withval"; AC_MSG_RESULT($python_name), |
---|
11 | + python_name="python"; AC_MSG_RESULT(no)) |
---|
12 | + AC_SUBST(vi_cv_path_python, $python_name) |
---|
13 | if test "X$vi_cv_path_python3" != "X"; then |
---|
14 | |
---|
15 | dnl -- get its version number |
---|