diff options
author | Andrew Dunstan | 2007-04-04 18:45:59 +0000 |
---|---|---|
committer | Andrew Dunstan | 2007-04-04 18:45:59 +0000 |
commit | e687c4c3c73f1991f05d821e109f289f805306cf (patch) | |
tree | 37d2a40b0b3e23a32e1ada3b319d96da527ea3ae /src | |
parent | 3b93fba823a4a3e83259a353c47a044204dacef4 (diff) |
Don't install files for xml2 when building without libxml.
Diffstat (limited to 'src')
-rw-r--r-- | src/tools/msvc/Install.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tools/msvc/Install.pm b/src/tools/msvc/Install.pm index c7b18b7cf94..599a5009785 100644 --- a/src/tools/msvc/Install.pm +++ b/src/tools/msvc/Install.pm @@ -3,7 +3,7 @@ package Install; # # Package that provides 'make install' functionality for msvc builds # -# $PostgreSQL: pgsql/src/tools/msvc/Install.pm,v 1.8 2007/04/04 16:34:43 mha Exp $ +# $PostgreSQL: pgsql/src/tools/msvc/Install.pm,v 1.9 2007/04/04 18:45:59 adunstan Exp $ # use strict; use warnings; @@ -226,6 +226,7 @@ sub CopyContribFiles next if ($d =~ /^\./); next unless (-f "contrib/$d/Makefile"); next if ($d eq "sslinfo" && !defined($config->{openssl})); + next if ($d eq "xml2" && !defined($config->{xml})); my $mf = read_file("contrib/$d/Makefile"); $mf =~ s{\\s*[\r\n]+}{}mg; |