evdispatch 0.2.6 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +4 -0
- data/Manifest.txt +3 -0
- data/ext/revdispatch/extconf.rb +12 -18
- data/ext/revdispatch/libdispatch-0.1/Makefile.in +76 -62
- data/ext/revdispatch/libdispatch-0.1/aclocal.m4 +94 -82
- data/ext/revdispatch/libdispatch-0.1/configure +4065 -3519
- data/ext/revdispatch/libdispatch-0.1/configure.ac +5 -2
- data/ext/revdispatch/libdispatch-0.1/libev-3.31/Makefile.in +233 -172
- data/ext/revdispatch/libdispatch-0.1/libev-3.31/aclocal.m4 +6412 -6387
- data/ext/revdispatch/libdispatch-0.1/libev-3.31/configure +249 -134
- data/ext/revdispatch/libdispatch-0.1/src/Makefile.in +73 -60
- data/ext/revdispatch/libdispatch-0.1/src/ev_dispatch.cc +1 -1
- data/ext/revdispatch/libdispatch-0.1/src/ev_http.cc +1 -1
- data/ext/revdispatch/libdispatch-0.1/test/Makefile.in +114 -85
- data/ext/revdispatch/revdispatch.cc +136 -40
- data/ext/revdispatch/rhttp.cc +60 -0
- data/ext/revdispatch/rhttp.h +30 -0
- data/ext/revdispatch/stest.rb +47 -20
- data/ext/revdispatch/util.h +26 -0
- data/lib/evdispatch/version.rb +2 -2
- data/test/test_evdispatch.rb +30 -1
- data/website/index.html +8 -2
- data/website/index.txt +7 -1
- metadata +5 -2
@@ -17,6 +17,9 @@ AC_PROG_LIBTOOL
|
|
17
17
|
if test "x$GCC" = xyes ; then
|
18
18
|
CXXFLAGS="$CXXFLAGS -O3"
|
19
19
|
fi
|
20
|
+
#if( test `uname -m | grep -ci i386 ` && test `uname | grep -ci darwin`); then
|
21
|
+
# CXXFLAGS="$CXXFLAGS -arch ppc -arch i386"
|
22
|
+
#fi
|
20
23
|
libev=`pwd`/libev-3.31/
|
21
24
|
AC_SUBST(LIBEV_PATH,$libev)
|
22
25
|
|
@@ -26,7 +29,7 @@ AC_CHECK_TYPES([curl_socket_t],[],["libcurl is too old!"],[#include "curl/curl.h
|
|
26
29
|
AC_CHECK_PROGS([curl-config])
|
27
30
|
|
28
31
|
# include libev's m4 macros for config.h
|
29
|
-
m4_include([libev-3.
|
32
|
+
m4_include([libev-3.31/libev.m4])
|
30
33
|
|
31
34
|
AC_CONFIG_FILES([Makefile src/Makefile test/Makefile])
|
32
35
|
AC_OUTPUT
|
@@ -34,6 +37,6 @@ AC_OUTPUT
|
|
34
37
|
if( ! test -d ${libev}/.libs ); then
|
35
38
|
echo "Building libev... in ${libev}";
|
36
39
|
cd $libev;
|
37
|
-
./configure;
|
40
|
+
./configure --disable-shared;
|
38
41
|
make;
|
39
42
|
fi
|