disclaimer in the documentation and/or other materials provided
with the distribution.
- * The name of the author may not be used to endorse or promote
- products derived from this software without specific prior written
- permission.
-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-NOTE: the core parts of this library are under the so-called 2-clause
-BSD style license, which is compatible with this one, but lacks the
-restriction that you must not use the name of the author(s) of those parts
-to endorse any product. So feel free to use the authors name and any
-others that helped write the core parts :)
-
-Additionally, if you embed libev, care has been taken that all embeddable
-parts are under the 2-clause BSD license as well.
-
--- /dev/null
+AUTOMAKE_OPTIONS = foreign no-dependencies
+
+VERSION_INFO = 1:0
+
+EXTRA_DIST = LICENSE libev.m4 autogen.sh \
+ ev.h ev_vars.h ev_wrap.h event_compat.h ev++.h event.h \
+ ev_epoll.c ev_select.c ev_poll.c ev_kqueue.c ev_port.c ev_win32.c \
+ ev.3 ev.pod
+
+man_MANS = ev.3
+
+include_HEADERS = ev.h event_compat.h ev++.h event.h
+
+lib_LTLIBRARIES = libev.la
+
+libev_la_SOURCES = ev.c event.c
+libev_la_LDFLAGS = -version-info $(VERSION_INFO)
+
Homepage: http://software.schmorp.de/pkg/libev
E-Mail: libev@lists.schmorp.de
+ Library Documentation: http://pod.tst.eu/http://cvs.schmorp.de/libev/ev.pod
- It is modelled (very losely) after libevent
- (http://monkey.org/~provos/libevent/) and the Event perl module, but aims
- to be faster and more correct, and also more featureful.
+ It is modelled (very losely) after libevent and the Event perl module,
+ but aims to be faster and more correct, and also more featureful. And
+ also smaller. Yay.
ABOUT THIS DISTRIBUTION
- If you downloaded a distribution of libev, you will find it looks
- very much like libevent. In fact, the distributed libev tarballs are
- indeed libevent tarballs patched up with the libev event core, taking
- the evbuffer, evtag, evdns and evhttpd parts from libevent (they use
- the libevent emulation inside libev). Configure and Makefile stuff is
- also a more or less direct copy of libevent, and are maintained by the
- libevent authors.
+ If you downloaded the libevent+libev distribution of libev, you will
+ find it looks very much like libevent. In fact, the distributed libev
+ tarballs are indeed libevent tarballs patched up with the libev
+ event core, taking the evbuffer, evtag, evdns and evhttpd parts from
+ libevent (they use the libevent emulation inside libev). Configure and
+ Makefile stuff is also a more or less direct copy of libevent, and are
+ maintained by the libevent authors.
+
+ If you downloaded the libev distribution (without libevent), then
+ you only get the core parts of the library, meaning http and dns
+ client/server code and similar things are missing. Only the core event
+ loop is included.
If you are looking for an easily embeddable version, I recommend using
- the CVS repository (linked from the homepage, above), which contains
- only the libev core parts.
+ the libev standalone distribution or the CVS repository.
Examples of programs that embed libev: the EV perl module,
rxvt-unicode, gvpe (GNU Virtual Private Ethernet) and deliantra
--- /dev/null
+#!/bin/sh
+
+libtoolize --force
+automake --add-missing
+autoreconf
+
--- /dev/null
+AC_INIT(ev_epoll.c)
+
+AM_INIT_AUTOMAKE(libev,1.85)
+AM_CONFIG_HEADER(config.h)
+AM_MAINTAINER_MODE
+
+AC_PROG_CC
+AC_PROG_INSTALL
+AC_PROG_LIBTOOL
+
+if test "x$GCC" = xyes ; then
+ CFLAGS="$CFLAGS -O3"
+fi
+
+m4_include([libev.m4])
+
+AC_OUTPUT(Makefile)
# define EV_PROTOTYPES 1
#endif
-#define EV_VERSION_MAJOR 2
+#define EV_VERSION_MAJOR 1
#define EV_VERSION_MINOR 0
#ifndef EV_CB_DECLARE
cvs update -AdP libev
rsync -avP libev/. . --exclude CVS
+rm -f configure.ac
+mv LICENSE.libevent LICENSE
+
LE=../libevent-1.4.0-beta
cp $LE/evdns.h .
s/\bevent-internal.h\b//g;
s/\bevsignal.h\b//g;
s/^(man_MANS\s*=)/$1 ev.3 /;
- 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 /;
+ s/^(EXTRA_DIST\s*=)/$1 LICENSE 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 /;
s/^(include_HEADERS\s*=)/$1 ev.h event_compat.h ev++.h /;
s/^(CORE_SRC\s*=)/$1 ev.c /;
s/^(SYS_LIBS\s*=)/$1 -lm /;