diff options
Diffstat (limited to 'ext/pty/extconf.rb')
-rw-r--r-- | ext/pty/extconf.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ext/pty/extconf.rb b/ext/pty/extconf.rb new file mode 100644 index 0000000000..de9517ec0c --- /dev/null +++ b/ext/pty/extconf.rb @@ -0,0 +1,9 @@ +require 'mkmf' + +have_header("sys/stropts.h") +have_func("setresuid") +if have_func("openpty") or + have_func("_getpty") or + have_func("ioctl") + create_makefile('pty') +end |