From 0a64817fb80016030c03518fb9459f63c11605ea Mon Sep 17 00:00:00 2001 From: matz Date: Fri, 13 Aug 1999 05:37:52 +0000 Subject: remove marshal/gtk/kconv git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/pty/extconf.rb | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 ext/pty/extconf.rb (limited to 'ext/pty/extconf.rb') diff --git a/ext/pty/extconf.rb b/ext/pty/extconf.rb new file mode 100644 index 0000000000..63383f7faf --- /dev/null +++ b/ext/pty/extconf.rb @@ -0,0 +1,10 @@ +require 'mkmf' + +have_header("sys/stropts.h") +have_func("setresuid") +$CFLAGS << "-DHAVE_DEV_PTMX" if /cygwin/ === PLATFORM +if have_func("openpty") or + have_func("_getpty") or + have_func("ioctl") + create_makefile('pty') +end -- cgit v1.2.3