Skip to content

Commit e03a253

Browse files
committed
Improve error message for platform thread failure.
1 parent 0370951 commit e03a253

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

configure

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19172,8 +19172,9 @@ echo "$as_me: error: Can not build thread test proram." >&2;}
1917219172
{ (exit 1); exit 1; }; })
1917319173
$srcdir/src/tools/thread/thread_test >&5 ||
1917419174
( rm -f src/Makefile.global
19175-
{ { echo "$as_me:$LINENO: error: Thread test program failed. See 'config.log' for details." >&5
19176-
echo "$as_me: error: Thread test program failed. See 'config.log' for details." >&2;}
19175+
$srcdir/src/tools/thread/thread_test
19176+
{ { echo "$as_me:$LINENO: error: Thread test program failed. Your platform is not thread-safe." >&5
19177+
echo "$as_me: error: Thread test program failed. Your platform is not thread-safe." >&2;}
1917719178
{ (exit 1); exit 1; }; })
1917819179
$MAKE -C $srcdir/src/tools/thread clean >&5 ||
1917919180
( rm -f src/Makefile.global

configure.in

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
dnl Process this file with autoconf to produce a configure script.
2-
dnl $PostgreSQL: pgsql/configure.in,v 1.329 2004/04/25 21:09:08 momjian Exp $
2+
dnl $PostgreSQL: pgsql/configure.in,v 1.330 2004/04/26 00:29:24 momjian Exp $
33
dnl
44
dnl Developers, please strive to achieve this order:
55
dnl
@@ -1231,7 +1231,8 @@ $MAKE -C $srcdir/src/tools/thread >&5 ||
12311231
AC_MSG_ERROR([Can not build thread test proram.]))
12321232
$srcdir/src/tools/thread/thread_test >&5 ||
12331233
( rm -f src/Makefile.global
1234-
AC_MSG_ERROR([Thread test program failed. See 'config.log' for details.]))
1234+
$srcdir/src/tools/thread/thread_test
1235+
AC_MSG_ERROR([Thread test program failed. Your platform is not thread-safe.]))
12351236
$MAKE -C $srcdir/src/tools/thread clean >&5 ||
12361237
( rm -f src/Makefile.global
12371238
AC_MSG_ERROR([Can not clean thread test directory.]))

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy