summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2004-09-11 02:12:17 +0000
committerBruce Momjian <bruce@momjian.us>2004-09-11 02:12:17 +0000
commitb85faa87b9a0961283ee55bad877ff0853c93dd8 (patch)
tree3aaa5ca42c051ed6e9292b8a7812f41adcef0387 /config
parent8becd824aa31c6332485f59faf8627c6f8f1e4ba (diff)
downloadpostgresql-b85faa87b9a0961283ee55bad877ff0853c93dd8.tar.gz
Send thread test output to file descriptor 5 like configure does rather
than /dev/null, which Win32 doesn't have.
Diffstat (limited to 'config')
-rw-r--r--config/acx_pthread.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/config/acx_pthread.m4 b/config/acx_pthread.m4
index a3d5faf392..5f9071056e 100644
--- a/config/acx_pthread.m4
+++ b/config/acx_pthread.m4
@@ -140,7 +140,7 @@ main ()
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
- if test "`(eval $ac_link 2>&1 >/dev/null)`" = ""; then
+ if test "`(eval $ac_link 2>&1 1>&5)`" = ""; then
# we continue with more flags because Linux needs -lpthread
# for libpq builds on PostgreSQL. The test above only
# tests for building binaries, not shared libraries.