summaryrefslogtreecommitdiff
path: root/ext/date/extconf.rb
blob: 358f64173a588ef13b00b64a76474191b2c659fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true
require 'mkmf'

config_string("strict_warnflags") {|w| $warnflags += " #{w}"}

have_func("rb_category_warn")
with_werror("", {:werror => true}) do |opt, |
  have_var("timezone", "time.h", opt)
  have_var("altzone", "time.h", opt)
end

create_makefile('date_core')