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