require 'mkmf' dir_config("ssdeep") if not have_header("fuzzy.h") or not have_library("fuzzy", "fuzzy_compare") fail <<-EOM Can't find ssdeep library or headers. Try passing --with-ssdeep-dir or --with-sdeep-lib and --with-ssdeep-include options to extconf. EOM end create_makefile("ssdeep")