ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libev/import_libevent
(Generate patch)

Comparing libev/import_libevent (file contents):
Revision 1.2 by root, Tue Nov 6 16:09:37 2007 UTC vs.
Revision 1.6 by root, Tue Nov 13 03:11:57 2007 UTC

12 } 12 }
13 if (/#include "misc.h"/) { 13 if (/#include "misc.h"/) {
14 print "#ifndef EV_STANDALONE\n$_#endif\n"; 14 print "#ifndef EV_STANDALONE\n$_#endif\n";
15 next; 15 next;
16 } 16 }
17 if (/#include "(unistd.h|sys/time.h)"/) { 17 if (/#include "(unistd.h|sys\/time.h)"/) {
18 print "#ifndef WIN32\n$_#endif\n"; 18 print "#ifndef WIN32\n$_#endif\n";
19 next; 19 next;
20 } 20 }
21 next if /#include "log.h"/; 21 next if /#include "log.h"/;
22 22
66 s/\bpoll.c\b//g; 66 s/\bpoll.c\b//g;
67 s/\bepoll.c\b//g; 67 s/\bepoll.c\b//g;
68 s/\bepoll_sub.c\b//g; 68 s/\bepoll_sub.c\b//g;
69 s/\bevent-internal.h\b//g; 69 s/\bevent-internal.h\b//g;
70 s/\bevsignal.h\b//g; 70 s/\bevsignal.h\b//g;
71 s/-Wall//;
72 s/^(man_MANS\s*=\s*)/$1 ev.3 /;
71 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 /; 73 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 ev.3 ev.pod ev.html /;
72 s/^(include_HEADERS\s*=\s*)/$1 ev.h event_compat.h /; 74 s/^(include_HEADERS\s*=\s*)/$1 ev.h event_compat.h /;
73 s/^(libevent_la_SOURCES\s*=\s*)/$1 ev.c /; 75 s/^(libevent_la_SOURCES\s*=\s*)/$1 ev.c /;
74 s/^(libevent_la_LIBADD\s*=\s*)/$1 -lm /; 76 s/^(libevent_la_LIBADD\s*=\s*)/$1 -lm /;
75 s/libevent/libev/g; 77 s/libevent/libev/g;
76 print; 78 print;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines