<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 98: --without-pthreads does not work</title><link>https://sourceforge.net/p/log4cpp/bugs/98/</link><description>Recent changes to 98: --without-pthreads does not work</description><atom:link href="https://sourceforge.net/p/log4cpp/bugs/98/feed.rss" rel="self"/><language>en</language><lastBuildDate>Mon, 12 Dec 2005 12:44:15 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/log4cpp/bugs/98/feed.rss" rel="self" type="application/rss+xml"/><item><title>--without-pthreads does not work</title><link>https://sourceforge.net/p/log4cpp/bugs/98/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;According to the m4 macro source, --without-pthreads &lt;br /&gt;
has the exactly same meaning as --with-pthreads:&lt;/p&gt;
&lt;p&gt;Here is the source:&lt;/p&gt;
&lt;p&gt;AC_ARG_WITH(pthreads, [  --with-pthreads       &lt;br /&gt;
include pthreads support],&lt;br /&gt;
AC_SEARCH_LIBS(pthread_key_create,pthread,&lt;br /&gt;
[AC_DEFINE(HAVE_THREADING,,[define if threading &lt;br /&gt;
is enabled])&lt;br /&gt;
AC_DEFINE(USE_PTHREADS,,[define if pthread &lt;br /&gt;
library is available])&lt;br /&gt;
AC_DEFINE(_PTHREADS,,[define for STL if &lt;br /&gt;
pthread library is used])],&lt;br /&gt;
AC_MSG_ERROR([pthreads not found])))&lt;/p&gt;
&lt;p&gt;])&lt;/p&gt;
&lt;p&gt;According to the autoconf documentation, third argument &lt;br /&gt;
will be executed whichever --with-pthreads or --&lt;br /&gt;
without-pthreads is given, and, so, ptheads may be &lt;br /&gt;
disabled only if both options are omitted from the &lt;br /&gt;
command line.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Mon, 12 Dec 2005 12:44:15 -0000</pubDate><guid>https://sourceforge.netae9d1da27f528927ea30bb1d620360cfe0c0f56a</guid></item></channel></rss>