]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug #1152: Document --enable-esi in squid.conf.default
authorhno <>
Fri, 10 Dec 2004 07:44:29 +0000 (07:44 +0000)
committerhno <>
Fri, 10 Dec 2004 07:44:29 +0000 (07:44 +0000)
src/cf_gen.cc
src/cf_gen_defines

index 078e0259b05c7ef27f08761e7409ea24012adf69..9cfe74b2b27834f4eed08907336993a6822ac49c 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $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
@@ -752,7 +752,7 @@ gen_conf(Entry * head, FILE * fp)
 
         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) {
index ab46de98c9d5c6e24aa5490d24aaacf147080f50..5c96cf9b9d792b2cce6ab4e433d1530f61facaca 100755 (executable)
@@ -18,12 +18,13 @@ BEGIN {
        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"