File tree 5 files changed +31
-6
lines changed
5 files changed +31
-6
lines changed Original file line number Diff line number Diff line change 1
- <!-- $PostgreSQL: pgsql/doc/src/sgml/install-win32.sgml,v 1.45 2008/02/06 15:13:25 mha Exp $ -->
1
+ <!-- $PostgreSQL: pgsql/doc/src/sgml/install-win32.sgml,v 1.46 2008/02/28 12:17:59 mha Exp $ -->
2
2
3
3
<chapter id="install-win32">
4
4
<title>Installation on <productname>Windows</productname></title>
160
160
</para></listitem>
161
161
</varlistentry>
162
162
163
+ <varlistentry>
164
+ <term><productname>ossp-uuid</productname></term>
165
+ <listitem><para>
166
+ Required for UUID-OSSP support (contrib only). Source can be
167
+ downloaded from
168
+ <ulink url="http://www.ossp.org/pkg/lib/uuid/"></>.
169
+ </para></listitem>
170
+ </varlistentry>
171
+
163
172
<varlistentry>
164
173
<term><productname>Python</productname></term>
165
174
<listitem><para>
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ package Install;
3
3
#
4
4
# Package that provides 'make install' functionality for msvc builds
5
5
#
6
- # $PostgreSQL: pgsql/src/tools/msvc/Install.pm,v 1.28 2008/02/07 17:58:16 mha Exp $
6
+ # $PostgreSQL: pgsql/src/tools/msvc/Install.pm,v 1.29 2008/02/28 12: 17:59 mha Exp $
7
7
#
8
8
use strict;
9
9
use warnings;
@@ -291,7 +291,7 @@ sub CopyContribFiles
291
291
{
292
292
next if ($d =~ / ^\. / );
293
293
next unless (-f " contrib/$d /Makefile" );
294
- next if ($d eq " uuid-ossp" );
294
+ next if ($d eq " uuid-ossp" && ! defined ( $config -> { uuid }) );
295
295
next if ($d eq " sslinfo" && !defined ($config -> {openssl }));
296
296
next if ($d eq " xml2" && !defined ($config -> {xml }));
297
297
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ package Mkvcbuild;
3
3
#
4
4
# Package that generates build files for msvc build
5
5
#
6
- # $PostgreSQL: pgsql/src/tools/msvc/Mkvcbuild.pm,v 1.25 2008/02/05 14 :17:23 mha Exp $
6
+ # $PostgreSQL: pgsql/src/tools/msvc/Mkvcbuild.pm,v 1.26 2008/02/28 12 :17:59 mha Exp $
7
7
#
8
8
use Carp;
9
9
use Win32;
@@ -31,7 +31,7 @@ my $contrib_extrasource = {
31
31
' cube' => [' cubescan.l' ,' cubeparse.y' ],
32
32
' seg' => [' segscan.l' ,' segparse.y' ]
33
33
};
34
- my @contrib_excludes = (' pgcrypto' , ' uuid-ossp ' );
34
+ my @contrib_excludes = (' pgcrypto' );
35
35
36
36
sub mkvcbuild
37
37
{
@@ -247,6 +247,16 @@ sub mkvcbuild
247
247
push @contrib_excludes ,' sslinfo' ;
248
248
}
249
249
250
+ if ($solution -> {options }-> {uuid })
251
+ {
252
+ $contrib_extraincludes -> {' uuid-ossp' } = [ $solution -> {options }-> {uuid } . ' \include' ];
253
+ $contrib_extralibs -> {' uuid-ossp' } = [ $solution -> {options }-> {uuid } . ' \lib\uuid.lib' ];
254
+ }
255
+ else
256
+ {
257
+ push @contrib_excludes ,' uuid-ossp' ;
258
+ }
259
+
250
260
# Pgcrypto makefile too complex to parse....
251
261
my $pgcrypto = $solution -> AddProject(' pgcrypto' ,' dll' ,' crypto' );
252
262
$pgcrypto -> AddFiles(
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ package Solution;
3
3
#
4
4
# Package that encapsulates a Visual C++ solution file generation
5
5
#
6
- # $PostgreSQL: pgsql/src/tools/msvc/Solution.pm,v 1.35 2008/02/19 12:00:03 mha Exp $
6
+ # $PostgreSQL: pgsql/src/tools/msvc/Solution.pm,v 1.36 2008/02/28 12:17:59 mha Exp $
7
7
#
8
8
use Carp;
9
9
use strict;
@@ -113,6 +113,10 @@ s{PG_VERSION_STR "[^"]+"}{__STRINGIFY(x) #x\n#define __STRINGIFY2(z) __STRINGIFY
113
113
print O " #define USE_SSL 1\n " if ($self -> {options }-> {openssl });
114
114
print O " #define ENABLE_NLS 1\n " if ($self -> {options }-> {nls });
115
115
116
+ if ($self -> {options }-> {uuid })
117
+ {
118
+ print O " #define HAVE_UUID_H\n " ;
119
+ }
116
120
if ($self -> {options }-> {xml })
117
121
{
118
122
print O " #define HAVE_LIBXML2\n " ;
@@ -451,6 +455,7 @@ sub GetFakeConfigure
451
455
$cfg .= ' --with-ldap' if ($self -> {options }-> {ldap });
452
456
$cfg .= ' --without-zlib' unless ($self -> {options }-> {zlib });
453
457
$cfg .= ' --with-openssl' if ($self -> {options }-> {ssl });
458
+ $cfg .= ' --with-ossp-uuid' if ($self -> {options }-> {uuid });
454
459
$cfg .= ' --with-libxml' if ($self -> {options }-> {xml });
455
460
$cfg .= ' --with-libxslt' if ($self -> {options }-> {xslt });
456
461
$cfg .= ' --with-krb5' if ($self -> {options }-> {krb5 });
Original file line number Diff line number Diff line change 12
12
krb5 => ' c:\prog\pgsql\depend\krb5' , # --with-krb5=<path>
13
13
ldap => 1, # --with-ldap
14
14
openssl => ' c:\openssl' , # --with-ssl=<path>
15
+ uuid => ' c:\prog\pgsql\depend\ossp-uuid' , # --with-ossp-uuid
15
16
xml => ' c:\prog\pgsql\depend\libxml2' ,
16
17
xslt => ' c:\prog\pgsql\depend\libxslt' ,
17
18
iconv => ' c:\prog\pgsql\depend\iconv' ,
You can’t perform that action at this time.
0 commit comments