From 6d4f0ad7ffa58f2a29e5dcf1830aec45a28a25d1 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Fri, 1 Aug 2014 10:20:25 +0200 Subject: [PATCH] fix libevent version --- config9.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config9.m4 b/config9.m4 index 85a7ec4..ba1b935 100644 --- a/config9.m4 +++ b/config9.m4 @@ -331,7 +331,7 @@ dnl ---- AC_MSG_CHECKING([for libevent version, roughly]) if test -f "$EVENT_DIR/include/event2/event.h"; then - EVENT_VER="`$EGREP _EVENT_VERSION $EVENT_DIR/include/event2/event-config.h | $AWK '{print $3}'`" + EVENT_VER="`$AWK '/_EVENT_VERSION/ {gsub(/\"/,\"\",$3); print $3}' < $EVENT_DIR/include/event2/event-config.h`" AC_DEFINE([PHP_HTTP_HAVE_EVENT2], [1], [ ]) else AC_DEFINE([PHP_HTTP_HAVE_EVENT2], [0], [ ]) -- 2.30.2