ext/pty/extconf.rb


DEFINITIONS

This source file includes following functions.


   1  require 'mkmf'
   2  
   3  if /mswin32|mingw|bccwin32/ !~ RUBY_PLATFORM
   4    have_header("sys/stropts.h")
   5    have_func("setresuid")
   6    have_header("libutil.h")
   7    have_header("pty.h")
   8    have_library("util", "openpty")
   9    if have_func("openpty") or
  10        have_func("_getpty") or
  11        have_func("ptsname") or
  12        have_func("ioctl")
  13      create_makefile('pty')
  14    end
  15  end