mirror of
https://github.com/php/php-src.git
synced 2024-09-21 09:57:23 +00:00
52dba99d47
This syncs the installed sapi and extension headers on *nix and Windows systems by installing only what is intended outside of php-src. - ext/gd: without gd_arginfo.h and gd_compat.h - ext/hash: php_hash_joaat.h and php_hash_fnv.h added also on Windows installation; xxhash/xxhash.h added on both installations as it is included in php_hash_xxhash.h; Include path for xxhash.h changed to relative so the php_hash_xxhash.h can be included outside of php-src; Redundant include flags removed - ext/iconv: without iconv_arginfo.h - ext/mysqli: mysqli_mysqlnd.h was missing on Windows - ext/phar: php_phar.h was missing on Windows - ext/sodium: php_libsodium.h was missing on *nix - ext/xml: without xml_arginfo.h - sapi/cli: cli.h was missing on Windows Closes GH-13210 Closes GH-13213
19 lines
554 B
Plaintext
19 lines
554 B
Plaintext
PHP_ARG_ENABLE([pdo],
|
|
[whether to enable PDO support],
|
|
[AS_HELP_STRING([--disable-pdo],
|
|
[Disable PHP Data Objects support])],
|
|
[yes])
|
|
|
|
if test "$PHP_PDO" != "no"; then
|
|
|
|
dnl Make sure $PHP_PDO is 'yes' when it's not 'no' :)
|
|
PHP_PDO=yes
|
|
|
|
PHP_NEW_EXTENSION(pdo, pdo.c pdo_dbh.c pdo_stmt.c pdo_sql_parser.c pdo_sqlstate.c, $ext_shared)
|
|
PHP_ADD_EXTENSION_DEP(pdo, spl, true)
|
|
PHP_INSTALL_HEADERS([ext/pdo], [php_pdo.h php_pdo_driver.h php_pdo_error.h])
|
|
|
|
dnl so we always include the known-good working hack.
|
|
PHP_ADD_MAKEFILE_FRAGMENT
|
|
fi
|