mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02:00
Remove unsynced and unused HAVE_<extension> defines (#14233)
This syncs build system gaps of some extensions' definitions being defined on Windows and some on *nix. These are not used anywhere and are only defined in some build system and not the other: * HAVE_INTL (was present only on Windows) * HAVE_PDO_DBLIB (was present only on Autotools) * HAVE_PDO_FIREBIRD (was present only on Autotools) * HAVE_TOKENIZER (was present only on Windows)
This commit is contained in:
parent
dde5c65bfd
commit
09d0e38ecf
4 changed files with 0 additions and 4 deletions
|
@ -126,7 +126,6 @@ if (PHP_INTL != "no") {
|
|||
}
|
||||
|
||||
ADD_FLAG("CFLAGS_INTL", "/EHsc /DUNISTR_FROM_CHAR_EXPLICIT=explicit /DUNISTR_FROM_STRING_EXPLICIT=explicit /DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 /DU_HIDE_OBSOLETE_UTF_OLD_H=1");
|
||||
AC_DEFINE("HAVE_INTL", 1, "Internationalization support enabled");
|
||||
} else {
|
||||
WARNING("intl not enabled; libraries and/or headers not found");
|
||||
}
|
||||
|
|
|
@ -45,7 +45,6 @@ if test "$PHP_PDO_DBLIB" != "no"; then
|
|||
|
||||
PDO_DBLIB_DEFS="-DPDO_DBLIB_FLAVOUR=\\\"freetds\\\""
|
||||
PHP_NEW_EXTENSION(pdo_dblib, pdo_dblib.c dblib_driver.c dblib_stmt.c, $ext_shared,,-I$pdo_cv_inc_path $PDO_DBLIB_DEFS -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1)
|
||||
AC_DEFINE(HAVE_PDO_DBLIB,1,[ ])
|
||||
PHP_SUBST(PDO_DBLIB_SHARED_LIBADD)
|
||||
|
||||
PHP_ADD_EXTENSION_DEP(pdo_dblib, pdo)
|
||||
|
|
|
@ -60,7 +60,6 @@ if test "$PHP_PDO_FIREBIRD" != "no"; then
|
|||
|
||||
PHP_CHECK_PDO_INCLUDES
|
||||
|
||||
AC_DEFINE(HAVE_PDO_FIREBIRD,1,[ ])
|
||||
PHP_NEW_EXTENSION(pdo_firebird, pdo_firebird.c firebird_driver.c firebird_statement.c, $ext_shared,,-I$pdo_cv_inc_path)
|
||||
PHP_SUBST(PDO_FIREBIRD_SHARED_LIBADD)
|
||||
PHP_ADD_EXTENSION_DEP(pdo_firebird, pdo)
|
||||
|
|
|
@ -4,5 +4,4 @@ ARG_ENABLE("tokenizer", "tokenizer support", "yes");
|
|||
|
||||
if (PHP_TOKENIZER == "yes") {
|
||||
EXTENSION("tokenizer", "tokenizer.c tokenizer_data.c");
|
||||
AC_DEFINE("HAVE_TOKENIZER", 1, "Tokenizer support");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue