diff --git a/src/configure b/src/configure
index 76e25f2a930bbe10e10ff361284c4fd51488e527..79aea1f64f112348f8a3a22556b77613255dff3d 100755
--- a/src/configure
+++ b/src/configure
@@ -3340,7 +3340,7 @@ else
 fi
 rm -f conftest*
 
-if test x$ac_cv_prog_gcc = xyes; then
+if test $ac_cv_prog_gcc = yes; then
     echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
 echo "configure:3346: checking whether ${CC-cc} needs -traditional" >&5
 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then