remove unnecessary checks in configure.ac