Sha256: 4b83f307b12073ef5191bef8315e794c5b30473b70b86828236d91f61e931ecd
Contents?: true
Size: 727 Bytes
Versions: 14
Compression:
Stored size: 727 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 "polyphony_ext" create_makefile "polyphony_ext"
Version data entries
14 entries across 14 versions & 1 rubygems