From ripley at stats.ox.ac.uk  Tue Oct  6 08:07:55 2009
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Tue, 6 Oct 2009 07:07:55 +0100 (BST)
Subject: [Rd] R's --enable-threads does nothing?; gdb needs -lpthread
In-Reply-To: <20091005212202.GA49270@piskorski.com>
References: <20091005212202.GA49270@piskorski.com>
Message-ID: <alpine.LFD.2.00.0910060655500.1349@gannet.stats.ox.ac.uk>

On Mon, 5 Oct 2009, Andrew Piskorski wrote:

> In the R-2-9-branch (svn revision 49914, 2009-09-24), R's configure
> script has an "--enable-threads" option.  But, does it do anything
> useful?  When I use "--enable-threads=posix", some of the configure
> output changes slightly, but it seems to have no effect on the actual
> link commands used when building R.  Is that a bug, or am I
> misunderstanding what it's supposed to do?

The latter.  It's part of the libintl (aka gettext-runtime) 
configuration code included in R, and is not present in the currently 
active branches.  It affects how libintl works when src/extra/intl in 
the R sources is built -- whether it is by default depends on the OS.

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



[Rd] R's --enable-threads does nothing?; gdb needs -lpthread
Prof Brian Ripley