mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
ad7d1a7be4
When building pdo_mysql, pdo_pgsql, or pdo_sqlite with phpize from the downloaded PHP 8.4 archive, also pdo_sql_parser.h and php_pdo_int.h need to be installed.
23 lines
560 B
Plaintext
23 lines
560 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)
|
|
PHP_INSTALL_HEADERS([ext/pdo], m4_normalize([
|
|
pdo_sql_parser.h
|
|
php_pdo_driver.h
|
|
php_pdo_error.h
|
|
php_pdo_int.h
|
|
php_pdo.h
|
|
]))
|
|
PHP_ADD_MAKEFILE_FRAGMENT
|
|
fi
|