summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--acinclude.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 923d7f0d38..8f1b7f5c47 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -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="- /.
"