From 022a1e0cf104ec472adbb116141e639b0ef2198b Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Mon, 26 Apr 2004 00:34:12 +0000 Subject: [PATCH] More thread error improvements. --- configure | 3 ++- configure.in | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/configure b/configure index 4cf29e5ab0..3a7c18313a 100755 --- a/configure +++ b/configure @@ -19172,9 +19172,10 @@ echo "$as_me: error: Can not build thread test proram." >&2;} { (exit 1); exit 1; }; }) $srcdir/src/tools/thread/thread_test >&5 || ( rm -f src/Makefile.global - echo + echo "no" echo $srcdir/src/tools/thread/thread_test + echo { { echo "$as_me:$LINENO: error: Thread test program failed. Your platform is not thread-safe." >&5 echo "$as_me: error: Thread test program failed. Your platform is not thread-safe." >&2;} { (exit 1); exit 1; }; }) diff --git a/configure.in b/configure.in index 3fe7aa48b1..ff8d3ef9f2 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.331 2004/04/26 00:32:00 momjian Exp $ +dnl $PostgreSQL: pgsql/configure.in,v 1.332 2004/04/26 00:34:12 momjian Exp $ dnl dnl Developers, please strive to achieve this order: dnl @@ -1231,9 +1231,10 @@ $MAKE -C $srcdir/src/tools/thread >&5 || AC_MSG_ERROR([Can not build thread test proram.])) $srcdir/src/tools/thread/thread_test >&5 || ( rm -f src/Makefile.global - echo + echo "no" echo $srcdir/src/tools/thread/thread_test + echo AC_MSG_ERROR([Thread test program failed. Your platform is not thread-safe.])) $MAKE -C $srcdir/src/tools/thread clean >&5 || ( rm -f src/Makefile.global