$OpenBSD: patch-configure_ac,v 1.2 2009/04/28 23:43:56 stsp Exp $
--- configure.ac.orig	Sat Feb  7 20:46:30 2009
+++ configure.ac	Thu Feb 19 19:37:20 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], ["mkdir -p"])
 
 # ==== Libraries, for which we may have source to build ======================
 
@@ -447,7 +447,8 @@ if test "$enable_nls" = "yes"; then
                    [
                     AC_MSG_WARN([bindtextdomain() not found.  Disabling NLS.])
                     enable_nls="no"
-                   ])
+                   ], -liconv)
+    AC_CHECK_LIB(iconv, libiconv_open)
     if test "$enable_nls" = "yes"; then
       AC_DEFINE(ENABLE_NLS, 1,
                 [Define to 1 if translation of program messages to the user's
@@ -749,7 +750,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])
