]> 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 1c5cecd9a60fa6b8b759ce83cf3078ec72a84048..56823bf69c161d2ca5b9587c47c5c4853f57dbd6 100644 (file)
@@ -2606,7 +2606,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="- /.
 "