diff options
author | Rainer Jung <rjung@apache.org> | 2016-02-05 13:31:33 +0100 |
---|---|---|
committer | Rainer Jung <rjung@apache.org> | 2016-02-05 13:31:33 +0100 |
commit | ba1ab808762b83137411dbb39714a66c472a536c (patch) | |
tree | 9a7e0f4253e567b07105327edcbf3495ce185c72 /build | |
parent | Provide dummy impl of ap_proxy_connect_uds() (diff) | |
download | apache2-ba1ab808762b83137411dbb39714a66c472a536c.tar.xz apache2-ba1ab808762b83137411dbb39714a66c472a536c.zip |
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.awk | 11 |
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) |