Files
archived-pecl-event-libevent/config.w32
Anatol Belski 40c55e7be5 fix windows compilation with libevent 2.x
- get the lib bins http://windows.php.net/downloads/pecl/deps/
- the ext needs to be synced with 2.x api


git-svn-id: http://svn.php.net/repository/pecl/libevent/trunk@329817 c90b9560-bf6c-de11-be94-00142212c4b1
2013-03-18 21:57:59 +00:00

13 lines
450 B
Plaintext

ARG_WITH("libevent", "libevent support", "no");
if (PHP_LIBEVENT != "no") {
if (CHECK_HEADER_ADD_INCLUDE("event2/event.h", "CFLAGS_LIBEVENT", PHP_PHP_BUILD + "\\include;" + PHP_LIBEVENT)
&& CHECK_LIB("libevent.lib", "libevent", PHP_PHP_BUILD + "\\lib;" + PHP_LIBEVENT))
{
EXTENSION('libevent', 'libevent.c');
AC_DEFINE('HAVE_LIBEVENT', 1);
} else {
WARNING("libevent not enabled; libraries and headers not found");
}
}