summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut2008-10-29 16:23:07 +0000
committerPeter Eisentraut2008-10-29 16:23:07 +0000
commit2627947d26777d54845a252095c62f750e229278 (patch)
tree6667a92e299e8c19a3a52fe605fe2661797190ba
parenta9807bcc0bcf232c0e225751bed65cfb369e8eb1 (diff)
Move forgotten comment closer to where it matters.
-rwxr-xr-xconfigure5
-rw-r--r--configure.in5
-rw-r--r--src/template/solaris2
3 files changed, 6 insertions, 6 deletions
diff --git a/configure b/configure
index 0edb145378..976527f5e3 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 f9f5ca4917..ece61f666e 100644
--- a/configure.in
+++ b/configure.in
@@ -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 40e3a68c88..e07b9a0a8d 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