From b041d3e3a17331f9fc76509a577c6ed63067aded Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Sat, 13 Sep 2003 14:49:51 +0000 Subject: Attempt threading in this order: * use non-*_r function names if they are all thread-safe * (NEED_REENTRANT_FUNCS=no) * use *_r functions if they exist (configure test) * do our own locking and copying of non-threadsafe functions New to this patch is the last option. --- src/template/freebsd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/template/freebsd') diff --git a/src/template/freebsd b/src/template/freebsd index 9e5cc6d0128..71e50140660 100644 --- a/src/template/freebsd +++ b/src/template/freebsd @@ -4,8 +4,8 @@ case $host_cpu in alpha*) CFLAGS="$CFLAGS -O" ;; esac -SUPPORTS_THREADS=no # 4.8, 5.1 2003-09-12 -NEED_REENTRANT_FUNC_NAMES=no +SUPPORTS_THREADS=yes +NEED_REENTRANT_FUNCS=yes # 4.8, 5.1 2003-09-12 case $host_os in freebsd2*|freebsd3*|freebsd4*) -- cgit v1.2.3