summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-25 05:37:25 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-25 05:37:25 +0000
commit29e40f35b40167aabdeb3cdca697df59fe3a3856 (patch)
tree377cfa174817a6977efdeaeb648c7400720df73e /lib
parent5ad33be825071e6bb0de65be42eecda5b3289563 (diff)
downloadruby-29e40f35b40167aabdeb3cdca697df59fe3a3856.tar.gz
ruby-29e40f35b40167aabdeb3cdca697df59fe3a3856.tar.xz
ruby-29e40f35b40167aabdeb3cdca697df59fe3a3856.zip
lib/mkmf.rb: revert last change
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/mkmf.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mkmf.rb b/lib/mkmf.rb
index bb583c9ad..2038f5f4c 100644
--- a/lib/mkmf.rb
+++ b/lib/mkmf.rb
@@ -152,7 +152,7 @@ if not $extmk and File.exist?(($hdrdir = RbConfig::CONFIG["rubyhdrdir"]) + "/rub
$top_srcdir = $hdrdir
$arch_hdrdir = $hdrdir + "/$(arch)"
elsif File.exist?(($hdrdir = ($top_srcdir ||= topdir) + "/include") + "/ruby.h") and
- File.exist?("#{$top_srcdir}/#{CONFIG["EXTOUT"]}/include/#{CONFIG["arch"]}/ruby/config.h")
+ File.exist?("#{CONFIG["EXTOUT"]}/include/#{CONFIG["arch"]}/ruby/config.h")
$topdir ||= RbConfig::CONFIG["topdir"]
$arch_hdrdir = "$(extout)/include/$(arch)"
else