From: Fabian Keil <fk@fabiankeil.de>
Date: Mon, 5 May 2014 09:55:51 +0000 (+0000)
Subject: Dynamically linking to PCRS hasn't been supported for years - stop pretending
X-Git-Tag: v_3_0_22~166
X-Git-Url: http://www.privoxy.org/gitweb/%22https:/faq/@default-cgi@/static/diff?a=commitdiff_plain;h=e12b2acdbf69e735e195cf6b8c2a00d533717078;p=privoxy.git

Dynamically linking to PCRS hasn't been supported for years - stop pretending
---

diff --git a/cgisimple.c b/cgisimple.c
index 79ec6216..71e746d2 100644
--- a/cgisimple.c
+++ b/cgisimple.c
@@ -1,4 +1,4 @@
-const char cgisimple_rcs[] = "$Id: cgisimple.c,v 1.119 2013/01/25 21:52:02 david__schmidt Exp $";
+const char cgisimple_rcs[] = "$Id: cgisimple.c,v 1.120 2013/01/26 13:30:20 fabiankeil Exp $";
 /*********************************************************************
  *
  * File        :  $Source: /cvsroot/ijbswa/current/cgisimple.c,v $
@@ -1680,12 +1680,6 @@ static jb_err show_defines(struct map *exports)
    if (!err) err = map_conditional(exports, "STATIC_PCRE", 0);
 #endif /* ndef STATIC_PCRE */
 
-#ifdef STATIC_PCRS
-   if (!err) err = map_conditional(exports, "STATIC_PCRS", 1);
-#else /* ifndef STATIC_PCRS */
-   if (!err) err = map_conditional(exports, "STATIC_PCRS", 0);
-#endif /* ndef STATIC_PCRS */
-
    return err;
 }
 
diff --git a/templates/show-status b/templates/show-status
index e0ebd397..bdbafe8b 100644
--- a/templates/show-status
+++ b/templates/show-status
@@ -344,12 +344,6 @@
                Dynamically linking to an external libpcre is recommended as the internal
                one is outdated and lacks various features and bug-fixes you may be interested in.</td>
             </tr>
-            <tr>
-              <td><code>STATIC_PCRS</code></td>
-              <td>@if-STATIC_PCRS-then@ Yes @else-not-STATIC_PCRS@ No @endif-STATIC_PCRS@</td>
-              <td>Use the supplied statically-linked PCRS library.  This is set automatically
-               by <code>./configure</code> if you do not have the libpcrs installed.</td>
-            </tr>
           </table>
       </td>
     </tr>