Annotation of embedaddon/php/ext/enchant/config.w32, revision 1.1.1.1
1.1 misho 1: // $Id: config.w32 289372 2009-10-08 20:59:50Z pajoye $
2: // vim:ft=javascript
3:
4: ARG_WITH("enchant", "Enchant Support", "no");
5:
6: if (PHP_ENCHANT == "yes") {
7: if (CHECK_HEADER_ADD_INCLUDE("enchant.h", "CFLAGS_ENCHANT", PHP_ENCHANT+ ";" + PHP_PHP_BUILD + "\\include\\enchant") &&
8: CHECK_HEADER_ADD_INCLUDE("glib.h", "CFLAGS_ENCHANT", PHP_ENCHANT+ ";" + PHP_PHP_BUILD + "\\include\\glib-2.0") &&
9: CHECK_LIB("libenchant.lib", "enchant", PHP_ENCHANT) ) {
10: EXTENSION("enchant", "enchant.c");
11: AC_DEFINE('HAVE_ENCHANT', 1, 'Have Enchant support', false);
12: AC_DEFINE('HAVE_ENCHANT_BROKER_SET_PARAM', 1);
13: ADD_FLAG("CFLAG_ENCHANT", "/D _WIN32");
14: } else {
15: WARNING('Could not find enchant.h; skipping');
16: }
17: }
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>