<commit_before>dnl -*- autoconf -*-
# Macros needed to find dune-multiscale and dependent libraries.  They are called by
# the macros in ${top_src_dir}/dependencies.m4, which is generated by
# "dunecontrol autogen"

# Additional checks needed to build dune-multiscale
# This macro should be invoked by every module which depends on dune-multiscale, as
# well as by dune-multiscale itself
AC_DEFUN([DUNE_MULTISCALE_CHECKS],
[
	DUNE_BOOST_BASE(1.48, [DUNE_BOOST_SYSTEM] , [] )
	AC_REQUIRE(HAVE_DUNE)
	AC_REQUIRE([GXX0X])
  AC_REQUIRE([LAMBDAS_CHECK])
  AC_REQUIRE([STD_BEGIN_END_CHECK])
  AC_REQUIRE([CONSTEXPR_CHECK])
    AX_BOOST_FILESYSTEM
    AX_BOOST_DATE_TIME
    AX_BOOST_SYSTEM
    AX_BOOST_CHRONO
    AX_BOOST_TIMER
    AX_BOOST_FUSION
])

# Additional checks needed to find dune-multiscale
# This macro should be invoked by every module which depends on dune-multiscale, but
# not by dune-multiscale itself
AC_DEFUN([DUNE_MULTISCALE_CHECK_MODULE],
[
  DUNE_CHECK_MODULES([dune-multiscale],[multiscale/problems/base.hh])
])<commit_msg>Cleanup in m4 checks<commit_after>dnl -*- autoconf -*-
# Macros needed to find dune-multiscale and dependent libraries.  They are called by
# the macros in ${top_src_dir}/dependencies.m4, which is generated by
# "dunecontrol autogen"

# Additional checks needed to build dune-multiscale
# This macro should be invoked by every module which depends on dune-multiscale, as
# well as by dune-multiscale itself
AC_DEFUN([DUNE_MULTISCALE_CHECKS],
[
	DUNE_BOOST_BASE(1.48, [DUNE_BOOST_SYSTEM] , [] )

  AX_BOOST_FILESYSTEM([1.48.0])
  AX_BOOST_SYSTEM([1.48.0])
  AX_BOOST_TIMER([1.48.0])
  AX_BOOST_CHRONO([1.48.0])

  AC_LANG([C++])
  AX_CXX_COMPILE_STDCXX_11([noext],[mandatory])
])

# Additional checks needed to find dune-multiscale
# This macro should be invoked by every module which depends on dune-multiscale, but
# not by dune-multiscale itself
AC_DEFUN([DUNE_MULTISCALE_CHECK_MODULE],
[
  DUNE_CHECK_MODULES([dune-multiscale],[multiscale/problems/base.hh])
])
{'fraction_non_alphanumeric': 0.09725685785536159, 'fraction_numerical': 0.013965087281795512, 'mean_word_length': 5.45016077170418, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2186581', 'n_tokens_mistral': 786, 'n_tokens_neox': 738, 'n_words': 172}