Skip to content

Instantly share code, notes, and snippets.

@mkoppanen
Forked from caioceccon/gist:704329
Created November 17, 2010 23:26
Show Gist options
  • Save mkoppanen/704335 to your computer and use it in GitHub Desktop.
Save mkoppanen/704335 to your computer and use it in GitHub Desktop.
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,[ ])
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment