mirror of
https://github.com/php/php-src.git
synced 2024-11-26 11:23:47 +08:00
66fa4e74ea
#27269 php_gettext.dll extension will not load
13 lines
449 B
JavaScript
13 lines
449 B
JavaScript
// $Id$
|
|
// vim:ft=javascript
|
|
|
|
ARG_WITH("gettext", "gettext support", "no");
|
|
|
|
if (PHP_GETTEXT != "no") {
|
|
if (CHECK_LIB("libintl.lib", "gettext", PHP_GETTEXT) && CHECK_HEADER_ADD_INCLUDE("libintl.h", "CFLAGS_GETTEXT")) {
|
|
EXTENSION("gettext", "gettext.c", PHP_GETTEXT_SHARED, "-DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_DNGETTEXT=1 -DHAVE_NGETTEXT=1 -DHAVE_LIBINTL=1");
|
|
} else {
|
|
WARNING("gettext not enabled; libraries and headers not found");
|
|
}
|
|
}
|