We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6790ce commit 391dcebCopy full SHA for 391dceb
configure
@@ -13273,7 +13273,7 @@ fi
13273
13274
13275
13276
-if test "$SUPPORTS_THREADS" != yes; then
+if test "$THREAD_SUPPORT" != yes; then
13277
{ { echo "$as_me:$LINENO: error:
13278
Cannot enable threads on your platform.
13279
Please report your platform threading info to the PostgreSQL mailing lists
@@ -13299,6 +13299,7 @@ fi
13299
13300
13301
13302
+
13303
#
13304
# Check for re-entrant versions of certain functions
13305
@@ -18211,6 +18212,7 @@ s,@python_includespec@,$python_includespec,;t t
18211
18212
s,@python_libspec@,$python_libspec,;t t
18213
s,@LIBOBJS@,$LIBOBJS,;t t
18214
s,@HAVE_IPV6@,$HAVE_IPV6,;t t
18215
+s,@THREAD_SUPPORT@,$THREAD_SUPPORT,;t t
18216
s,@THREAD_CPPFLAGS@,$THREAD_CPPFLAGS,;t t
18217
s,@THREAD_LIBS@,$THREAD_LIBS,;t t
18218
s,@HAVE_POSIX_SIGNALS@,$HAVE_POSIX_SIGNALS,;t t
configure.in
@@ -1,5 +1,5 @@
1
-\dnl Process this file with autoconf to produce a configure script.
2
-dnl $Header: /cvsroot/pgsql/configure.in,v 1.291 2003/09/27 15:32:47 momjian Exp $
+dnl Process this file with autoconf to produce a configure script.
+dnl $Header: /cvsroot/pgsql/configure.in,v 1.292 2003/09/27 16:24:44 momjian Exp $
3
dnl
4
dnl Developers, please strive to achieve this order:
5
@@ -1002,7 +1002,7 @@ AC_FUNC_FSEEKO
1002
if test "$enable_thread_safety" = yes; then
1003
AC_CHECK_HEADER(pthread.h, [], [AC_MSG_ERROR([pthread.h not found, required for --enable-thread-safetys])])
1004
1005
1006
AC_MSG_ERROR([
1007
1008
@@ -1016,6 +1016,7 @@ else
1016
THREAD_CPPFLAGS=
1017
THREAD_LIBS=
1018
fi
1019
+AC_SUBST(THREAD_SUPPORT)
1020
AC_SUBST(THREAD_CPPFLAGS)
1021
AC_SUBST(THREAD_LIBS)
1022
src/Makefile.global.in
# -*-makefile-*-
-# $Header: /cvsroot/pgsql/src/Makefile.global.in,v 1.169 2003/09/27 15:32:47 momjian Exp $
+# $Header: /cvsroot/pgsql/src/Makefile.global.in,v 1.170 2003/09/27 16:24:44 momjian Exp $
#------------------------------------------------------------------------------
# All PostgreSQL makefiles include this file and use the variables it sets,
@@ -150,6 +150,7 @@ TK_LIBS = @TK_LIBS@
150
TK_LIB_SPEC = @TK_LIB_SPEC@
151
TK_XINCLUDES = @TK_XINCLUDES@
152
153
+THREAD_SUPPORT = @THREAD_SUPPORT@
154
THREAD_CPPFLAGS = @THREAD_CPPFLAGS@
155
THREAD_LIBS = @THREAD_LIBS@
156
src/template/bsdi
@@ -10,5 +10,5 @@ case $host_os in
10
;;
11
esac
12
13
-SUPPORTS_THREADS=yes
+THREAD_SUPPORT=yes
14
NEED_REENTRANT_FUNCS=no # verified 4.3 2003-09-26
src/template/freebsd
@@ -4,9 +4,8 @@ case $host_cpu in
alpha*) CFLAGS="$CFLAGS -O" ;;
6
7
8
-NEED_REENTRANT_FUNCS=yes # 4.8, 5.1 2003-09-12
9
-
+NEED_REENTRANT_FUNCS=yes
THREAD_CPPFLAGS="-D_THREAD_SAFE"
case $host_os in
freebsd2*|freebsd3*|freebsd4*)
src/template/linux
@@ -2,8 +2,8 @@ CFLAGS=-O2
# Force _GNU_SOURCE on; plperl is broken with Perl 5.8.0 otherwise
CPPFLAGS="-D_GNU_SOURCE"
-NEED_REENTRANT_FUNCS=yes # verified glibc 2.1 2003-09-03
THREAD_CPPFLAGS="-D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS"
THREAD_LIBS="-lpthread"
src/template/netbsd
@@ -1,4 +1,4 @@
CFLAGS='-O2 -pipe'
NEED_REENTRANT_FUNCS=yes # 1.6 2003-09-14
src/template/osf
@@ -5,6 +5,6 @@ else
CFLAGS='-O4 -Olimit 2000'
NEED_REENTRANT_FUNCS=no # 4.0 2003-09-13
THREAD_LIBS="-pthread"
src/template/solaris
@@ -5,7 +5,7 @@ else
CFLAGS=-v # -v is like gcc -Wall
NEED_REENTRANT_FUNCS=yes # 5.6 2003-09-13
src/template/unixware
@@ -9,6 +9,6 @@ else
THREAD_CPPFLAGS="-K pthread"
NEED_REENTRANT_FUNCS=no # verified 7.1.3 2003-09-03
THREAD_CPPFLAGS="$THREAD_CPPFLAGS -D_REENTRANT"
0 commit comments