$OpenBSD: patch-configure,v 1.1.1.1 2012/12/13 13:46:01 sthen Exp $
--- configure.orig	Mon Nov 14 09:30:48 2011
+++ configure	Wed Oct 31 20:15:46 2012
@@ -12331,7 +12331,7 @@ if test "X$with_php" != Xno ; then
   with_php=yes
 fi
 
-PHP_VERSION=`php-config --version 2>/dev/null`
+PHP_VERSION=`$PHP_CONFIG --version 2>/dev/null`
 if test "X$PHP_VERSION" != X; then
   languages_available="$languages_available php($PHP_VERSION)"
   if test $with_php = yes; then
