xref: /PHP-5.3/ext/gettext/config.w32 (revision 884aff3a)
1// $Id$
2// vim:ft=javascript
3
4ARG_WITH("gettext", "gettext support", "no");
5
6if (PHP_GETTEXT != "no") {
7	if (CHECK_LIB("libintl_a.lib;libintl.lib", "gettext", PHP_GETTEXT) && CHECK_HEADER_ADD_INCLUDE("libintl.h", "CFLAGS_GETTEXT")) {
8		EXTENSION("gettext", "gettext.c", PHP_GETTEXT_SHARED, "-DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_DNGETTEXT=1 -DHAVE_NGETTEXT=1 -DHAVE_LIBINTL=1 -DHAVE_DCNGETTEXT=1");
9	} else {
10		WARNING("gettext not enabled; libraries and headers not found");
11	}
12}
13