Skip to content

Commit 8f367dd

Browse files
committed
Fix vpath for thread test.
1 parent 095ed37 commit 8f367dd

File tree

2 files changed

+22
-22
lines changed

2 files changed

+22
-22
lines changed

configure

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19174,30 +19174,30 @@ if test cross_compiling != yes; then
1917419174
#
1917519175
echo "$as_me:$LINENO: checking thread safety of required library functions" >&5
1917619176
echo $ECHO_N "checking thread safety of required library functions... $ECHO_C" >&6
19177-
if ! $MAKE -C $srcdir/src/tools/thread clean >&5
19178-
then rm -f $srcdir/src/Makefile.global
19177+
if ! $MAKE -C src/tools/thread clean >&5
19178+
then rm -f src/Makefile.global
1917919179
{ { echo "$as_me:$LINENO: error: Can not clean thread test directory." >&5
1918019180
echo "$as_me: error: Can not clean thread test directory." >&2;}
1918119181
{ (exit 1); exit 1; }; }
1918219182
fi
19183-
if ! $MAKE -C $srcdir/src/tools/thread >&5
19184-
then rm -f $srcdir/src/Makefile.global
19183+
if ! $MAKE -C src/tools/thread >&5
19184+
then rm -f src/Makefile.global
1918519185
{ { echo "$as_me:$LINENO: error: Can not build thread test proram." >&5
1918619186
echo "$as_me: error: Can not build thread test proram." >&2;}
1918719187
{ (exit 1); exit 1; }; }
1918819188
fi
19189-
if ! $srcdir/src/tools/thread/thread_test >&5
19190-
then rm -f $srcdir/src/Makefile.global
19189+
if ! src/tools/thread/thread_test >&5
19190+
then rm -f src/Makefile.global
1919119191
echo "no"
1919219192
echo
19193-
$srcdir/src/tools/thread/thread_test
19193+
src/tools/thread/thread_test
1919419194
echo
1919519195
{ { echo "$as_me:$LINENO: error: Thread test program failed. Your platform is not thread-safe." >&5
1919619196
echo "$as_me: error: Thread test program failed. Your platform is not thread-safe." >&2;}
1919719197
{ (exit 1); exit 1; }; }
1919819198
fi
19199-
if ! $MAKE -C $srcdir/src/tools/thread clean >&5
19200-
then rm -f $srcdir/src/Makefile.global
19199+
if ! $MAKE -C src/tools/thread clean >&5
19200+
then rm -f src/Makefile.global
1920119201
{ { echo "$as_me:$LINENO: error: Can not clean thread test directory." >&5
1920219202
echo "$as_me: error: Can not clean thread test directory." >&2;}
1920319203
{ (exit 1); exit 1; }; }
@@ -19206,11 +19206,11 @@ echo "yes"
1920619206
else
1920719207
{ echo "$as_me:$LINENO: WARNING:
1920819208
*** Skipping thread test program because of cross-compile build.
19209-
*** Run the program in $srcdir/src/tools/thread on the target matchine.
19209+
*** Run the program in src/tools/thread on the target matchine.
1921019210
" >&5
1921119211
echo "$as_me: WARNING:
1921219212
*** Skipping thread test program because of cross-compile build.
19213-
*** Run the program in $srcdir/src/tools/thread on the target matchine.
19213+
*** Run the program in src/tools/thread on the target matchine.
1921419214
" >&2;}
1921519215
fi
1921619216
fi

configure.in

Lines changed: 11 additions & 11 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.335 2004/04/26 13:14:48 momjian Exp $
2+
dnl $PostgreSQL: pgsql/configure.in,v 1.336 2004/04/26 19:08:57 momjian Exp $
33
dnl
44
dnl Developers, please strive to achieve this order:
55
dnl
@@ -1235,31 +1235,31 @@ if test cross_compiling != yes; then
12351235
# compile (to simulate a configure failure).
12361236
#
12371237
AC_MSG_CHECKING([thread safety of required library functions])
1238-
if ! $MAKE -C $srcdir/src/tools/thread clean >&5
1239-
then rm -f $srcdir/src/Makefile.global
1238+
if ! $MAKE -C src/tools/thread clean >&5
1239+
then rm -f src/Makefile.global
12401240
AC_MSG_ERROR([Can not clean thread test directory.])
12411241
fi
1242-
if ! $MAKE -C $srcdir/src/tools/thread >&5
1243-
then rm -f $srcdir/src/Makefile.global
1242+
if ! $MAKE -C src/tools/thread >&5
1243+
then rm -f src/Makefile.global
12441244
AC_MSG_ERROR([Can not build thread test proram.])
12451245
fi
1246-
if ! $srcdir/src/tools/thread/thread_test >&5
1247-
then rm -f $srcdir/src/Makefile.global
1246+
if ! src/tools/thread/thread_test >&5
1247+
then rm -f src/Makefile.global
12481248
echo "no"
12491249
echo
1250-
$srcdir/src/tools/thread/thread_test
1250+
src/tools/thread/thread_test
12511251
echo
12521252
AC_MSG_ERROR([Thread test program failed. Your platform is not thread-safe.])
12531253
fi
1254-
if ! $MAKE -C $srcdir/src/tools/thread clean >&5
1255-
then rm -f $srcdir/src/Makefile.global
1254+
if ! $MAKE -C src/tools/thread clean >&5
1255+
then rm -f src/Makefile.global
12561256
AC_MSG_ERROR([Can not clean thread test directory.])
12571257
fi
12581258
echo "yes"
12591259
else
12601260
AC_MSG_WARN([
12611261
*** Skipping thread test program because of cross-compile build.
1262-
*** Run the program in $srcdir/src/tools/thread on the target matchine.
1262+
*** Run the program in src/tools/thread on the target matchine.
12631263
])
12641264
fi
12651265
fi

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy