diff options
author | Bruce Momjian | 2004-09-11 02:12:17 +0000 |
---|---|---|
committer | Bruce Momjian | 2004-09-11 02:12:17 +0000 |
commit | ec397d405a8428b6a351a03dd040b2f3db8a70f7 (patch) | |
tree | a13a31c8b59fa6b32d8c431961f386650a919cf4 | |
parent | 0771d1e49910b95bef4311f22e8f6a0df28ae707 (diff) |
Send thread test output to file descriptor 5 like configure does rather
than /dev/null, which Win32 doesn't have.
-rw-r--r-- | config/acx_pthread.m4 | 2 | ||||
-rwxr-xr-x | configure | 2 |
2 files changed, 2 insertions, 2 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. @@ -13336,7 +13336,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. |