From: Brian Havard Date: Wed, 20 Dec 2000 14:25:02 +0000 (+0000) Subject: When building exports list, allow for multi-part and negative conditions X-Git-Tag: APACHE_2_0_BETA_CANDIDATE_1~383 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9ab2ee5ab5fdf63391b70d1d1b6e636dd2052ce7;p=apache When building exports list, allow for multi-part and negative conditions in #if tests. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87451 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/build/buildexports.awk b/build/buildexports.awk index d0d692fe35..7856b46d34 100644 --- a/build/buildexports.awk +++ b/build/buildexports.awk @@ -1,3 +1,3 @@ -/^(APR?_|defined)/ { print "#if", $1 } +/^(APR?_|!?defined)/ { print "#if", $0 } /^\t*apr?_/ { print "const void *ap_hack_" $1 " = (const void *)" $1 ";" } -/^\/(APR?_|defined)/ { print "#endif /*", substr($1,2), "*/" } +/^\/(APR?_|!?defined)/ { print "#endif /*", substr($0,2), "*/" }