1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

extconf.rb: no nmake style VPATH

* ext/io/console/extconf.rb: only nmake needs remove  style VPATH.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2015-05-08 08:22:06 +00:00
parent d75ba7dc3e
commit 596663589b
2 changed files with 1 additions and 3 deletions

View file

@ -1,5 +1,3 @@
WIN32_VK_HEADER = {$(srcdir)}win32_vk.chksum
$(OBJS): $(HDRS) $(ruby_headers) \
$(VK_HEADER) \
$(hdrdir)/ruby/io.h \

View file

@ -5,7 +5,7 @@ hdr = nil
case
when macro_defined?("_WIN32", "")
# rb_w32_map_errno: 1.8.7
vk_header = "$(WIN32_VK_HEADER)"
vk_header = ($nmake == ?n ? "{$(srcdir)}" : "") << "win32_vk.chksum"
when hdr = %w"termios.h termio.h".find {|h| have_header(h)}
have_func("cfmakeraw", hdr)
when have_header(hdr = "sgtty.h")