summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/digest/md5/depend2
-rw-r--r--ext/digest/rmd160/depend2
-rw-r--r--ext/digest/sha1/depend2
-rw-r--r--ext/digest/sha2/depend2
-rw-r--r--lib/mkmf.rb9
5 files changed, 1 insertions, 16 deletions
diff --git a/ext/digest/md5/depend b/ext/digest/md5/depend
index 79f57ca..8eaec20 100644
--- a/ext/digest/md5/depend
+++ b/ext/digest/md5/depend
@@ -4,5 +4,3 @@ md5init.o: md5init.c $(srcdir)/../digest.h $(hdrdir)/ruby.h \
$(topdir)/config.h $(hdrdir)/defines.h $(hdrdir)/intern.h md5.h \
$(srcdir)/../defs.h
md5ossl.o: md5ossl.h
-
-$(RUBY_EXTCONF_H): $(top_srcdir)/ext/openssl/deprecation.rb
diff --git a/ext/digest/rmd160/depend b/ext/digest/rmd160/depend
index 8460ff7..a21d718 100644
--- a/ext/digest/rmd160/depend
+++ b/ext/digest/rmd160/depend
@@ -4,5 +4,3 @@ rmd160init.o: rmd160init.c $(srcdir)/../digest.h $(hdrdir)/ruby.h \
$(topdir)/config.h $(hdrdir)/defines.h $(hdrdir)/intern.h \
rmd160.h $(srcdir)/../defs.h
rmd160ossl.o: rmd160ossl.h $(srcdir)/../defs.h
-
-$(RUBY_EXTCONF_H): $(top_srcdir)/ext/openssl/deprecation.rb
diff --git a/ext/digest/sha1/depend b/ext/digest/sha1/depend
index 9aa98bd..6160784 100644
--- a/ext/digest/sha1/depend
+++ b/ext/digest/sha1/depend
@@ -4,5 +4,3 @@ sha1init.o: sha1init.c $(srcdir)/../digest.h $(hdrdir)/ruby.h \
$(topdir)/config.h $(hdrdir)/defines.h $(hdrdir)/intern.h \
sha1.h $(srcdir)/../defs.h
sha1ossl.o: sha1ossl.h $(srcdir)/../defs.h
-
-$(RUBY_EXTCONF_H): $(top_srcdir)/ext/openssl/deprecation.rb
diff --git a/ext/digest/sha2/depend b/ext/digest/sha2/depend
index 32a7cbc..00e18e1 100644
--- a/ext/digest/sha2/depend
+++ b/ext/digest/sha2/depend
@@ -4,5 +4,3 @@ sha2init.o: sha2init.c $(srcdir)/../digest.h $(hdrdir)/ruby.h \
$(topdir)/config.h $(hdrdir)/defines.h $(hdrdir)/intern.h \
sha2.h $(srcdir)/../defs.h
sha2ossl.o: sha2ossl.h $(srcdir)/../defs.h
-
-$(RUBY_EXTCONF_H): $(top_srcdir)/ext/openssl/deprecation.rb
diff --git a/lib/mkmf.rb b/lib/mkmf.rb
index 4c05ebf..53f647a 100644
--- a/lib/mkmf.rb
+++ b/lib/mkmf.rb
@@ -1897,14 +1897,7 @@ RULES
unless suffixes.empty?
depout.unshift(".SUFFIXES: ." + suffixes.uniq.join(" .") + "\n\n")
end
- 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.unshift("$(OBJS): $(RUBY_EXTCONF_H)\n\n") if $extconf_h
depout.flatten!
depout
end