]> granicus.if.org Git - php/commitdiff
Fix extraction of httpd version if httpd is linked against -lefence.
authorJoe Orton <jorton@php.net>
Wed, 3 Nov 2004 13:04:10 +0000 (13:04 +0000)
committerJoe Orton <jorton@php.net>
Wed, 3 Nov 2004 13:04:10 +0000 (13:04 +0000)
acinclude.m4

index 923d7f0d389fe40b2c9da3f353892c25d4072af2..8f1b7f5c47d9f27e669982480a90b8470d4fd026 100644 (file)
@@ -1886,7 +1886,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`
+  ac_output=`$1 -v 2>&1 | grep version`
   ac_IFS=$IFS
 IFS="- /.
 "