BEGIN {
chdir 't' if -d 't';
}
}
chdir 't';
use Config;
$| = 1;
print "1..9\n";
my $exe = 'embed_test';
my $libperl_copied;
my $testlib;
my @cmd;
}
}
$crazy =~ s#/Obj[^=/]*=[\w\$\_\-\.\[\]\:]+##i;
} else {
}
}
else {
}
}
else {
}
}
else { # Not MSWin32.
};
}
}
}
}
}
# Everyone needs libperl copied if it's not found by '-lperl'.
#print "# $lncmd\n";
}
}
}
my $status;
# On OS/2 the linker will always emit an empty line to STDOUT; filter these
$status = $?;
print "# @cmd2\n";
}
# gcc -g -I.. -L../ -o perl_test perl_test.c -lperl `../perl -I../lib -MExtUtils::Embed -I../ -e ccopts -e ldopts`
/* perl_test.c */
#include <EXTERN.h>
#include <perl.h>
#define my_puts(a) if(puts(a) < 0) exit(666)
{
return 0;
}