packages: nginx: fix PCRE symbol name and fix dependency
authorJonas Gorski <jogo@openwrt.org>
Sun, 28 Apr 2013 21:26:23 +0000 (21:26 +0000)
committerJonas Gorski <jogo@openwrt.org>
Sun, 28 Apr 2013 21:26:23 +0000 (21:26 +0000)
Fix PCRE config symbol name and let HTTP_REWRITE select it as it
depends on PCRE.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 36483

net/nginx/Config.in

index 0cae38747fee2b7947c4c28858da562bd51b45ef..3264ff0505dad43d91144531e850547b41eecaaa 100644 (file)
@@ -38,7 +38,7 @@ config NGINX_LUA
        help
                Enable support for LUA scripts.
 
-config NGINX_DISABLE_PCRE
+config NGINX_PCRE
        bool
        prompt "Enable PCRE library usage"
        default y
@@ -105,6 +105,7 @@ config NGINX_HTTP_REFERER
 config NGINX_HTTP_REWRITE
        bool
        prompt "Enable HTTP rewrite module"
+       select NGINX_PCRE
        default y
 
 config NGINX_HTTP_PROXY