1 #!/usr/bin/env ruby 2 3 require 'mkmf' 4 5 # dir_config("hdf","../../..","../../../libs") 6 dir_config("hdf") 7 8 have_library("z", "deflate") 9 10 if have_header("ClearSilver.h") && have_library("neo_utl","hdf_init") && have_library("neo_cs","cs_init") && have_library("neo_cgi","cgi_register_strfuncs") 11 create_makefile("hdf") 12 end 13