diff options
author | Rainer Jung <rjung@apache.org> | 2016-02-05 01:18:26 +0100 |
---|---|---|
committer | Rainer Jung <rjung@apache.org> | 2016-02-05 01:18:26 +0100 |
commit | 10c4dfa4ee65d92ec99aa221a8b009e8ef0c6c26 (patch) | |
tree | 588fd540187661d7558cc483c3e93e8e80685166 /build | |
parent | Guess some platforms need PROXY_DECLARE_DATA (diff) | |
download | apache2-10c4dfa4ee65d92ec99aa221a8b009e8ef0c6c26.tar.xz apache2-10c4dfa4ee65d92ec99aa221a8b009e8ef0c6c26.zip |
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
Diffstat (limited to 'build')
-rw-r--r-- | build/make_nw_export.awk | 10 |
1 files changed, 8 insertions, 2 deletions
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" |