Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
warn about missing fields from parrot_configure
Signed-off-by: Bernhard Schmalhofer <Bernhard.Schmalhofer@gmx.de>
  • Loading branch information
szabgab authored and bschmalhofer committed Apr 20, 2009
1 parent af39365 commit 9951e7c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Configure.pl
Expand Up @@ -143,7 +143,8 @@ sub create_files {
}

$config->{'win32_libparrot_copy'} = $^O eq 'MSWin32' ? 'copy $(BUILD_DIR)\libparrot.dll .' : '';
$content =~ s/@(\w+)@/$config->{$1}/g;
$content =~ s/@(\w+)@/
defined $config->{$1} ? $config->{$1} : warn("'$1' is missing from parrot_config"), ''/ge;
if ($^O eq 'MSWin32') {
$content =~ s{/}{\\}g;
}
Expand Down

0 comments on commit 9951e7c

Please sign in to comment.