summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorGuenter Knauf <fuankg@apache.org>2013-02-28 09:26:48 +0000
committerGuenter Knauf <fuankg@apache.org>2013-02-28 09:26:48 +0000
commit1a39234831b0e17ff83f674f54417cf6b5d89780 (patch)
tree1f8d2bc5f2a835ccaab26150e7c483c2830eeb0a /build
parent8b3b94f8c0b7dbd94439cfa08c06a1b60401a343 (diff)
downloadhttpd-1a39234831b0e17ff83f674f54417cf6b5d89780.tar.gz
Use define for serverroot with NetWare conf files.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1451155 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build')
-rw-r--r--build/mkconfNW.awk9
1 files changed, 6 insertions, 3 deletions
diff --git a/build/mkconfNW.awk b/build/mkconfNW.awk
index a9be017cd0..c0028cef0c 100644
--- a/build/mkconfNW.awk
+++ b/build/mkconfNW.awk
@@ -14,8 +14,7 @@
# limitations under the License.
BEGIN {
-
- A["ServerRoot"] = "SYS:/"BDIR
+ A["ServerRoot"] = "\${SRVROOT}"
A["Port"] = PORT
A["SSLPort"] = SSLPORT
A["cgidir"] = "cgi-bin"
@@ -39,6 +38,10 @@ BEGIN {
B["runtimedir"] = A["runtimedir"]
}
+/^ServerRoot / {
+ print "Define SRVROOT \"SYS:/" BDIR "\""
+ print ""
+}
/@@LoadModule@@/ {
print "#LoadModule access_compat_module modules/accesscompat.nlm"
print "#LoadModule actions_module modules/actions.nlm"
@@ -143,7 +146,7 @@ match ($0,/^<IfModule cgid_module>$/) {
}
END {
- if ((ARGV[1] ~ /httpd.conf.in/) && !BSDSKT) {
+ if ((ARGV[1] ~ /httpd.conf.in/) && !BSDSKT) {
print ""
print "#"
print "# SecureListen: Allows you to securely bind Apache to specific IP addresses "