Send thread test output to file descriptor 5 like configure does rather

than /dev/null, which Win32 doesn't have.
This commit is contained in:
Bruce Momjian 2004-09-11 02:12:17 +00:00
parent 8becd824aa
commit b85faa87b9
2 changed files with 2 additions and 2 deletions

View File

@ -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.

2
configure vendored
View File

@ -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.