Sha256: 60bdb54c55454f09a09ed807bf6422d91e5f696a8c49f01eedf23bedf2d2ffaf

Contents?: true

Size: 414 Bytes

Versions: 4

Compression:

Stored size: 414 Bytes

Contents

require 'mkmf'
require 'rbconfig'

have_header("fcntl.h")
have_header("sys/ioctl.h")
have_header("sys/time.h")
have_header("sys/types.h")
have_header("unistd.h")
have_header("termio.h")

if Config::CONFIG['arch'] =~ /win32/
  $defs.push "-DCM17A_WIN32"
  $defs.push '-DDEFAULT_SERIAL_DEVICE=\\"COM1\\"'
else
  $defs.push '-DDEFAULT_SERIAL_DEVICE=\\"/dev/ttyS0\\"'
end
create_makefile("cm17a_api")

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
x10-cm17a-1.0.1-i386-mswin32 ext/cm17a_api/extconf.rb
x10-cm17a-1.0.1 ext/cm17a_api/extconf.rb
x10-cm17a-0.9.0 ext/cm17a_api/extconf.rb
x10-cm17a-1.0.0 ext/cm17a_api/extconf.rb