App-perlall
view release on metacpan or search on metacpan
script/perlall view on Meta::CPAN
$new .= "-debug" if $debug and $archname !~ /-debug/;
$new .= $archsuffix if $archsuffix and $archname !~ /$archsuffix$/;
if (!$ithreads and $new =~ /-thread/) {
$new =~ s/-thread//;
} elsif ($ithreads and $new !~ /-thread/) {
$new .= "-thread";
}
}
$c->debug("post-configure archname fixes: $archname => $new");
$c->_fail("archname not detected in config.sh") unless $archname;
# This was very fragile: e.g. archname=darwin or mach
# FIXME libpth was changed to /usr/lib/x86_64-linux-debug-gnu
if ($archname and $archname ne $new) { # Time to make this stable
$new =~ s/([\$\%\@])/\\$1/g;
# which keys exactly? only those keys.
# maybe redo the whole Configure step again
$c->_grep("-i s|(\\d)/$archname'|\\1/$new'|;"
. " s|(\\d)/$archname\"|\\1/$new\"|;"
. " s|/$archname/CORE|/$new/CORE|;"
. " s|define ARCHNAME \"$archname\"|define ARCHNAME \"$new\"|;"
. " s|archname=$archname,|archname=$new,|;"
( run in 2.397 seconds using v1.01-cache-2.11-cpan-364913b4093 )