6fb6876
Fix historic C99 incompatibility in autoconf-generated C code.  No
6fb6876
need to upstream this because the issue goes away once upstream
6fb6876
re-runs autoconf as part of the next release.
6fb6876
6fb6876
diff --git a/configure b/configure
6fb6876
index 31b11325d1896f30..c1feba66f9eb3510 100755
6fb6876
--- a/configure
6fb6876
+++ b/configure
6fb6876
@@ -2653,7 +2653,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6fb6876
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6fb6876
   (exit $ac_status); }; }; then
6fb6876
   for ac_declaration in \
6fb6876
-   '' \
6fb6876
+   '#include <stdlib.h>' \
6fb6876
    'extern "C" void std::exit (int) throw (); using std::exit;' \
6fb6876
    'extern "C" void std::exit (int); using std::exit;' \
6fb6876
    'extern "C" void exit (int) throw ();' \
6fb6876
@@ -6363,8 +6363,8 @@ main ()
6fb6876
   for (i = 0; i < 256; i++)
6fb6876
     if (XOR (islower (i), ISLOWER (i))
6fb6876
 	|| toupper (i) != TOUPPER (i))
6fb6876
-      exit(2);
6fb6876
-  exit (0);
6fb6876
+      return 2;
6fb6876
+  return 0;
6fb6876
 }
6fb6876
 _ACEOF
6fb6876
 rm -f conftest$ac_exeext