Add proxy_module to the list of symbols

detected by Netware export/import awk
script.

We do not export proxy_module by putting it
into modules/proxy/NWGNUproxy explicitely,
because all accompanying proxy modules need
this symbol to access their config. So let
the awk script add proxy_module to the imp
file and then export it from mod_proxy and
import it to all other mod_proxy_xxx modules
via the imp file.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1728780 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Rainer Jung
2016-02-06 00:35:22 +00:00
parent 233afba4a7
commit 3f78bf6908
2 changed files with 1 additions and 3 deletions

View File

@ -98,13 +98,12 @@ function add_symbol(sym_name) {
add_symbol($NF)
}
/^[ \t]*PROXY_DECLARE_DATA (extern[ \t]+)?.*;/ {
/^[ \t]*(extern[ \t]+(module[ \t]+)?)?PROXY_DECLARE_DATA .*;/ {
gsub(/[*;\n\r]/, "")
gsub(/\[.*\]/, "")
add_symbol($NF)
}
END {
printf("Added %d symbols to export list.\n", idx) > "/dev/stderr"
# sort symbols with shell sort

View File

@ -222,7 +222,6 @@ endif
#
FILES_nlm_exports = \
@mod_proxy.imp \
proxy_module \
$(EOLIST)
#