Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

configure.ac: do not check for python2 #5137

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 4 additions & 9 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -2293,16 +2293,11 @@ AX_PROG_PERL_MODULES([Pod::POM::View::Restructured],
have_ppvr=no
])

AX_PYTHON_MODULE([git], [], [python2])
AX_PYTHON_MODULE([git])
AS_CASE([$HAVE_PYMOD_GIT],
[yes], [],
[*], [
unset PYTHON # work around AX_PYTHON_MODULE not cleaning up
AX_PYTHON_MODULE([git], [], [python3])
AS_CASE([$HAVE_PYMOD_GIT],
[yes], [],
[*], [
AC_MSG_WARN([GitPython not found, won't be able to regenerate docs])])
[yes], [],
[*], [
AC_MSG_WARN([GitPython not found, won't be able to regenerate docs])
])

AM_CONDITIONAL([HAVE_SPHINX_BUILD],
Expand Down