antlr/antlr-2.7.7-configure-c99.patch
Peter Fordham f525ee434e Port configure script to C99.
https://fedoraproject.org/wiki/Toolchain/PortingToModernC
Rebuilding configure with new autotools would also solve the problem.
2022-12-07 10:47:06 +01:00

14 lines
256 B
Diff

--- configure
+++ configure
@@ -4697,8 +4697,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