$OpenBSD: patch-configure,v 1.4 2010/04/23 12:42:18 jasper Exp $
--- configure.orig	Mon Sep 14 13:58:31 2009
+++ configure	Thu Dec 24 13:06:50 2009
@@ -2404,14 +2404,6 @@ echo timestamp > conftest.file
 # name.  Accept space and tab only in the latter.
 am_lf='
 '
-case `pwd` in
-  *[\\\"\#\$\&\'\`$am_lf]*)
-    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
-esac
-case $srcdir in
-  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
-    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
-esac
 
 # Do `set' in a subshell so we don't clobber the current shell's
 # arguments.  Must try -L first in case configure is actually a
@@ -12346,7 +12338,7 @@ if test -z "$XSLTPROC"; then
   as_fn_error "xsltproc (from the libxslt source package) is required" "$LINENO" 5
 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
