Parse-Pidl
view release on metacpan or search on metacpan
tests/Util.pm view on Meta::CPAN
my $link = $insamba && 0; # FIXME
skip "no samba environment available, skipping compilation", 3
if not $insamba;
skip "no sane C compiler, skipping compilation", 3
if not $sanecc;
my $outfile = "test-$name";
#my $cflags = $ENV{CFLAGS};
my $cflags = "-Iinclude -Ilib -I.";
if ($insamba and $link) {
open CC, "|cc -x c -o $outfile $cflags -";
} elsif ($insamba) {
open CC, "|cc -x c -c -o $outfile $cflags -";
}
print CC "#include \"includes.h\"\n";
print CC $header;
print CC $ndrheader;
( run in 0.322 second using v1.01-cache-2.11-cpan-8d75d55dd25 )