aiksaurus/aiksaurus-configure.c99.patch
Peter Fordham cbd2dc2ef2 Port configure script to C99.
https://fedoraproject.org/wiki/Toolchain/PortingToModernC
Rebuilding configure with new autotools would also solve the problem.
2022-12-06 09:04:48 +01:00

15 lines
325 B
Diff

diff --git a/configure b/configure
index e397ec9..abb6d27 100755
--- a/configure
+++ b/configure
@@ -5067,8 +5067,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