Re: [PATCH] Modernize more C programs in config.guess.

2024-05-13 Thread Zack Weinberg
On Thu, Apr 4, 2024, at 6:25 PM, Jacob Bachmeyer wrote: > Zack Weinberg wrote: >> -$CC_FOR_BUILD -o "$dummy" "$dummy.c" && >> - dummyarg=`echo "$UNAME_RELEASE" | sed -n 's/\([0-9]*\).*/\1/p'` && >> - SYSTEM_NAME=`"$dummy" "$dummyarg"` && >> +SYSTEM_TYPE="`$CC_FOR_BUILD -E - < "$du

Re: [PATCH] Modernize more C programs in config.guess.

2024-04-04 Thread Jacob Bachmeyer
Zack Weinberg wrote: From: Zack Weinberg Specifically, on top of Petr Vorel’s patch, eliminate all use of old-style function definitions and implicit function declarations. Many of the C programs embedded in config.guess are only used on very old systems that may never have had an ISO C compil

Re: [PATCH] Modernize more C programs in config.guess.

2024-04-04 Thread Petr Vorel
Hi Zack, Reviewed-by: Petr Vorel > Specifically, on top of Petr Vorel’s patch, eliminate all use of > old-style function definitions and implicit function declarations. > Many of the C programs embedded in config.guess are only used on very > old systems that may never have had an ISO C compile

[PATCH] Modernize more C programs in config.guess.

2024-04-04 Thread Zack Weinberg
From: Zack Weinberg Specifically, on top of Petr Vorel’s patch, eliminate all use of old-style function definitions and implicit function declarations. Many of the C programs embedded in config.guess are only used on very old systems that may never have had an ISO C compiler (other than gcc, whi