From bb299fe289facf484361a9cc5f1a9ed195ab626e Mon Sep 17 00:00:00 2001 From: "slamm%netscape.com" Date: Tue, 23 Feb 1999 18:16:11 +0000 Subject: [PATCH] Add threads option. Fix 'NSPR tip build' option. --- webtools/build/config.cgi | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/webtools/build/config.cgi b/webtools/build/config.cgi index bb1fec5e2db5..c4e0c309865b 100755 --- a/webtools/build/config.cgi +++ b/webtools/build/config.cgi @@ -57,6 +57,10 @@ sub parse_params { $query->param(-name=>'--with-nspr', -values=>['/usr']); } + if ($query->param('nspr_option') eq 'tip') { + $query->param(-name=>'MOZ_WITH_NSPR', + -values=>['@OBJDIR@/nspr']); + } if ($query->param('debug_option') eq 'userdefined') { $query->param(-name=>'--enable-debug', -values=>[$query->param('debug_dirs')]); @@ -166,7 +170,8 @@ sub print_script { print "#\n"; print "\n"; - print "# Options for client.mk\n"; + print "# Options for client.mk.\n"; + print "# (client.mk also understands some 'configure' options.)\n"; foreach $param ($query->param()) { if ($param =~ /^MOZ_/) { next if $query->param($param) eq ''; @@ -244,6 +249,23 @@ sub print_configure_form { --> + + + Threads:
+ + NSPR and mozilla can both be built with or without + pthreads (POSIX threads).
+ Check + + the NSPR supported platforms + to see if you can choose this option.

+ + Build both NSPR and mozilla with pthreads
+        + (Sets USE_PTHREADS=1 for nspr, + and --with-pthreads for mozilla client.) + + NSPR to use: