--- configure.orig	2022-07-04 06:00:37 UTC
+++ configure
@@ -18084,10 +18084,6 @@ printf "%s\n" "yes" >&6; }
     else
       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
 printf "%s\n" "no" >&6; }
-      if test yes = "$with_python" ; then
-	as_fn_error $? "Couldn't import sphinx module and call sphinx.main() for Python2 - try package python-sphinx" "$LINENO" 5
-      fi
-      PYTHON2=
     fi
     if test -n "$PYTHON2" ; then
                   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $PYTHON2_INC/Python.h" >&5
@@ -18271,10 +18267,6 @@ printf "%s\n" "yes" >&6; }
     else
       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
 printf "%s\n" "no" >&6; }
-      if test yes = "$with_python3" ; then
-	as_fn_error $? "Couldn't import sphinx module for Python3 - try package python3-sphinx" "$LINENO" 5
-      fi
-      PYTHON3=
     fi
     if test -n "$PYTHON3" ; then
                   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $PYTHON3_INC/Python.h" >&5
