Sha256: d2a5ebea07f3d1488acf43ccb0dfc4ab69af5268e4a8bca75012d956fe136d07

Contents?: true

Size: 717 Bytes

Versions: 11

Compression:

Stored size: 717 Bytes

Contents

# frozen_string_literal: true

require "rubygems"

require "mkmf"

have_header("unistd.h")

$defs << "-DEV_USE_LINUXAIO"     if have_header("linux/aio_abi.h")
$defs << "-DEV_USE_SELECT"       if have_header("sys/select.h")
$defs << "-DEV_USE_POLL"         if have_type("port_event_t", "poll.h")
$defs << "-DEV_USE_EPOLL"        if have_header("sys/epoll.h")
$defs << "-DEV_USE_KQUEUE"       if have_header("sys/event.h") && have_header("sys/queue.h")
$defs << "-DEV_USE_PORT"         if have_type("port_event_t", "port.h")
$defs << "-DHAVE_SYS_RESOURCE_H" if have_header("sys/resource.h")

CONFIG["optflags"] << " -fno-strict-aliasing" unless RUBY_PLATFORM =~ /mswin/

dir_config "gyro_ext"
create_makefile "gyro_ext"

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
polyphony-0.40 ext/gyro/extconf.rb
polyphony-0.39 ext/gyro/extconf.rb
polyphony-0.38 ext/gyro/extconf.rb
polyphony-0.36 ext/gyro/extconf.rb
polyphony-0.34 ext/gyro/extconf.rb
polyphony-0.33 ext/gyro/extconf.rb
polyphony-0.32 ext/gyro/extconf.rb
polyphony-0.31 ext/gyro/extconf.rb
polyphony-0.30 ext/gyro/extconf.rb
polyphony-0.21 ext/gyro/extconf.rb
polyphony-0.20 ext/gyro/extconf.rb