Commit b85faa87 authored by Bruce Momjian's avatar Bruce Momjian

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

than /dev/null, which Win32 doesn't have.
parent 8becd824
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment