/*
- * $Id: cf_gen.cc,v 1.51 2003/04/24 06:35:08 hno Exp $
+ * $Id: cf_gen.cc,v 1.52 2004/12/10 00:44:29 hno Exp $
*
* DEBUG: none Generate squid.conf.default and cf_parser.h
* AUTHOR: Max Okumoto
if (!defined(entry->ifdef)) {
fprintf(fp, "# Note: This option is only available if Squid is rebuilt with the\n");
- fprintf(fp, "# %s option\n#\n", available_if(entry->ifdef));
+ fprintf(fp, "# %s\n#\n", available_if(entry->ifdef));
}
for (line = entry->doc; line != NULL; line = line->next) {
define["USE_UNLINKD"]="--enable-unlinkd"
define["USE_USERAGENT_LOG"]="--enable-useragent-log"
define["USE_WCCP"]="--enable-wccp"
+ define["ESI"]="--enable-esi"
}
/^IFDEF:/ {
if (define[$2] != "")
- DEFINE=define[$2]
+ DEFINE=define[$2] " option"
else
- DEFINE="-D" $2
+ DEFINE="-D" $2 " define"
print "{\"" $2 "\", \"" DEFINE "\", "
print "#if " $2
print "1"