diff options
author | Jun Kuriyama <kuriyama@FreeBSD.org> | 2004-01-24 03:36:43 +0000 |
---|---|---|
committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 2004-01-24 03:36:43 +0000 |
commit | fc9cc5d066807eec1f29ca8c3d20358d161de21b (patch) | |
tree | 75c3d30c0480b80062f2e41dab456e159354b83b /devel/apr1/files/patch-apr_hints.m4 | |
parent | Change the references to -STABLE and -CURRENT to 4.X and 5.X respectively (diff) |
Correct pthread detection.
Submitted by: Craig Rodrigues <rodrigc@crodrigues.org> (maintainer)
Tested by: kuriyama (on 4-stable and 5-current)
Notes
Notes:
svn path=/head/; revision=98938
Diffstat (limited to 'devel/apr1/files/patch-apr_hints.m4')
-rw-r--r-- | devel/apr1/files/patch-apr_hints.m4 | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/devel/apr1/files/patch-apr_hints.m4 b/devel/apr1/files/patch-apr_hints.m4 index 9e01ac75f936..0421617617bb 100644 --- a/devel/apr1/files/patch-apr_hints.m4 +++ b/devel/apr1/files/patch-apr_hints.m4 @@ -1,6 +1,6 @@ ---- apr-0.9.4/build/apr_hints.m4.orig Mon Jun 2 11:52:28 2003 -+++ apr-0.9.4/build/apr_hints.m4 Sun Nov 9 18:15:30 2003 -@@ -130,14 +130,15 @@ +--- apr-0.9.4/build/apr_hints.m4.orig Tue Dec 23 08:26:10 2003 ++++ apr-0.9.4/build/apr_hints.m4 Fri Jan 23 12:23:36 2004 +@@ -129,14 +129,17 @@ APR_ADDTO(CPPFLAGS, [-DNETBSD]) ;; *-freebsd*) @@ -16,8 +16,10 @@ - APR_ADDTO(CPPFLAGS, [-D_REENTRANT -D_THREAD_SAFE]) + if test $os_version -lt "500016"; then + ac_cv_pthreads_cflags="-D_THREAD_SAFE -D_REENTRANT" ++ ac_cv_pthreads_lib="none" + LIBS="$LIBS -pthread" + else ++ ac_cv_pthreads_cflags="none" + ac_cv_pthreads_lib="c_r" + fi ;; |