Improve thread failure wording.

This commit is contained in:
Bruce Momjian 2004-04-27 20:09:27 +00:00
parent 75a5cbf31b
commit 9e6b8d7744
2 changed files with 10 additions and 4 deletions

8
configure vendored
View File

@ -17926,8 +17926,12 @@ cat conftest.$ac_ext >&5
( exit $ac_status )
echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
{ { echo "$as_me:$LINENO: error: Thread test program failed. Your platform is not thread-safe. See 'config.log" >&5
echo "$as_me: error: Thread test program failed. Your platform is not thread-safe. See 'config.log" >&2;}
{ { echo "$as_me:$LINENO: error:
*** Thread test program failed. Your platform is not thread-safe.
*** Check the file 'config.log'for the exact reason." >&5
echo "$as_me: error:
*** Thread test program failed. Your platform is not thread-safe.
*** Check the file 'config.log'for the exact reason." >&2;}
{ (exit 1); exit 1; }; }
fi
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext

View File

@ -1,5 +1,5 @@
dnl Process this file with autoconf to produce a configure script.
dnl $PostgreSQL: pgsql/configure.in,v 1.338 2004/04/27 20:06:52 momjian Exp $
dnl $PostgreSQL: pgsql/configure.in,v 1.339 2004/04/27 20:09:27 momjian Exp $
dnl
dnl Developers, please strive to achieve this order:
dnl
@ -1191,7 +1191,9 @@ LIBS="$LIBS $PTHREAD_LIBS"
AC_TRY_RUN([#include "$srcdir/src/tools/thread/thread_test.c"],
[AC_MSG_RESULT(yes)],
[AC_MSG_RESULT(no)
AC_MSG_ERROR([Thread test program failed. Your platform is not thread-safe. See 'config.log])],
AC_MSG_ERROR([
*** Thread test program failed. Your platform is not thread-safe.
*** Check the file 'config.log'for the exact reason.])],
[AC_MSG_RESULT(maybe)
AC_MSG_WARN([
*** Skipping thread test program because of cross-compile build.