From: Rainer Jung Date: Fri, 5 Feb 2016 00:18:26 +0000 (+0000) Subject: Add support for the proxy modules to X-Git-Tag: 2.5.0-alpha~2202 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=10c4dfa4ee65d92ec99aa221a8b009e8ef0c6c26;p=apache Add support for the proxy modules to the awk script used to generate Netware symbol import and export files. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1728573 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/build/make_nw_export.awk b/build/make_nw_export.awk index d3564693b3..ccfb0dc864 100644 --- a/build/make_nw_export.awk +++ b/build/make_nw_export.awk @@ -28,8 +28,8 @@ function add_symbol(sym_name) { # List of functions that we don't support, yet?? #/ap_some_name/{next} -/^[ \t]*(AP|DAV|CACHE)([RU]|REQ|_CORE)?_DECLARE[^(]*[(][^)]*[)]([^ ]* )*[^(]+[(]/ { - sub("[ \t]*(AP|DAV|CACHE)([RU]|REQ|_CORE)?_DECLARE[^(]*[(][^)]*[)][ \t]*", "") +/^[ \t]*(AP|DAV|CACHE|PROXY)([RU]|REQ|_CORE)?_DECLARE[^(]*[(][^)]*[)]([^ ]* )*[^(]+[(]/ { + sub("[ \t]*(AP|DAV|CACHE|PROXY)([RU]|REQ|_CORE)?_DECLARE[^(]*[(][^)]*[)][ \t]*", "") sub("[(].*", "") sub("([^ ]* (^([ \t]*[(])))+", "") add_symbol($0) @@ -87,6 +87,12 @@ function add_symbol(sym_name) { add_symbol($NF) } +/^[ \t]*PROXY_DECLARE_DATA (extern[ \t]+)?.*;/ { + gsub(/[*;\n\r]/, "") + gsub(/\[.*\]/, "") + add_symbol($NF) +} + END { printf("Added %d symbols to export list.\n", idx) > "/dev/stderr"