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

than /dev/null, which Win32 doesn't have.
REL8_0_STABLE
Bruce Momjian 21 years ago
parent 8becd824aa
commit b85faa87b9
  1. 2
      config/acx_pthread.m4
  2. 2
      configure

@ -140,7 +140,7 @@ main ()
} }
_ACEOF _ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext 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 # we continue with more flags because Linux needs -lpthread
# for libpq builds on PostgreSQL. The test above only # for libpq builds on PostgreSQL. The test above only
# tests for building binaries, not shared libraries. # tests for building binaries, not shared libraries.

2
configure vendored

@ -13336,7 +13336,7 @@ main ()
} }
_ACEOF _ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext 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 # we continue with more flags because Linux needs -lpthread
# for libpq builds on PostgreSQL. The test above only # for libpq builds on PostgreSQL. The test above only
# tests for building binaries, not shared libraries. # tests for building binaries, not shared libraries.

Loading…
Cancel
Save