mirror of
https://github.com/apache/httpd.git
synced 2025-07-23 00:50:44 +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)
|
||||
}
|
||||
|
||||
/^[ \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
|
||||
|
@ -222,7 +222,6 @@ endif
|
||||
#
|
||||
FILES_nlm_exports = \
|
||||
@mod_proxy.imp \
|
||||
proxy_module \
|
||||
$(EOLIST)
|
||||
|
||||
#
|
||||
|
Reference in New Issue
Block a user