History log of /php-src/ext/opcache/config.m4 (Results 1 – 25 of 118)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# fbacc0f9 28-Aug-2024 Peter Kokot

Autotools: Normalize PHP_ADD_BUILD_DIR 1st argument (#15612)

The m4_normalize(m4_expand([$1])) expands the given argument if it
contains M4 macros, and then trims the items together into

Autotools: Normalize PHP_ADD_BUILD_DIR 1st argument (#15612)

The m4_normalize(m4_expand([$1])) expands the given argument if it
contains M4 macros, and then trims the items together into a space
separated string in an intuitive way.

show more ...


# 80d78461 18-Aug-2024 Peter Kokot

Add date extension to dependencies (#15475)

This is at this point only meta-data information for extensions to
depend also on date extension. This is a configure phase dependency for

Add date extension to dependencies (#15475)

This is at this point only meta-data information for extensions to
depend also on date extension. This is a configure phase dependency for
consistency.

show more ...


# 540b9f5b 13-Aug-2024 Peter Kokot

Autotools: Wrap long texts with m4_text_wrap (#15368)

The m4_text_wrap macro wraps the text into a single space separated
string which is wrapped to not exceed the line lenght of 79 char

Autotools: Wrap long texts with m4_text_wrap (#15368)

The m4_text_wrap macro wraps the text into a single space separated
string which is wrapped to not exceed the line lenght of 79 characters
by default.

show more ...


# d334382e 12-Aug-2024 Peter Kokot

[skip ci] Fix typo s/dissasembly/disassembly


# b0091c41 11-Aug-2024 Peter Kokot

Autotools: Sync CS in opcache extension (#15340)

- AS_* macros used
- Overquoted AC_RUN_IFELSE macros arguments reduced
- Redundant double quoted single variables assignments removed

Autotools: Sync CS in opcache extension (#15340)

- AS_* macros used
- Overquoted AC_RUN_IFELSE macros arguments reduced
- Redundant double quoted single variables assignments removed
- i*86 and x86* patterns joined into a single case

show more ...


# 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 ...


# 16d9bd0a 03-Aug-2024 Peter Kokot

Sync AC_DEFINE help texts (#15207)


# f3c48f1a 29-Jul-2024 Peter Kokot

Autotools: Append hash and opcache build directories (#15132)

When building in out-of-source directory, instead of creating these
build directories right away, this appends them to the l

Autotools: Append hash and opcache build directories (#15132)

When building in out-of-source directory, instead of creating these
build directories right away, this appends them to the list and creates
them at the end of configure phase. These don't need to be created
immediately as no files are generated in these extensions before the
configure phase is finished.

Also, the PHP_ADD_BUILD_DIR is moved after the PHP_NEW_EXTENSION when
the more common $ext_builddir variable is available (the ext/<extension>
isn't available when building with phpize).

show more ...


# da69755e 24-Jul-2024 Peter Kokot

Autotools: Sync CS in opcache Capstone check (#15084)

- Added Capstone check message in configure log
- PKG_CHECK_MODULES already errors out by default if Capstone is not
found wit

Autotools: Sync CS in opcache Capstone check (#15084)

- Added Capstone check message in configure log
- PKG_CHECK_MODULES already errors out by default if Capstone is not
found with a bit more informative message
- Autoconf syntax used
- HAVE_CAPSTONE help text synced and updated

show more ...


# e3c1e332 24-Jul-2024 Peter Kokot

Autotools: Normalize ext/opcache sources (#15083)

- m4_normalize can simplify the list of source files
- PHP_NEW_EXTENSION arguments quoted and excessive shell double quotes
charac

Autotools: Normalize ext/opcache sources (#15083)

- m4_normalize can simplify the list of source files
- PHP_NEW_EXTENSION arguments quoted and excessive shell double quotes
character removed (macro already adds double quotes)
- Removed redundant shell variable parameter expansions
- Minor Autoconf CS syncs

show more ...


# d20d1137 22-Jul-2024 Peter Kokot

Append -Wno-implicit-fallthrough flag conditionally (#13331)

Older GCC versions (< 7.0) don't support the -Wno-implicit-fallthrough
compiler flag. This adds the flag conditionally in cas

Append -Wno-implicit-fallthrough flag conditionally (#13331)

Older GCC versions (< 7.0) don't support the -Wno-implicit-fallthrough
compiler flag. This adds the flag conditionally in case some other
compiler will run into same issue.

Fixes GH-13330

show more ...


# 68ae4777 20-Jul-2024 Peter Kokot

Autotools: Quote M4 arguments (#15033)

- PHP_ADD_INCLUDE
- PHP_EVAL_INCLINE
- PHP_EVAL_LIBLINE


# a2bc7838 16-Jul-2024 Peter Kokot

Autotools: Add missing sigil in AC_CASE and fix Autoconf syntax (#14967)


# 0e2e8e0f 14-Jul-2024 Peter Kokot

Autotools: Quote all PHP_ADD_BUILD_DIR arguments (#14947)

- All arguments quoted for consistency
- m4_normalize used where list of directories becomes a bit simpler to
read and see

Autotools: Quote all PHP_ADD_BUILD_DIR arguments (#14947)

- All arguments quoted for consistency
- m4_normalize used where list of directories becomes a bit simpler to
read and see the diff

show more ...


# dc7b67eb 03-Jul-2024 Peter Kokot

Autotools: Sync PHP_ADD_MAKEFILE_FRAGMENT (#14766)

- Macro help text updated for extensions and general usage
- Arguments quoted
- dnl removes redundant newlines in the generated con

Autotools: Sync PHP_ADD_MAKEFILE_FRAGMENT (#14766)

- Macro help text updated for extensions and general usage
- Arguments quoted
- dnl removes redundant newlines in the generated configure script

show more ...


# 8291e81c 02-Jul-2024 Peter Kokot

Remove unused ZEND_JIT_IR (#14760)

Symbol was added when PHP-8.3 JIT engine was used with the IR JIT and is
now unused and redundant.


# bee84c04 02-Jul-2024 Peter Kokot

Autotools: Quote PHP_SUBST arguments in extensions (#14748)


# 212b2834 29-Jun-2024 Peter Kokot

Autotools: Sync indentation style in build system files (#14725)


# 743d1fd2 08-Jun-2024 Peter Kokot

Sync -Wno-implicit-fallthrough

This is a sync of the https://github.com/php/php-src/pull/6252 after few
years:
- ext/date: pending recheck in GH-14187
- ext/hash: warning happens

Sync -Wno-implicit-fallthrough

This is a sync of the https://github.com/php/php-src/pull/6252 after few
years:
- ext/date: pending recheck in GH-14187
- ext/hash: warning happens only on 32-bit build in
ext/hash/sha3/generic32lc/KeccakP-1600-inplace32BI.c
- ext/opcache: IR JIT doesn't seem to have this issue
- ext/pcre remains disabled due to pcre2lib/sljit/sljitNativeARM_64.c
(should be rechecked and fixed upstream)

show more ...


# ca55603d 02-Jun-2024 Peter Kokot

Wrap ext/opcache AC_RUN_IFELSE checks in AC_CACHE_CHECK (#14436)

Cache variables php_cv_shm_ipc and php_cv_shm_mmap_anon enable manual
overriding of checks when cross-compiling.


# ff76cb73 18-Apr-2024 Ørjan Malde

rudimentary midipix port (#13896)


# 6c2d5e5f 29-Mar-2024 Peter Kokot

Fix linking library for POSIX shared memory functions (#13822)

The POSIX shared memory object operations functions (shm_open,
shm_unlink...) are in:
* C library on most systems (newe

Fix linking library for POSIX shared memory functions (#13822)

The POSIX shared memory object operations functions (shm_open,
shm_unlink...) are in:
* C library on most systems (newer Linux, Solaris 11.4, illumos, BSD*,
macOS, Haiku, etc.)
* real-time (rt) library on older Linux distributions and Solaris <= 10.

Haiku C library (called root library) on Haiku is linked in by default.

Previous check always added additional rt or root library to global LIBS
and rt to OPCACHE_SHARED_LIBADD. Now, the library containing shm_open is
linked as needed to the always shared opcache extension.

This also removes unused HAVE_SHM_OPEN and HAVE_LIBROOT symbols.

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 ...


# 0aadc7e7 18-Mar-2024 Peter Kokot

Fix string concatenation in ZEND_JIT_SRC variable (#13740)

The += operator only works in bash shells and when using /bin/sh, for
example in Alpine Linux, the warning is thrown during con

Fix string concatenation in ZEND_JIT_SRC variable (#13740)

The += operator only works in bash shells and when using /bin/sh, for
example in Alpine Linux, the warning is thrown during configuration step

./configure: line 51396: ZEND_JIT_SRC+= jit/ir/ir_disasm.c: not found

show more ...


12345