diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index a47b319f5..acdc5204c 100644 --- a/configure.ac +++ b/configure.ac @@ -127,7 +127,7 @@ AC_MSG_CHECKING(old version of patch) AC_PATH_PROG(__PERL, perl, /usr/bin/perl, $MYPATH) AC_PATH_PROG(__PGP, pgp, /usr/bin/pgp, $MYPATH) -AC_PATH_PROG(__PYTHON, python, /usr/bin/python, $MYPATH) +AC_PATH_PROG(__PYTHON, python, /usr/bin/python3, $MYPATH) AC_PATH_PROG(__RM, rm, /bin/rm, $MYPATH) AC_PATH_PROG(__RSH, rsh, /usr/bin/rsh, $MYPATH) AC_PATH_PROG(__SED, sed, /bin/sed, $MYPATH) @@ -550,9 +550,10 @@ AS_IF([test "$enable_python" = yes],[ ]) CPPFLAGS="$save_CPPFLAGS" save_LIBS="$LIBS" - AC_SEARCH_LIBS([Py_Main],[python${PYTHON_VERSION} python],[ + + AC_SEARCH_LIBS([Py_Main],[python${PYTHON_VERSION} python3.6m],[ WITH_PYTHON_LIB="$ac_res" - ],[AC_MSG_ERROR([missing python library]) + ],[AC_MSG_ERROR([missing python library, ${PYTHON_VERSION} vvv${PYTHON_ABI}vvv]) ]) LIBS="$save_LIBS" ]) |