title: "Comment out pthreads" to compile a library
body: <p>I am trying to compile a library, <em><a href="http://liblo.sourceforge.net/" rel="nofollow">liblo</a></em>. I am installing it because it is a required library for another library that I am trying to install, <em><a href="http://sourceforge.net/projects/oscmex/" rel="nofollow">osc-mex</a></em>. In order for <em>liblo</em> to work with <em>osc-mex</em> on Windows, I need to compile <em>liblo</em> with "<a href="http://sourceforge.net/p/oscmex/code/4/tree/trunk/src/osc_make.m" rel="nofollow">pthreads commented out</a>".</p>
  
  <p>As far as I can tell from reading around, <em>pthread</em> is a protocol used with Unix? In any event, I need to remove mentions of <em>pthread</em> in the <em>liblo</em> code. But I'm presented with a problem; there are multiple regions of the code that has 'pthread' mentioned. Searching the (uncompiled) source of the <em>liblo</em> directory for the text "pthreads" yields 25 results in eight files:</p>
  
  <pre><code>Filename    Line #  Line text
  *********************************************************************************
  ChangeLog   165     * Fixed pthread resource leak, when stopping thread
  NEWS        153     * Fixed pthread resource leak, when stopping server
  config.h.in 18      /* Define to 1 if you have the `pthread' library (-lpthread). */
  config.h.in 19      #undef HAVE_LIBPTHREAD
  configure   11000   { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" &gt;&amp;5
  configure   11001   echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" &gt;&amp;6; }
  configure   11002   if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
  configure   11006   LIBS="-lpthread  $LIBS"
  configure   11020   char pthread_create ();
  configure   11024   return pthread_create ();
  configure   11047   ac_cv_lib_pthread_pthread_create=yes
  configure   11052   ac_cv_lib_pthread_pthread_create=no
  configure   11059   { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" &gt;&amp;5
  configure   11060   echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" &gt;&amp;6; }
  configure   11061   if test $ac_cv_lib_pthread_pthread_create = yes; then
  configure   11063   #define HAVE_LIBPTHREAD 1
  configure   11066   LIBS="-lpthread $LIBS"
  configure.ac43      AC_CHECK_LIB([pthread], [pthread_create])
  liblo.pc.in 9       Libs: -L${libdir} -llo -lpthread
  libtool     4511    # Do not include libc_r directly, use -pthread flag.
  libtool     4536    -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
  libtool     5030    -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
  ltmain.sh   4027    # Do not include libc_r directly, use -pthread flag.
  ltmain.sh   4052    -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
  ltmain.sh   4546    -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
  </code></pre>
  
  <p>Obviously, some of the above lines are already comments, but there are also lines here which could be modified in many different ways to achieve the same aim. The instruction to "comment out pthreads" is something I don't entirely understand or know how to implement. Any advice would be appreciated.</p>