$OpenBSD: patch-configure,v 1.3 2009/06/02 04:46:29 jasper Exp $
--- configure.orig	Mon Jun  1 20:17:29 2009
+++ configure	Mon Jun  1 20:17:54 2009
@@ -13522,7 +13522,7 @@ $as_echo "$as_me: error: xsltproc (from the libxslt so
    { (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
