Sha256: 9edbbe3646550f346178045ab448f1c2eb95099dcfc0b1b99fad0921ae4f0711

Contents?: true

Size: 266 Bytes

Versions: 5

Compression:

Stored size: 266 Bytes

Contents

require 'mkmf'
#have_library('stdc++', "main")
#have_library('svm', "main")
$CFLAGS = "#{ENV['CFLAGS']} -Wall -O3 "
pkg_config 'libsvm'
if CONFIG["MAJOR"].to_i >= 1 && CONFIG["MINOR"].to_i >= 8
  $CFLAGS << " -DHAVE_DEFINE_ALLOC_FUNCTION"
end
create_makefile('SVM')

Version data entries

5 entries across 5 versions & 3 rubygems

Version Path
feedbackmine-feedbackmine-libsvm-ruby-0.1.0 ext/extconf.rb
feedbackmine-libsvm-ruby-0.1.0 ext/extconf.rb
feedbackmine-libsvm-ruby-0.1.1 ext/extconf.rb
feedbackmine-libsvm-ruby-0.1.2 ext/extconf.rb
gohanlonllc-libsvm-ruby-2.8.4 ext/extconf.rb