summaryrefslogtreecommitdiffhomepage
path: root/auto/lib/conf
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--auto/lib/conf14
1 files changed, 14 insertions, 0 deletions
diff --git a/auto/lib/conf b/auto/lib/conf
index 7da80e792..f52c90492 100644
--- a/auto/lib/conf
+++ b/auto/lib/conf
@@ -4,8 +4,22 @@
if [ $USE_PCRE = YES -o $PCRE != NONE ]; then
. auto/lib/pcre/conf
+
+else
+ if [ $USE_PCRE = DISABLED -a $HTTP_REWRITE = YES ]; then
+
+cat << END
+
+$0: error: the HTTP rewrite module requires the PCRE library.
+You can either disable the module by using --without-http_rewrite_module
+option or you have to enable the PCRE support.
+
+END
+ exit 1
+ fi
fi
+
if [ $USE_OPENSSL = YES ]; then
. auto/lib/openssl/conf
fi