apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject Re: cvs commit: apr configure.in
Date Mon, 26 Feb 2001 20:14:51 GMT
Cliff Woolley wrote:
> 
> It also wouldn't hurt my feelings any if APR_CHECK_HEADERS automagically
> determined the variable name to flag with a 1 or a 0 by doing basically
> this
>    s/\//_/g;
>    s/\.//g;
> on the header name.  Hence "sys/sendfile.h" becomes the flag variable
> "sys_sendfileh" automatically.  That would avoid typo problems like the
> one this morning, and it would be just one less step that's
> necessary.  The downside is that it implies a little bit of extra work in
> configure... <shrug>
> 

I like! Could be a pain with things like

    APR_CHECK_HEADERS(sys/types.h sys/signal.h)

but I like this :)

PS: I see some weird things where we set things to 'yes' or 'no'
    which we may be able to standardize
-- 
===========================================================================
   Jim Jagielski   [|]   jim@jaguNET.com   [|]   http://www.jaguNET.com/
          "Hell is hot, that's never been disputed by anybody."

Mime
View raw message