Brad Bishop | 996bc45 | 2019-12-02 13:05:15 -0500 | [diff] [blame] | 1 | --- a/configure.ac |
| 2 | +++ b/configure.ac |
| 3 | @@ -1488,7 +1488,7 @@ AC_ARG_WITH([python], |
| 4 | |
| 5 | if test "x$enable_dbus" = "xyes" || test "x$enable_consoleui" = "xyes" ; then |
| 6 | if test -z "$PYTHON" -o "x$PYTHON" = "xyes"; then |
| 7 | - AC_PATH_PROG([PYTHON], [python], [no]) |
| 8 | + AC_PATH_PROG([PYTHON], [python3], [no]) |
| 9 | fi |
| 10 | |
| 11 | if test x"$PYTHON" = x"no" ; then |
| 12 | @@ -1568,7 +1568,7 @@ dnl Check for Python headers (currently |
| 13 | dnl (Thanks to XChat) |
| 14 | if test "x$enable_consoleui" = "xyes" -a ! -z "$PYTHON" -a x"$PYTHON" != x"no" ; then |
| 15 | AC_MSG_CHECKING(for Python compile flags) |
| 16 | - PKG_CHECK_MODULES(PY, python, [ |
| 17 | + PKG_CHECK_MODULES(PY, python3, [ |
| 18 | AC_SUBST(PY_CFLAGS) |
| 19 | AC_SUBST(PY_LIBS) |
| 20 | ], [ |