You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by tr...@apache.org on 2003/04/01 02:15:04 UTC

cvs commit: apr/build apr_threads.m4

trawick     2003/03/31 16:15:04

  Modified:    .        CHANGES
               build    apr_threads.m4
  Log:
  Solaris cc: Don't use the -mt option for threaded builds.  That
  is for non-Posix threading, and the use of it prevented us from
  linking with -lpthread, which in turn caused weird problems for
  APR applications.
  
  Submitted by:        Kristofer Spinka <ks...@style.net>
  Reviewed by:         Jeff Trawick
  
  Revision  Changes    Path
  1.394     +4 -1      apr/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/apr/CHANGES,v
  retrieving revision 1.393
  retrieving revision 1.394
  diff -u -r1.393 -r1.394
  --- CHANGES	31 Mar 2003 05:29:47 -0000	1.393
  +++ CHANGES	1 Apr 2003 00:15:03 -0000	1.394
  @@ -1,6 +1,9 @@
   Changes with APR 0.9.4
   
  -
  +  *) Solaris cc: Don't use the -mt option for threaded builds.  That
  +     is for non-Posix threading, and the use of it prevented us from
  +     linking with -lpthread, which in turn caused weird problems for
  +     APR applications.  [Kristofer Spinka <ks...@style.net>]
   
   Changes with APR 0.9.3
   
  
  
  
  1.8       +1 -1      apr/build/apr_threads.m4
  
  Index: apr_threads.m4
  ===================================================================
  RCS file: /home/cvs/apr/build/apr_threads.m4,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- apr_threads.m4	30 Jul 2002 19:26:35 -0000	1.7
  +++ apr_threads.m4	1 Apr 2003 00:15:04 -0000	1.8
  @@ -117,7 +117,7 @@
   AC_CACHE_CHECK(for pthreads_cflags,ac_cv_pthreads_cflags,[
   ac_cv_pthreads_cflags=""
   if test "$pthreads_working" != "yes"; then
  -  for flag in -kthread -pthread -pthreads -mthreads -Kthread -threads -mt; do 
  +  for flag in -kthread -pthread -pthreads -mthreads -Kthread -threads; do 
       ac_save="$CFLAGS"
       CFLAGS="$CFLAGS $flag"
       APR_PTHREADS_CHECK_COMPILE