diff options
| author | Bruce Momjian | 2003-09-27 16:24:45 +0000 |
|---|---|---|
| committer | Bruce Momjian | 2003-09-27 16:24:45 +0000 |
| commit | 391dceb462c32ccd72d4c45bef4e6839cb6c4d99 (patch) | |
| tree | f51fcb29bd384fa41c5ba7d0159f2bfeb42a026f /src/template | |
| parent | a6790ce85752b67ad994f55fdf1a450262ccc32e (diff) | |
Finalize configuration of thread_test program.
Diffstat (limited to 'src/template')
| -rw-r--r-- | src/template/bsdi | 2 | ||||
| -rw-r--r-- | src/template/freebsd | 5 | ||||
| -rw-r--r-- | src/template/linux | 4 | ||||
| -rw-r--r-- | src/template/netbsd | 2 | ||||
| -rw-r--r-- | src/template/osf | 2 | ||||
| -rw-r--r-- | src/template/solaris | 2 | ||||
| -rw-r--r-- | src/template/unixware | 2 |
7 files changed, 9 insertions, 10 deletions
diff --git a/src/template/bsdi b/src/template/bsdi index a5996a5402..acb2c42d3c 100644 --- a/src/template/bsdi +++ b/src/template/bsdi @@ -10,5 +10,5 @@ case $host_os in ;; esac -SUPPORTS_THREADS=yes +THREAD_SUPPORT=yes NEED_REENTRANT_FUNCS=no # verified 4.3 2003-09-26 diff --git a/src/template/freebsd b/src/template/freebsd index 0711a83212..082afc077b 100644 --- a/src/template/freebsd +++ b/src/template/freebsd @@ -4,9 +4,8 @@ case $host_cpu in alpha*) CFLAGS="$CFLAGS -O" ;; esac -SUPPORTS_THREADS=yes -NEED_REENTRANT_FUNCS=yes # 4.8, 5.1 2003-09-12 - +THREAD_SUPPORT=yes +NEED_REENTRANT_FUNCS=yes THREAD_CPPFLAGS="-D_THREAD_SAFE" case $host_os in freebsd2*|freebsd3*|freebsd4*) diff --git a/src/template/linux b/src/template/linux index a690b44968..2a3209ccb0 100644 --- a/src/template/linux +++ b/src/template/linux @@ -2,8 +2,8 @@ CFLAGS=-O2 # Force _GNU_SOURCE on; plperl is broken with Perl 5.8.0 otherwise CPPFLAGS="-D_GNU_SOURCE" -SUPPORTS_THREADS=yes -NEED_REENTRANT_FUNCS=yes # verified glibc 2.1 2003-09-03 +THREAD_SUPPORT=yes +NEED_REENTRANT_FUNCS=yes THREAD_CPPFLAGS="-D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS" THREAD_LIBS="-lpthread" diff --git a/src/template/netbsd b/src/template/netbsd index 0fd61a70b2..f510dc9ef0 100644 --- a/src/template/netbsd +++ b/src/template/netbsd @@ -1,4 +1,4 @@ CFLAGS='-O2 -pipe' -SUPPORTS_THREADS=yes +THREAD_SUPPORT=yes NEED_REENTRANT_FUNCS=yes # 1.6 2003-09-14 diff --git a/src/template/osf b/src/template/osf index 0856f5c898..b5c60413de 100644 --- a/src/template/osf +++ b/src/template/osf @@ -5,6 +5,6 @@ else CFLAGS='-O4 -Olimit 2000' fi -SUPPORTS_THREADS=yes +THREAD_SUPPORT=yes NEED_REENTRANT_FUNCS=no # 4.0 2003-09-13 THREAD_LIBS="-pthread" diff --git a/src/template/solaris b/src/template/solaris index b333f00660..083b1d3659 100644 --- a/src/template/solaris +++ b/src/template/solaris @@ -5,7 +5,7 @@ else CFLAGS=-v # -v is like gcc -Wall fi -SUPPORTS_THREADS=yes +THREAD_SUPPORT=yes NEED_REENTRANT_FUNCS=yes # 5.6 2003-09-13 THREAD_LIBS="-pthread" diff --git a/src/template/unixware b/src/template/unixware index a228fa56ef..e1991bcc9c 100644 --- a/src/template/unixware +++ b/src/template/unixware @@ -9,6 +9,6 @@ else THREAD_CPPFLAGS="-K pthread" fi -SUPPORTS_THREADS=yes +THREAD_SUPPORT=yes NEED_REENTRANT_FUNCS=no # verified 7.1.3 2003-09-03 THREAD_CPPFLAGS="$THREAD_CPPFLAGS -D_REENTRANT" |
