From 7c899cde2bab2b76277005dcc2f4330f512f3883 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 8 Apr 2005 11:18:17 +0000 Subject: * ext/extmk.rb (extmake): hdrdir needs to be defined also in Config::CONFIG. * lib/mkmf.rb (configuration, create_makefile): get rid of recursive macro reference. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/extmk.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'ext') diff --git a/ext/extmk.rb b/ext/extmk.rb index edff04988..859538fe5 100644 --- a/ext/extmk.rb +++ b/ext/extmk.rb @@ -115,6 +115,7 @@ def extmake(target) makefile = "./Makefile" ok = File.exist?(makefile) unless $ignore + Config::CONFIG["hdrdir"] = $hdrdir Config::CONFIG["srcdir"] = $srcdir Config::CONFIG["topdir"] = $topdir CONFIG["hdrdir"] = ($hdrdir == top_srcdir) ? top_srcdir : "$(topdir)"+top_srcdir[2..-1] -- cgit