X-Git-Url: https://git.llucax.com/software/libev.git/blobdiff_plain/36718ee47b617f9eeb411c70d1dd87bc33389db3..bc714cab3838a8039a24bb718c030cc2c736ee4a:/import_libevent diff --git a/import_libevent b/import_libevent index 6b0b8cd..04d107f 100755 --- a/import_libevent +++ b/import_libevent @@ -14,7 +14,7 @@ perl -ne ' print "#ifndef EV_STANDALONE\n$_#endif\n"; next; } - if (/#include "(unistd.h|sys/time.h)"/) { + if (/#include "(unistd.h|sys\/time.h)"/) { print "#ifndef WIN32\n$_#endif\n"; next; } @@ -68,7 +68,8 @@ perl -ne ' s/\bepoll_sub.c\b//g; s/\bevent-internal.h\b//g; s/\bevsignal.h\b//g; - s/^(EXTRA_DIST\s*=\s*)/$1 ev.h ev_vars.h ev_wrap.h event_compat.h ev_epoll.c ev_select.c ev_poll.c ev_kqueue.c /; + s/-Wall//; + s/^(EXTRA_DIST\s*=\s*)/$1 ev.h ev_vars.h ev_wrap.h event_compat.h ev_epoll.c ev_select.c ev_poll.c ev_kqueue.c ev_win32.c /; s/^(include_HEADERS\s*=\s*)/$1 ev.h event_compat.h /; s/^(libevent_la_SOURCES\s*=\s*)/$1 ev.c /; s/^(libevent_la_LIBADD\s*=\s*)/$1 -lm /;