configure.ac: dependency checks added