File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / ext / enchant / config.w32
Revision 1.1.1.2 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue May 29 12:34:37 2012 UTC (12 years, 1 month ago) by misho
Branches: php, MAIN
CVS tags: v5_4_3elwix, v5_4_29p0, v5_4_29, v5_4_20p0, v5_4_20, v5_4_17p0, v5_4_17, HEAD
php 5.4.3+patches

// $Id: config.w32,v 1.1.1.2 2012/05/29 12:34:37 misho Exp $
// vim:ft=javascript

ARG_WITH("enchant", "Enchant Support", "no");

if (PHP_ENCHANT == "yes") {
	if (CHECK_HEADER_ADD_INCLUDE("enchant.h", "CFLAGS_ENCHANT", PHP_ENCHANT+ ";" + PHP_PHP_BUILD + "\\include\\enchant") &&
			CHECK_HEADER_ADD_INCLUDE("glib.h", "CFLAGS_ENCHANT", PHP_ENCHANT+ ";" + PHP_PHP_BUILD + "\\include\\glib-2.0") &&
			CHECK_LIB("libenchant.lib", "enchant", PHP_ENCHANT) ) {
		EXTENSION("enchant", "enchant.c");
		AC_DEFINE('HAVE_ENCHANT', 1, 'Have Enchant support', false);
		AC_DEFINE('HAVE_ENCHANT_BROKER_SET_PARAM', 1);
		ADD_FLAG("CFLAG_ENCHANT", "/D _WIN32");
	} else {
		WARNING('Could not find enchant.h; skipping');
	}
}

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