From 1ad9362c1a6eaeb3025950c5b7af24908e671713 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Mon, 8 Jan 2001 08:28:28 +0000 Subject: [PATCH] Fix use of AC_LANG. git-svn-id: https://svn.dealii.org/trunk@3596 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/aclocal.m4 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/deal.II/aclocal.m4 b/deal.II/aclocal.m4 index b2f01df5f6..505a3105fd 100644 --- a/deal.II/aclocal.m4 +++ b/deal.II/aclocal.m4 @@ -25,7 +25,7 @@ dnl AC_DEFUN(DEAL_II_THREAD_CPPFLAGS, dnl [ AC_MSG_CHECKING(for platform specific multi-threading defines) - AC_REQUIRE([AC_LANG_CPLUSPLUS]) + AC_LANG_CPLUSPLUS AC_TRY_COMPILE( [ #if !defined (_REENTRANT) && !defined (_THREAD_SAFE) @@ -129,7 +129,7 @@ dnl Usage: DEAL_II_CHECK_GETRUSAGE dnl AC_DEFUN(DEAL_II_CHECK_GETRUSAGE, dnl AC_MSG_CHECKING(whether getrusage is properly declared) - AC_REQUIRE([AC_LANG_CPLUSPLUS]) + AC_LANG_CPLUSPLUS AC_TRY_COMPILE( [ #include @@ -179,7 +179,7 @@ dnl action when flag is found) dnl AC_DEFUN(DEAL_II_CHECK_ISNAN_FLAG, dnl AC_MSG_CHECKING(whether isnan is declared with $1 flags) - AC_REQUIRE([AC_LANG_CPLUSPLUS]) + AC_LANG_CPLUSPLUS CXXFLAGS=$2 deal_II_isnan_flag="" AC_TRY_COMPILE( @@ -284,7 +284,7 @@ dnl action if compiler crashes) dnl AC_DEFUN(DEAL_II_CHECK_ASSERT_THROW, dnl AC_MSG_CHECKING(whether AssertThrow works with $1 flags) - AC_REQUIRE([AC_LANG_CPLUSPLUS]) + AC_LANG_CPLUSPLUS CXXFLAGS=$2 AC_TRY_COMPILE( [ -- 2.39.5