1config BR2_PACKAGE_RE2 2 bool "re2" 3 depends on BR2_INSTALL_LIBSTDCPP 4 depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # needs C++11 5 depends on BR2_TOOLCHAIN_HAS_THREADS 6 help 7 RE2 is a fast, safe, thread-friendly alternative 8 to backtracking regular expression engines like 9 those used in PCRE, Perl, and Python. 10 It is a C++ library. 11 12 https://github.com/google/re2 13 14comment "re2 needs a toolchain w/ C++, threads, gcc >= 4.8" 15 depends on !BR2_INSTALL_LIBSTDCPP || \ 16 !BR2_TOOLCHAIN_HAS_THREADS || \ 17 !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 18