Skip to content

Commit

Permalink
configure.ac: do not check for python2
Browse files Browse the repository at this point in the history
  • Loading branch information
dilyanpalauzov committed Nov 18, 2024
1 parent f15be89 commit 9131c0d
Showing 1 changed file with 4 additions and 9 deletions.
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

0 comments on commit 9131c0d

Please sign in to comment.