diff options
| author | Maxim Dounin <mdounin@mdounin.ru> | 2012-03-27 16:44:52 +0000 |
|---|---|---|
| committer | Maxim Dounin <mdounin@mdounin.ru> | 2012-03-27 16:44:52 +0000 |
| commit | a3bdd737e5c5feb3ef7b341fd9f84c5d83d3340b (patch) | |
| tree | 796c9a33dfe4dcdc09734dbba80b982aad4a9b98 /auto/lib | |
| parent | 36aef0c383bfe285a12b4b826563a768efe181d6 (diff) | |
| download | nginx-a3bdd737e5c5feb3ef7b341fd9f84c5d83d3340b.tar.gz nginx-a3bdd737e5c5feb3ef7b341fd9f84c5d83d3340b.tar.bz2 | |
Fixed more gcc46 warnings in configure tests.
Steps to reproduce:
./configure --with-cc="gcc46" --with-cc-opt="-Wall -Werror -O2"
Diffstat (limited to 'auto/lib')
| -rw-r--r-- | auto/lib/pcre/conf | 4 |
1 files changed, 3 insertions, 1 deletions
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 <pcre.h>" 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 |
