--- configure.orig 2025-04-29 23:04:51 +++ configure 2025-04-29 23:14:56 @@ -1233,7 +1233,7 @@ macos*|darwin|rhapsody) OS="macosx" SYS="macosx" - os_v=`perl -e '{open(F, "< /System/Library/CoreServices/SystemVersion.plist") or exit(2); my ($doc) = ""; my ($line); while (defined($line = )) { $doc .= $line; } close(F); $doc =~ s/\s+//gs; if ($doc =~ /ProductVersion<\/key>([^<]+)<\/string>/) { print , "\n"; exit(0); } exit(1); }' 2>/dev/null` + os_v=`perl -e '{open(F, "< /System/Library/CoreServices/SystemVersion.plist") or exit(2); my ($doc) = ""; my ($line); while (defined($line = )) { $doc .= $line; } close(F); $doc =~ s/\s+//gs; if ($doc =~ /ProductVersion<\/key>([^<]+)<\/string>/) { print $1, "\n"; exit(0); } exit(1); }' 2>/dev/null` if [ "$os_v" = "" ] && [ -x "$HOME/bin/macosver" ] ; then os_v=`"$HOME/bin/macosver" 2>/dev/null` fi @@ -1763,6 +1763,7 @@ #line 1764 "configure" #include "confdefs.h" #include +#include #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) @@ -2545,6 +2546,7 @@ #include #include #include +#include int main(void) { @@ -7711,7 +7713,7 @@ #include #include /* If setvbuf has the reversed format, exit 0. */ - main () { + int main () { /* This call has the arguments reversed. A reversed system may check and see that the address of main is not _IOLBF, _IONBF, or _IOFBF, and return nonzero. */