diff options
author | Bruce Momjian <bruce@momjian.us> | 2009-12-01 23:02:44 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2009-12-01 23:02:44 +0000 |
commit | 925b32bba17179aee759f52791c50dea8cfb41b8 (patch) | |
tree | ffdaad6edf2559fdb576b9a85cbded59d1c730ff | |
parent | b291c0fba83a1e93868e2f69c03be195d620f30c (diff) | |
download | postgresql-925b32bba17179aee759f52791c50dea8cfb41b8.tar.gz postgresql-925b32bba17179aee759f52791c50dea8cfb41b8.zip |
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.
-rwxr-xr-x | configure | 31 | ||||
-rw-r--r-- | configure.in | 7 |
2 files changed, 2 insertions, 36 deletions
diff --git a/configure b/configure index 4f6283532e6..cfcb6e5c8c7 100755 --- a/configure +++ b/configure @@ -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 diff --git a/configure.in b/configure.in index ee9d82f4b39..894b6c4bf11 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.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 \ |