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

Comparing libev/import_libevent (file contents):
Revision 1.1 by root, Mon Nov 5 17:53:07 2007 UTC vs.
Revision 1.6 by root, Tue Nov 13 03:11:57 2007 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines