remove useless tests in configure.sh