Description: Patch configure script.
 Remove apache version check for debian package, since we don't want to
 build-depend on apache2.
Author: Robert S. Edmonds <edmonds@debian.org>

--- a/configure.in
+++ b/configure.in
@@ -107,15 +107,17 @@ else
   ALL="dso"
 
   # check Apache version
-  AC_MSG_CHECKING(Apache version)
-  HTTPD="`${APXS} -q SBINDIR`/`${APXS} -q TARGET`"
-  ver=`$HTTPD -v | awk '/version/ {print $3}' | awk -F/ '{print $2}'`
-  AC_MSG_RESULT($ver)
+# peterh: Remove apache version check for debian package, since we don't
+# want to build-depend on apache2.
+#  AC_MSG_CHECKING(Apache version)
+#  HTTPD="`${APXS} -q SBINDIR`/`${APXS} -q TARGET`"
+#  ver=`$HTTPD -v | awk '/version/ {print $3}' | awk -F/ '{print $2}'`
+#  AC_MSG_RESULT($ver)
 
   # make sure version begins with 2
-  if test -z "`echo $ver | egrep \^2`"; then
-    AC_MSG_ERROR([This version of mod_python only works with Apache 2. The one you have seems to be $ver.])
-  fi
+#  if test -z "`echo $ver | egrep \^2`"; then
+#    AC_MSG_ERROR([This version of mod_python only works with Apache 2. The one you have seems to be $ver.])
+#  fi
 
   # determine LIBEXEC
   AC_MSG_CHECKING(for Apache libexec directory)
@@ -287,7 +289,7 @@ MOD_PYTHON_SO="`pwd`/src/mod_python.so"
 # get the mod_python version
 AC_SUBST(MP_VERSION)
 MP_VERSION=`awk '/MPV_STRING/ {print $3}' src/include/mpversion.h`
-MP_VERSION=`echo $MP_VERSION | sed 's/["]//g'`
+MP_VERSION=`echo $MP_VERSION | sed 's/"//g'`
 
 # get --with-python-src. The python src is required to generate the documentation
 # It is not required to compile or install mod_python itself
