mirror of
https://github.com/apache/httpd.git
synced 2025-08-13 14:40:20 +00:00
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:
@ -98,13 +98,12 @@ function add_symbol(sym_name) {
|
|||||||
add_symbol($NF)
|
add_symbol($NF)
|
||||||
}
|
}
|
||||||
|
|
||||||
/^[ \t]*PROXY_DECLARE_DATA (extern[ \t]+)?.*;/ {
|
/^[ \t]*(extern[ \t]+(module[ \t]+)?)?PROXY_DECLARE_DATA .*;/ {
|
||||||
gsub(/[*;\n\r]/, "")
|
gsub(/[*;\n\r]/, "")
|
||||||
gsub(/\[.*\]/, "")
|
gsub(/\[.*\]/, "")
|
||||||
add_symbol($NF)
|
add_symbol($NF)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
END {
|
END {
|
||||||
printf("Added %d symbols to export list.\n", idx) > "/dev/stderr"
|
printf("Added %d symbols to export list.\n", idx) > "/dev/stderr"
|
||||||
# sort symbols with shell sort
|
# sort symbols with shell sort
|
||||||
|
@ -222,7 +222,6 @@ endif
|
|||||||
#
|
#
|
||||||
FILES_nlm_exports = \
|
FILES_nlm_exports = \
|
||||||
@mod_proxy.imp \
|
@mod_proxy.imp \
|
||||||
proxy_module \
|
|
||||||
$(EOLIST)
|
$(EOLIST)
|
||||||
|
|
||||||
#
|
#
|
||||||
|
Reference in New Issue
Block a user