Commit 9e6b8d77 authored by Bruce Momjian's avatar Bruce Momjian

Improve thread failure wording.

parent 75a5cbf3
......@@ -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
......
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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment