From 2eba7096b9ea04eda551d65ef9eff315641cc9d8 Mon Sep 17 00:00:00 2001 From: vlefevre Date: Wed, 9 Jan 2019 14:12:12 +0000 Subject: 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 --- acinclude.m4 | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'acinclude.m4') 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]) -- cgit v1.2.1