<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 98: --without-pthreads does not work</title><link href="https://sourceforge.net/p/log4cpp/bugs/98/" rel="alternate"/><link href="https://sourceforge.net/p/log4cpp/bugs/98/feed.atom" rel="self"/><id>https://sourceforge.net/p/log4cpp/bugs/98/</id><updated>2005-12-12T12:44:15Z</updated><subtitle>Recent changes to 98: --without-pthreads does not work</subtitle><entry><title>--without-pthreads does not work</title><link href="https://sourceforge.net/p/log4cpp/bugs/98/" rel="alternate"/><published>2005-12-12T12:44:15Z</published><updated>2005-12-12T12:44:15Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.netae9d1da27f528927ea30bb1d620360cfe0c0f56a</id><summary type="html">&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;</summary></entry></feed>