summaryrefslogtreecommitdiff
path: root/graphics/ruby-gdchart/files/extconf.rb
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/ruby-gdchart/files/extconf.rb')
-rw-r--r--graphics/ruby-gdchart/files/extconf.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/ruby-gdchart/files/extconf.rb b/graphics/ruby-gdchart/files/extconf.rb
new file mode 100644
index 000000000000..c7bc6233a5c1
--- /dev/null
+++ b/graphics/ruby-gdchart/files/extconf.rb
@@ -0,0 +1,11 @@
+require 'mkmf'
+
+$CFLAGS << ' -DHAVE_JPEG'
+dir_config('gd', '/usr/local')
+dir_config('gdchart', '/usr/local')
+have_library('z')
+have_library('png')
+have_library('jpeg')
+have_library('gd')
+have_library('gdchart')
+create_makefile("GDChart")