Commit e687c4c3 authored by Andrew Dunstan's avatar Andrew Dunstan

Don't install files for xml2 when building without libxml.

parent 3b93fba8
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment