mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
![]() * Check for iODBC and unixODBC with pkg-config in PDO_ODBC PDO_ODBC required that these backends had their path specified manually, which was clumsy and contrary to how procedural ODBC checked it. This adds a pkg-config based path to check for these backends that ignores the 'dir' part of the flag, so i.e. --with-pdo-odbc=unixODBC should pick it up from the correct location. Generic and the special ibm-db2 usecase should be unaffected. The header situation is unfortunately ugly, and has a workaround; this should also be cleaned up. * Move check for valid headers to after * Use existing CFLAGS for PDO_ODBC header check ...instead of a separate funny variable. It does mean we have to save and restore the value of CPPFLAGS, as AC_CHECK_HEADERS and friends rely on that variable instead of CFLAGS. Co-authored-by: Peter Kokot <peterkokot@gmail.com> * Move PDO_ODBC_TYPE to AC_DEFINE, simplify CFLAGS handling The variable PDO_ODBC_INCLUDE becomes redundant, as is the CFLAGS override for PHP_NEW_EXTENSION if we call PHP_EVAL_INCLINE in the generic case. Co-authored-by: Peter Kokot <peterkokot@gmail.com> * Use same variable names so evals can be combined * Fix identation * Suggested shell syntax cleanups --------- Co-authored-by: Peter Kokot <peterkokot@gmail.com> |
||
---|---|---|
.. | ||
tests | ||
config.m4 | ||
config.w32 | ||
CREDITS | ||
odbc_driver.c | ||
odbc_stmt.c | ||
pdo_odbc.c | ||
pdo_odbc.stub.php | ||
pdo_odbc_arginfo.h | ||
php_pdo_odbc.h | ||
php_pdo_odbc_int.h |