From ad0fac0c7dd70bb15f97799f885459c6b0cf2d51 Mon Sep 17 00:00:00 2001 From: oes Date: Wed, 18 Jul 2001 17:27:22 +0000 Subject: [PATCH] Adapted to new #defines --- showargs.c | 40 +++++++++++++++++++++++++++++++--------- 1 file changed, 31 insertions(+), 9 deletions(-) diff --git a/showargs.c b/showargs.c index 01c0bb33..ea83855b 100644 --- a/showargs.c +++ b/showargs.c @@ -1,4 +1,4 @@ -const char showargs_rcs[] = "$Id: showargs.c,v 1.19 2001/07/13 14:04:09 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,10 @@ const char showargs_rcs[] = "$Id: showargs.c,v 1.19 2001/07/13 14:04:09 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 @@ -363,17 +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 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"); -- 2.39.2