From a3bdd737e5c5feb3ef7b341fd9f84c5d83d3340b Mon Sep 17 00:00:00 2001 From: Maxim Dounin Date: Tue, 27 Mar 2012 16:44:52 +0000 Subject: Fixed more gcc46 warnings in configure tests. Steps to reproduce: ./configure --with-cc="gcc46" --with-cc-opt="-Wall -Werror -O2" --- auto/lib/pcre/conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'auto/lib') diff --git a/auto/lib/pcre/conf b/auto/lib/pcre/conf index c56848d5d..6a8c326c4 100644 --- a/auto/lib/pcre/conf +++ b/auto/lib/pcre/conf @@ -98,7 +98,9 @@ else ngx_feature_incs="#include " ngx_feature_path= ngx_feature_libs="-lpcre" - ngx_feature_test="pcre *re; re = pcre_compile(NULL, 0, NULL, 0, NULL)" + ngx_feature_test="pcre *re; + re = pcre_compile(NULL, 0, NULL, 0, NULL); + if (re == NULL) return 1" . auto/feature if [ $ngx_found = no ]; then -- cgit