Bug 180 - Generate warning if regexps selected and not libpcre

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@1511 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
stan 2005-10-16 21:34:58 +00:00
parent 01f7523dbe
commit 333c3b4ba3
1 changed files with 4 additions and 0 deletions

View File

@ -509,6 +509,10 @@ int RemoteCamera::GetResponse()
else else
#endif // HAVE_LIBPCRE #endif // HAVE_LIBPCRE
{ {
if ( config.netcam_regexps )
{
Warning(( "Unable to use netcam regexps as not compiled with libpcre" ));
}
static const char *http_match = "HTTP/"; static const char *http_match = "HTTP/";
static const char *connection_match = "Connection:"; static const char *connection_match = "Connection:";
static const char *content_length_match = "Content-length:"; static const char *content_length_match = "Content-length:";