diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | acinclude.m4 | 8 |
2 files changed, 7 insertions, 4 deletions
@@ -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 |