configure.ac: Remove useless checks.