From 965af8b3b339ee3a1fe8328bca1c6ef600776559 Mon Sep 17 00:00:00 2001 From: Piotr Sikora Date: Tue, 29 Jun 2010 12:56:17 +0400 Subject: [PATCH] use pthread at configure on OpenBSD with SpiderMonkey installed from ports --- config | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/config b/config index 9033889..70279a0 100644 --- a/config +++ b/config @@ -195,6 +195,16 @@ if [ $ngx_found = no ]; then . auto/feature fi +# OpenBSD port +if [ $ngx_found = no ]; then + ngx_feature_incs= + ngx_feature_test= + ngx_feature="libjs (with pthread) in /usr/local/lib" + ngx_feature_path= + ngx_feature_libs="-L/usr/local/lib -ljs -pthread" + . auto/feature +fi + if [ $ngx_found = no ]; then echo echo $0: error: the $ngx_addon_name addon requires the js library.