From: Bruce Momjian Date: Mon, 30 Nov 2009 16:50:38 +0000 (+0000) Subject: THREAD_SUPPORT X-Git-Tag: REL8_5_ALPHA3~76 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=891f924bad098b0e8ede5f76747de9b55eb0b3e1;p=postgresql THREAD_SUPPORT There is no reference to THREAD_SUPPORT outside configure, and it is never set, so remove it. --- diff --git a/configure b/configure index c70e66fd1c..4f6283532e 100755 --- a/configure +++ b/configure @@ -21323,16 +21323,6 @@ for thread safety." >&2;} { (exit 1); exit 1; }; } fi -if test "$THREAD_SUPPORT" = no; then -{ { $as_echo "$as_me:$LINENO: error: cannot enable threads on this platform -This platform is known to not support thread-safe programs. For details, -compile and run src/bin/pg_thread_test." >&5 -$as_echo "$as_me: error: cannot enable threads on this platform -This platform is known to not support thread-safe programs. For details, -compile and run src/bin/pg_thread_test." >&2;} - { (exit 1); exit 1; }; } -fi - # Check for *_r functions _CFLAGS="$CFLAGS" _LIBS="$LIBS" diff --git a/configure.in b/configure.in index 0342b60bfd..ee9d82f4b3 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.612 2009/10/01 01:58:57 tgl Exp $ +dnl $PostgreSQL: pgsql/configure.in,v 1.613 2009/11/30 16:50:38 momjian Exp $ dnl dnl Developers, please strive to achieve this order: dnl @@ -1407,12 +1407,6 @@ PostgreSQL does not support platforms that require a special compiler for thread safety.]) fi -if test "$THREAD_SUPPORT" = no; then -AC_MSG_ERROR([cannot enable threads on this platform -This platform is known to not support thread-safe programs. For details, -compile and run src/bin/pg_thread_test.]) -fi - # Check for *_r functions _CFLAGS="$CFLAGS" _LIBS="$LIBS"