From d28170c1831d82551b0ec71fe1352ccf37a84ae4 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Wed, 13 Aug 2008 08:32:35 +0000 Subject: [PATCH] exit on libxslt test failure --- auto/lib/libxslt/conf | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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