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

Comparing libev/import_libevent (file contents):
Revision 1.12 by root, Fri Dec 7 19:15:39 2007 UTC vs.
Revision 1.18 by root, Wed Dec 12 00:17:42 2007 UTC

1#!/bin/sh 1#!/bin/sh
2
3if ! [ -e evbuffer.c ]; then
4 echo do not run this programm unless you know what you are doing
5 exit 1
6fi
7
8# this program combines libev and libevent into a single package
9
10cvs update -AdP libev
11rsync -avP libev/. . --exclude CVS
2 12
3LE=../libevent-1.4.0-beta 13LE=../libevent-1.4.0-beta
4 14
5cp $LE/evdns.h . 15cp $LE/evdns.h .
6 16
91 101
92perl -ne ' 102perl -ne '
93 #s/-Wall/-Wall -Wno-comment -Wunused-function -Wno-unused-value/; 103 #s/-Wall/-Wall -Wno-comment -Wunused-function -Wno-unused-value/;
94 s/-Wall//g; 104 s/-Wall//g;
95 #s/libevent/libev/g; 105 #s/libevent/libev/g;
96 s/AM_INIT_AUTOMAKE\s*\(.*,(.*)\)/AM_INIT_AUTOMAKE(libevent-$1+libev,1.7)/; 106 s/AM_INIT_AUTOMAKE\s*\(.*,(.*)\)/AM_INIT_AUTOMAKE(libevent-$1+libev,1.81)/;
97 s/AC_LIBOBJ\(select\)/: ;/g; 107 s/AC_LIBOBJ\(select\)/: ;/g;
98 s/AC_LIBOBJ\(poll\)/: ;/g; 108 s/AC_LIBOBJ\(poll\)/: ;/g;
99 s/AC_LIBOBJ\(kqueue\)/: ;/g; 109 s/AC_LIBOBJ\(kqueue\)/: ;/g;
100 s/AC_LIBOBJ\(epoll\)/: ;/g; 110 s/AC_LIBOBJ\(epoll\)/: ;/g;
101 s/AC_LIBOBJ\(devpoll\)/: ;/g; 111 s/AC_LIBOBJ\(devpoll\)/: ;/g;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines