migration to autotools (in progress)