Add autoconf checks suggested by autoscan.