Annotation of embedaddon/php/ext/tidy/config.w32, revision 1.1.1.1
1.1 misho 1: // $Id: config.w32 264000 2008-08-01 11:21:50Z pajoye $
2: // vim:ft=javascript
3:
4: ARG_WITH("tidy", "TIDY support", "no");
5:
6: if (PHP_TIDY != "no") {
7: if (CHECK_LIB("libtidy_a.lib;libtidy.lib", "tidy", PHP_TIDY) &&
8: (
9: CHECK_HEADER_ADD_INCLUDE("tidy.h", "CFLAGS_TIDY") ||
10: CHECK_HEADER_ADD_INCLUDE("tidy/tidy.h", "CFLAGS_TIDY", null, null, true) ||
11: CHECK_HEADER_ADD_INCLUDE("libtidy/tidy.h", "CFLAGS_TIDY", null, null, true)
12: )) {
13: EXTENSION("tidy", "tidy.c");
14: AC_DEFINE('HAVE_TIDY', 1, 'Have TIDY library');
15: if (!PHP_TIDY_SHARED) {
16: ADD_DEF_FILE("ext\\tidy\\php_tidy.def");
17: }
18: } else {
19: WARNING("tidy not enabled; libraries and headers not found");
20: }
21: }
22:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>