ext/revdispatch/libdispatch-0.1/configure.ac in evdispatch-0.2.6 vs ext/revdispatch/libdispatch-0.1/configure.ac in evdispatch-0.3.0

- old
+ new

@@ -15,25 +15,28 @@ AC_PROG_LIBTOOL if test "x$GCC" = xyes ; then CXXFLAGS="$CXXFLAGS -O3" fi +#if( test `uname -m | grep -ci i386 ` && test `uname | grep -ci darwin`); then +# CXXFLAGS="$CXXFLAGS -arch ppc -arch i386" +#fi libev=`pwd`/libev-3.31/ AC_SUBST(LIBEV_PATH,$libev) AC_CHECK_HEADERS(curl/curl.h) # TODO: abort if the libcurl version isn't met AC_CHECK_TYPES([curl_socket_t],[],["libcurl is too old!"],[#include "curl/curl.h"]) AC_CHECK_PROGS([curl-config]) # include libev's m4 macros for config.h -m4_include([libev-3.2/libev.m4]) +m4_include([libev-3.31/libev.m4]) AC_CONFIG_FILES([Makefile src/Makefile test/Makefile]) AC_OUTPUT if( ! test -d ${libev}/.libs ); then echo "Building libev... in ${libev}"; cd $libev; - ./configure; + ./configure --disable-shared; make; fi