Sha256: 32b30e8812507b75f0de9ec5845f5ac39c96607c39ebd95508f81acc1baacff2

Contents?: true

Size: 819 Bytes

Versions: 10

Compression:

Stored size: 819 Bytes

Contents

AC_INIT
AC_CONFIG_SRCDIR([src/ev_dispatch.cc])

AM_INIT_AUTOMAKE(libdispatch,0.1)
AC_CONFIG_HEADERS([config.h])
AM_MAINTAINER_MODE
# Checks for programs.
AC_PROG_CC
AC_PROG_CXX

# set C++ compiling and linkage
AC_LANG(C++)

AC_PROG_INSTALL
AC_PROG_LIBTOOL

if test "x$GCC" = xyes ; then
  CXXFLAGS="$CXXFLAGS -O3"
fi
libev=`pwd`/libev-3.2/
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])

AC_CONFIG_FILES([Makefile src/Makefile test/Makefile])
AC_OUTPUT

if( ! test -d ${libev}/.libs ); then
  echo "Building libev... in ${libev}";
  cd $libev;
  ./configure;
  make;
fi

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
evdispatch-0.1.4 ext/revdispatch/libdispatch-0.1/configure.ac
evdispatch-0.1.1 ext/revdispatch/libdispatch-0.1/configure.ac
evdispatch-0.1.2 ext/revdispatch/libdispatch-0.1/configure.ac
evdispatch-0.1.3 ext/revdispatch/libdispatch-0.1/configure.ac
evdispatch-0.2.2 ext/revdispatch/libdispatch-0.1/configure.ac
evdispatch-0.2.0 ext/revdispatch/libdispatch-0.1/configure.ac
evdispatch-0.2.4 ext/revdispatch/libdispatch-0.1/configure.ac
evdispatch-0.2.1 ext/revdispatch/libdispatch-0.1/configure.ac
evdispatch-0.2.5 ext/revdispatch/libdispatch-0.1/configure.ac
evdispatch-0.1.5 ext/revdispatch/libdispatch-0.1/configure.ac