]> git.kaiwu.me - nginx.git/commitdiff
exit on libxslt test failure
authorIgor Sysoev <igor@sysoev.ru>
Wed, 13 Aug 2008 08:32:35 +0000 (08:32 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Wed, 13 Aug 2008 08:32:35 +0000 (08:32 +0000)
auto/lib/libxslt/conf

index 877c171897996d6ad2c799222d3454ee665d8215..30ef6d0dac75dd93db6af203add57c6bbb4ddc4f 100644 (file)
@@ -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