trying to fix #88412 by bypassing all the python subdir if python ain't

* Makefile.am configure.in: trying to fix #88412 by bypassing
  all the python subdir if python ain't detected
daniel
diff --git a/configure.in b/configure.in
index 26268f7..3939e8c 100644
--- a/configure.in
+++ b/configure.in
@@ -248,6 +248,13 @@
     fi
 fi
 AM_CONDITIONAL(WITH_PYTHON, test "$PYTHON_INCLUDES" != "")
+if test "$PYTHON_INCLUDES" != ""
+then
+    PYTHON_SUBDIR=python
+else
+    PYTHON_SUBDIR=
+fi
+AC_SUBST(PYTHON_SUBDIR)
 
 dnl
 dnl Tester makes use of readline if present