summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian2004-04-27 20:09:27 +0000
committerBruce Momjian2004-04-27 20:09:27 +0000
commit9e6b8d77447a7b580862069705b13c97edf90437 (patch)
tree754cedbec10e16592fa1b9408592065611475d77
parent75a5cbf31b60adfe90157282d93b404ceb2bad02 (diff)
Improve thread failure wording.
-rwxr-xr-xconfigure8
-rw-r--r--configure.in6
2 files changed, 10 insertions, 4 deletions
diff --git a/configure b/configure
index 87e8044aae6..d2c60e6366c 100755
--- a/configure
+++ b/configure
@@ -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
diff --git a/configure.in b/configure.in
index 09f473b8876..8249ac16965 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.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.