$OpenBSD: patch-configure_ac,v 1.4 2009/08/25 10:26:20 stsp Exp $
--- configure.ac.orig	Tue Aug 18 20:07:47 2009
+++ configure.ac	Thu Aug 20 13:51:18 2009
@@ -6,7 +6,7 @@ AC_PREREQ(2.58)
 dnl Get the version of Subversion, using m4's esyscmd() command to do this
 dnl at m4-time, since AC_INIT() requires it then.
 AC_INIT([subversion],
-     [esyscmd(python build/getversion.py SVN subversion/include/svn_version.h)],
+     [esyscmd(${MODPY_BIN} build/getversion.py SVN subversion/include/svn_version.h)],
      [http://subversion.tigris.org/])
 
 AC_CONFIG_SRCDIR(subversion/include/svn_types.h)
@@ -56,7 +56,7 @@ if test "$INSTALL" = "build/install-sh -c"; then
   INSTALL="$abs_srcdir/$INSTALL"
 fi
 
-AC_SUBST([MKDIR], ["$INSTALL -d"])
+AC_SUBST([MKDIR], ["/bin/mkdir -p"])
 
 # ==== Libraries, for which we may have source to build ======================
 
@@ -765,7 +765,7 @@ AS_HELP_STRING([--enable-gprof],
 # Python: Used for testsuite, and bindings
 
 
-PYTHON="`$abs_srcdir/build/find_python.sh`"
+PYTHON=${MODPY_BIN}
 if test -z "$PYTHON"; then
   AC_MSG_WARN([Python 2.4 or later is required to run the testsuite])
   AC_MSG_WARN([or to use the Subversion Python bindings])
