summaryrefslogtreecommitdiff
path: root/ext/pdo
diff options
context:
space:
mode:
authorPeter Kokot <peterkokot@gmail.com>2019-07-14 22:24:21 +0200
committerPeter Kokot <peterkokot@gmail.com>2019-07-14 22:24:21 +0200
commit94421e5724e1942499d024ae7537a329fe426133 (patch)
tree117bfadf3088cfd4c13ab433d357c0ac40ccf450 /ext/pdo
parente39296d10bffaaf792440c82f61662268c748a93 (diff)
downloadphp-git-94421e5724e1942499d024ae7537a329fe426133.tar.gz
Remove conditional calls of always available macros
These checks were once relevant for these extensions in PECL and PHP versions without availability of the checked macros. Closes GH-4405
Diffstat (limited to 'ext/pdo')
-rw-r--r--ext/pdo/config.m412
1 files changed, 2 insertions, 10 deletions
diff --git a/ext/pdo/config.m4 b/ext/pdo/config.m4
index b8e6f4e129..9b9a3e36df 100644
--- a/ext/pdo/config.m4
+++ b/ext/pdo/config.m4
@@ -10,16 +10,8 @@ if test "$PHP_PDO" != "no"; then
PHP_PDO=yes
PHP_NEW_EXTENSION(pdo, pdo.c pdo_dbh.c pdo_stmt.c pdo_sql_parser.c pdo_sqlstate.c, $ext_shared)
- ifdef([PHP_ADD_EXTENSION_DEP],
- [
- PHP_ADD_EXTENSION_DEP(pdo, spl, true)
- ])
-
- ifdef([PHP_INSTALL_HEADERS],
- [
- dnl Sadly, this is a complete NOP for pecl extensions
- PHP_INSTALL_HEADERS(ext/pdo, [php_pdo.h php_pdo_driver.h php_pdo_error.h])
- ])
+ 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