1
0
mirror of https://github.com/php/php-src.git synced 2026-04-27 18:23:26 +02:00

If the macro exists, use it, otherwise use the Makefile.frag

This commit is contained in:
foobar
2005-06-14 13:09:23 +00:00
parent aa52c68a7a
commit 23ffaecc7d
+6 -5
View File
@@ -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