]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Bringing the NetWare export script up to date with other export scripts
authorBradley Nicholes <bnicholes@apache.org>
Fri, 19 Jul 2002 19:48:49 +0000 (19:48 +0000)
committerBradley Nicholes <bnicholes@apache.org>
Fri, 19 Jul 2002 19:48:49 +0000 (19:48 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96130 13f79535-47bb-0310-9956-ffa450edef68

build/make_nw_export.awk

index f94d56d6fde5e9d1599d52ec7f86e8ebe8a0fc39..a82c610c1f13d4c5a8ca798ef97e4fcd0a1d4116 100644 (file)
@@ -43,6 +43,27 @@ function add_symbol (sym_name) {
     next
 }
 
+/^[ \t]*APR_POOL_DECLARE_ACCESSOR[^(]*[(][^)]*[)]/ {
+    sub("[ \t]*APR_POOL_DECLARE_ACCESSOR[^(]*[(]", "", $0)
+    sub("[)].*$", "", $0)
+    add_symbol("apr_" $0 "_pool_get")
+    next
+}
+
+/^[ \t]*APR_DECLARE_INHERIT_SET[^(]*[(][^)]*[)]/ {
+    sub("[ \t]*APR_DECLARE_INHERIT_SET[^(]*[(]", "", $0)
+    sub("[)].*$", "", $0)
+    add_symbol("apr_" $0 "_inherit_set")
+    next
+}
+
+/^[ \t]*APR_DECLARE_INHERIT_UNSET[^(]*[(][^)]*[)]/ {
+    sub("[ \t]*APR_DECLARE_INHERIT_UNSET[^(]*[(]", "", $0)
+    sub("[)].*$", "", $0)
+    add_symbol("apr_" $0 "_inherit_unset")
+    next
+}
+
 /^[ \t]*(extern[ \t]+)?AP[RU]?_DECLARE_DATA .*;$/ {
        varname = $NF;
        gsub( /[*;]/, "", varname);