Skip to content

Instantly share code, notes, and snippets.

Avatar

Mikko Koppanen mkoppanen

View GitHub Profile
View gist:1062244
# 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
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
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,[ ])