diff options
| author | Bruce Momjian | 2004-04-26 00:44:39 +0000 |
|---|---|---|
| committer | Bruce Momjian | 2004-04-26 00:44:39 +0000 |
| commit | 6647ce87fed6b46e927ab18ac1bbc009f9c01c7e (patch) | |
| tree | db7d73b8067b05b87e68c40707debc95b360a01d /configure.in | |
| parent | 144d828e7f50f9b17765f4a4203d6dc08b4cf880 (diff) | |
Exit with non-zero error on thread test failures.
Diffstat (limited to 'configure.in')
| -rw-r--r-- | configure.in | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/configure.in b/configure.in index ff8d3ef9f2a..dd4e4106625 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.332 2004/04/26 00:34:12 momjian Exp $ +dnl $PostgreSQL: pgsql/configure.in,v 1.333 2004/04/26 00:44:39 momjian Exp $ dnl dnl Developers, please strive to achieve this order: dnl @@ -1225,20 +1225,24 @@ AC_MSG_CHECKING([thread safety of required library functions.]) # $MAKE -C $srcdir/src/tools/thread clean >&5 || ( rm -f src/Makefile.global - AC_MSG_ERROR([Can not clean thread test directory.])) + AC_MSG_ERROR([Can not clean thread test directory.])) || + exit $? $MAKE -C $srcdir/src/tools/thread >&5 || ( rm -f src/Makefile.global - AC_MSG_ERROR([Can not build thread test proram.])) + AC_MSG_ERROR([Can not build thread test proram.])) || + exit $? $srcdir/src/tools/thread/thread_test >&5 || ( rm -f src/Makefile.global echo "no" echo $srcdir/src/tools/thread/thread_test echo - AC_MSG_ERROR([Thread test program failed. Your platform is not thread-safe.])) + AC_MSG_ERROR([Thread test program failed. Your platform is not thread-safe.])) || + exit $? $MAKE -C $srcdir/src/tools/thread clean >&5 || ( rm -f src/Makefile.global - AC_MSG_ERROR([Can not clean thread test directory.])) + AC_MSG_ERROR([Can not clean thread test directory.])) || + exit $? echo "yes" else AC_MSG_WARN([ |
