Also, add a warning to catch future instances of naming a nonexistent
file as a prerequisite. Back-patch to 9.3 (all supported versions).
sub IsNewer
{
my ($newfile, $oldfile) = @_;
+ -e $oldfile or warn "source file \"$oldfile\" does not exist";
if ( $oldfile ne 'src\tools\msvc\config.pl'
&& $oldfile ne 'src\tools\msvc\config_default.pl')
{
if ($self->{options}->{python}
&& IsNewer(
'src\pl\plpython\spiexceptions.h',
- 'src\include\backend\errcodes.txt'))
+ 'src\backend\utils\errcodes.txt'))
{
print "Generating spiexceptions.h...\n";
system(