packaging: use configure instead of autogen