You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by sa...@hyperreal.org on 2000/01/12 21:42:00 UTC

cvs commit: apache-2.0/src acinclude.m4

sascha      00/01/12 12:41:59

  Modified:    src      acinclude.m4
  Log:
  gcc on AIX takes -mthreads. I wonder what they smoked during creating
  all those wonderful flags.
  
  Revision  Changes    Path
  1.15      +4 -1      apache-2.0/src/acinclude.m4
  
  Index: acinclude.m4
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/acinclude.m4,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -u -r1.14 -r1.15
  --- acinclude.m4	2000/01/11 13:10:56	1.14
  +++ acinclude.m4	2000/01/12 20:41:57	1.15
  @@ -197,7 +197,10 @@
       ],[
       APACHE_CHECK_GCC_ARG(-pthreads, [
           CFLAGS="$CFLAGS -pthreads"
  -        ])])
  +        ],[
  +        APACHE_CHECK_GCC_ARG(-mthreads, [
  +            CFLAGS="$CFLAGS -mthreads"
  +        ])])])
   fi
   
   APACHE_THREAD_TEST
  
  
  

Re: cvs commit: apache-2.0/src acinclude.m4

Posted by Sascha Schumann <sa...@schumann.cx>.
On Wed, Jan 12, 2000 at 03:42:49PM -0500, Ryan Bloom wrote:
> On 12 Jan 2000 sascha@hyperreal.org wrote:
> 
> > sascha      00/01/12 12:41:59
> > 
> >   Modified:    src      acinclude.m4
> >   Log:
> >   gcc on AIX takes -mthreads. I wonder what they smoked during creating
> >   all those wonderful flags.
> 
> Is this just on AIX or do we need to deal with this everywhere?

    Good question. The answer is unfortunately hidden in the gcc
    source tree. If someone has a good contact to a gcc
    developer, he or she might ask the person how the gcc team
    has chosen the flags and why they did not simply choose one
    flag which could be supported on all platforms (which have
    POSIX threads).
    
-- 

          Regards,

                            Sascha Schumann
                                 Consultant

Re: cvs commit: apache-2.0/src acinclude.m4

Posted by Ryan Bloom <rb...@raleigh.ibm.com>.
On 12 Jan 2000 sascha@hyperreal.org wrote:

> sascha      00/01/12 12:41:59
> 
>   Modified:    src      acinclude.m4
>   Log:
>   gcc on AIX takes -mthreads. I wonder what they smoked during creating
>   all those wonderful flags.

Is this just on AIX or do we need to deal with this everywhere?

Ryan

_______________________________________________________________________
Ryan Bloom		rbb@raleigh.ibm.com
4205 S Miami Blvd	
RTP, NC 27709		

Come to the first official Apache Software Foundation
Conference!  <http://ApacheCon.Com/>



Re: cvs commit: apache-2.0/src acinclude.m4

Posted by Ryan Bloom <rb...@raleigh.ibm.com>.
On 12 Jan 2000 sascha@hyperreal.org wrote:

> sascha      00/01/12 12:41:59
> 
>   Modified:    src      acinclude.m4
>   Log:
>   gcc on AIX takes -mthreads. I wonder what they smoked during creating
>   all those wonderful flags.

Is this just on AIX or do we need to deal with this everywhere?

Ryan

_______________________________________________________________________
Ryan Bloom		rbb@raleigh.ibm.com
4205 S Miami Blvd	
RTP, NC 27709		

Come to the first official Apache Software Foundation
Conference!  <http://ApacheCon.Com/>