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

Comparing libev/import_libevent (file contents):
Revision 1.7 by root, Wed Nov 14 01:47:05 2007 UTC vs.
Revision 1.11 by root, Fri Dec 7 16:44:15 2007 UTC

78 s/\bpoll.c\b//g; 78 s/\bpoll.c\b//g;
79 s/\bepoll.c\b//g; 79 s/\bepoll.c\b//g;
80 s/\bepoll_sub.c\b//g; 80 s/\bepoll_sub.c\b//g;
81 s/\bevent-internal.h\b//g; 81 s/\bevent-internal.h\b//g;
82 s/\bevsignal.h\b//g; 82 s/\bevsignal.h\b//g;
83 s/-Wall//;
84 s/^(man_MANS\s*=)/$1 ev.3 /; 83 s/^(man_MANS\s*=)/$1 ev.3 /;
85 s/^(EXTRA_DIST\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 /; 84 s/^(EXTRA_DIST\s*=)/$1 libev.m4 ev.h ev_vars.h ev_wrap.h event_compat.h ev++.h ev_epoll.c ev_select.c ev_poll.c ev_kqueue.c ev_port.c ev_win32.c ev.3 ev.pod ev.html /;
86 s/^(include_HEADERS\s*=)/$1 ev.h event_compat.h /; 85 s/^(include_HEADERS\s*=)/$1 ev.h event_compat.h ev++.h /;
87 s/^(CORE_SRC\s*=)/$1 ev.c /; 86 s/^(CORE_SRC\s*=)/$1 ev.c /;
88 s/^(SYS_LIBS\s*=)/$1 -lm /; 87 s/^(SYS_LIBS\s*=)/$1 -lm /;
89 s/libevent/libev/g; 88 s/libevent/libev/g;
90 print; 89 print;
91' <$LE/Makefile.am >Makefile.am 90' <$LE/Makefile.am >Makefile.am
92 91
93perl -ne ' 92perl -ne '
93 #s/-Wall/-Wall -Wno-comment -Wunused-function -Wno-unused-value/;
94 s/-Wall//g;
94 s/libevent/libev/g; 95 s/libevent/libev/g;
95 s/AC_LIBOBJ\(select\)/: ;/g; 96 s/AC_LIBOBJ\(select\)/: ;/g;
96 s/AC_LIBOBJ\(poll\)/: ;/g; 97 s/AC_LIBOBJ\(poll\)/: ;/g;
97 s/AC_LIBOBJ\(kqueue\)/: ;/g; 98 s/AC_LIBOBJ\(kqueue\)/: ;/g;
98 s/AC_LIBOBJ\(epoll\)/: ;/g; 99 s/AC_LIBOBJ\(epoll\)/: ;/g;
99 s/AC_LIBOBJ\(devpoll\)/: ;/g; 100 s/AC_LIBOBJ\(devpoll\)/: ;/g;
100 s/AC_LIBOBJ\(evport\)/: ;/g; 101 s/AC_LIBOBJ\(evport\)/: ;/g;
101 s/AC_LIBOBJ\(signal\)/: ;/g; 102 s/AC_LIBOBJ\(signal\)/: ;/g;
102 s/AC_LIBOBJ\(rtsig\)/: ;/g; 103 s/AC_LIBOBJ\(rtsig\)/: ;/g;
104 print "m4_include([libev.m4])\n" if /^AC_OUTPUT/;
103 print; 105 print;
104' <$LE/configure.in >configure.in 106' <$LE/configure.in >configure.in
105 107
106aclocal-1.7 108aclocal-1.7
107automake-1.7 --add-missing 109automake-1.7 --add-missing
108autoconf 110autoconf
111autoheader
109libtoolize 112libtoolize
110CC="ccache gcc" ./configure --prefix=/opt/libev --disable-shared "$@" 113CC="ccache gcc" ./configure --prefix=/opt/libev --disable-shared "$@"
111 114
112 115

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines