$OpenBSD: patch-configure,v 1.1 2008/11/14 17:57:06 jasper Exp $
--- configure.orig	Fri Nov 14 18:44:42 2008
+++ configure	Fri Nov 14 18:45:44 2008
@@ -20574,7 +20574,7 @@ echo "$as_me: error: xsltproc (from the libxslt source
    { (exit 1); exit 1; }; }
 fi
 PYTHON=
-for ac_prog in python2.3 python2.4 python2.5 python
+for ac_prog in python${MODPY_VERSION}
 do
   # Extract the first word of "$ac_prog", so it can be a program name with args.
 set dummy $ac_prog; ac_word=$2
