Enable thread safety
Enable thread safety on all platforms. This will either be followed up by a more extensive patch, or reverted, depending on the build farm results.
This commit is contained in:
parent
b291c0fba8
commit
925b32bba1
31
configure
vendored
31
configure
vendored
@ -1497,7 +1497,7 @@ Optional Features:
|
||||
--enable-dtrace build with DTrace support
|
||||
--enable-depend turn on automatic dependency tracking
|
||||
--enable-cassert enable assertion checks (for debugging)
|
||||
--enable-thread-safety make client libraries thread-safe
|
||||
--disable-thread-safety make client libraries thread-safe
|
||||
--enable-thread-safety-force
|
||||
force thread-safety despite thread test failure
|
||||
--disable-float4-byval disable float4 passed by value
|
||||
@ -4859,34 +4859,6 @@ IFS=$ac_save_IFS
|
||||
#
|
||||
{ $as_echo "$as_me:$LINENO: checking allow thread-safe client libraries" >&5
|
||||
$as_echo_n "checking allow thread-safe client libraries... " >&6; }
|
||||
if test "$PORTNAME" != "win32"; then
|
||||
|
||||
|
||||
# Check whether --enable-thread-safety was given.
|
||||
if test "${enable_thread_safety+set}" = set; then
|
||||
enableval=$enable_thread_safety;
|
||||
case $enableval in
|
||||
yes)
|
||||
:
|
||||
;;
|
||||
no)
|
||||
:
|
||||
;;
|
||||
*)
|
||||
{ { $as_echo "$as_me:$LINENO: error: no argument expected for --enable-thread-safety option" >&5
|
||||
$as_echo "$as_me: error: no argument expected for --enable-thread-safety option" >&2;}
|
||||
{ (exit 1); exit 1; }; }
|
||||
;;
|
||||
esac
|
||||
|
||||
else
|
||||
enable_thread_safety=no
|
||||
|
||||
fi
|
||||
|
||||
|
||||
else
|
||||
# Win32 should always use threads
|
||||
|
||||
|
||||
# Check whether --enable-thread-safety was given.
|
||||
@ -4912,7 +4884,6 @@ else
|
||||
fi
|
||||
|
||||
|
||||
fi
|
||||
|
||||
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
dnl Process this file with autoconf to produce a configure script.
|
||||
dnl $PostgreSQL: pgsql/configure.in,v 1.613 2009/11/30 16:50:38 momjian Exp $
|
||||
dnl $PostgreSQL: pgsql/configure.in,v 1.614 2009/12/01 23:02:44 momjian Exp $
|
||||
dnl
|
||||
dnl Developers, please strive to achieve this order:
|
||||
dnl
|
||||
@ -558,12 +558,7 @@ IFS=$ac_save_IFS
|
||||
# Enable thread-safe client libraries
|
||||
#
|
||||
AC_MSG_CHECKING([allow thread-safe client libraries])
|
||||
if test "$PORTNAME" != "win32"; then
|
||||
PGAC_ARG_BOOL(enable, thread-safety, no, [make client libraries thread-safe])
|
||||
else
|
||||
# Win32 should always use threads
|
||||
PGAC_ARG_BOOL(enable, thread-safety, yes, [make client libraries thread-safe])
|
||||
fi
|
||||
|
||||
PGAC_ARG_BOOL(enable, thread-safety-force, no, [force thread-safety despite thread test failure])
|
||||
if test "$enable_thread_safety" = yes -o \
|
||||
|
Loading…
Reference in New Issue
Block a user