packages: nginx: fix PCRE symbol name and fix dependency
authorjogo <jogo@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 28 Apr 2013 21:26:23 +0000 (21:26 +0000)
committerjogo <jogo@3c298f89-4303-0410-b956-a3cf2f4a3e73>
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>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@36483 3c298f89-4303-0410-b956-a3cf2f4a3e73

net/nginx/Config.in

index 0cae387..3264ff0 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