* configure.ac: added some dependency checks.