]> git.ipfire.org Git - thirdparty/sarg.git/commitdiff
Don't complain if pcre.h is not available
authorFrederic Marchal <fmarchal@users.sourceforge.net>
Fri, 25 Jan 2013 19:19:10 +0000 (20:19 +0100)
committerFrederic Marchal <fmarchal@users.sourceforge.net>
Fri, 25 Jan 2013 19:19:10 +0000 (20:19 +0100)
The file can be compiled even if pcre is not available.

url.c

diff --git a/url.c b/url.c
index 3b6802e5d543e010886e0cf4470baf5994c3ec11..e0b6b1ede3bb7413ee80850e9fee4aa7404a1fb8 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
 
 /*!