aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2008-10-29 16:23:07 +0000
committerPeter Eisentraut <peter_e@gmx.net>2008-10-29 16:23:07 +0000
commitd50966a49d2a1b935f1abcf28251668a6f6898bc (patch)
tree4e3f3bcc8e09c4c842fec1208e3ad1b9f4e1989a
parent79d306c84abbe1b55ac70b966d35feb09dedf6a8 (diff)
downloadpostgresql-d50966a49d2a1b935f1abcf28251668a6f6898bc.tar.gz
postgresql-d50966a49d2a1b935f1abcf28251668a6f6898bc.zip
Move forgotten comment closer to where it matters.
-rwxr-xr-xconfigure5
-rw-r--r--configure.in7
-rw-r--r--src/template/solaris2
3 files changed, 7 insertions, 7 deletions
diff --git a/configure b/configure
index 0edb145378f..976527f5e3d 100755
--- a/configure
+++ b/configure
@@ -19187,8 +19187,9 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
# set thread flags
-# Some platforms use these, so just defineed them. They can't hurt if they
-# are not supported.
+# Some platforms use these, so just define them. They can't hurt if they
+# are not supported. For example, on Solaris -D_POSIX_PTHREAD_SEMANTICS
+# enables 5-arg getpwuid_r, among other things.
PTHREAD_CFLAGS="$PTHREAD_CFLAGS -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS"
diff --git a/configure.in b/configure.in
index 073bfa855e9..e1484419828 100644
--- a/configure.in
+++ b/configure.in
@@ -1,5 +1,5 @@
dnl Process this file with autoconf to produce a configure script.
-dnl $PostgreSQL: pgsql/configure.in,v 1.569 2008/10/29 16:06:46 petere Exp $
+dnl $PostgreSQL: pgsql/configure.in,v 1.570 2008/10/29 16:23:07 petere Exp $
dnl
dnl Developers, please strive to achieve this order:
dnl
@@ -1334,8 +1334,9 @@ esac
if test "$enable_thread_safety" = yes -a "$PORTNAME" != "win32"; then
ACX_PTHREAD # set thread flags
-# Some platforms use these, so just defineed them. They can't hurt if they
-# are not supported.
+# Some platforms use these, so just define them. They can't hurt if they
+# are not supported. For example, on Solaris -D_POSIX_PTHREAD_SEMANTICS
+# enables 5-arg getpwuid_r, among other things.
PTHREAD_CFLAGS="$PTHREAD_CFLAGS -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS"
diff --git a/src/template/solaris b/src/template/solaris
index 40e3a68c88e..e07b9a0a8d6 100644
--- a/src/template/solaris
+++ b/src/template/solaris
@@ -20,5 +20,3 @@ if test "$SUN_STUDIO_CC" = yes ; then
;;
esac
fi
-
-# -D_POSIX_PTHREAD_SEMANTICS enables 5-arg getpwuid_r, among other things