summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2004-04-26 00:29:24 +0000
committerBruce Momjian <bruce@momjian.us>2004-04-26 00:29:24 +0000
commite03a253c15906ad1852d052b923eb4717d39b6b5 (patch)
tree132def08978eb95cba439d7dd644e60916669b0d
parent03709513477a4991eb78264c4cddbe8c9804e6cb (diff)
Improve error message for platform thread failure.
-rwxr-xr-xconfigure5
-rw-r--r--configure.in5
2 files changed, 6 insertions, 4 deletions
diff --git a/configure b/configure
index 58dcf17540c..62abd2047d2 100755
--- a/configure
+++ b/configure
@@ -19172,8 +19172,9 @@ 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 "$as_me:$LINENO: error: Thread test program failed. See 'config.log' for details." >&5
-echo "$as_me: error: Thread test program failed. See 'config.log' for details." >&2;}
+ $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;}
{ (exit 1); exit 1; }; })
$MAKE -C $srcdir/src/tools/thread clean >&5 ||
( rm -f src/Makefile.global
diff --git a/configure.in b/configure.in
index f0a7ee940a8..5137093b4b9 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.329 2004/04/25 21:09:08 momjian Exp $
+dnl $PostgreSQL: pgsql/configure.in,v 1.330 2004/04/26 00:29:24 momjian Exp $
dnl
dnl Developers, please strive to achieve this order:
dnl
@@ -1231,7 +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
- AC_MSG_ERROR([Thread test program failed. See 'config.log' for details.]))
+ $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 ||
( rm -f src/Makefile.global
AC_MSG_ERROR([Can not clean thread test directory.]))