summaryrefslogtreecommitdiff
path: root/ext/rbconfig/sizeof
diff options
context:
space:
mode:
Diffstat (limited to 'ext/rbconfig/sizeof')
-rw-r--r--ext/rbconfig/sizeof/depend6
-rw-r--r--ext/rbconfig/sizeof/extconf.rb1
2 files changed, 5 insertions, 2 deletions
diff --git a/ext/rbconfig/sizeof/depend b/ext/rbconfig/sizeof/depend
index 1bcaa9c..56564b1 100644
--- a/ext/rbconfig/sizeof/depend
+++ b/ext/rbconfig/sizeof/depend
@@ -1,6 +1,8 @@
-sizes.c: $(top_srcdir)/tool/generic_erb.rb $(top_srcdir)/template/sizes.c.tmpl $(top_srcdir)/configure.in
+sizes.c: $(top_srcdir)/tool/generic_erb.rb $(top_srcdir)/template/sizes.c.tmpl $(top_srcdir)/configure.in $(top_srcdir)/ext/rbconfig/sizeof/extconf.rb
$(Q) $(RUBY) $(top_srcdir)/tool/generic_erb.rb --output=$@ \
- $(top_srcdir)/template/sizes.c.tmpl $(top_srcdir)/configure.in
+ $(top_srcdir)/template/sizes.c.tmpl \
+ $(top_srcdir)/configure.in \
+ $(top_srcdir)/ext/rbconfig/sizeof/extconf.rb
# AUTOGENERATED DEPENDENCIES START
sizes.o: $(RUBY_EXTCONF_H)
diff --git a/ext/rbconfig/sizeof/extconf.rb b/ext/rbconfig/sizeof/extconf.rb
index ac66b6a..f4379b0 100644
--- a/ext/rbconfig/sizeof/extconf.rb
+++ b/ext/rbconfig/sizeof/extconf.rb
@@ -1,3 +1,4 @@
$srcs = %w[sizes.c]
$distcleanfiles.concat($srcs)
+check_sizeof('__int128')
create_makefile('rbconfig/sizeof')