diff options
| author | Bruce Momjian <bruce@momjian.us> | 2004-04-27 20:06:52 +0000 |
|---|---|---|
| committer | Bruce Momjian <bruce@momjian.us> | 2004-04-27 20:06:52 +0000 |
| commit | 75a5cbf31b60adfe90157282d93b404ceb2bad02 (patch) | |
| tree | 1a3e2ab49cc2d61252b9e2a17f1145e270227c8f /configure.in | |
| parent | e27338f26c87dd2f01999d5d27d1a44b815285ad (diff) | |
| download | postgresql-75a5cbf31b60adfe90157282d93b404ceb2bad02.tar.gz | |
Enable thread testing outside the source tree.
Diffstat (limited to 'configure.in')
| -rw-r--r-- | configure.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.in b/configure.in index 2c0bc8a405..09f473b887 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.337 2004/04/27 19:51:12 momjian Exp $ +dnl $PostgreSQL: pgsql/configure.in,v 1.338 2004/04/27 20:06:52 momjian Exp $ dnl dnl Developers, please strive to achieve this order: dnl @@ -1188,7 +1188,7 @@ _CFLAGS="$CFLAGS" _LIBS="$LIBS" CFLAGS="$CFLAGS $PTHREAD_CFLAGS -DIN_CONFIGURE" LIBS="$LIBS $PTHREAD_LIBS" -AC_TRY_RUN([#include "src/tools/thread/thread_test.c"], +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])], |
