Sha256: 067131c7c22362033952297f38372352a65b9538c4de50b7108b80113090b130

Contents?: true

Size: 453 Bytes

Versions: 5

Compression:

Stored size: 453 Bytes

Contents

require 'mkmf'

dir_config('filesystem')

have_header("sys/mnttab.h") || have_header("mntent.h")

have_func("statvfs")
have_func("getextmntent")

if have_func("getmntinfo")
   have_macro("MNT_NOATIME", "sys/mount.h")
   have_macro("MNT_MULTILABEL", "sys/mount.h")
end

if have_header("sys/statvfs.h")
   have_struct_member("struct statvfs", "f_basetype", "sys/statvfs.h")
else
   have_header("sys/vnode.h")
end

create_makefile("sys/filesystem", "sys")

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
sys-filesystem-0.3.4 ext/extconf.rb
sys-filesystem-0.3.3 ext/extconf.rb
sys-filesystem-0.3.2 ext/extconf.rb
sys-filesystem-0.3.1 ext/extconf.rb
sys-filesystem-0.3.0 ext/extconf.rb