mirror of
https://github.com/postgres/postgres.git
synced 2025-07-15 19:21:59 +03:00
Finish pgindent run for 9.6: Perl files.
This commit is contained in:
@ -286,7 +286,8 @@ s{PG_VERSION_STR "[^"]+"}{__STRINGIFY(x) #x\n#define __STRINGIFY2(z) __STRINGIFY
|
||||
}
|
||||
|
||||
if (IsNewer(
|
||||
'src/include/storage/lwlocknames.h', 'src/backend/storage/lmgr/lwlocknames.txt'))
|
||||
'src/include/storage/lwlocknames.h',
|
||||
'src/backend/storage/lmgr/lwlocknames.txt'))
|
||||
{
|
||||
print "Generating lwlocknames.c and lwlocknames.h...\n";
|
||||
chdir('src/backend/storage/lmgr');
|
||||
@ -297,13 +298,13 @@ s{PG_VERSION_STR "[^"]+"}{__STRINGIFY(x) #x\n#define __STRINGIFY2(z) __STRINGIFY
|
||||
'src/include/storage/lwlocknames.h',
|
||||
'src/backend/storage/lmgr/lwlocknames.h'))
|
||||
{
|
||||
copyFile('src/backend/storage/lmgr/lwlocknames.h',
|
||||
copyFile(
|
||||
'src/backend/storage/lmgr/lwlocknames.h',
|
||||
'src/include/storage/lwlocknames.h');
|
||||
}
|
||||
|
||||
if (IsNewer(
|
||||
'src/include/dynloader.h',
|
||||
'src/backend/port/dynloader/win32.h'))
|
||||
'src/include/dynloader.h', 'src/backend/port/dynloader/win32.h'))
|
||||
{
|
||||
copyFile('src/backend/port/dynloader/win32.h',
|
||||
'src/include/dynloader.h');
|
||||
@ -352,8 +353,7 @@ s{PG_VERSION_STR "[^"]+"}{__STRINGIFY(x) #x\n#define __STRINGIFY2(z) __STRINGIFY
|
||||
|
||||
if ($self->{options}->{tcl}
|
||||
&& IsNewer(
|
||||
'src/pl/tcl/pltclerrcodes.h',
|
||||
'src/backend/utils/errcodes.txt'))
|
||||
'src/pl/tcl/pltclerrcodes.h', 'src/backend/utils/errcodes.txt'))
|
||||
{
|
||||
print "Generating pltclerrcodes.h...\n";
|
||||
system(
|
||||
@ -653,9 +653,9 @@ sub GetFakeConfigure
|
||||
$cfg .= ' --enable-cassert' if ($self->{options}->{asserts});
|
||||
$cfg .= ' --enable-integer-datetimes'
|
||||
if ($self->{options}->{integer_datetimes});
|
||||
$cfg .= ' --enable-nls' if ($self->{options}->{nls});
|
||||
$cfg .= ' --enable-nls' if ($self->{options}->{nls});
|
||||
$cfg .= ' --enable-tap-tests' if ($self->{options}->{tap_tests});
|
||||
$cfg .= ' --with-ldap' if ($self->{options}->{ldap});
|
||||
$cfg .= ' --with-ldap' if ($self->{options}->{ldap});
|
||||
$cfg .= ' --without-zlib' unless ($self->{options}->{zlib});
|
||||
$cfg .= ' --with-extra-version' if ($self->{options}->{extraver});
|
||||
$cfg .= ' --with-openssl' if ($self->{options}->{openssl});
|
||||
|
Reference in New Issue
Block a user