Annotation of embedaddon/php/ext/imap/config.w32, revision 1.1

1.1     ! misho       1: // $Id: config.w32 294699 2010-02-07 13:06:54Z pajoye $
        !             2: // vim:ft=javascript
        !             3: 
        !             4: ARG_WITH("imap", "IMAP Support", "no");
        !             5: 
        !             6: if (PHP_IMAP == "yes") {
        !             7:        if (CHECK_LIB("cclient_a.lib;cclient.lib", "imap") &&
        !             8:                        (CHECK_HEADER_ADD_INCLUDE("c-client.h", "CFLAGS_IMAP")||
        !             9:                        CHECK_HEADER_ADD_INCLUDE("c-client/c-client.h", "CFLAGS_IMAP", null, null, true)) ||
        !            10:                        (CHECK_HEADER_ADD_INCLUDE("utf8aux.h", "CFLAGS_IMAP")||
        !            11:                        CHECK_HEADER_ADD_INCLUDE("c-client/utf8aux.h", "CFLAGS_IMAP", null, null, true))
        !            12:                        ) {
        !            13:                CHECK_LIB("winmm.lib", "imap");
        !            14:                CHECK_LIB("ws2_32.lib", "imap");
        !            15:                CHECK_LIB("Secur32.lib", "imap");
        !            16:                CHECK_LIB("crypt32.lib", "imap");
        !            17:                EXTENSION("imap", "php_imap.c");
        !            18: 
        !            19:                ADD_FLAG("CFLAGS_IMAP", "/D HAVE_IMAP2000=1 /D HAVE_IMAP2004=1 /D HAVE_IMAP2007a=1 /D HAVE_IMAP2007b=1 /D HAVE_IMAP_SSL=1");
        !            20:                AC_DEFINE('HAVE_IMAP', 1, 'Have IMAP support', true);
        !            21:                AC_DEFINE('HAVE_NEW_MIME2TEXT', 1, 'Have utf8_mime2text', true);
        !            22:                AC_DEFINE('HAVE_RFC822_OUTPUT_ADDRESS_LIST', 1, 'Have rfc822_output_address_list', true);
        !            23:                AC_DEFINE('HAVE_IMAP_MUTF7', 1, 'Have modified utf7 support', true);
        !            24:                AC_DEFINE('HAVE_NEW_MIME2TEXT', 1, 'Whether utf8_mime2text() has new signature');
        !            25:        } else {
        !            26:                WARNING("imap not enabled; libraries and headers not found");
        !            27:        }
        !            28: }

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>