require "mkmf" dir_config('narray',$sitearchdir,$sitearchdir) dir_config('fftw3','/usr/local') if ( ! ( have_header("narray.h") && have_header("narray_config.h") ) ) then print <<-EOS ** configure error ** Header narray.h or narray_config.h is not found. If you have these files in /narraydir/include, try the following: % ruby extconf.rb --with-narray-include=/narraydir/include EOS exit(-1) end if ( ! ( have_header("fftw3.h") && have_library("fftw3") ) ) then print <