From af80de1f01c8234203ff67de37aa1ff2d2766317 Mon Sep 17 00:00:00 2001
From: Bruce Momjian <bruce@momjian.us>
Date: Tue, 14 Dec 2004 14:53:53 +0000
Subject: [PATCH] Update aix cc_r wording.

---
 config/acx_pthread.m4 | 6 +++---
 configure             | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/config/acx_pthread.m4 b/config/acx_pthread.m4
index 8b3915865e4..2ca565c1440 100644
--- a/config/acx_pthread.m4
+++ b/config/acx_pthread.m4
@@ -202,9 +202,9 @@ if test "x$acx_pthread_ok" = xyes; then
         LIBS="$save_LIBS"
         CFLAGS="$save_CFLAGS"
 
-# Not a common AIX compiler so we don't support it and adding a specific
-# compiler usage for every thread compile is ugly
-# AIX threading requires gcc
+# Supporting cc_r would require a special CC in all places that
+# use libpq, and that is ugly, so we don't do it.  Users can still
+# define their compiler as cc_r to do thread builds of everything.
         # More AIX lossage: must compile with cc_r
         AC_CHECK_PROG(PTHREAD_CC, cc_r, cc_r, ${CC})
 else
diff --git a/configure b/configure
index 4c99f9002cd..0d7a0eb1977 100755
--- a/configure
+++ b/configure
@@ -14236,9 +14236,9 @@ echo "${ECHO_T}${flag}" >&6
         LIBS="$save_LIBS"
         CFLAGS="$save_CFLAGS"
 
-# Not a common AIX compiler so we don't support it and adding a specific
-# compiler usage for every thread compile is ugly
-# AIX threading requires gcc
+# Supporting cc_r would require a special CC in all places that
+# use libpq, and that is ugly, so we don't do it.  Users can still
+# define their compiler as cc_r to do thread builds of everything.
         # More AIX lossage: must compile with cc_r
         # Extract the first word of "cc_r", so it can be a program name with args.
 set dummy cc_r; ac_word=$2
-- 
GitLab