1 2 3 4 5 6 7 8 9 10 11 12
#!/usr/bin/env ruby require 'mkmf' if have_library("nmdb", "nmdb_init") and have_header("nmdb.h") then dir_config("libnmdb") create_makefile("nmdb_ll") else puts "Can't find libnmdb" end