Sha256: 76064eaf45f31ab23fae2a0b2ac0c79032904d4c3f56103f4615f3e4f96a0578

Contents?: true

Size: 410 Bytes

Versions: 2

Compression:

Stored size: 410 Bytes

Contents

require 'mkmf'

if /mswin32|mingw|bccwin32/ !~ RUBY_PLATFORM
  have_header("sys/stropts.h")
  have_header("sys/wait.h")
  have_func("setresuid")
  have_header("libutil.h")
  have_header("unistd.h")
  have_header("pty.h")
  have_library("util", "openpty")
  if have_func("openpty") or
      have_func("_getpty") or
      have_func("ptsname") or
      have_func("ioctl")
    create_makefile('pty/pty')
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rubysl-pty-2.0.3 ext/rubysl/pty/extconf.rb
rubysl-pty-2.0.2 ext/rubysl/pty/extconf.rb