Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit75a5cbf

Browse files
committed
Enable thread testing outside the source tree.
1 parente27338f commit75a5cbf

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

‎configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17904,7 +17904,7 @@ else
1790417904
cat >conftest.$ac_ext <<_ACEOF
1790517905
#line $LINENO "configure"
1790617906
#include "confdefs.h"
17907-
#include "src/tools/thread/thread_test.c"
17907+
#include "$srcdir/src/tools/thread/thread_test.c"
1790817908
_ACEOF
1790917909
rm -f conftest$ac_exeext
1791017910
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5

‎configure.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
dnl Process this file with autoconf to produce a configure script.
2-
dnl $PostgreSQL: pgsql/configure.in,v 1.337 2004/04/2719:51:12 momjian Exp $
2+
dnl $PostgreSQL: pgsql/configure.in,v 1.338 2004/04/2720:06:52 momjian Exp $
33
dnl
44
dnl Developers, please strive to achieve this order:
55
dnl
@@ -1188,7 +1188,7 @@ _CFLAGS="$CFLAGS"
11881188
_LIBS="$LIBS"
11891189
CFLAGS="$CFLAGS $PTHREAD_CFLAGS -DIN_CONFIGURE"
11901190
LIBS="$LIBS $PTHREAD_LIBS"
1191-
AC_TRY_RUN([#include "src/tools/thread/thread_test.c"],
1191+
AC_TRY_RUN([#include "$srcdir/src/tools/thread/thread_test.c"],
11921192
[AC_MSG_RESULT(yes)],
11931193
[AC_MSG_RESULT(no)
11941194
AC_MSG_ERROR([Thread test program failed. Your platform is not thread-safe. See 'config.log])],

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp