Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
dbach
committed
May 26, 2006
1 parent
be2ad5a
commit 727193a
Showing
1 changed file
with
8 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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") |