[php-src] PR #14963: Check for iODBC and unixODBC with pkg-config in PDO_ODBC
| From: | NattyNarwhal | Date: | Mon, 15 Jul 2024 17:51:47 +0000 |
| Subject: | [php-src] PR #14963: Check for iODBC and unixODBC with pkg-config in PDO_ODBC | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-27260@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/14963
Author: NattyNarwhal
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.