2015-12-16 00:31:54 -05:00
|
|
|
# frozen_string_literal: false
|
2003-03-28 00:00:21 -05:00
|
|
|
require 'mkmf'
|
2008-02-09 03:51:26 -05:00
|
|
|
|
2016-12-10 02:49:15 -05:00
|
|
|
alias __have_macro__ have_macro
|
|
|
|
|
2010-08-14 11:22:43 -04:00
|
|
|
have_func("labs", "stdlib.h")
|
|
|
|
have_func("llabs", "stdlib.h")
|
2016-12-10 02:49:15 -05:00
|
|
|
have_func("finite", "math.h")
|
|
|
|
have_func("isfinite", "math.h")
|
2010-08-14 11:22:43 -04:00
|
|
|
|
2015-01-29 09:34:43 -05:00
|
|
|
have_type("struct RRational", "ruby.h")
|
|
|
|
have_func("rb_rational_num", "ruby.h")
|
|
|
|
have_func("rb_rational_den", "ruby.h")
|
2016-12-10 02:49:15 -05:00
|
|
|
have_func("rb_array_const_ptr", "ruby.h")
|
|
|
|
have_func("rb_sym2str", "ruby.h")
|
|
|
|
|
2003-03-28 00:00:21 -05:00
|
|
|
create_makefile('bigdecimal')
|