1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-05 07:21:24 +03:00

Move the default configuration for the MSVC build system to config_default.pl,

and allow using config.pl to override the defaults. config.pl is removed from
the repository, so changes there will no longer show up when doing diff, and
will not prevent switching branches and such things.

config.pl would normally be used to override single values, but if an
old-style config.pl is read, it will override the entire default configuration,
making it backwards compatible.
This commit is contained in:
Magnus Hagander
2010-01-05 13:31:58 +00:00
parent 04de9be910
commit af322a8a3e
5 changed files with 26 additions and 21 deletions

View File

@ -3,7 +3,7 @@ package Install;
#
# Package that provides 'make install' functionality for msvc builds
#
# $PostgreSQL: pgsql/src/tools/msvc/Install.pm,v 1.33 2009/04/20 08:38:00 mha Exp $
# $PostgreSQL: pgsql/src/tools/msvc/Install.pm,v 1.34 2010/01/05 13:31:58 mha Exp $
#
use strict;
use warnings;
@ -38,7 +38,8 @@ sub Install
my $target = shift;
our $config;
require 'config.pl';
require "config_default.pl";
require "config.pl" if (-f "config.pl");
chdir("../../..") if (-f "../../../configure");
chdir("../../../..") if (-f "../../../../configure");