summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorRainer Jung <rjung@apache.org>2016-02-05 00:18:26 +0000
committerRainer Jung <rjung@apache.org>2016-02-05 00:18:26 +0000
commit10c4dfa4ee65d92ec99aa221a8b009e8ef0c6c26 (patch)
tree588fd540187661d7558cc483c3e93e8e80685166 /build
parentfa29d04871ab786349b362fdb95db2ab7fe34e2d (diff)
downloadhttpd-10c4dfa4ee65d92ec99aa221a8b009e8ef0c6c26.tar.gz
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.awk10
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"