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

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

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

create_makefile('date_core')