Annotation of embedaddon/php/ext/bz2/config.w32, revision 1.1.1.1

1.1       misho       1: // $Id: config.w32 281934 2009-06-10 15:44:51Z pajoye $
                      2: // vim:ft=javascript
                      3: 
                      4: ARG_WITH("bz2", "BZip2", "no");
                      5: 
                      6: if (PHP_BZ2 != "no") {
                      7:        if (CHECK_LIB("libbz2_a.lib;libbz2.lib", "bz2", PHP_BZ2) &&
                      8:                        CHECK_HEADER_ADD_INCLUDE("bzlib.h", "CFLAGS_BZ2")) {
                      9:                EXTENSION("bz2", "bz2.c bz2_filter.c");
                     10:                AC_DEFINE('HAVE_BZ2', 1, 'Have BZ2 library');
                     11:                // BZ2 extension does this slightly differently from others
                     12:                if (PHP_BZ2_SHARED) {
                     13:                        ADD_FLAG("CFLAGS_BZ2", "/D PHP_BZ2_EXPORTS ");
                     14:                }
                     15:        } else {
                     16:                WARNING("bz2 not enabled; libraries and headers not found");
                     17:        }
                     18: }

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