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.

16 lines
401 B

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