[Gmp-commit] /var/hg/gmp: Include <math.h> before using log.

mercurial at gmplib.org mercurial at gmplib.org
Mon Mar 31 21:04:34 UTC 2014


details:   /var/hg/gmp/rev/db645603dcdb
changeset: 16365:db645603dcdb
user:      Marc Glisse <marc.glisse at inria.fr>
date:      Mon Mar 31 23:04:32 2014 +0200
description:
Include <math.h> before using log.

diffstat:

 ChangeLog    |  1 +
 acinclude.m4 |  1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diffs (22 lines):

diff -r beda46a3c10d -r db645603dcdb ChangeLog
--- a/ChangeLog	Mon Mar 31 22:33:03 2014 +0200
+++ b/ChangeLog	Mon Mar 31 23:04:32 2014 +0200
@@ -5,6 +5,7 @@
 	(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.
+	(GMP_CHECK_LIBM_FOR_BUILD): Include <math.h> to declare log.
 
 2014-03-30  Marc Glisse  <marc.glisse at inria.fr>
 
diff -r beda46a3c10d -r db645603dcdb acinclude.m4
--- a/acinclude.m4	Mon Mar 31 22:33:03 2014 +0200
+++ b/acinclude.m4	Mon Mar 31 23:04:32 2014 +0200
@@ -3958,6 +3958,7 @@
 AC_CACHE_CHECK([for build system compiler math library],
                gmp_cv_check_libm_for_build,
 [cat >conftest.c <<EOF
+#include <math.h>
 int
 main ()
 {


More information about the gmp-commit mailing list