summaryrefslogtreecommitdiff
path: root/ext/date/extconf.rb
diff options
context:
space:
mode:
authortadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-02-26 08:10:03 +0000
committertadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-02-26 08:10:03 +0000
commitfdf361189c2f0f695cd1f91177281725e6753c7b (patch)
treee3b813889a79ac3d7eca4efcacc600aec7acde47 /ext/date/extconf.rb
parentb08efdee966ca5daf7d71cf183e6e653c64e7954 (diff)
* lib/date.rb: [Feature #4257]
* ext/date/extconf.rb: new * ext/date/date_core.c: new git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/date/extconf.rb')
-rw-r--r--ext/date/extconf.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/date/extconf.rb b/ext/date/extconf.rb
new file mode 100644
index 0000000000..29a36a29f4
--- /dev/null
+++ b/ext/date/extconf.rb
@@ -0,0 +1,4 @@
+require 'mkmf'
+have_func('floorl', 'math.h')
+have_func('roundl', 'math.h')
+create_makefile('date_core')