diff options
author | William A. Rowe Jr <wrowe@apache.org> | 2004-03-15 21:38:07 +0000 |
---|---|---|
committer | William A. Rowe Jr <wrowe@apache.org> | 2004-03-15 21:38:07 +0000 |
commit | bdaaee56d2857daae0c2baefa12b85768af074fc (patch) | |
tree | 7d4dbb8bc2315d89927cd3bc96fdba09454842ff /Makefile.win | |
parent | a8870a5a0022c55397e6dc6e92615fc35b42c88f (diff) | |
download | httpd-bdaaee56d2857daae0c2baefa12b85768af074fc.tar.gz |
Backport source-build change for Win32 to accomodate the elimiation
of ssl-std.conf. (rev 1.136 - 1.138) Substitute all fields correctly
from ssl-std.conf.in, and then only if openssl is detected.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/APACHE_2_0_BRANCH@102972 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'Makefile.win')
-rw-r--r-- | Makefile.win | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile.win b/Makefile.win index 8574a7a882..bc5b475a9d 100644 --- a/Makefile.win +++ b/Makefile.win @@ -630,8 +630,9 @@ BEGIN { << if not exist "$(INSTDIR)\conf\httpd.conf" \ copy "$(INSTDIR)\conf\httpd.default.conf" "$(INSTDIR)\conf\httpd.conf" +!IF EXIST("srclib\openssl") copy docs\conf\ssl-std.conf.in "$(INSTDIR)\conf\ssl.default.conf" <.y - -awk -f <<script.awk "docs/conf/ssl-std.conf" "$(INSTDIR)" > "$(INSTDIR)\conf\ssl.default.conf" + -awk -f <<script.awk "docs/conf/ssl-std.conf.in" "$(INSTDIR)" > "$(INSTDIR)\conf\ssl.default.conf" BEGIN { serverroot = ARGV[2]; delete ARGV[2]; @@ -641,11 +642,17 @@ BEGIN { } { gsub( /@@ServerRoot@@/, serverroot ); + gsub( /@exp_runtimedir@/, "logs" ); + gsub( /@exp_htdocsdir@/, serverroot "/htdocs" ); + gsub( /@exp_logfiledir@/, "logs" ); + gsub( /@exp_sysconfdir@/, "conf" ); + gsub( /@exp_cgidir@/, serverroot "/cgi" ); print $$0; } << if not exist "$(INSTDIR)\conf\ssl.conf" \ copy "$(INSTDIR)\conf\ssl.default.conf" "$(INSTDIR)\conf\ssl.conf" +!ENDIF -awk -f <<script.awk "support/dbmmanage.in" >"$(INSTDIR)\bin\dbmmanage.pl" { if ( $$0 ~ /^BEGIN \{ @AnyDBM_File::/ ) { sub( /ISA = qw\(.*\)/, "ISA = qw(SDBM_File)" ); |