#
f952263b |
| 22-Aug-2024 |
Peter Kokot |
Fix Solaris 10 build: missing libproc.h (#15525) The libproc.h header file was added on Solaris as of 11.4. * Also add guard check to the entire function * When libproc.h isn't
Fix Solaris 10 build: missing libproc.h (#15525) The libproc.h header file was added on Solaris as of 11.4. * Also add guard check to the entire function * When libproc.h isn't available also sys/procfs.h is redundant * Move the <sys/lwp.h> out of the guard * Exclude more stuff from Solaris 10
show more ...
|
#
6b809c88 |
| 21-Aug-2024 |
Peter Kokot |
Autotools: Fix stack direction check (#15528) On Solaris 10 and GCC 4.9 check failed with error in config.log: error: missing binary operator before token "(" The __has_builtin
Autotools: Fix stack direction check (#15528) On Solaris 10 and GCC 4.9 check failed with error in config.log: error: missing binary operator before token "(" The __has_builtin must be checked in its own `#ifdef/defined` line above the `#if __has_builtin(....` usage.
show more ...
|
#
d7a8a04e |
| 09-Aug-2024 |
Peter Kokot |
Autotools: Remove too basic optimization flag cleanup The optimization flags are removed in configure.ac when using the '--enable-debug' configure option (which also adds the '-O0'). Whe
Autotools: Remove too basic optimization flag cleanup The optimization flags are removed in configure.ac when using the '--enable-debug' configure option (which also adds the '-O0'). When using '--enable-debug-assertions' option, the optimization flags ideally shouldn't be removed and this case never actually happen because the CFLAGS at this point in ZEND_INIT contain all sorts of other flags also, so it's redundant as it never gets executed. Closes GH-15305
show more ...
|
#
5c870751 |
| 08-Aug-2024 |
Peter Kokot |
Autotools: Sync CS in Zend.m4 (#15304) - Autoconf sets the GCC variable to either "yes" if GNU C compatible compiler is detected (like gcc or clang) or to an empty value otherwis
Autotools: Sync CS in Zend.m4 (#15304) - Autoconf sets the GCC variable to either "yes" if GNU C compatible compiler is detected (like gcc or clang) or to an empty value otherwise. - AX_CHECK_COMPILE_FLAG arguments quoted and empty arguments trimmed
show more ...
|
#
02e22a5d |
| 08-Aug-2024 |
Peter Kokot |
Autotools: Remove DEBUG_CFLAGS (#15300) DEBUG_CFLAGS is at this point redundant variable.
|
#
62f75a78 |
| 05-Aug-2024 |
Peter Kokot |
Autotools: Refactor thread safety checks (#15214) - The ZTS is defined on only one place - Added help text for ZTS preprocessor macro - The 'enable_zts' variable replaced with PHP_TH
Autotools: Refactor thread safety checks (#15214) - The ZTS is defined on only one place - Added help text for ZTS preprocessor macro - The 'enable_zts' variable replaced with PHP_THREAD_SAFETY in configure.ac. - Nits fixed.
show more ...
|
#
18a99a4d |
| 04-Aug-2024 |
Peter Kokot |
Autotools: Refactor debug checks (#15215) - Added help text for ZEND_DEBUG preprocessor macro - CS synced
|
#
d6a75e19 |
| 04-Aug-2024 |
Peter Kokot |
Sync preprocessor macros help texts (#15218) This partially syncs help texts a bit further for: - ext/ffi - ext/ldap - ext/opcache - ext/pcre - ext/pdo_mysql - ext/re
Sync preprocessor macros help texts (#15218) This partially syncs help texts a bit further for: - ext/ffi - ext/ldap - ext/opcache - ext/pcre - ext/pdo_mysql - ext/readline - ext/standard
show more ...
|
#
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 ...
|
#
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
|
#
b9e1ea33 |
| 18-Jul-2024 |
Peter Kokot |
[skip ci] Trim trailing whitespace in *.m4
|
#
8d597150 |
| 17-Jul-2024 |
David CARLIER |
zend build making sigjmp_buf and api check as mandatory. (#14942) * zend build making sigjmp_buf and api check as mandatory. all unixes support it since long time, the few which don
zend build making sigjmp_buf and api check as mandatory. (#14942) * zend build making sigjmp_buf and api check as mandatory. all unixes support it since long time, the few which don't do not meet the requirements to build php anyway (minix, dietlibc, ...).
show more ...
|
#
05b9345b |
| 08-Jul-2024 |
Peter Kokot |
Autotools: Remove unused DEBUG_CFLAGS variable (#12659) This removes the unused DEBUG_CFLAGS variable from configure.ac. It has been once set in the build files similarly to Zend.m4 but
Autotools: Remove unused DEBUG_CFLAGS variable (#12659) This removes the unused DEBUG_CFLAGS variable from configure.ac. It has been once set in the build files similarly to Zend.m4 but was then removed and simplified. CS synced and DEBUG_CFLAGS checked and appended with AS_VAR_* macros.
show more ...
|
#
2ebef11e |
| 07-Jul-2024 |
Peter Kokot |
Update http links to https and sync www.php.net URLs (#14854)
|
#
0bd26021 |
| 03-Jul-2024 |
Arnaud Le Blanc |
Fix stack limit on ASAN/MSAN (#14771) Increase the reserved stack size in ASAN builds, as instrumentation use more stack. Increase the max allowed stack size in some tests, and enable th
Fix stack limit on ASAN/MSAN (#14771) Increase the reserved stack size in ASAN builds, as instrumentation use more stack. Increase the max allowed stack size in some tests, and enable these tests under ASAN. Use __builtin_frame_address(0), instead of some stack variable, when we need a stack address, as ASAN may store local variables outside of the real stack.
show more ...
|
#
212b2834 |
| 29-Jun-2024 |
Peter Kokot |
Autotools: Sync indentation style in build system files (#14725)
|
#
a5b7850d |
| 29-Jun-2024 |
Peter Kokot |
Wrap Zend max execution timers check in M4 macro (#14696) - PHP_CHECK_FUNC -> AC_SEARCH_LIBS - Redundant symbols HAVE_LIBRT and HAVE_TIMER_CREATE removed - The rt library for some ol
Wrap Zend max execution timers check in M4 macro (#14696) - PHP_CHECK_FUNC -> AC_SEARCH_LIBS - Redundant symbols HAVE_LIBRT and HAVE_TIMER_CREATE removed - The rt library for some older systems (Solaris <= 10, older Linux) appended as needed - This uses AC_ and AS_* macros and relies more on Autoconf shell code handling - Help texts updated and synced
show more ...
|
#
ca3b2482 |
| 29-Jun-2024 |
Peter Kokot |
Refactor ZEND_MM alignment check (#14720) - Check added into a separate M4 macro - AC_CACHE_CHECK used for running the test program with cache variable for optional edge-case overr
Refactor ZEND_MM alignment check (#14720) - Check added into a separate M4 macro - AC_CACHE_CHECK used for running the test program with cache variable for optional edge-case overrides - Help texts updated - If check fails for some reason, the configure step emits error as also done in the Zend C code - Cross-compilation values updated with type casts as done in the current conftest file output
show more ...
|
#
7f8e8a08 |
| 28-Jun-2024 |
Peter Kokot |
Use AC_CACHE_CHECK for float precision checks (#14663) - AC_CACHE_CHECK simplifies message checkings and can speed up the consequtive configure -C checks - AC_DEFINE descriptions s
Use AC_CACHE_CHECK for float precision checks (#14663) - AC_CACHE_CHECK simplifies message checkings and can speed up the consequtive configure -C checks - AC_DEFINE descriptions style synced - Used php_cv_* cache variables style - Reduced over-quoted arguments to AC_LANG_PROGRAM - Sync macro help text
show more ...
|
#
bf7be07e |
| 28-Jun-2024 |
Peter Kokot |
Refactor Zend signal handling check (#14678) This wraps the Zend signal handling check in its own M4 macro for readability and uses AS_VAR_IF, AS_VAR_APPEND for CFLAGS variable, upda
Refactor Zend signal handling check (#14678) This wraps the Zend signal handling check in its own M4 macro for readability and uses AS_VAR_IF, AS_VAR_APPEND for CFLAGS variable, updates help texts and fixes CS.
show more ...
|
#
1a5c411d |
| 28-Jun-2024 |
Peter Kokot |
Wrap stack direction check in Zend M4 macro (#14694)
|
#
11f4683e |
| 27-Jun-2024 |
Peter Kokot |
Wrap __cpuid_count check into ZEND_CHECK_CPUID_COUNT M4 macro (#14692) Instead of checking this when including the Zend.m4 file in configure.ac check is executed with the ZEND_INIT macro.
|
#
c7c02f2a |
| 27-Jun-2024 |
Peter Kokot |
Wrap global register variables check in M4 macro (#14683) This adds ZEND_CHECK_GLOBAL_REGISTER_VARIABLES M4 macro to properly sort the --enable-gcc-global-regs in configure --help output
Wrap global register variables check in M4 macro (#14683) This adds ZEND_CHECK_GLOBAL_REGISTER_VARIABLES M4 macro to properly sort the --enable-gcc-global-regs in configure --help output, fixes over-quoted arguments, syncs CS and updates help texts.
show more ...
|
#
604dafff |
| 26-Jun-2024 |
Peter Kokot |
Rename and refactor Zend.m4 macros (#14671) - LIBZEND_* -> ZEND_* - A single "public" initialization M4 macro ZEND_INIT that wraps Zend engine related configure step checks and ini
Rename and refactor Zend.m4 macros (#14671) - LIBZEND_* -> ZEND_* - A single "public" initialization M4 macro ZEND_INIT that wraps Zend engine related configure step checks and initialization.
show more ...
|
#
df12ffcc |
| 23-Jun-2024 |
Peter Kokot |
Check for library functions on one place in Zend.m4 (#14635) The m4_normalize is for Autoconf < 2.70 (on 2.70 and later versions a blank-or-newline separated items can be expanded withou
Check for library functions on one place in Zend.m4 (#14635) The m4_normalize is for Autoconf < 2.70 (on 2.70 and later versions a blank-or-newline separated items can be expanded without using backslash-newline).
show more ...
|