Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Treat config.pl as optional in vcregress.pl
authorPeter Eisentraut <peter_e@gmx.net>
Tue, 19 Apr 2011 19:01:15 +0000 (22:01 +0300)
committerPeter Eisentraut <peter_e@gmx.net>
Tue, 19 Apr 2011 19:01:15 +0000 (22:01 +0300)
This is how build.pl treats it and how it's documented.

src/tools/msvc/vcregress.pl

index ac7e6aac2a42e52789bd735c6ea22bac0d6a78f5..8a100bf2eadeaaadf9357dcec91bdf1ee5468769 100644 (file)
@@ -13,7 +13,8 @@ my $startdir = getcwd();
 
 chdir "../../.." if (-d "../../../src/tools/msvc");
 
-require 'src/tools/msvc/config.pl';
+require 'src/tools/msvc/config_default.pl';
+require 'src/tools/msvc/config.pl' if (-f 'src/tools/msvc/config.pl');
 
 # buildenv.pl is for specifying the build environment settings
 # it should contian lines like: