Log Message:
-----------
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.
Modified Files:
--------------
pgsql-server/config:
acx_pthread.m4 (r1.3 -> r1.4)
(http://developer.postgresql.org/cvsweb.cgi/pgsql-server/config/acx_pthread.m4.diff?r1=1.3&r2=1.4)
pgsql-committers by date
| Next: | From: Bruce Momjian | Date: 2004-08-12 18:32:57 |
| Subject: pgsql-server: Add make_native_path() because Win32 COPY is an internal |
| Previous: | From: Bruce Momjian | Date: 2004-08-12 14:58:37 |
| Subject: pgsql-server: Minor style cleanup of thread test script. |