Sha256: 7ae0911a27c31215b1fb931fc5ba39aa7107f340e1fcc88a1e46db950852df5e

Contents?: true

Size: 498 Bytes

Versions: 6

Compression:

Stored size: 498 Bytes

Contents

require 'mkmf'

SFLOWTOOL_VERSION = 3.41


have_header('sflow.h')
%w(fcntl.h netdb.h netinet/in.h stdlib.h string.h sys/socket.h sys/time.h unistd.h).each do |h|
  have_header h
end

%w(ruby.h alpa/socket.h).each do |h|
  have_header h
end


%w(getaddrinfo memset select socket strdup strerror strspn strtol).each do |f|
  have_func f
end


create_header('config.h')
File.open('config.h', 'ab') do |f|
  f.puts %(#define VERSION "#{SFLOWTOOL_VERSION}")
end


create_makefile('sflowtool/sflowtool')

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
fluent-plugin-sflow-0.3.3 ext/sflowtool/extconf.rb
fluent-plugin-sflow-0.3.2 ext/sflowtool/extconf.rb
fluent-plugin-sflow-0.2.1 ext/sflowtool/extconf.rb
fluent-plugin-sflow-0.3.1 ext/sflowtool/extconf.rb
fluent-plugin-sflow-0.3.0 ext/sflowtool/extconf.rb
fluent-plugin-sflow-0.2.0 ext/sflowtool/extconf.rb