On Wednesday 25 July 2001 20:50, Cliff Woolley wrote:
> I was searching for instances of "#ifdef APR_" and came up with an odd one
> in export_vars.h:
>
> #ifdef APR_HAS_MMAP
>         apr_bucket_type_mmap
> #endif /* APR_HAS_MMAP */
>
> This is clearly wrong... apr_buckets.h uses "#if APR_HAS_MMAP" not
> "#ifdef...".  It turns out that make_var_export.awk is doing a pattern
> match on "if(def)?" and inserting "#ifdef macro" into export_vars.h
> regardless of whether it should really be the #if or the #ifdef flavor.
>
> My lack of awk skill is showing, however... can somebody suggest the
> best incantation to fix this?

You can safely ignore this now.  :-)  Sander's new awk script removes the need for the 
make_var_export.awk script.

Ryan

_____________________________________________________________________________
Ryan Bloom                              [EMAIL PROTECTED]
Covalent Technologies                   [EMAIL PROTECTED]
-----------------------------------------------------------------------------

Reply via email to