Skip to content

Commit dd5547f

Browse files
authored
configure: update to latest config.guess and config.sub (#4161)
1 parent 42739e4 commit dd5547f

File tree

2 files changed

+563
-177
lines changed

2 files changed

+563
-177
lines changed

config.guess

+7-4
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)