apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <...@covalent.net>
Subject Re: CFLAGS vs. THREAD_CPPFLAGS
Date Wed, 21 Feb 2001 10:16:34 GMT

This probably used to work because Apache was never setting the flags.
This is a real PITA.  I don't really have the time to investigate right
now.  I'll try to look at it later too.

Ryan

On Wed, 21 Feb 2001, Jeff Trawick wrote:

> Solaris is failing to build right now because the sigwait()
> num-argument check is failing.
>
> When we run the test, -D_POSIX_PTHREAD_SEMANTICS is not passed to the
> compiler so we get the one-argument version and SIGWAIT_TAKES_ONE_ARG
> is defined.
>
> When we compile apr/threadprox/unix/signals.c,
> -D_POSIX_PTHREAD_SEMANTICS is passed to the compiler because
> apr_hints.m4 puts it in THREAD_CPPFLAGS.  Thus we get the prototype
> for the two-argument version and we fail to compile.
>
> Does anybody know exactly why this worked before?
>
> I'm not sure what the right fix is yet... gotta look further.
>
> --
> Jeff Trawick | trawickj@bellsouth.net | PGP public key at web site:
>        http://www.geocities.com/SiliconValley/Park/9289/
>              Born in Roswell... married an alien...
>
>


_______________________________________________________________________________
Ryan Bloom                        	rbb@apache.org
406 29th St.
San Francisco, CA 94131
-------------------------------------------------------------------------------


Mime
View raw message