summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2016-03-02 16:39:38 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2016-03-02 16:39:38 +0000
commit1c8226849d3ea0e62d7b7aaeea56fdcb52a5b72b (patch)
tree1082e8c7a30647d7438ccb5c1024a906b5d2e7a4 /acinclude.m4
parent75813c4888f1cd7c08b2cb83e0d86caffe8b4a91 (diff)
downloadmpfr-1c8226849d3ea0e62d7b7aaeea56fdcb52a5b72b.tar.gz
[acinclude.m4,configure.ac] Various fixes in error messages.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10187 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m411
1 files changed, 6 insertions, 5 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 31277b1a3..968352bc6 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -446,7 +446,7 @@ MPFR_C_LONG_DOUBLE_FORMAT
if test "$enable_logging" = yes; then
if test "$enable_thread_safe" = yes; then
- AC_MSG_ERROR([Enable either `Logging' or `thread-safe', not both])
+ AC_MSG_ERROR([enable either `Logging' or `thread-safe', not both])
else
enable_thread_safe=no
fi
@@ -541,17 +541,18 @@ return y.d == 0.14894469406741037E-123 ? 0 :
2) AC_MSG_RESULT(neither DPD nor BID)
if test "$enable_decimal_float" = yes; then
AC_MSG_ERROR([unsupported decimal float format.
-Please build MPFR with --disable-decimal-float.])
+Please build MPFR without --enable-decimal-float.])
fi ;;
- *) AC_MSG_FAILURE(internal error) ;;
+ *) AC_MSG_RESULT(internal error)
+ AC_MSG_FAILURE(unexpected exit status) ;;
esac],
[AC_MSG_RESULT(assuming DPD)
AC_DEFINE([DPD_FORMAT],1,[])])
],
[AC_MSG_RESULT(no)
if test "$enable_decimal_float" = yes; then
- AC_MSG_ERROR([Compiler doesn't know _Decimal64 (ISO/IEC TR 24732).
-Please use another compiler or build MPFR with --disable-decimal-float.])
+ AC_MSG_ERROR([compiler doesn't know _Decimal64 (ISO/IEC TR 24732).
+Please use another compiler or build MPFR without --enable-decimal-float.])
fi])
fi