Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Fix some inconsistencies in MSVC scripts
authorMichael Paquier <michael@paquier.xyz>
Sat, 13 Jul 2019 07:51:31 +0000 (16:51 +0900)
committerMichael Paquier <michael@paquier.xyz>
Sat, 13 Jul 2019 07:51:31 +0000 (16:51 +0900)
In configure scripts, --with-ossp-uuid is obsolete is replaced by
--with-uuid, and it needs to specify a path to its library builds when
building with the MSVC scripts.  --with-perl needs also to specify a
path.

Author: Kyotaro Horiguchi
Discussion: https://postgr.es/m/20190712.121529.194600624.horikyota.ntt@gmail.com

src/tools/msvc/Solution.pm
src/tools/msvc/config_default.pl

index 51711c2bff98aedc070276db4df09c53a7f0abf3..318594db5dacdf8a785cdb5ad705944f70f8569b 100644 (file)
@@ -873,7 +873,7 @@ sub GetFakeConfigure
    $cfg .= ' --without-zlib' unless ($self->{options}->{zlib});
    $cfg .= ' --with-extra-version' if ($self->{options}->{extraver});
    $cfg .= ' --with-openssl'       if ($self->{options}->{openssl});
-   $cfg .= ' --with-ossp-uuid'     if ($self->{options}->{uuid});
+   $cfg .= ' --with-uuid'          if ($self->{options}->{uuid});
    $cfg .= ' --with-libxml'        if ($self->{options}->{xml});
    $cfg .= ' --with-libxslt'       if ($self->{options}->{xslt});
    $cfg .= ' --with-gssapi'        if ($self->{options}->{gss});
index 2553636dc1402f3df4e1dd7e9c9da69bf442c4fc..043df4c5e871d5f21edde74e280806639df01e2a 100644 (file)
@@ -18,10 +18,10 @@ our $config = {
    nls       => undef,    # --enable-nls=<path>
    tap_tests => undef,    # --enable-tap-tests
    tcl       => undef,    # --with-tcl=<path>
-   perl      => undef,    # --with-perl
+   perl      => undef,    # --with-perl=<path>
    python    => undef,    # --with-python=<path>
    openssl   => undef,    # --with-openssl=<path>
-   uuid      => undef,    # --with-ossp-uuid
+   uuid      => undef,    # --with-uuid=<path>
    xml       => undef,    # --with-libxml=<path>
    xslt      => undef,    # --with-libxslt=<path>
    iconv     => undef,    # (not in configure, path to iconv)