]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Backport source-build change for Win32 to accomodate the elimiation
authorWilliam A. Rowe Jr <wrowe@apache.org>
Mon, 15 Mar 2004 21:38:07 +0000 (21:38 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Mon, 15 Mar 2004 21:38:07 +0000 (21:38 +0000)
  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

Makefile.win

index 8574a7a882088b397e91b9298cf9635770e07161..bc5b475a9d8ea5f93ba47b56bcd6904f1770f431 100644 (file)
@@ -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)" );