summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2008-08-13 08:32:35 +0000
committerIgor Sysoev <igor@sysoev.ru>2008-08-13 08:32:35 +0000
commitd28170c1831d82551b0ec71fe1352ccf37a84ae4 (patch)
tree8d2d424b5f0ff1f07b56c7570caee0b5fb98cc59
parent49f06858e9fb8362a4d337b3b0dd35f911797cf3 (diff)
downloadnginx-d28170c1831d82551b0ec71fe1352ccf37a84ae4.tar.gz
nginx-d28170c1831d82551b0ec71fe1352ccf37a84ae4.tar.bz2
exit on libxslt test failure
-rw-r--r--auto/lib/libxslt/conf12
1 files changed, 12 insertions, 0 deletions
diff --git a/auto/lib/libxslt/conf b/auto/lib/libxslt/conf
index 877c17189..30ef6d0da 100644
--- a/auto/lib/libxslt/conf
+++ b/auto/lib/libxslt/conf
@@ -73,6 +73,18 @@ fi
if [ $ngx_found = yes ]; then
+
CORE_INCS="$CORE_INCS $ngx_feature_path"
CORE_LIBS="$CORE_LIBS $ngx_feature_libs"
+
+else
+
+cat << END
+
+$0: error: the HTTP XSLT module requires the libxml2/libxslt
+libraries. You can either do not enable the module or install the libraries.
+
+END
+
+ exit 1
fi