summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorBrian Havard <bjh@apache.org>2000-12-20 15:25:02 +0100
committerBrian Havard <bjh@apache.org>2000-12-20 15:25:02 +0100
commit9ab2ee5ab5fdf63391b70d1d1b6e636dd2052ce7 (patch)
tree1269e227b257eee1ec4ea4d0899127b66b16ccc4 /build
parentmention the recent IPv6 changes... I had hoped to get the doc (diff)
downloadapache2-9ab2ee5ab5fdf63391b70d1d1b6e636dd2052ce7.tar.xz
apache2-9ab2ee5ab5fdf63391b70d1d1b6e636dd2052ce7.zip
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
Diffstat (limited to 'build')
-rw-r--r--build/buildexports.awk4
1 files changed, 2 insertions, 2 deletions
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), "*/" }