@@ -164,9 +164,9 @@ sub GenerateFiles
164
164
|| confess" Could not write to pg_config.h\n " ;
165
165
while (<I>)
166
166
{
167
- s { PG_VERSION "[^"]+"} { PG_VERSION "$self ->{strver}"} ;
167
+ s { PG_VERSION "[^"]+"} { PG_VERSION "$self ->{strver}$self ->{options}->{extraver} "} ;
168
168
s { PG_VERSION_NUM\d +} { PG_VERSION_NUM$self ->{numver}} ;
169
- s { PG_VERSION_STR "[^"]+"} { __STRINGIFY(x) #x\n #define __STRINGIFY2(z) __STRINGIFY(z)\n #define PG_VERSION_STR "PostgreSQL$self ->{strver}, compiled by Visual C++ build " __STRINGIFY2(_MSC_VER) ",$bits -bit"} ;
169
+ s { PG_VERSION_STR "[^"]+"} { __STRINGIFY(x) #x\n #define __STRINGIFY2(z) __STRINGIFY(z)\n #define PG_VERSION_STR "PostgreSQL$self ->{strver} $self ->{options}->{extraver }, compiled by Visual C++ build " __STRINGIFY2(_MSC_VER) ",$bits -bit"} ;
170
170
print O;
171
171
}
172
172
print O" #define PG_MAJORVERSION\" $self ->{majorver}\"\n " ;
@@ -625,14 +625,15 @@ sub GetFakeConfigure
625
625
$cfg .=' --enable-nls' if ($self -> {options }-> {nls });
626
626
$cfg .=' --with-ldap' if ($self -> {options }-> {ldap });
627
627
$cfg .=' --without-zlib' unless ($self -> {options }-> {zlib });
628
- $cfg .=' --with-openssl' if ($self -> {options }-> {ssl });
629
- $cfg .=' --with-ossp-uuid' if ($self -> {options }-> {uuid });
630
- $cfg .=' --with-libxml' if ($self -> {options }-> {xml });
631
- $cfg .=' --with-libxslt' if ($self -> {options }-> {xslt });
632
- $cfg .=' --with-gssapi' if ($self -> {options }-> {gss });
633
- $cfg .=' --with-tcl' if ($self -> {options }-> {tcl });
634
- $cfg .=' --with-perl' if ($self -> {options }-> {perl });
635
- $cfg .=' --with-python' if ($self -> {options }-> {python });
628
+ $cfg .=' --with-extra-version' if ($self -> {options }-> {extraver });
629
+ $cfg .=' --with-openssl' if ($self -> {options }-> {ssl });
630
+ $cfg .=' --with-ossp-uuid' if ($self -> {options }-> {uuid });
631
+ $cfg .=' --with-libxml' if ($self -> {options }-> {xml });
632
+ $cfg .=' --with-libxslt' if ($self -> {options }-> {xslt });
633
+ $cfg .=' --with-gssapi' if ($self -> {options }-> {gss });
634
+ $cfg .=' --with-tcl' if ($self -> {options }-> {tcl });
635
+ $cfg .=' --with-perl' if ($self -> {options }-> {perl });
636
+ $cfg .=' --with-python' if ($self -> {options }-> {python });
636
637
637
638
return $cfg ;
638
639
}