#
dfdec2d5 |
| 08-Sep-2024 |
Peter Kokot |
Autotools: Refactor PHP_TEST_BUILD checks (#15798) - The libgd sanity check is there only to check whether all current linked libraries for the bundled libgd work together, otherwise i
Autotools: Refactor PHP_TEST_BUILD checks (#15798) - The libgd sanity check is there only to check whether all current linked libraries for the bundled libgd work together, otherwise it is probably even redundant a bit; this refactors it to a simpler AC_LINK_IFELSE check with default empty C program by Autoconf - The IBM DB2 sanity check is simplified with AC_CHECK_FUNC instead
show more ...
|
#
b7db7708 |
| 30-Aug-2024 |
Peter Kokot |
Autotools: Refactor ODBC type checks (#15651) - AS_VAR_IF macros used - All check messages moved to the PHP_ARG_WITH 2nd argument and results simplified where possible (the ext_out
Autotools: Refactor ODBC type checks (#15651) - AS_VAR_IF macros used - All check messages moved to the PHP_ARG_WITH 2nd argument and results simplified where possible (the ext_output variable and result message is done automatically when using PHP_ARG_* macros) - Unusued ODBC_SHARED and ODBC_STATIC shell variables for DBMaker removed - Help text for --with-unixodbc (and/or --with-unixODBC) configure option synced with current Autotools code. It is still possible to bypass the pkg-config search with optional DIR argument
show more ...
|
#
0a6019a7 |
| 29-Aug-2024 |
Peter Kokot |
Autotools: Use SED variable for sed command (#15641) This syncs sed usages across the build system as SED variable is set to a suitable sed program on the system.
|
#
8aaedbf9 |
| 28-Aug-2024 |
Peter Kokot |
Autotools: Sync CS in ext/odbc (#15625) - Obsolete backticks replaced with $(...); also backticks used inside AC_MSG_RESULT result in literal output. The $(...) works as intended
Autotools: Sync CS in ext/odbc (#15625) - Obsolete backticks replaced with $(...); also backticks used inside AC_MSG_RESULT result in literal output. The $(...) works as intended and is executed in the shell with proper result message given - A couple of AS_VAR_IF used - Macro arguments quoted - Added simplistic macro definitions headers as done with other php-src M4 headers for consistency of reading the code
show more ...
|
#
bb35da33 |
| 11-Aug-2024 |
Peter Kokot |
Autotools: Sync CS in extensions (#15343) - Redundant double quotes removed - AS_* macros used - Few nits adjusted here and there
|
#
31f25649 |
| 05-Aug-2024 |
Peter Kokot |
Add and update ext/odbc preprocessor macros help texts (#15223)
|
#
f16ab751 |
| 04-Aug-2024 |
Peter Kokot |
Refactor HAVE_SQLDATASOURCES check (#15222) On Windows, this preprocessor macro is moved to odbc extension, in Autotools check CS is synced and some basic help text is added.
|
#
dcdcb3cb |
| 04-Aug-2024 |
Peter Kokot |
Autotools: Replace AC_MSG_ERROR with AC_MSG_FAILURE (#15209) This replaces the AC_MSG_ERROR with AC_MSG_FAILURE, where appropriate. The AC_MSG_ERROR outputs given message and exits
Autotools: Replace AC_MSG_ERROR with AC_MSG_FAILURE (#15209) This replaces the AC_MSG_ERROR with AC_MSG_FAILURE, where appropriate. The AC_MSG_ERROR outputs given message and exits the configure step. The AC_MSG_FAILURE does the same but also automatically outputs additional message "See 'config.log' for more details." which might help directing the user where to look further. The AC_MSG_ERROR is used for errors where current test step isn't logged in the config.log and wouldn't make sense, and AC_MSG_FAILURE is mostly used in cases of library checks, compilation tests, headers checked with AC_CHECK_HEADER* and similar tests that are also logged in the config.log. AC_MSG_ERROR([Sanity check failed.]) output: ``` configure: error: Sanity check failed. ``` AC_MSG_FAILURE([Sanity check failed.]) output: ``` configure: error: in '/path/to/php-src': configure: error: Sanity check failed. See 'config.log' for more details ```
show more ...
|
#
f66feaec |
| 01-Aug-2024 |
Peter Kokot |
Sync HAVE_<extension> help texts (#15167) This syncs all help texts of extension preprocessor macros to the same style "Define to 1 if the PHP extension '<ext>' is available.". [skip
Sync HAVE_<extension> help texts (#15167) This syncs all help texts of extension preprocessor macros to the same style "Define to 1 if the PHP extension '<ext>' is available.". [skip ci]
show more ...
|
#
1ceadaed |
| 28-Jul-2024 |
Peter Kokot |
Autotools: Normalize and quote all PHP_NEW_EXTENSION arguments (#15144) This adds Autoconf quote characters to all PHP_NEW_EXTENSION arguments and syncs the CS across the php-src Autotoo
Autotools: Normalize and quote all PHP_NEW_EXTENSION arguments (#15144) This adds Autoconf quote characters to all PHP_NEW_EXTENSION arguments and syncs the CS across the php-src Autotools build system.
show more ...
|
#
ff4b99e2 |
| 26-Jul-2024 |
Peter Kokot |
Autotools: Quote PHP_ADD_LIB* arguments (#15112) Following previous CS syncs, this quotes arguments in PHP_ADD_LIB* M4 macros: - PHP_ADD_LIBRARY - PHP_ADD_LIBRARY_WITH_PATH -
Autotools: Quote PHP_ADD_LIB* arguments (#15112) Following previous CS syncs, this quotes arguments in PHP_ADD_LIB* M4 macros: - PHP_ADD_LIBRARY - PHP_ADD_LIBRARY_WITH_PATH - PHP_ADD_LIBPATH
show more ...
|
#
97afc864 |
| 20-Jul-2024 |
Peter Kokot |
Autotools: Quote M4 arguments (#15045) - AC_MSG_CHECKING - AC_MSG_RESULT - AC_MSG_WARN - AC_MSG_ERROR - AC_MSG_NOTICE
|
#
68ae4777 |
| 20-Jul-2024 |
Peter Kokot |
Autotools: Quote M4 arguments (#15033) - PHP_ADD_INCLUDE - PHP_EVAL_INCLINE - PHP_EVAL_LIBLINE
|
#
e9a9a2bf |
| 01-Jul-2024 |
Peter Kokot |
Autotools: Sync PHP_SUBST in ext/odbc (#14749) - Argument quoted - ODBC_INCDIR and ODBC_LIBDIR are not used in the generated Makefile
|
#
604e0a7b |
| 25-Jun-2024 |
Peter Kokot |
Fix negation in shell tests (#14662) According to documentation the `if test ! ...` is preferred to `if ! test ...`. The later is not portable: https://www.gnu.org/software/autoconf/
Fix negation in shell tests (#14662) According to documentation the `if test ! ...` is preferred to `if ! test ...`. The later is not portable: https://www.gnu.org/software/autoconf/manual/autoconf-2.72/autoconf.html
show more ...
|
#
6fed6d85 |
| 18-Apr-2024 |
Peter Kokot |
Use AC_SUBST instead of PHP_SUBST_OLD where possible (#13993) The PHP_SUBST_OLD adds variables to generated Makefile and creates output shell variables to replace the @variable_name@ pla
Use AC_SUBST instead of PHP_SUBST_OLD where possible (#13993) The PHP_SUBST_OLD adds variables to generated Makefile and creates output shell variables to replace the @variable_name@ placeholders in templates. These changed variables are not used in the generated Makefile so the AC_SUBST is sufficient. - ext/odbc - sapi/embed - sapi/fpm - only substituted in scripts/php-config.in: - PHP_INSTALLED_SAPIS - SAPI_LIBNAME_SHARED - SAPI_LIBNAME_STATIC
show more ...
|
#
42a4e505 |
| 01-Mar-2024 |
Peter Kokot |
Sync logical operators in shell scripting code (#13560) This updates the obsolescent `-a` and `-o` binary primaries to `&&` and `||`. https://pubs.opengroup.org/onlinepubs/96999
Sync logical operators in shell scripting code (#13560) This updates the obsolescent `-a` and `-o` binary primaries to `&&` and `||`. https://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html
show more ...
|
#
3b73db61 |
| 08-Jan-2024 |
Peter Kokot |
Remove unused symbol HAVE_ODBC2 (#13088)
|
#
07a4f89c |
| 11-Dec-2023 |
Peter Kokot |
Sync ODBC version (#12922) When passing `--without-odbcver` or `--with-odbcver=no` to configure, the ODBC version has been designed to be highest supported version (0x0350). This syn
Sync ODBC version (#12922) When passing `--without-odbcver` or `--with-odbcver=no` to configure, the ODBC version has been designed to be highest supported version (0x0350). This syncs the behavior with the Windows build system.
show more ...
|
#
5c523edf |
| 21-Nov-2023 |
Peter Kokot |
Remove obsolete IRIX checks (#12737) IRIX is a discontinued and closed-source OS with last release in 2006.
|
Revision tags: php-8.2.0RC1, php-8.1.10, php-8.0.23, php-8.0.23RC1, php-8.1.10RC1, php-8.2.0beta3, php-8.2.0beta2, php-8.1.9, php-8.0.22, php-8.1.9RC1, php-8.2.0beta1, php-8.0.22RC1, php-8.0.21, php-8.1.8, php-8.2.0alpha3, php-8.1.8RC1, php-8.2.0alpha2, php-8.0.21RC1, php-8.0.20, php-8.1.7, php-8.2.0alpha1, php-7.4.30, php-8.1.7RC1, php-8.0.20RC1, php-8.1.6, php-8.0.19, php-8.1.6RC1, php-8.0.19RC1 |
|
#
2920a266 |
| 22-Apr-2022 |
Calvin Buckley |
Quote when adding to connection string in (PDO_)ODBC Because the UID= and PWD= values are appended to the SQLDriverConnect case when credentials are passed, we have to append them to the
Quote when adding to connection string in (PDO_)ODBC Because the UID= and PWD= values are appended to the SQLDriverConnect case when credentials are passed, we have to append them to the string in case users are relying on this behaviour. However, they must be quoted, or the arguments will be invalid (or possibly more injected). This means users had to quote arguments or append credentials to the raw connection string themselves. It seems that ODBC quoting rules are consistent enough (and that Microsoft trusts them enough to encode into the .NET BCL) that we can actually check if the string is already quoted (in case a user is already quoting because of this not being fixed), and if not, apply the appropriate ODBC quoting rules. This is because the code exists in main/, and are shared between both ODBC extensions, so it doesn't make sense for it to only exist in one or the other. There may be a better spot for it. Closes GH-8307.
show more ...
|
Revision tags: php-8.0.18, php-8.1.5, php-7.4.29, php-8.1.5RC1, php-8.0.18RC1, php-8.1.4, php-8.0.17, php-8.1.4RC1, php-8.0.17RC1, php-8.1.3, php-8.0.16, php-7.4.28, php-8.1.3RC1, php-8.0.16RC1, php-8.1.2, php-8.0.15, php-8.1.2RC1, php-8.0.15RC1, php-8.0.14, php-8.1.1, php-7.4.27, php-8.1.1RC1, php-8.0.14RC1, php-7.4.27RC1, php-8.1.0, php-8.0.13, php-7.4.26, php-7.3.33, php-8.1.0RC6, php-7.4.26RC1, php-8.0.13RC1, php-8.1.0RC5, php-7.3.32, php-7.4.25, php-8.0.12, php-8.1.0RC4, php-8.0.12RC1, php-7.4.25RC1, php-8.1.0RC3, php-8.0.11, php-7.4.24, php-7.3.31, php-8.1.0RC2, php-7.4.24RC1, php-8.0.11RC1, php-8.1.0RC1, php-7.4.23, php-8.0.10, php-7.3.30, php-8.1.0beta3, php-8.0.10RC1, php-7.4.23RC1, php-8.1.0beta2, php-8.0.9, php-7.4.22, php-8.1.0beta1, php-7.4.22RC1, php-8.0.9RC1, php-8.1.0alpha3, php-7.4.21, php-7.3.29, php-8.0.8, php-8.1.0alpha2, php-7.4.21RC1, php-8.0.8RC1, php-8.1.0alpha1, php-8.0.7, php-7.4.20, php-8.0.7RC1, php-7.4.20RC1, php-8.0.6, php-7.4.19, php-7.4.18, php-7.3.28, php-8.0.5, php-8.0.5RC1, php-7.4.18RC1, php-8.0.4RC1, php-7.4.17RC1, php-8.0.3, php-7.4.16, php-8.0.3RC1, php-7.4.16RC1, php-8.0.2, php-7.4.15, php-7.3.27, php-8.0.2RC1, php-7.4.15RC2, php-7.4.15RC1, php-8.0.1, php-7.4.14, php-7.3.26, php-7.4.14RC1, php-8.0.1RC1, php-7.3.26RC1, php-8.0.0, php-7.3.25, php-7.4.13, php-8.0.0RC5, php-7.4.13RC1, php-8.0.0RC4, php-7.3.25RC1, php-7.4.12, php-8.0.0RC3, php-7.3.24, php-8.0.0RC2, php-7.4.12RC1, php-7.3.24RC1, php-7.2.34, php-8.0.0rc1, php-7.4.11, php-7.3.23, php-8.0.0beta4, php-7.4.11RC1, php-7.3.23RC1, php-8.0.0beta3, php-7.4.10, php-7.3.22, php-8.0.0beta2, php-7.3.22RC1, php-7.4.10RC1, php-8.0.0beta1, php-7.4.9, php-7.2.33, php-7.3.21, php-8.0.0alpha3, php-7.4.9RC1, php-7.3.21RC1, php-7.4.8, php-7.2.32, php-8.0.0alpha2, php-7.3.20, php-8.0.0alpha1, php-7.4.8RC1, php-7.3.20RC1, php-7.4.7, php-7.3.19, php-7.4.7RC1, php-7.3.19RC1, php-7.4.6, php-7.2.31, php-7.4.6RC1, php-7.3.18RC1, php-7.2.30, php-7.4.5, php-7.3.17, php-7.4.5RC1, php-7.3.17RC1, php-7.3.18, php-7.4.4, php-7.2.29, php-7.3.16, php-7.4.4RC1, php-7.3.16RC1, php-7.4.3, php-7.2.28, php-7.3.15RC1, php-7.4.3RC1, php-7.3.15, php-7.2.27, php-7.4.2, php-7.3.14, php-7.3.14RC1, php-7.4.2RC1, php-7.4.1, php-7.2.26, php-7.3.13, php-7.4.1RC1, php-7.3.13RC1, php-7.2.26RC1, php-7.4.0, php-7.2.25, php-7.3.12, php-7.4.0RC6, php-7.3.12RC1, php-7.2.25RC1, php-7.4.0RC5, php-7.1.33, php-7.2.24, php-7.3.11, php-7.4.0RC4, php-7.3.11RC1, php-7.2.24RC1, php-7.4.0RC3, php-7.2.23, php-7.3.10, php-7.4.0RC2, php-7.2.23RC1, php-7.3.10RC1, php-7.4.0RC1, php-7.1.32, php-7.2.22, php-7.3.9, php-7.4.0beta4, php-7.2.22RC1, php-7.3.9RC1, php-7.4.0beta2, php-7.1.31, php-7.2.21, php-7.3.8, php-7.4.0beta1, php-7.2.21RC1, php-7.3.8RC1 |
|
#
48abed7f |
| 09-Jul-2019 |
Peter Kokot |
Use e.g. instead of less common f.e. [ci skip] |
Revision tags: php-7.4.0alpha3, php-7.3.7, php-7.2.20, php-7.4.0alpha2, php-7.3.7RC3, php-7.3.7RC2, php-7.2.20RC2, php-7.4.0alpha1, php-7.3.7RC1, php-7.2.20RC1 |
|
#
8f854c10 |
| 05-Jun-2019 |
Remi Collet |
keep DIR option to --with-unixODBC for old versions without libodbc.pc |
Revision tags: php-7.2.19, php-7.3.6, php-7.1.30 |
|
#
9df3e097 |
| 20-May-2019 |
Hugh McMaster |
Use PKG_CHECK_MODULES to detect unixODBC |
Revision tags: php-7.2.19RC1, php-7.3.6RC1 |
|
#
75fb7486 |
| 12-May-2019 |
Peter Kokot |
Normalize comments in *nix build system m4 files Normalization include: - Use dnl for everything that can be ommitted when configure is built in favor of the shell comment characte
Normalize comments in *nix build system m4 files Normalization include: - Use dnl for everything that can be ommitted when configure is built in favor of the shell comment character # which is visible in the output. - Line length normalized to 80 columns - Dots for most of the one line sentences - Macro definitions include similar pattern header comments now
show more ...
|