summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorRainer Jung <rjung@apache.org>2016-02-06 00:35:22 +0000
committerRainer Jung <rjung@apache.org>2016-02-06 00:35:22 +0000
commit3f78bf69089d6abb5425f7618041184f8587ed79 (patch)
treec005e187d89345d45114528b5195454cc34d873d /build
parent233afba4a7f6b720c1fec35606b0f5c678b9d29e (diff)
downloadhttpd-3f78bf69089d6abb5425f7618041184f8587ed79.tar.gz
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
Diffstat (limited to 'build')
-rw-r--r--build/make_nw_export.awk3
1 files changed, 1 insertions, 2 deletions
diff --git a/build/make_nw_export.awk b/build/make_nw_export.awk
index 6b21a84591..c89d2de25c 100644
--- a/build/make_nw_export.awk
+++ b/build/make_nw_export.awk
@@ -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