~yadi/squid/te-gzip

« back to all changes in this revision

Viewing changes to compat/compat.h

  • Committer: Amos Jeffries
  • Date: 2016-11-20 09:12:00 UTC
  • mfrom: (14178.1.18 regex)
  • Revision ID: squid3@treenet.co.nz-20161120091200-6igx73hewk83nydi
C++11: Remove GnuRegex and all -lregex related code

Squid is now exclusively using the STL std::regex API provided on all
operating systems in a portable manner.

We no longer have any need of detecting if the system is providing a
libregex, or user has configured one, or if it actually works, or how
to call it, or use the GnuRegex code as a backup when one of those
complex details goes wrong.

Show diffs side-by-side

added added

removed removed

Lines of Context:
107
107
/* Valgrind API macros changed between two versions squid supports */
108
108
#include "compat/valgrind.h"
109
109
 
110
 
/**
111
 
 * A Regular Expression library is bundled with Squid.
112
 
 * Default is to use a system provided one, but the bundle
113
 
 * may be used instead with explicit configuration.
114
 
 */
115
 
#include "compat/GnuRegex.h"
116
 
 
117
110
/* cppunit is not quite C++0x compatible yet */
118
111
#include "compat/cppunit.h"
119
112