diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2001-07-17 07:27:23 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2001-07-17 07:27:23 +0000 |
commit | ec7701ec442cfdbf5aeeae8b715e8333b9c80f4c (patch) | |
tree | 2e50e676a0d86d019c8e3d37c4f59fd5320a2096 /graphics/ruby-gdchart/files/extconf.rb | |
parent | Enable JPEG support. (diff) |
Add ruby-gdchart, a Ruby extension to use the GDCHART library.
Notes
Notes:
svn path=/head/; revision=45192
Diffstat (limited to 'graphics/ruby-gdchart/files/extconf.rb')
-rw-r--r-- | graphics/ruby-gdchart/files/extconf.rb | 11 |
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") |