require 'mkmf'

if have_library("CGAL") and have_library("CGAL_Core") and have_library("gmp")
	#$CFLAGS += " -frounding-math" # works for Ruby 1.9.3
	$CPPFLAGS += " -frounding-math -std=c++11" # works, but is not really the right thing
	#$CXXFLAGS += " -frounding-math" # should work, but fails
	create_makefile("rcgal_apollonius")
else
  puts 'missing CGAL library'
end
