Be more aggressive about adding flags to thread compiles. The configure

Bruce Momjian <bruce@momjian.us>

Commit: e48322a6d6cfce1ec52ab303441df329ddbc04d1
Author: Bruce Momjian <bruce@momjian.us>
Date: 2004-08-12T16:39:50Z
Releases: 8.0.0
Be more aggressive about adding flags to thread compiles.  The configure
test only tests for building a binary, not building a shared library.

On Linux, you can build a binary with -pthread, but you can't build a
binary that uses a threaded shared library unless you also use -pthread
when building the binary, or adding -lpthread to the shared library
build.  This patch has the effect of doing the later by adding both
-pthread and -lpthread when building libpq.

Files

PathChange+/−
config/acx_pthread.m4 modified +14 −9