httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cliff Woolley <>
Subject make_var_export.awk and #if's
Date Thu, 26 Jul 2001 03:50:13 GMT

I was searching for instances of "#ifdef APR_" and came up with an odd one
in export_vars.h:

#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?


   Cliff Woolley
   Charlottesville, VA

View raw message