summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--acinclude.m48
2 files changed, 7 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index ab029feda..bb88a10e9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,9 @@
* mpn/arm/dive_1.asm, mpn/arm/invert_limb.asm: Use RODATA.
* acinclude.m4 ([long long reliability tests]): Declare functions.
+ (GMP_PROG_CC_FOR_BUILD_WORKS, GMP_PROG_EXEEXT_FOR_BUILD,
+ GMP_C_FOR_BUILD_ANSI, GMP_CHECK_LIBM_FOR_BUILD): Replace exit(0) with
+ return 0, no declaration needed.
2014-03-30 Marc Glisse <marc.glisse@inria.fr>
diff --git a/acinclude.m4 b/acinclude.m4
index 2bf508001..3be6dc846 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -3817,7 +3817,7 @@ cat >conftest.c <<EOF
int
main ()
{
- exit(0);
+ return 0;
}
EOF
gmp_compile="$1 conftest.c"
@@ -3891,7 +3891,7 @@ AC_CACHE_CHECK([for build system executable suffix],
int
main ()
{
- exit (0);
+ return 0;
}
EOF
for i in .exe ,ff8 ""; do
@@ -3927,7 +3927,7 @@ AC_CACHE_CHECK([whether build system compiler is ANSI],
int
main (int argc, char **argv)
{
- exit(0);
+ return 0;
}
EOF
gmp_compile="$CC_FOR_BUILD conftest.c"
@@ -3961,7 +3961,7 @@ AC_CACHE_CHECK([for build system compiler math library],
int
main ()
{
- exit(0);
+ return 0;
}
double d;
double