]> granicus.if.org Git - apache/commitdiff
When building exports list, allow for multi-part and negative conditions
authorBrian Havard <bjh@apache.org>
Wed, 20 Dec 2000 14:25:02 +0000 (14:25 +0000)
committerBrian Havard <bjh@apache.org>
Wed, 20 Dec 2000 14:25:02 +0000 (14:25 +0000)
in #if tests.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87451 13f79535-47bb-0310-9956-ffa450edef68

build/buildexports.awk

index d0d692fe35e483e76b763a6ec996e4430f2d2928..7856b46d341fd63795982c55f05d112c81f74a02 100644 (file)
@@ -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), "*/" }