mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/mkmf.rb: not check config.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ccdf3f1162
commit
59491ed3b0
2 changed files with 4 additions and 3 deletions
|
@ -1,4 +1,6 @@
|
|||
Sun Aug 17 15:58:08 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
Sun Aug 17 15:58:39 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* lib/mkmf.rb: not check config.h.
|
||||
|
||||
* lib/mkmf.rb (init_mkmf): add include/ruby/backward to $INCFLAGS.
|
||||
|
||||
|
|
|
@ -159,8 +159,7 @@ if not $extmk and File.exist?(($hdrdir = RbConfig::CONFIG["rubyhdrdir"]) + "/rub
|
|||
$topdir = $hdrdir
|
||||
$top_srcdir = $hdrdir
|
||||
$arch_hdrdir = $hdrdir + "/$(arch)"
|
||||
elsif File.exist?(($hdrdir = ($top_srcdir ||= topdir) + "/include") + "/ruby.h") and
|
||||
File.exist?("#{CONFIG["EXTOUT"]}/include/#{CONFIG["arch"]}/ruby/config.h")
|
||||
elsif File.exist?(($hdrdir = ($top_srcdir ||= topdir) + "/include") + "/ruby.h")
|
||||
$topdir ||= RbConfig::CONFIG["topdir"]
|
||||
$arch_hdrdir = "$(extout)/include/$(arch)"
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue