Sha256: 0c1ffb7eaa33f4b4ec4d788e26f94e8b9a10b0d1566a331582b688aa67836f03

Contents?: true

Size: 250 Bytes

Versions: 17

Compression:

Stored size: 250 Bytes

Contents

require 'mkmf'

unless have_const('linux') || RbConfig::CONFIG['arch'].to_s[/linux/]
	abort('Platform is not linux')
end

unless have_header('sys/sysinfo.h') && have_header('ruby.h')
	abort('Missing header')
end

create_makefile 'linux_stat/sysinfo'

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
linux_stat-2.6.0 ext/sysinfo/extconf.rb
linux_stat-2.5.3 ext/sysinfo/extconf.rb
linux_stat-2.5.2 ext/sysinfo/extconf.rb
linux_stat-2.5.1 ext/sysinfo/extconf.rb
linux_stat-2.5.0 ext/sysinfo/extconf.rb
linux_stat-2.4.0 ext/sysinfo/extconf.rb
linux_stat-2.3.0 ext/sysinfo/extconf.rb
linux_stat-2.2.3 ext/sysinfo/extconf.rb
linux_stat-2.2.2 ext/sysinfo/extconf.rb
linux_stat-2.2.1 ext/sysinfo/extconf.rb
linux_stat-2.2.0 ext/sysinfo/extconf.rb
linux_stat-2.1.2 ext/sysinfo/extconf.rb
linux_stat-2.1.1 ext/sysinfo/extconf.rb
linux_stat-2.1.0 ext/sysinfo/extconf.rb
linux_stat-2.0.1 ext/sysinfo/extconf.rb
linux_stat-1.6.0 ext/sysinfo/extconf.rb
linux_stat-1.5.1 ext/sysinfo/extconf.rb