httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@devsys.jaguNET.com>
Subject Re: Notes about APR's Autoconf stuff
Date Mon, 21 Jun 1999 20:07:53 GMT
Rodent of Unusual Size wrote:
> 
> Ben Laurie wrote:
> > 
> > Not being an autoconf guru, I will refrain from comment on the rest, but
> > on this point I agree 110%. If you detect the OS with autoconf, then you
> > lose.
> 
> I'm an autoconf neophyte (if that!), but I don't see how else
> you're supposed to be able to deal with OS-specific things like
> compiler flags..  Enlighten me?
> 

I think the thing is instead of using things like:

    #ifdef AIX
    .....
    #endif

You would have something like

    #if SYS_FILE_NEEDS_SYS_TYPES
    .....
    #endif

as an "ideal" solution.

-- 
===========================================================================
   Jim Jagielski   |||   jim@jaguNET.com   |||   http://www.jaguNET.com/
            "That's no ordinary rabbit... that's the most foul,
            cruel and bad-tempered rodent you ever laid eyes on"

Mime
View raw message