# HG changeset patch # User Igor Sysoev # Date 1218616355 0 # Node ID 11c59ecbd04f41519ed35d7ccfd79aad4f94b228 # Parent c31c569708bdb747702ed2358c34763d6bfb2282 exit on libxslt test failure diff --git a/auto/lib/libxslt/conf b/auto/lib/libxslt/conf --- 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