Fully migrate to autoconf