cdargs/cdargs-1.35_configure_c99.patch
Peter Fordham 257515cc37 Port configure script to C99.
https://fedoraproject.org/wiki/Toolchain/PortingToModernC
Rebuilding configure with new autotools would also solve the problem.
2022-12-15 08:04:22 +00:00

15 lines
332 B
Diff

diff --git a/configure b/configure
index 8567554..f4588d4 100755
--- a/configure
+++ b/configure
@@ -2507,8 +2507,8 @@ main ()
for (i = 0; i < 256; i++)
if (XOR (islower (i), ISLOWER (i))
|| toupper (i) != TOUPPER (i))
- exit(2);
- exit (0);
+ return 2;
+ return 0;
}
_ACEOF
rm -f conftest$ac_exeext