summaryrefslogtreecommitdiff
path: root/www/apache2
diff options
context:
space:
mode:
authorClement Laforet <clement@FreeBSD.org>2004-08-07 19:47:16 +0000
committerClement Laforet <clement@FreeBSD.org>2004-08-07 19:47:16 +0000
commit7ee53773d55fd66db38408c4974122cb451cf682 (patch)
tree059caae424e9eec198b50ba2e210a1c60e9c6031 /www/apache2
parentUpdate to version 1.2.1 (diff)
We don't need -DFREEBSD_THREAD_HACK when using kse or thr as threading
library.
Notes
Notes: svn path=/head/; revision=115583
Diffstat (limited to 'www/apache2')
-rw-r--r--www/apache2/Makefile.modules3
1 files changed, 2 insertions, 1 deletions
diff --git a/www/apache2/Makefile.modules b/www/apache2/Makefile.modules
index 72d9d64c534b..38833c6b45d0 100644
--- a/www/apache2/Makefile.modules
+++ b/www/apache2/Makefile.modules
@@ -93,10 +93,11 @@ CONFIGURE_ARGS+= --with-dbm=sdbm
.if defined(WITH_THREADS)
CONFIGURE_ARGS+= --enable-threads
-CFLAGS+= -DFREEBSD_THREAD_HACK
. if ${WITH_PTHREAD_LIBS} != "c_r" && ${OSVERSION} > 500023
CONFIGURE_ENV+= apr_cv_pthreads_lib=-l${WITH_PTHREAD_LIBS} \
apr_cv_pthreads_cflags=${WITH_PTHREAD_CFLAGS}
+. else
+CFLAGS+= -DFREEBSD_THREAD_HACK
. endif
.endif