Autotools: Update ax_check_compile_flag.m4 to serial 11 (#19127)

```sh
wget -O build/ax_check_compile_flag.m4 \
  https://cgit.git.savannah.gnu.org/cgit/autoconf-archive.git/plain/m4/ax_check_compile_flag.m4
```

New version of AX_CHECK_COMPILE_FLAG macro now adds the -Werror flag
automatically, if GNU-compatible compiler is detected.
This commit is contained in:
Peter Kokot 2025-08-09 02:03:37 +02:00 committed by GitHub
parent 7bf79ab666
commit f64c6248b5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 25 additions and 26 deletions

View file

@ -96,8 +96,7 @@ else
"])
AX_CHECK_COMPILE_FLAG([-Wno-implicit-fallthrough],
[PHP_PCRE_CFLAGS="$PHP_PCRE_CFLAGS -Wno-implicit-fallthrough"],,
[-Werror])
[PHP_PCRE_CFLAGS="$PHP_PCRE_CFLAGS -Wno-implicit-fallthrough"])
PHP_PCRE_CFLAGS=m4_normalize(["
$PHP_PCRE_CFLAGS