From 1735969296836546e5aa4672ec21dd6cae325f96 Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 1 May 2012 06:52:25 +0000 Subject: extconf.h dependency * lib/mkmf.rb (MakeMakefile#depend_rules): deal with extconf.h dependency. just remove it and bail out right now. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/mkmf.rb | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/lib/mkmf.rb b/lib/mkmf.rb index 53f647aef1..4c05ebf8a5 100644 --- a/lib/mkmf.rb +++ b/lib/mkmf.rb @@ -1897,7 +1897,14 @@ RULES unless suffixes.empty? depout.unshift(".SUFFIXES: ." + suffixes.uniq.join(" .") + "\n\n") end - depout.unshift("$(OBJS): $(RUBY_EXTCONF_H)\n\n") if $extconf_h + if $extconf_h + depout.unshift("$(OBJS): $(RUBY_EXTCONF_H)\n\n", + "$(RUBY_EXTCONF_H): $(srcdir)/extconf.rb\n", + "$(RUBY_EXTCONF_H):\n", + "\t$(Q)$(RM) $(@)\n", + "\t$(ECHO) $@ is outdated, re-configure\n", + "\t@exit 1\n") + end depout.flatten! depout end -- cgit v1.2.3