Justin Erenkrantz <[EMAIL PROTECTED]> writes:

> > No. apr_hints is a last resort. Actual tests like the AC_TRY_COMPILE() that
> > Justin did are the right way to do it. We should always try to avoid
> > hard-coding conditions to the host/library/whatever and *test* for them
> > instead.
> 
> Since the thread tests are the first real tests performed by APR's
> autoconf - any additional CPPFLAGS (or whatnot) will get passed to
> all subsequent tests.  I think this is Jeff's concern (perfectly 
> valid - I have it too).
> 
> Looking at configure,in, I don't think we could move the threading 
> tests around too much.  It looks like it is in the right place.  
> -- justin

So for this particular test on this particular platform we're fine.

Later, for some other platform we find that we need to test for
feature foo before we test for threads because feature foo is where we
figure out that we must enable some libc feature test macro.

-- 
Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site:
       http://www.geocities.com/SiliconValley/Park/9289/
             Born in Roswell... married an alien...

Reply via email to