summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2012-07-24 12:17:20 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2012-07-24 12:17:20 +0000
commitb03b16e1f654f4bdfc4f47346af07519c33de977 (patch)
tree97b5de40aaef02b0548a3c1b8b7e76e75658916e /acinclude.m4
parentfdf3e83a2a4ec1ea789e0c8a2d4c45798ed4610f (diff)
downloadmpfr-b03b16e1f654f4bdfc4f47346af07519c33de977.tar.gz
[acinclude.m4] Improved a message and corrected gmp.h inclusion.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@8354 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 63611316a..936240675 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -226,7 +226,7 @@ dnl Check for double-to-integer conversion bug
dnl https://gforge.inria.fr/tracker/index.php?func=detail&aid=14435
AC_MSG_CHECKING(for double-to-integer conversion bug)
AC_RUN_IFELSE([AC_LANG_PROGRAM([[
-#include "gmp.h"
+#include <gmp.h>
]], [[
double d;
mp_limb_t u;
@@ -246,7 +246,7 @@ AC_RUN_IFELSE([AC_LANG_PROGRAM([[
]])], [AC_MSG_RESULT(no)], [
AC_MSG_RESULT(yes)
AC_MSG_ERROR([double-to-integer conversion is incorrect.
-You need to use another compiler (or disable optimization).])])
+You need to use another compiler (or lower the optimization level).])])
dnl Check if subnormal (denormalized) numbers are supported
AC_CACHE_CHECK([for subnormal numbers], mpfr_cv_have_denorms, [
@@ -1051,7 +1051,7 @@ MPFR_FUNC_GMP_PRINTF_SPEC([td], [ptrdiff_t], [
#else
#include <stddef.h>
#endif
-#include "gmp.h"
+#include <gmp.h>
],,
[AC_DEFINE([NPRINTF_T], 1, [gmp_printf cannot read ptrdiff_t])])
])