summaryrefslogtreecommitdiff
path: root/config/acx_pthread.m4
Commit message (Collapse)AuthorAgeFilesLines
* Update aix cc_r wording.Bruce Momjian2004-12-141-3/+3
|
* Mention aix cc_r is not supported, and whyBruce Momjian2004-12-141-0/+3
|
* If we're going to test for switch validity by observing whether theTom Lane2004-10-241-1/+3
| | | | | | | compiler emits any warnings, the test program had better be 100% correct, not only 90% correct. The recent addition of -Wold-style-definition broke thread-safety detection on every platform that has that switch, because the test program used an old-style definition.
* Send thread test output to file descriptor 5 like configure does ratherBruce Momjian2004-09-111-1/+1
| | | | than /dev/null, which Win32 doesn't have.
* Check for ignored thread compiler options to reduce compiler noise.Bruce Momjian2004-09-111-7/+21
|
* Fix agressive collection of thread flags.Bruce Momjian2004-08-171-2/+3
|
* Fix syntax error just introduced.Bruce Momjian2004-08-161-1/+0
|
* Be more aggressive about adding flags to thread compiles. The configureBruce Momjian2004-08-121-9/+14
| | | | | | | | | | 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.
* Minor style cleanup of thread test script.Bruce Momjian2004-08-121-11/+11
|
* Unconditionally define:Bruce Momjian2004-04-261-4/+8
| | | | | | | | | | -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS for all ports. It can't hurt if they are not supported, but it makes our job easier for porting. Should fix Darwin compile and other platforms without mucking with the thread detection code.
* Add new auto-detection of thread flags.Bruce Momjian2004-04-231-0/+199
Allow additional thread flags to be added via port templates. Change thread flag names to PTHREAD_CFLAGS and PTHREAD_LIBS to match new configure script.