use autoconf tools in rules file