Skip to content

Commit e02fa5f

Browse files
authored
Autotools: Update config.guess to 2024-07-27 and config.sub to 2024-05-27 (#15190)
``` wget -O build/config.guess https://git.savannah.gnu.org/cgit/config.git/plain/config.guess wget -O build/config.sub https://git.savannah.gnu.org/cgit/config.git/plain/config.sub ```
1 parent e119c72 commit e02fa5f

File tree

3 files changed

+567
-177
lines changed

3 files changed

+567
-177
lines changed

NEWS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ PHP NEWS
1212

1313
01 Aug 2024, PHP 8.4.0alpha4
1414

15+
- Core:
16+
. Updated build system scripts config.guess to 2024-07-27 and config.sub to
17+
2024-05-27. (Peter Kokot)
18+
1519
- GMP:
1620
. RFC: Change GMP bool cast behavior. (Saki Takamachi)
1721

build/config.guess

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
# shellcheck disable=SC2006,SC2268 # see below for rationale
66

7-
timestamp='2024-01-01'
7+
timestamp='2024-07-27'
88

99
# This file is free software; you can redistribute it and/or modify it
1010
# under the terms of the GNU General Public License as published by
@@ -123,7 +123,7 @@ set_cc_for_build() {
123123
dummy=$tmp/dummy
124124
case ${CC_FOR_BUILD-},${HOST_CC-},${CC-} in
125125
,,) echo "int x;" > "$dummy.c"
126-
for driver in cc gcc c89 c99 ; do
126+
for driver in cc gcc c17 c99 c89 ; do
127127
if ($driver -c -o "$dummy.o" "$dummy.c") >/dev/null 2>&1 ; then
128128
CC_FOR_BUILD=$driver
129129
break
@@ -634,7 +634,8 @@ EOF
634634
sed 's/^ //' << EOF > "$dummy.c"
635635
#include <sys/systemcfg.h>
636636
637-
main()
637+
int
638+
main ()
638639
{
639640
if (!__power_pc())
640641
exit(1);
@@ -718,7 +719,8 @@ EOF
718719
#include <stdlib.h>
719720
#include <unistd.h>
720721
721-
int main ()
722+
int
723+
main ()
722724
{
723725
#if defined(_SC_KERNEL_BITS)
724726
long bits = sysconf(_SC_KERNEL_BITS);
@@ -1621,6 +1623,7 @@ cat > "$dummy.c" <<EOF
16211623
#endif
16221624
#endif
16231625
#endif
1626+
int
16241627
main ()
16251628
{
16261629
#if defined (sony)

0 commit comments

Comments
 (0)