Verified Commit a34918d0 authored by Alberto Miranda's avatar Alberto Miranda ♨️
Browse files

Fix AM_CONDITIONAL in configure.ac

parent 0bc67763
Loading
Loading
Loading
Loading
Loading
+12 −13
Original line number Diff line number Diff line
@@ -125,9 +125,6 @@ AX_BOOST_ASIO
AX_BOOST_PROGRAM_OPTIONS
AX_BOOST_THREAD

# only check for std::regex/boost::regex if we are building tests
AS_IF([test "x$is_enabled_build_tests" = "xyes"], 
      [ 
# check whether the compiler has a functional std::regex
AX_GCC_WORKING_STD_REGEX
AS_IF([test "x$gcc_has_working_std_regex" = xno],
@@ -138,8 +135,10 @@ AS_IF([test "x$is_enabled_build_tests" = "xyes"],
      ], [])
AM_CONDITIONAL([HAVE_WORKING_STD_REGEX], 
               test x$GCC_HAS_WORKING_STD_REGEX = xyes)
        AC_CONFIG_FILES(tests/Makefile)
      ], [])

# only check for std::regex/boost::regex if we are building tests
AS_IF([test "x$is_enabled_build_tests" = "xyes"], 
      [ AC_CONFIG_FILES(tests/Makefile) ], [])

# check for mercury
PKG_CHECK_MODULES([MERCURY], [mercury >= 0.26])