From 885fe52a67068d97c4d5e036bd5cba5dd81f3b07 Mon Sep 17 00:00:00 2001 From: stan Date: Mon, 15 Mar 2004 09:43:51 +0000 Subject: [PATCH] Added conditional code for when no libpcre installed. git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@959 e3e1d417-86f3-4887-817a-d78f3d33393f --- src/zm_remote_camera.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/zm_remote_camera.cpp b/src/zm_remote_camera.cpp index 4144db8ac..2c2096646 100644 --- a/src/zm_remote_camera.cpp +++ b/src/zm_remote_camera.cpp @@ -252,6 +252,7 @@ int RemoteCamera::GetResponse() //int subcontent_length = 0; //const char *subcontent_type = ""; +#if HAVE_LIBPCRE while ( true ) { switch( state ) @@ -439,6 +440,9 @@ int RemoteCamera::GetResponse() } } return( 0 ); +#else + Fatal(( "You must have libpcre.a installed to use remote cameras" )); +#endif // HAVE_LIBPCRE } int RemoteCamera::PreCapture()