require 'mkmf' have_library('stdc++') have_header('ruby/encoding.h') create_makefile 'unf_ext'