diff options
author | Justin Erenkrantz <jerenkrantz@apache.org> | 2003-09-26 07:40:31 +0000 |
---|---|---|
committer | Justin Erenkrantz <jerenkrantz@apache.org> | 2003-09-26 07:40:31 +0000 |
commit | b48e458ea3de55039272904f8d0d7f4714b7fe3d (patch) | |
tree | d29d7e3c013eedb185a7c3f79dc5c6946fd41ab4 /build/make_var_export.awk | |
parent | c021024b5345333620fbe7cb80173e2e6f385a0a (diff) | |
download | apr-b48e458ea3de55039272904f8d0d7f4714b7fe3d.tar.gz |
Fix up make_exports.awk and friends to support apr-iconv.
(Forward port from APR_0_9_BRANCH which needed this in order to build
apr-iconv.)
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64649 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build/make_var_export.awk')
-rw-r--r-- | build/make_var_export.awk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build/make_var_export.awk b/build/make_var_export.awk index 1d6f76d8f..59922758d 100644 --- a/build/make_var_export.awk +++ b/build/make_var_export.awk @@ -1,7 +1,7 @@ # Based on apr's make_export.awk, which is # based on Ryan Bloom's make_export.pl -/^#[ \t]*if(def)? (AP[RU]?_|!?defined).*/ { +/^#[ \t]*if(def)? (AP[RUI]?_|!?defined).*/ { if (old_filename != FILENAME) { if (old_filename != "") printf("%s", line) macro_no = 0 @@ -47,7 +47,7 @@ function add_symbol (sym_name) { } } -/^[ \t]*(extern[ \t]+)?AP[RU]?_DECLARE_DATA .*;$/ { +/^[ \t]*(extern[ \t]+)?AP[RUI]?_DECLARE_DATA .*;$/ { varname = $NF; gsub( /[*;]/, "", varname); gsub( /\[.*\]/, "", varname); |