summaryrefslogtreecommitdiffstats
path: root/ext/pty/extconf.rb
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-11-21 15:42:12 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-11-21 15:42:12 +0000
commit9b6171018a22c29feeab7635376da16f6051ecdb (patch)
tree8a2e0db3367f57d457917a2637feec1dd657b6ad /ext/pty/extconf.rb
parent8cfe0591bd139d14ddd9408dfc15e5628c4b9247 (diff)
downloadruby-9b6171018a22c29feeab7635376da16f6051ecdb.tar.gz
ruby-9b6171018a22c29feeab7635376da16f6051ecdb.tar.xz
ruby-9b6171018a22c29feeab7635376da16f6051ecdb.zip
* parse.y (str_extend): should check nesting parentheses in #{}.
* process.c (pst_wstopsig): returns nil unless WIFSTOPPED() is non-zero. * process.c (pst_wtermsig): returns nil unless WIFSIGNALED() is non-zero. * process.c (pst_wexitstatus): returns nil unless WIFEXITED() is non-zero. * eval.c (rb_thread_select): tv_sec and tv_usec should not be negative. * signal.c (posix_signal): do not set SA_RESTART for SIGVTALRM. * parse.y (call_args2): block_arg may follow the first argument in call_args2. * eval.c (stack_check): should avoid stack length check during raising SystemStackError exception. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/pty/extconf.rb')
-rw-r--r--ext/pty/extconf.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/pty/extconf.rb b/ext/pty/extconf.rb
index ba2b44c70..51a4bc7cd 100644
--- a/ext/pty/extconf.rb
+++ b/ext/pty/extconf.rb
@@ -4,6 +4,9 @@ if /mswin32|mingw/ !~ RUBY_PLATFORM
have_header("sys/stropts.h")
have_func("setresuid")
$CFLAGS << "-DHAVE_DEV_PTMX" if /cygwin/ === RUBY_PLATFORM
+ have_header("libutil.h")
+ have_header("pty.h")
+ have_library("util", "openpty")
if have_func("openpty") or
have_func("_getpty") or
have_func("ioctl")