diff options
author | foobar <sniper@php.net> | 2005-06-14 13:09:23 +0000 |
---|---|---|
committer | foobar <sniper@php.net> | 2005-06-14 13:09:23 +0000 |
commit | 23ffaecc7dbfd296719050c3d95e3339f6c418fb (patch) | |
tree | bb7d1a3fc26383a534d340ba5733dbaf3fe30a15 /ext/pdo | |
parent | aa52c68a7ae895c7d4bcd2680782e238677c957c (diff) | |
download | php-git-23ffaecc7dbfd296719050c3d95e3339f6c418fb.tar.gz |
If the macro exists, use it, otherwise use the Makefile.frag
Diffstat (limited to 'ext/pdo')
-rwxr-xr-x | ext/pdo/config.m4 | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/ext/pdo/config.m4 b/ext/pdo/config.m4 index 3917d80a5e..d220a2d039 100755 --- a/ext/pdo/config.m4 +++ b/ext/pdo/config.m4 @@ -52,9 +52,10 @@ for more detail on this issue. fi PHP_NEW_EXTENSION(pdo, pdo.c pdo_dbh.c pdo_stmt.c pdo_sql_parser.c pdo_sqlstate.c, $ext_shared) - dnl When we care only about PHP 5.1 and above, we'll do it this way - dnl PHP_INSTALL_HEADERS(ext/pdo, [php_pdo.h php_pdo_driver.h]) - - dnl But since that breaks everyone developing against a stable release, we'll do it this way - PHP_ADD_MAKEFILE_FRAGMENT + ifdef([PHP_INSTALL_HEADERS], + [ + PHP_INSTALL_HEADERS(ext/pdo, [php_pdo.h php_pdo_driver.h]) + ], [ + PHP_ADD_MAKEFILE_FRAGMENT + ]) fi |