summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorRainer Jung <rjung@apache.org>2016-02-05 12:31:33 +0000
committerRainer Jung <rjung@apache.org>2016-02-05 12:31:33 +0000
commitba1ab808762b83137411dbb39714a66c472a536c (patch)
tree9a7e0f4253e567b07105327edcbf3495ce185c72 /build
parent04da55f0b7ec7bfddbbdb7ce0ad6abb34a9d2474 (diff)
downloadhttpd-ba1ab808762b83137411dbb39714a66c472a536c.tar.gz
Allow Netware awk script which handles proxy
symbol import/export to differentiate between hooks which call APR_HOOK_LINK() in the C files and those who don't by marking them in the header file. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1728656 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build')
-rw-r--r--build/make_nw_export.awk11
1 files changed, 11 insertions, 0 deletions
diff --git a/build/make_nw_export.awk b/build/make_nw_export.awk
index ccfb0dc864..5603e822c5 100644
--- a/build/make_nw_export.awk
+++ b/build/make_nw_export.awk
@@ -60,6 +60,17 @@ function add_symbol(sym_name) {
next
}
+/^[ \t]*PROXY_HOOK_NON_LINKED[ \t]*AP[RU]?_DECLARE_EXTERNAL_HOOK[^(]*[(][^)]*/ {
+ split($0, args, ",")
+ prefix = args[1]
+ sub("^.*[(]", "", prefix)
+ symbol = args[4]
+ sub("^[ \t]+", "", symbol)
+ sub("[ \t]+$", "", symbol)
+ add_symbol(prefix "_run_" symbol)
+ next
+}
+
/^[ \t]*APR_POOL_DECLARE_ACCESSOR[^(]*[(][^)]*[)]/ {
sub("[ \t]*APR_POOL_DECLARE_ACCESSOR[^(]*[(]", "", $0)
sub("[)].*$", "", $0)