@@ -3,7 +3,7 @@ package Solution;
33#
44# Package that encapsulates a Visual C++ solution file generation
55#
6- # $PostgreSQL: pgsql/src/tools/msvc/Solution.pm,v 1.22 2007/04/16 18:39:19 mha Exp $
6+ # $PostgreSQL: pgsql/src/tools/msvc/Solution.pm,v 1.23 2007/04/26 10:36:47 mha Exp $
77#
88use Carp;
99use strict;
@@ -125,6 +125,7 @@ s{PG_VERSION_STR "[^"]+"}{__STRINGIFY(x) #x\n#define __STRINGIFY2(z) __STRINGIFY
125125print O" #define HAVE_KRB5_TICKET_ENC_PART2 1\n " ;
126126print O" #define PG_KRB_SRVNAM\" postgres\"\n " ;
127127 }
128+ print O" #define VAL_CONFIGURE\" " .$self -> GetFakeConfigure() ." \"\n " ;
128129print O" #endif /* IGNORE_CONFIGURED_SETTINGS */\n " ;
129130close (O);
130131close (I);
417418close (SLN);
418419}
419420
421+ sub GetFakeConfigure
422+ {
423+ my $self =shift ;
424+
425+ my $cfg =' --enable-thread-safety' ;
426+ $cfg .=' --enable-cassert' if ($self -> {options }-> {asserts });
427+ $cfg .=' --enable-integer-datetimes' if ($self -> {options }-> {integer_datetimes });
428+ $cfg .=' --enable-nls' if ($self -> {options }-> {nls });
429+ $cfg .=' --with-ldap' if ($self -> {options }-> {ldap });
430+ $cfg .=' --without-zlib' unless ($self -> {options }-> {zlib });
431+ $cfg .=' --with-openssl' if ($self -> {options }-> {ssl });
432+ $cfg .=' --with-libxml' if ($self -> {options }-> {xml });
433+ $cfg .=' --with-libxslt' if ($self -> {options }-> {xslt });
434+ $cfg .=' --with-krb5' if ($self -> {options }-> {krb5 });
435+ $cfg .=' --with-tcl' if ($self -> {options }-> {tcl });
436+ $cfg .=' --with-perl' if ($self -> {options }-> {perl });
437+ $cfg .=' --with-python' if ($self -> {options }-> {python });
438+
439+ return $cfg ;
440+ }
441+
4204421;