b4bdf19
Avoid an undeclared exit function call in obscure configure check.
b4bdf19
This improves compatibility with strict(er) C99 compilers, which may
b4bdf19
not support implicit function declarations because they were removed
b4bdf19
from the C language in 1999.
b4bdf19
b4bdf19
Not submitted upstream as regeneration of configure with new autoconf
b4bdf19
would fix.
b4bdf19
b4bdf19
diff --git a/configure b/configure
b4bdf19
index b81fdff..49bcfc6 100755
b4bdf19
--- a/configure
b4bdf19
+++ b/configure
b4bdf19
@@ -3850,8 +3850,8 @@ main ()
b4bdf19
   for (i = 0; i < 256; i++)
b4bdf19
     if (XOR (islower (i), ISLOWER (i))
b4bdf19
         || toupper (i) != TOUPPER (i))
b4bdf19
-      exit(2);
b4bdf19
-  exit (0);
b4bdf19
+      return 2;
b4bdf19
+  return 0;
b4bdf19
 }
b4bdf19
 _ACEOF
b4bdf19
 rm -f conftest$ac_exeext