changeset 2173:11c59ecbd04f

exit on libxslt test failure
author Igor Sysoev <igor@sysoev.ru>
date Wed, 13 Aug 2008 08:32:35 +0000
parents c31c569708bd
children 20a7fc523aec
files auto/lib/libxslt/conf
diffstat 1 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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