git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e27338f)
Enable thread testing outside the source tree.
2004年4月27日 20:06:52 +0000 (20:06 +0000)
2004年4月27日 20:06:52 +0000 (20:06 +0000)

diff --git a/configure b/configure
index 24fa0328d4431c2803ecb705afb4683be75b5ab9..87e8044aae679e6d967bf714616c4632fe4197ec 100755 (executable)
--- a/configure
+++ b/configure
@@ -17904,7 +17904,7 @@ else
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
#include "confdefs.h"
-#include "src/tools/thread/thread_test.c"
+#include "$srcdir/src/tools/thread/thread_test.c"
_ACEOF
rm -f conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
diff --git a/configure.in b/configure.in
index 2c0bc8a405dc82d66963523a026c19611ecdf471..09f473b88761a0f3883b11daf49990d8e5b15968 100644 (file)
--- 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])],
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /