diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-05-01 06:52:25 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-05-01 06:52:25 +0000 |
commit | 1735969296836546e5aa4672ec21dd6cae325f96 (patch) | |
tree | fe1b55fd2e1b1c0bb333e4cf39007d0d99a94e43 | |
parent | e6bd1496a8f6c57c2b876d321483782485252859 (diff) | |
download | ruby-1735969296836546e5aa4672ec21dd6cae325f96.tar.gz |
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
-rw-r--r-- | lib/mkmf.rb | 9 |
1 files changed, 8 insertions, 1 deletions
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 |