1require 'mkmf' 2 3if ENV['LIBRHASH_INC'] 4 $CFLAGS += ' ' + ENV['LIBRHASH_INC'] 5else 6 have_header('rhash.h') 7end 8 9$LDFLAGS += ' ' + ENV['LIBRHASH_LD'] if ENV['LIBRHASH_LD'] 10$LDFLAGS += ' -lrhash' 11 12dir_config('rhash') 13create_makefile('rhash') 14