mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02:00

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.
11 lines
475 B
JavaScript
11 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");
|
|
}
|
|
}
|