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

1.1     ! misho       1: // $Id: config.w32 306344 2010-12-13 18:43:10Z pajoye $
        !             2: // vim:ft=javascript
        !             3: 
        !             4: ARG_ENABLE("sockets", "SOCKETS support", "no");
        !             5: 
        !             6: if (PHP_SOCKETS != "no") {
        !             7:        if (CHECK_LIB("ws2_32.lib", "sockets", PHP_SOCKETS)
        !             8:        && CHECK_HEADER_ADD_INCLUDE("winsock.h", "CFLAGS_SOCKETS")) {
        !             9:                EXTENSION('sockets', 'sockets.c');
        !            10:                AC_DEFINE('HAVE_SOCKETS', 1);
        !            11:                PHP_INSTALL_HEADERS("ext/sockets", "php_sockets.h");
        !            12:        } else {
        !            13:                WARNING("sockets not enabled; libraries and headers not found");
        !            14:        }
        !            15: }
        !            16: 

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