projects
/
m6w6
/
ext-http
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
|
inline
| side by side (parent:
007ef07
)
fix libevent version
author
Michael Wallner
<mike@php.net>
Fri, 1 Aug 2014 08:20:25 +0000
(10:20 +0200)
committer
Michael Wallner
<mike@php.net>
Fri, 1 Aug 2014 08:20:25 +0000
(10:20 +0200)
config9.m4
patch
|
blob
|
history
diff --git
a/config9.m4
b/config9.m4
index 85a7ec4ceb3e7b5eee9668015475e005a94a6ffa..ba1b93511b551885c801bcead58a0503532346d1 100644
(file)
--- 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
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], [ ])
AC_DEFINE([PHP_HTTP_HAVE_EVENT2], [1], [ ])
else
AC_DEFINE([PHP_HTTP_HAVE_EVENT2], [0], [ ])