first attempt with autotools