]> granicus.if.org Git - php/commitdiff
Fixed bug #54084 (Fix apxs Apache version test to work with Oracle HTTP Server) ...
authorChristopher Jones <sixd@php.net>
Wed, 23 Mar 2011 18:56:47 +0000 (18:56 +0000)
committerChristopher Jones <sixd@php.net>
Wed, 23 Mar 2011 18:56:47 +0000 (18:56 +0000)
acinclude.m4

index 25e35fd179eed81ed2e3cb67fed79c272923e8ac..811249bcfb8fd6d3cd67063ec159a2f91692931e 100644 (file)
@@ -2591,7 +2591,7 @@ dnl This macro is used to get a comparable
 dnl version for apache1/2.
 dnl
 AC_DEFUN([PHP_AP_EXTRACT_VERSION],[
-  ac_output=`$1 -v 2>&1 | grep version`
+  ac_output=`$1 -v 2>&1 | grep version | $SED -e 's/Oracle-HTTP-//'`
   ac_IFS=$IFS
 IFS="- /.
 "