ext/re2/extconf.rb in re2-0.6.1 vs ext/re2/extconf.rb in re2-0.7.0
- old
+ new
@@ -9,9 +9,12 @@
incl, lib = dir_config("re2", "/usr/local/include", "/usr/local/lib")
$CFLAGS << " -Wall -Wextra -funroll-loops"
have_library("stdc++")
+have_header("stdint.h")
+have_func("rb_str_sublen")
+
if have_library("re2")
# Determine which version of re2 the user has installed.
# Revision d9f8806c004d added an `endpos` argument to the
# generic Match() function.