summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2019-01-09 14:12:12 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2019-01-09 14:12:12 +0000
commit2eba7096b9ea04eda551d65ef9eff315641cc9d8 (patch)
tree2d7c43cd584a1a077da960c80c1bd669a2529827 /acinclude.m4
parent7c1dc602cb7b18372f793234c6dba8965685c447 (diff)
downloadmpfr-2eba7096b9ea04eda551d65ef9eff315641cc9d8.tar.gz
Moved the compatibility test of the configure options even earlier, from
acinclude.m4 to configure.ac, just after the code that defines them. Also added an associated AC_MSG_CHECKING message for better clarity. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13396 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m419
1 files changed, 0 insertions, 19 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 77e858ca3..990931933 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -38,25 +38,6 @@ dnl - Libtool stuff.
dnl - Handling of special arguments of MPFR's configure.
AC_DEFUN([MPFR_CONFIGS],
[
-dnl First, detect incompatibilities between configure options.
-if test "$enable_logging" = yes; then
- if test "$enable_thread_safe" = yes; then
- AC_MSG_ERROR([enable either logging or thread-safe, not both])
- fi
-dnl The following test is done only to output a specific error message,
-dnl as there would otherwise be an error due to enable_thread_safe=no.
- if test "$enable_shared_cache" = yes; then
- AC_MSG_ERROR([shared cache does not work with logging support])
- fi
- enable_thread_safe=no
-fi
-if test "$enable_shared_cache" = yes; then
- if test "$enable_thread_safe" = no; then
- AC_MSG_ERROR([shared cache needs thread-safe support])
- fi
- enable_thread_safe=yes
-fi
-
AC_REQUIRE([AC_OBJEXT])
AC_REQUIRE([MPFR_CHECK_LIBM])
AC_REQUIRE([MPFR_CHECK_LIBQUADMATH])