cvs: php-src /ext/pdo config.m4
| From: | Jani Taskinen | Date: | Tue, 14 Jun 2005 13:09:24 +0000 |
| Subject: | cvs: php-src /ext/pdo config.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-32262@lists.php.net to get a copy of this message | ||
sniper Tue Jun 14 09:09:24 2005 EDT
Modified files:
/php-src/ext/pdo config.m4
Log:
If the macro exists, use it, otherwise use the Makefile.frag
http://cvs.php.net/diff.php/php-src/ext/pdo/config.m4?r1=1.14&r2=1.15&ty=u
Index: php-src/ext/pdo/config.m4
diff -u php-src/ext/pdo/config.m4:1.14 php-src/ext/pdo/config.m4:1.15
--- php-src/ext/pdo/config.m4:1.14 Sun May 29 19:16:42 2005
+++ php-src/ext/pdo/config.m4 Tue Jun 14 09:09:23 2005
@@ -1,4 +1,4 @@
-dnl $Id: config.m4,v 1.14 2005/05/29 23:16:42 sniper Exp $
+dnl $Id: config.m4,v 1.15 2005/06/14 13:09:23 sniper Exp $
dnl config.m4 for extension pdo
dnl vim:se ts=2 sw=2 et:
@@ -52,9 +52,10 @@
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