diff --git a/src/configure b/src/configure
index bd80baa0473f5ec4e4735c6a0de750d2a3445f59..d220796d1505ebee387709696b9cbf11936cf08b 100755
--- a/src/configure
+++ b/src/configure
@@ -3224,7 +3224,7 @@ else
 fi
 rm -f conftest*
 
-if test $ac_cv_prog_gcc = yes; then
+if test x$ac_cv_prog_gcc = xyes; then
     echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
 echo "configure:3230: checking whether ${CC-cc} needs -traditional" >&5
 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
diff --git a/src/configure.in b/src/configure.in
index c99927bb5a34deffbed89edaaca91f25d82f125f..8b86ede2bbb69c76275e318c6946e5703896f5d3 100644
--- a/src/configure.in
+++ b/src/configure.in
@@ -259,8 +259,6 @@ else
 	AC_DEFINE(NO_ASSERT_CHECKING)
 fi
 
-dnl We use the default value of 5432 for the DEF_PGPORT value.  If
-dnl we over-ride it with --with-pgport=port then we bypass this piece
 if test "X$with_compiler" != "X"
 then
         CC=$with_compiler