Skip to content

Commit

Permalink
patch submitted by anonymous user
Browse files Browse the repository at this point in the history
  • Loading branch information
dbach committed May 26, 2006
1 parent be2ad5a commit 727193a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion extconf.rb
@@ -1,8 +1,15 @@
# $Id: extconf.rb,v 1.1 2005/08/04 01:16:07 probertm Exp $
# $Id: extconf.rb,v 1.2 2006/05/26 19:38:50 dbach Exp $
# Lost ticket pays maximum rate.

require 'mkmf'

# Be sure to say where you rrdtool lives:
# ruby ./extconf.rb --with-rrd-dir=/usr/local/rrdtool-1.2.12
libpaths=%w(/lib /usr/lib /usr/local/lib)
%w(art_lgpl_2 freetype png z).sort.reverse.each do |lib|
find_library(lib, nil, *libpaths)
end

dir_config("rrd")
have_library("rrd", "rrd_create")
create_makefile("RRDtool")

0 comments on commit 727193a

Please sign in to comment.