Autoconf improvements, part 2