Mercurial > hg > nginx
diff auto/lib/pcre/conf @ 3684:4d47a0658e7d
stop ./configure on Win32 if no library sources was specified,
the bug has been introduced in r2894
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 08 Jul 2010 15:57:36 +0000 |
parents | da1ba8a5c8c9 |
children | 005fc2d5e84f 4919fb357a5d |
line wrap: on
line diff
--- a/auto/lib/pcre/conf Thu Jul 08 15:51:47 2010 +0000 +++ b/auto/lib/pcre/conf Thu Jul 08 15:57:36 2010 +0000 @@ -161,8 +161,10 @@ CORE_INCS="$CORE_INCS $ngx_feature_path" CORE_LIBS="$CORE_LIBS $ngx_feature_libs" PCRE=YES - else + fi + fi + if [ $PCRE != YES ]; then cat << END $0: error: the HTTP rewrite module requires the PCRE library. @@ -171,9 +173,7 @@ statically from the source with nginx by using --with-pcre=<path> option. END - exit 1 + exit 1 + fi - fi - - fi fi