use CONFIGURE_REQUIRES and CONFIGURE to check features