You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
382 B

  1. --- a/configure.ac
  2. +++ b/configure.ac
  3. @@ -542,8 +542,8 @@ AC_TRY_COMPILE([
  4. AC_MSG_CHECKING(for usuable C++11 regex)
  5. -AC_TRY_RUN([
  6. +AC_TRY_COMPILE([
  7. #include <regex>
  8. -#include <iostream>
  9. -int main() {
  10. +#include <iostream>],
  11. +[int main() {
  12. const std::regex regex(".*");
  13. const std::string string = "This should match!";
  14. const auto result = std::regex_search(string, regex);