From c07508d81b9d28f173c811eb467ee208367ee329 Mon Sep 17 00:00:00 2001 From: Ryan Bloom Date: Tue, 19 Dec 2000 17:05:36 +0000 Subject: 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 --- helpers/make_export.awk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'helpers') 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 -- cgit v1.2.1