]> git.ipfire.org Git - thirdparty/sarg.git/commitdiff
Don't fail to compile if libpcre not available
authorFrédéric Marchal <fmarchal@users.sourceforge.net>
Thu, 26 Jul 2012 12:47:03 +0000 (14:47 +0200)
committerFrédéric Marchal <fmarchal@users.sourceforge.net>
Thu, 26 Jul 2012 12:47:03 +0000 (14:47 +0200)
Libpcre was not silently ignored if it was missing. This patch remove the error
message displayed if libpcre is not available or disabled.

url.c

diff --git a/url.c b/url.c
index 3cdba7379fe02197c5cc83704275b04176e32190..03cd256e67b6f426672a8d10a12173fbe80f75ce 100644 (file)
--- a/url.c
+++ b/url.c
@@ -29,8 +29,6 @@
 #ifdef HAVE_PCRE_H
 #include <pcre.h>
 #define USE_PCRE
-#else
-#error "PCRE not compiled in"
 #endif
 
 /*!