f69d8e0
Add patch from Matej Cepl to enable check section, modified by me to use common configure opts.