X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=showargs.c;h=ea83855bebb872c8eac7d4d598fd749ce5b078f7;hp=fa4163f97b5c1647125f61b1cdc38b0c61e1f244;hb=4fc79f76739bc242b12042297455e87a9ea7ce3e;hpb=b28e9205bb0d4ac98d591c6e506219438799d56c diff --git a/showargs.c b/showargs.c index fa4163f9..ea83855b 100644 --- a/showargs.c +++ b/showargs.c @@ -1,4 +1,4 @@ -const char showargs_rcs[] = "$Id: showargs.c,v 1.16 2001/06/29 13:35:07 oes Exp $"; +const char showargs_rcs[] = "$Id: showargs.c,v 1.19 2001/07/13 14:11:36 oes Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/showargs.c,v $ @@ -34,6 +34,18 @@ const char showargs_rcs[] = "$Id: showargs.c,v 1.16 2001/06/29 13:35:07 oes Exp * * Revisions : * $Log: showargs.c,v $ + * Revision 1.19 2001/07/13 14:11:36 oes + * - Included SHOW_RCS for deanimate.* + * - Removed all #ifdef PCRS + * + * + * Revision 1.18 2001/07/02 02:55:16 iwanttokeepanon + * Apended " on some sites" to the HTML generating function `show_defines' (@ line + * 392); since "DENY_GZIP" is not *really* necessary for all PCRS functionallity. + * + * Revision 1.17 2001/06/29 21:45:41 oes + * Indentation, CRLF->LF, Tab-> Space + * * Revision 1.16 2001/06/29 13:35:07 oes * - Adapted * - Improved comments @@ -281,6 +293,8 @@ char *show_rcs(void) #ifdef __MINGW32__ SHOW_RCS(cygwin_h_rcs) #endif + SHOW_RCS(deanimate_h_rcs) + SHOW_RCS(deanimate_rcs) SHOW_RCS(encode_h_rcs) SHOW_RCS(encode_rcs) SHOW_RCS(errlog_h_rcs) @@ -311,10 +325,8 @@ char *show_rcs(void) SHOW_RCS(miscutil_rcs) SHOW_RCS(parsers_h_rcs) SHOW_RCS(parsers_rcs) -#ifdef PCRS SHOW_RCS(pcrs_rcs) SHOW_RCS(pcrs_h_rcs) -#endif /* def PCRS */ SHOW_RCS(project_h_rcs) SHOW_RCS(showargs_h_rcs) SHOW_RCS(showargs_rcs) @@ -355,23 +367,35 @@ char *show_defines(void) { char *b = NULL; -#ifdef REGEX - b = strsav(b, "
  • #define REGEX - Support for regular expressions in the path specs.
  • \n"); -#else /* ifndef REGEX */ +#ifdef FEATURE_PTHREAD + b = strsav(b, "
  • #define FEATURE_PTHREAD - Support POSIX threads.
  • \n"); +#else + b = strsav(b, "
  • #undef FEATURE_PTHREAD - No support POSIX threads.
  • \n"); +#endif + +#ifdef REGEX_GNU + b = strsav(b, "
  • #define REGEX_GNU - Support for GNU style regular expressions in the path specs.
  • \n"); +#endif /* def REGEX_GNU */ + +#ifdef REGEX_PCRE + b = strsav(b, "
  • #define REGEX_PCRE - Support for pcre style regular expressions in the path specs.
  • \n"); +#endif /* def REGEX_PCRE */ + +#ifndef REGEX b = strsav(b, "
  • #undef REGEX - No support for regular expressions in the path specs.
  • \n"); #endif /* ndef REGEX */ -#ifdef PCRE - b = strsav(b, "
  • #define PCRE - Use PCRE rather than old GNU regex library.
  • \n"); -#else /* ifndef PCRE */ - b = strsav(b, "
  • #undef PCRE - Use old GNU regex library rather than PCRE.
  • \n"); -#endif /* ndef PCRE */ +#ifdef STATIC_PCRE + b = strsav(b, "
  • #define STATIC_PCRE - Using static built-in pcre rather than libpcre.
  • \n"); +#else /* ifndef STATIC_PCRE */ + b = strsav(b, "
  • #undef STATIC_PCRE - Using libpcre rather than static built-in pcre.
  • \n"); +#endif /* ndef STATIC_PCRE */ -#ifdef PCRS - b = strsav(b, "
  • #define PCRS - Enables arbitrary content modification regexps.
  • \n"); -#else /* ifndef PCRS */ - b = strsav(b, "
  • #undef PCRS - Disables arbitrary content modification regexps.
  • \n"); -#endif /* ndef PCRS */ +#ifdef STATIC_PCRS + b = strsav(b, "
  • #define STATIC_PCRS - Using static built-in pcrs rather than libpcrs.
  • \n"); +#else /* ifndef STATIC_PCRS */ + b = strsav(b, "
  • #undef STATIC_PCRS - Using libpcrs rather than static built-in pcrs.
  • \n"); +#endif /* ndef STATIC_PCRS */ #ifdef TOGGLE b = strsav(b, "
  • #define TOGGLE - Allow JunkBuster to be \"disabled\" so it is just a normal non-blocking non-anonymizing proxy.
  • \n"); @@ -386,7 +410,7 @@ char *show_defines(void) #endif /* ndef FORCE_LOAD */ #ifdef DENY_GZIP - b = strsav(b, "
  • #define DENY_GZIP - Prevents requests from being compressed - required for PCRS.
  • \n"); + b = strsav(b, "
  • #define DENY_GZIP - Prevents requests from being compressed - required for PCRS on some sites.
  • \n"); #else /* ifndef DENY_GZIP */ b = strsav(b, "
  • #undef DENY_GZIP - Allows requests to be compressed if the browser and server support it.
  • \n"); #endif /* ndef DENY_GZIP */