blob: 5e68d8bec148583b8e83fc28d32c0fa241e6096f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
Avoid an implicit declaration of exit in the configure script. This
ensures that the package continues to build with future compilers
which do not support such implicit declarations by default.
diff --git a/configure b/configure
index 8fd0eed37cb997de..f5ebc89db38d88f4 100755
--- a/configure
+++ b/configure
@@ -4323,8 +4323,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
@@ -18747,8 +18747,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
|