File diff 000000000000 → 000000000000
www-servers/lighttpd/files/lighttpd-1.4.28-detect-libev.patch
Show inline comments
 
new file 100644
 
Index: lighttpd-1.4.28/configure.ac
 
===================================================================
 
--- lighttpd-1.4.28.orig/configure.ac
 
+++ lighttpd-1.4.28/configure.ac
 
@@ -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"
 
 					],[