summaryrefslogtreecommitdiff
path: root/helpers
diff options
context:
space:
mode:
authorRyan Bloom <rbb@apache.org>2000-12-19 17:05:36 +0000
committerRyan Bloom <rbb@apache.org>2000-12-19 17:05:36 +0000
commitc07508d81b9d28f173c811eb467ee208367ee329 (patch)
tree92805be9f4ea8019f76847c68a3664e1d40a6bf1 /helpers
parent04384e52f735688207d908311281ba11d32391d4 (diff)
downloadapr-c07508d81b9d28f173c811eb467ee208367ee329.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: https://svn.apache.org/repos/asf/apr/apr/trunk@60970 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'helpers')
-rw-r--r--helpers/make_export.awk6
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