mirror of
https://github.com/php/php-src.git
synced 2024-11-23 18:04:36 +08:00
8d3f8ca12a
The $Id$ keywords were used in Subversion where they can be substituted with filename, last revision number change, last changed date, and last user who changed it. In Git this functionality is different and can be done with Git attribute ident. These need to be defined manually for each file in the .gitattributes file and are afterwards replaced with 40-character hexadecimal blob object name which is based only on the particular file contents. This patch simplifies handling of $Id$ keywords by removing them since they are not used anymore.
12 lines
475 B
JavaScript
12 lines
475 B
JavaScript
// vim:ft=javascript
|
|
|
|
ARG_WITH("gettext", "gettext support", "no");
|
|
|
|
if (PHP_GETTEXT != "no") {
|
|
if (CHECK_LIB("libintl_a.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 -DHAVE_DCNGETTEXT=1");
|
|
} else {
|
|
WARNING("gettext not enabled; libraries and headers not found");
|
|
}
|
|
}
|