From ba1ab808762b83137411dbb39714a66c472a536c Mon Sep 17 00:00:00 2001 From: Rainer Jung Date: Fri, 5 Feb 2016 12:31:33 +0000 Subject: 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 --- build/make_nw_export.awk | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'build') 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) -- cgit v1.2.1