summaryrefslogtreecommitdiff
path: root/devel/apr1/files/patch-apr_hints.m4
diff options
context:
space:
mode:
authorLev A. Serebryakov <lev@FreeBSD.org>2003-11-11 13:26:14 +0000
committerLev A. Serebryakov <lev@FreeBSD.org>2003-11-11 13:26:14 +0000
commite7d7101624e13fb0af7ccf94792813a28adf1dff (patch)
tree72973ded2e3e67ccf422df87d92f905a55658741 /devel/apr1/files/patch-apr_hints.m4
parentUpdate to 3.02. (diff)
Fix pthreads support on 4-STABLE systems
Submitted by: MAINTAINER
Notes
Notes: svn path=/head/; revision=93735
Diffstat (limited to 'devel/apr1/files/patch-apr_hints.m4')
-rw-r--r--devel/apr1/files/patch-apr_hints.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/devel/apr1/files/patch-apr_hints.m4 b/devel/apr1/files/patch-apr_hints.m4
index 7c8f8547efff..9e01ac75f936 100644
--- a/devel/apr1/files/patch-apr_hints.m4
+++ b/devel/apr1/files/patch-apr_hints.m4
@@ -16,7 +16,7 @@
- APR_ADDTO(CPPFLAGS, [-D_REENTRANT -D_THREAD_SAFE])
+ if test $os_version -lt "500016"; then
+ ac_cv_pthreads_cflags="-D_THREAD_SAFE -D_REENTRANT"
-+ APR_ADDTO(LIBS, [-pthread])
++ LIBS="$LIBS -pthread"
+ else
+ ac_cv_pthreads_lib="c_r"
+ fi