php-src/ext/gettext/config.w32

13 lines
483 B
Plaintext
Raw Normal View History

// $Id$
// vim:ft=javascript
ARG_WITH("gettext", "gettext support", "no");
if (PHP_GETTEXT != "no") {
2008-08-02 05:20:08 +08:00
if (CHECK_LIB("libintl_a.lib;libintl.lib", "gettext", PHP_GETTEXT) && CHECK_HEADER_ADD_INCLUDE("libintl.h", "CFLAGS_GETTEXT")) {
2006-04-10 07:14:47 +08:00
EXTENSION("gettext", "gettext.c", PHP_GETTEXT_SHARED, "-DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_DNGETTEXT=1 -DHAVE_NGETTEXT=1 -DHAVE_LIBINTL=1 -DHAVE_DCNGETTEXT=1");
} else {
WARNING("gettext not enabled; libraries and headers not found");
}
}