mirror of
https://github.com/php/php-src.git
synced 2025-01-10 21:14:37 +08:00
8d3f8ca12a
The $Id$ keywords were used in Subversion where they can be substituted with filename, last revision number change, last changed date, and last user who changed it. In Git this functionality is different and can be done with Git attribute ident. These need to be defined manually for each file in the .gitattributes file and are afterwards replaced with 40-character hexadecimal blob object name which is based only on the particular file contents. This patch simplifies handling of $Id$ keywords by removing them since they are not used anymore.
24 lines
854 B
JavaScript
24 lines
854 B
JavaScript
// vim:ft=javascript
|
|
|
|
ARG_WITH("pdo-pgsql", "PostgreSQL support for PDO", "no");
|
|
|
|
if (PHP_PDO_PGSQL != "no") {
|
|
if (CHECK_LIB("libpq.lib", "pdo_pgsql", PHP_PDO_PGSQL) &&
|
|
CHECK_HEADER_ADD_INCLUDE("libpq-fe.h", "CFLAGS_PDO_PGSQL", PHP_PDO_PGSQL + ";" + PHP_PHP_BUILD + "\\include\\pgsql;" + PHP_PHP_BUILD + "\\include\\libpq;")) {
|
|
EXTENSION("pdo_pgsql", "pdo_pgsql.c pgsql_driver.c pgsql_statement.c");
|
|
|
|
if (CHECK_HEADER_ADD_INCLUDE("pg_config.h", "CFLAGS_PDO_PGSQL", PHP_PDO_PGSQL + ";" + PHP_PHP_BUILD + "\\include\\pgsql")) {
|
|
ADD_FLAG('CFLAGS_PDO_PGSQL', "/D HAVE_PG_CONFIG_H");
|
|
}
|
|
if (X64) {
|
|
ADD_FLAG('CFLAGS_PDO_PGSQL', "/D HAVE_PG_LO64=1");
|
|
}
|
|
|
|
AC_DEFINE('HAVE_PDO_PGSQL', 1, 'Have PostgreSQL library');
|
|
|
|
ADD_EXTENSION_DEP('pdo_pgsql', 'pdo');
|
|
} else {
|
|
WARNING("pdo_pgsql not enabled; libraries and headers not found");
|
|
}
|
|
}
|