View gist:1062244
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Force not to use eventfd | |
AC_ARG_ENABLE([eventfd], [AS_HELP_STRING([--disable-eventfd], [disable eventfd [default=no]])], | |
[zmq_disable_eventfd=yes], [zmq_disable_eventfd=no]) | |
if test "x$zmq_disable_eventfd" != "xyes"; then | |
# Check if we have eventfd.h header file. | |
AC_CHECK_HEADERS(sys/eventfd.h, | |
[AC_DEFINE(ZMQ_HAVE_EVENTFD, 1, [Have eventfd extension.])]) | |
fi |
View gist:704336
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PHP_ARG_ENABLE(authmail, whether to enable Auth Mail support, | |
[ --enable-authmail Enable Auth Mail support]) | |
if test "$PHP_AUTHMAIL" = "yes"; then | |
AC_DEFINE(HAVE_AUTHMAIL, 1, [Whether you have Auth Mail]) | |
PHP_NEW_EXTENSION(authmail, authmail.c, $ext_shared) | |
PHP_ADD_LIBRARY_WITH_PATH(esmtp, /usr/lib, PHP_AUTHMAIL_SHARED_LIBADD) | |
PHP_SUBST(PHP_AUTHMAIL_SHARED_LIBADD) | |
AC_DEFINE(HAVE_LIBESMTP,1,[ ]) |
View gist:704335
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PHP_ARG_ENABLE(authmail, whether to enable Auth Mail support, | |
[ --enable-authmail Enable Auth Mail support]) | |
if test "$PHP_AUTHMAIL" = "yes"; then | |
AC_DEFINE(HAVE_AUTHMAIL, 1, [Whether you have Auth Mail]) | |
PHP_NEW_EXTENSION(authmail, authmail.c, $ext_shared) | |
PHP_ADD_LIBRARY_WITH_PATH(esmtp, /usr/lib, PHP_AUTHMAIL_SHARED_LIBADD) | |
PHP_SUBST(PHP_AUTHMAIL_SHARED_LIBADD) | |
AC_DEFINE(HAVE_LIBESMTP,1,[ ]) |