[build] Fix detection of libev (fixes #2300)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2779 152afb58-edef-0310-8abb-c4023f1b3aa9svn/tags/lighttpd-1.4.29
parent
33e30b486a
commit
562a6ba83b
1
NEWS
1
NEWS
|
@ -7,6 +7,7 @@ NEWS
|
|||
* Fix mod_proxy waiting for response even if content-length is 0 (fixes #2259)
|
||||
* Silence annoying "connection closed: poll() -> ERR" error.log message (fixes #2257)
|
||||
* mod_cgi: make read buffer as big as incoming data block
|
||||
* [build] Fix detection of libev (fixes #2300)
|
||||
|
||||
- 1.4.28 - 2010-08-22
|
||||
* Rename fdevent_event_add to _set to reflect what the function does. Fix some handlers. (fixes #2249)
|
||||
|
|
|
@ -27,7 +27,7 @@ IF(NOT LIBEV_FOUND)
|
|||
CHECK_INCLUDE_FILES(ev.h HAVE_EV_H)
|
||||
IF(HAVE_EV_H)
|
||||
# MESSAGE(STATUS "Looking for lib ev in ${LIBEV_LIBDIR}")
|
||||
CHECK_LIBRARY_EXISTS(ev ev_loop "${LIBEV_LIBDIR}" HAVE_LIBEV)
|
||||
CHECK_LIBRARY_EXISTS(ev ev_time "${LIBEV_LIBDIR}" HAVE_LIBEV)
|
||||
IF(HAVE_LIBEV)
|
||||
SET(LIBEV_CFLAGS "" CACHE INTERNAL "")
|
||||
SET(LIBEV_LDFLAGS "-L${LIBEV_LIBDIR} -lev" CACHE INTERNAL "")
|
||||
|
@ -45,7 +45,7 @@ IF(NOT LIBEV_FOUND)
|
|||
CHECK_INCLUDE_FILES(ev.h HAVE_EV_H)
|
||||
IF(HAVE_EV_H)
|
||||
# MESSAGE(STATUS "Looking for lib ev")
|
||||
CHECK_LIBRARY_EXISTS(ev ev_loop "" HAVE_LIBEV)
|
||||
CHECK_LIBRARY_EXISTS(ev ev_time "" HAVE_LIBEV)
|
||||
IF(HAVE_LIBEV)
|
||||
SET(LIBEV_CFLAGS "" CACHE INTERNAL "")
|
||||
SET(LIBEV_LDFLAGS "-lev" CACHE INTERNAL "")
|
||||
|
|
|
@ -105,7 +105,7 @@ if test "$WITH_LIBEV" != "no"; then
|
|||
LIBEV_LIBS="-L$WITH_LIBEV/lib -lev"
|
||||
else
|
||||
AC_CHECK_HEADERS([ev.h],[
|
||||
AC_CHECK_LIB([ev], [ev_loop], [
|
||||
AC_CHECK_LIB([ev], [ev_time], [
|
||||
LIBEV_CFLAGS=""
|
||||
LIBEV_LIBS="-lev"
|
||||
],[
|
||||
|
|
Loading…
Reference in New Issue