Move forgotten comment closer to where it matters.
authorPeter Eisentraut <peter_e@gmx.net>
Wed, 29 Oct 2008 16:23:07 +0000 (16:23 +0000)
committerPeter Eisentraut <peter_e@gmx.net>
Wed, 29 Oct 2008 16:23:07 +0000 (16:23 +0000)
configure
configure.in
src/template/solaris

index 0edb145378f2cd031b552c66ebc145f5770170e4..976527f5e3dd646bbabfcf8df05b2423f0dd1e25 100755 (executable)
--- 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"
 
 
index 073bfa855e94193a9f793bf9d1b8aae8ca024a0b..e14844198289b37f50aa76773ba7f2bae771d466 100644 (file)
@@ -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"
 
 
index 40e3a68c88e3cc0f9736dff45641952010ee5081..e07b9a0a8d6145ee5e433704e91abf4424cc0688 100644 (file)
@@ -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