From 067cb82d6adc916ab0ae504bc43a7422ad58c4e7 Mon Sep 17 00:00:00 2001
From: "Marc G. Fournier" <scrappy@hub.org>
Date: Tue, 17 Feb 1998 01:32:37 +0000
Subject: [PATCH] The problem is that $ac_cv_prog_gcc is empty, instead of 'no'
 or whatsoever. The patch is not a solution, because configure is generated
 from configure.in, and I don't know how to patch it to get a working
 'configure'.

From: "Pedro J. Lobo" <pjlobo@euitt.upm.es>
---
 src/configure    | 2 +-
 src/configure.in | 2 --
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/configure b/src/configure
index bd80baa0473..d220796d150 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 c99927bb5a3..8b86ede2bbb 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
-- 
GitLab