diff options
author | rbb <rbb@13f79535-47bb-0310-9956-ffa450edef68> | 2000-12-19 17:05:36 +0000 |
---|---|---|
committer | rbb <rbb@13f79535-47bb-0310-9956-ffa450edef68> | 2000-12-19 17:05:36 +0000 |
commit | 72c2efe4ee5c5ae53b7011c0cbe250d324c36581 (patch) | |
tree | 92805be9f4ea8019f76847c68a3664e1d40a6bf1 /helpers | |
parent | 7d8f420cce6e72c14cee7807b4a740d11cecb688 (diff) | |
download | libapr-72c2efe4ee5c5ae53b7011c0cbe250d324c36581.tar.gz |
Force all Apache functions to be linked into the executable, whether they
are used or not. This uses the same mechanism that is used for APR
and APR-util. This may not be the correct solution, but it works, and that
is what I really care about. This also renames CHARSET_EBCDIC to
AP_CHARSET_EBCDIC. This is for namespace correctness, but it also makes
the exports script a bit easier.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60970 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'helpers')
-rw-r--r-- | helpers/make_export.awk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/helpers/make_export.awk b/helpers/make_export.awk index b58b657b3..5cffd1979 100644 --- a/helpers/make_export.awk +++ b/helpers/make_export.awk @@ -1,6 +1,6 @@ # Based on Ryan Bloom's make_export.pl -/^#[ \t]*if(def)? APR_.*/ { +/^#[ \t]*if(def)? (APR?_|defined).*/ { if (old_filename != FILENAME) { if (old_filename != "") printf("%s", line) macro_no = 0 @@ -32,14 +32,14 @@ next } -/^[ \t]*(APR_DECLARE[^(]*[(])?(const[ \t])?[a-z_]+[)]?[ \t]+[*]?([A-Za-z0-9_]+)\(/ { +/^[ \t]*(APR?_DECLARE[^(]*[(])?(const[ \t])?[a-z_]+[ \t\*]*[)]?[ \t]+[*]?([A-Za-z0-9_]+)\(/ { if (found) { found++ } for (i = 0; i < count; i++) { line = line "\t" } - sub("^[ \t]*(APR_DECLARE[^(]*[(])?(const[ \t])?[a-z_]+[)]?[ \t]+[*]?", ""); + sub("^[ \t]*(APR?_DECLARE[^(]*[(])?(const[ \t])?[a-z_]+[ \t\*]*[)]?[ \t]+[*]?", ""); sub("[(].*", ""); line = line $0 "\n" next |