#
71923795 |
| 18-Apr-2024 |
Peter Kokot |
Substitute PEAR_INSTALLDIR only when enabling PEAR (#13994) When not using --with-pear configure option, the Makefile doesn't need the PEAR_INSTALLDIR variable. Also, this variable isn't
Substitute PEAR_INSTALLDIR only when enabling PEAR (#13994) When not using --with-pear configure option, the Makefile doesn't need the PEAR_INSTALLDIR variable. Also, this variable isn't directly substituted using the @PEAR_INSTALLDIR@ in any template, so the PHP_SUBST can be used.
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 ...
|
#
ff76cb73 |
| 18-Apr-2024 |
Ørjan Malde |
rudimentary midipix port (#13896)
|
#
46b6ad6d |
| 16-Apr-2024 |
Arnaud Le Blanc |
Inline GDB scripts in the PHP binary (#13600) This inlines .gdbinit and php_gdb.py in the .debug_gdb_scripts section of the PHP binary so that GDB can auto-load them regardless of the curren
Inline GDB scripts in the PHP binary (#13600) This inlines .gdbinit and php_gdb.py in the .debug_gdb_scripts section of the PHP binary so that GDB can auto-load them regardless of the current directory or the availability of the PHP source code (albeit some functionalities of php_gdb.py currently rely on the source being available).
show more ...
|
#
de03a7c8 |
| 09-Apr-2024 |
Peter Kokot |
Remove unused os/signpost.h header check (#13920) Removed via be275433d936e41d95b2fd656464bcc4d7138b76.
|
#
0766ac6e |
| 01-Apr-2024 |
qiangxuhui |
loongarch64 support for fibers Add loongarch64 assembly files from Boost, needed for fibers support, and hook up loongarch64 fibers support during configure. Close GH-13914
|
#
413f2cd4 |
| 27-Mar-2024 |
Peter Kokot |
Refactor root build directories (#13785) This adds all root build directories in one call. PEAR directory is created only when enabled and duplicated Zend directory creation is remov
Refactor root build directories (#13785) This adds all root build directories in one call. PEAR directory is created only when enabled and duplicated Zend directory creation is removed, because it was intended for the zend_config.h when building out-of-source or using the config.status manually before the PHP_ADD_BUILD_DIR was introduced in the build system.
show more ...
|
#
9381129d |
| 26-Mar-2024 |
Eric Mann |
PHP-8.3 is now for PHP 8.3.6-dev
|
#
0c07b0d9 |
| 09-Oct-2023 |
Adam Saponara |
Make `--enable-embed` libs respect `--libdir` And make locatable by via `php-config`. Prior to this, `libphp.*` would always install to `$prefix/lib`. After this, they will install t
Make `--enable-embed` libs respect `--libdir` And make locatable by via `php-config`. Prior to this, `libphp.*` would always install to `$prefix/lib`. After this, they will install to `$libdir`. In practice, this will make it so that programs embedding libphp can use `php-config` to determine appropriate compile flags without guessing. In `configure.ac`, it seems `$libdir` is mutated in some instances. Ideally the mutated version would be stored in `$phplibdir` or something. Instead of tracking down all uses of that variable, I introduced another variable `$orig_libdir` that holds the original value passed to the configure script. This is a no-op for users unless they are compiling with `--libdir` set to something other than `$prefix/lib`, the default. Closes GH-12389
show more ...
|
#
530e0d68 |
| 21-Mar-2024 |
Peter Kokot |
Create modules directory in a centralized location (#13411) Shared objects of extensions during the *nix build are copied to the `modules` directory. It is a practice established since t
Create modules directory in a centralized location (#13411) Shared objects of extensions during the *nix build are copied to the `modules` directory. It is a practice established since the early days of the PHP build system. Other build systems may have similar concept of "library destination directory". On Windows, they are put into the root build directory. Such directory simplifies collection of the shared extensions during testing, or when running the cli executable at the end of the build process. This change ensures that the directory is consistently created in a single location, for both the primary PHP build process and when utilizing `phpize` within community extensions. The AC_CONFIG_COMMANDS_PRE is executed at the end of the configuration phase, before creating the config.status script, where also build directories and global Makefile are created. The pwd is executed using the recommended $(...) instead of the obsolete backticks. Autoconf automatically locates the proper shell and re-executes the configure script if such case is found that $(...) is not supported (the initial /bin/sh on Solaris 10, for example).
show more ...
|
#
868257a3 |
| 16-Mar-2024 |
David Carlier |
Fix GH-13727: macro generating invalid call test prototypes fixes. autoconf/libtool generating code to test features missed `void` for C calls prototypes w/o arguments. Note that spe
Fix GH-13727: macro generating invalid call test prototypes fixes. autoconf/libtool generating code to test features missed `void` for C calls prototypes w/o arguments. Note that specific changes related to libtool have to be upstreamed. Co-authored-by: Peter Kokot <petk@php.net> close GH-13732
show more ...
|
#
c6f4c26e |
| 15-Mar-2024 |
Peter Kokot |
Check major, minor and makedev with Autoconf's AC_HEADER_MAJOR (#13706) The non-standard major(), minor(), and makedev() can be defined as macros. These are usually used together with th
Check major, minor and makedev with Autoconf's AC_HEADER_MAJOR (#13706) The non-standard major(), minor(), and makedev() can be defined as macros. These are usually used together with the Autoconf macro AC_HEADER_MAJOR, which defines the MAJOR_IN_MKDEV if sys/mkdev.h is available, or MAJOR_IN_SYSMACROS if sys/sysmacros.h is available. On Solaris/illumos they are in the sys/mkdev.h header (macro defined to libc implementation) and in sys/sysmacros.h (macro defined with binary operators and bits shifting). On systems with musl and glibc 2.28 or later they are defined in sys/sysmacros.h, in glibc 2.27 and earlier they were in sys/types.h. On BSD-based systems and macOS they are in the sys/types.h. Autoconf 2.70 has fixed the AC_HEADER_MAJOR macro, so it detects the headers properly due to glibc 2.25 throwing deprecation warnings when using the macros from sys/types.h. With Autoconf 2.69 and earlier the ac_cv_header_sys_types_h_makedev cache variable can skip the improper sys/types.h check in the macro. This change syncs the usage within the ext/fileinfo/libmagic bundled library and ext/posix. When sys/mkdev.h header is available, code includes that, otherwise it conditionally includes the sys/sysmacros.h. The ext/posix has additional check whether linker sees the makedev, otherwise it checks if makedev is declared within the given set of headers accoring to the AC_HEADER_MAJOR logic. Previously the AC_CHECK_FUNCS didn't detect it.
show more ...
|
#
d2eb3e54 |
| 15-Mar-2024 |
Peter Kokot |
Check asm goto support with AC_LINK_IFELSE (#13716) The '__asm__ goto' support is properly recognized by a simpler linking check instead of a run check for easier cross-compilation. The
Check asm goto support with AC_LINK_IFELSE (#13716) The '__asm__ goto' support is properly recognized by a simpler linking check instead of a run check for easier cross-compilation. The compile only check (AC_COMPILE_IFELSE) might produce false positives results with certain compiler options.
show more ...
|
#
4bf4c24a |
| 13-Feb-2024 |
Claudio Jeker |
Implement fcontext handling for sparc64_sysv_elf. This was tested on OpenBSD sparc64 and all fiber related tests pass. On OpenBSD stackghost prevents the modification of the return addre
Implement fcontext handling for sparc64_sysv_elf. This was tested on OpenBSD sparc64 and all fiber related tests pass. On OpenBSD stackghost prevents the modification of the return address and therefor an extra trampoline is needed in make_fcontext(). This should not matter on other OS implementing sysv ABI and the trampoline should work there as well. Close GH-13382.
show more ...
|
#
8595bead |
| 10-Mar-2024 |
Peter Kokot |
Use default Autoconf's AC_LANG_PROGRAM (#13565) This adds default test program prologue and body of `int main(void) { return 0; }` where possible.
|
#
a0b821b5 |
| 10-Mar-2024 |
Peter Kokot |
Check library containing socket() with AC_SEARCH_LIBS (#13642) Solaris/illumos systems have socket() in the socket library, Haiku has it in network, Windows in ws2_32, and other systems
Check library containing socket() with AC_SEARCH_LIBS (#13642) Solaris/illumos systems have socket() in the socket library, Haiku has it in network, Windows in ws2_32, and other systems in libc. This also removes redundant and unused HAVE_SOCKET symbol.
show more ...
|
#
2f6a2107 |
| 09-Mar-2024 |
Peter Kokot |
Use memmove() unconditionally in the code (#13647) The memmove() function is C99 standard function [1] and check was left for the PCRE2 bundled library. It can be simplified by passing t
Use memmove() unconditionally in the code (#13647) The memmove() function is C99 standard function [1] and check was left for the PCRE2 bundled library. It can be simplified by passing the compile option instead of checking always available function on current systems. External PCRE2 library on the system doesn't need this. [1]: https://port70.net/~nsz/c/c99/n1256.html#7.21.2.2
show more ...
|
#
a46438e8 |
| 08-Mar-2024 |
Peter Kokot |
Remove htonl() Autoconf check (#13627) The htonl() function is available in libc on current *nix systems. On Solaris versions around 2.5.1 it was located in the socket library. Haiku
Remove htonl() Autoconf check (#13627) The htonl() function is available in libc on current *nix systems. On Solaris versions around 2.5.1 it was located in the socket library. Haiku has it in libc and Windows in ws2_32, which is linked as part of the common libraries. This removes the redundant HAVE_HTONL symbol.
show more ...
|
#
7bca3c7f |
| 08-Mar-2024 |
Peter Kokot |
Check sys/sdt.h with AC_CHECK_HEADER (#13626) When using DTrace, sys/sdt.h is included unconditionally, without the HAVE_SYS_SDT_H symbol.
|
#
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 ...
|
#
7d0e2d8e |
| 01-Mar-2024 |
Peter Kokot |
Add missing memfd_create Autoconf check for bundled pcre2lib (#13561) This moves memfd_create (HAVE_MEMFD_CREATE) to configure.ac. Since ext/pcre is always enabled and check can be done
Add missing memfd_create Autoconf check for bundled pcre2lib (#13561) This moves memfd_create (HAVE_MEMFD_CREATE) to configure.ac. Since ext/pcre is always enabled and check can be done in this case for ext/pcre and ext/opcache at once.
show more ...
|
#
a48ed12e |
| 29-Feb-2024 |
Peter Kokot |
Find and link network library as needed with AC_SEARCH_LIBS (#13553) This prepends -lnetwork as needed (Haiku) whether linker sees the setsockopt function and avoids defining redundant s
Find and link network library as needed with AC_SEARCH_LIBS (#13553) This prepends -lnetwork as needed (Haiku) whether linker sees the setsockopt function and avoids defining redundant symbols, such as HAVE_LIBNETWORK and HAVE_SETSOCKOPT.
show more ...
|
#
154517eb |
| 28-Feb-2024 |
Peter Kokot |
Simplify openpty Autoconf check (#13494) This removes redundant symbols HAVE_LIBUTIL and HAVE_LIBBSD.
|
#
acb677cb |
| 28-Feb-2024 |
Peter Kokot |
Simplify Pgrab and proc library Autoconf check (#13488) For Solaris/illumos systems, in this case, the check can be done using AC_SEARCH_LIBS, which avoids defining redundant symbols lik
Simplify Pgrab and proc library Autoconf check (#13488) For Solaris/illumos systems, in this case, the check can be done using AC_SEARCH_LIBS, which avoids defining redundant symbols like HAVE_PGRAB and HAVE_LIBPROC.
show more ...
|
#
e1a8ebd6 |
| 27-Feb-2024 |
Sergey Panteleev |
PHP-8.2 is now for PHP 8.2.18-dev
|