Merge branch 'PHP-8.3' into PHP-8.4

* PHP-8.3:
  Fail early in *nix configuration build script
This commit is contained in:
Christoph M. Becker 2024-11-09 14:06:18 +01:00
commit 257387b9e5
No known key found for this signature in database
GPG Key ID: D66C9593118BCCB6
6 changed files with 9 additions and 6 deletions

3
NEWS
View File

@ -5,6 +5,9 @@ PHP NEWS
- Calendar:
. Fixed jdtogregorian overflow. (David Carlier)
- Core:
. Fail early in *nix configuration build script. (hakre)
- Curl:
. Fixed bug GH-16723 (CURLMOPT_PUSHFUNCTION issues). (cmb)

View File

@ -32,7 +32,7 @@ header_list=
olddir=$(pwd)
# Go to project root.
cd $(CDPATH= cd -- "$(dirname -- "$0")/../" && pwd -P)
cd "$(CDPATH='' cd -- "$(dirname -- "$0")/../" && pwd -P)" || exit
module_ptrs="$(echo $extensions | $AWK -f ./build/order_by_dep.awk)"

View File

@ -8,9 +8,9 @@ force=0
debug=0
# Go to project root.
cd $(CDPATH= cd -- "$(dirname -- "$0")" && pwd -P)
cd "$(CDPATH='' cd -- "$(dirname -- "$0")" && pwd -P)" || exit
php_extra_version=$(grep '^AC_INIT(' configure.ac)
php_extra_version=$(grep '^AC_INIT(' configure.ac) || exit
case "$php_extra_version" in
*-dev*)
dev=1

View File

@ -3,7 +3,7 @@
# Generate credits_*.h headers from the ext/*/CREDITS and sapi/*/CREDITS files.
# Go to project root directory
cd $(CDPATH= cd -- "$(dirname -- "$0")/../../" && pwd -P)
cd "$(CDPATH='' cd -- "$(dirname -- "$0")/../../" && pwd -P)" || exit
awkprog='
BEGIN { FS = "\n|\r\n|\r"; RS = "" }

View File

@ -42,7 +42,7 @@ SED=${SED:-sed}
MAKE=${MAKE:-make}
# Go to project root.
cd $(CDPATH= cd -- "$(dirname -- "$0")/../../" && pwd -P)
cd "$(CDPATH='' cd -- "$(dirname -- "$0")/../../" && pwd -P)" || exit
# Check required bison version from the configure.ac file.
required_bison_version=$($SED -n 's/PHP_PROG_BISON(\[\([0-9\.]*\)\].*/\1/p' configure.ac)

View File

@ -23,7 +23,7 @@ if [[ $($tar --version) == *"bsdtar"* ]]; then
fi
# Go to project root directory.
cd $(CDPATH= cd -- "$(dirname -- "$0")/../../" && pwd -P)
cd "$(CDPATH='' cd -- "$(dirname -- "$0")/../../" && pwd -P)" || exit
# Process options and arguments.
while :; do