From d7f9c9d558edaab14a64f6a764f00dfed43a151e Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Mon, 26 Apr 2004 00:32:00 +0000 Subject: [PATCH] Improve thread error message. --- configure | 2 ++ configure.in | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 62abd2047d..4cf29e5ab0 100755 --- a/configure +++ b/configure @@ -19172,6 +19172,8 @@ 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 $srcdir/src/tools/thread/thread_test { { 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;} diff --git a/configure.in b/configure.in index 5137093b4b..3fe7aa48b1 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.330 2004/04/26 00:29:24 momjian Exp $ +dnl $PostgreSQL: pgsql/configure.in,v 1.331 2004/04/26 00:32:00 momjian Exp $ dnl dnl Developers, please strive to achieve this order: dnl @@ -1231,6 +1231,8 @@ $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 $srcdir/src/tools/thread/thread_test AC_MSG_ERROR([Thread test program failed. Your platform is not thread-safe.])) $MAKE -C $srcdir/src/tools/thread clean >&5 ||