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

This partially syncs help texts a bit further for: - ext/ffi - ext/ldap - ext/opcache - ext/pcre - ext/pdo_mysql - ext/readline - ext/standard
18 lines
1.3 KiB
JavaScript
18 lines
1.3 KiB
JavaScript
// vim:ft=javascript
|
|
|
|
EXTENSION("pcre", "php_pcre.c", false /* never shared */,
|
|
"-Iext/pcre/pcre2lib -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1");
|
|
ADD_SOURCES("ext/pcre/pcre2lib", "pcre2_auto_possess.c pcre2_chartables.c pcre2_compile.c pcre2_config.c pcre2_context.c pcre2_chkdint.c pcre2_dfa_match.c pcre2_error.c pcre2_jit_compile.c pcre2_maketables.c pcre2_match.c pcre2_match_data.c pcre2_newline.c pcre2_ord2utf.c pcre2_pattern_info.c pcre2_serialize.c pcre2_string_utils.c pcre2_study.c pcre2_substitute.c pcre2_substring.c pcre2_tables.c pcre2_ucd.c pcre2_valid_utf.c pcre2_xclass.c pcre2_find_bracket.c pcre2_convert.c pcre2_extuni.c pcre2_script_run.c", "pcre");
|
|
ADD_DEF_FILE("ext\\pcre\\php_pcre.def");
|
|
|
|
AC_DEFINE('HAVE_BUNDLED_PCRE', 1, 'Define to 1 if PHP uses the bundled PCRE library.');
|
|
AC_DEFINE('PCRE2_CODE_UNIT_WIDTH', 8, 'Number of bits in non-UTF mode for PCRE library.');
|
|
AC_DEFINE("PCRE2_STATIC", 1, "Define to 1 if PCRE library is built statically.");
|
|
PHP_PCRE="yes";
|
|
PHP_INSTALL_HEADERS("ext/pcre", "php_pcre.h pcre2lib/");
|
|
ADD_FLAG("CFLAGS_PCRE", " /D HAVE_CONFIG_H /D HAVE_MEMMOVE");
|
|
|
|
ARG_WITH("pcre-jit", "Enable PCRE JIT support", "yes");
|
|
if (PHP_PCRE_JIT != "no") {
|
|
AC_DEFINE('HAVE_PCRE_JIT_SUPPORT', 1, 'Define to 1 if PCRE JIT is enabled and supported.');
|
|
}
|