aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2004-12-14 12:58:29 +0000
committerBruce Momjian <bruce@momjian.us>2004-12-14 12:58:29 +0000
commit0f4b3f22151979508c48a46e86c87ca12c3f52aa (patch)
treeb95c879f7001953a8cb9675dd9dacbd175b4a470
parentec4aa14b681cbae5dc4a5f239f9622b42d48809e (diff)
downloadpostgresql-0f4b3f22151979508c48a46e86c87ca12c3f52aa.tar.gz
postgresql-0f4b3f22151979508c48a46e86c87ca12c3f52aa.zip
Mention aix cc_r is not supported, and why
-rw-r--r--config/acx_pthread.m43
-rwxr-xr-xconfigure3
2 files changed, 6 insertions, 0 deletions
diff --git a/config/acx_pthread.m4 b/config/acx_pthread.m4
index 254a383a9b8..8b3915865e4 100644
--- a/config/acx_pthread.m4
+++ b/config/acx_pthread.m4
@@ -202,6 +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
# 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 6c043f06bab..4c99f9002cd 100755
--- a/configure
+++ b/configure
@@ -14236,6 +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
# 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