my $expected_version = "2.76";
print("import: GD\n");
use GD;

if (defined GD->VERSION) {
	my $given_version = GD->VERSION;
	$given_version =~ s/0+$//;
	die('Expected version ' . $expected_version . ' but found ' . $given_version) unless ($expected_version eq $given_version);
	print('	using version ' . GD->VERSION . '
');

}
print("import: GD::Polygon\n");
use GD::Polygon;

if (defined GD::Polygon->VERSION) {
	my $given_version = GD::Polygon->VERSION;
	$given_version =~ s/0+$//;
	die('Expected version ' . $expected_version . ' but found ' . $given_version) unless ($expected_version eq $given_version);
	print('	using version ' . GD::Polygon->VERSION . '
');

}
print("import: GD::Simple\n");
use GD::Simple;

if (defined GD::Simple->VERSION) {
	my $given_version = GD::Simple->VERSION;
	$given_version =~ s/0+$//;
	die('Expected version ' . $expected_version . ' but found ' . $given_version) unless ($expected_version eq $given_version);
	print('	using version ' . GD::Simple->VERSION . '
');

}
