Add --with-system-pcre; allow building against system PCRE library

This commit is contained in:
Andrew Udvare
2015-01-28 16:11:26 -08:00
parent 5959125e1d
commit 36a412f6e4
3 changed files with 27 additions and 4 deletions
+4
View File
@@ -1342,7 +1342,11 @@ bool GetFileContents( const RString &sFile, vector<RString> &asOut )
return true;
}
#ifndef USE_SYSTEM_PCRE
#include "../extern/pcre/pcre.h"
#else
#include <pcre.h>
#endif
void Regex::Compile()
{
const char *error;