Skip to content

Commit

Permalink
perl 5.003_03: utils/h2ph.PL
Browse files Browse the repository at this point in the history
Make h2ph architecture-independent by using Config at run-time
rather than extraction time.
  • Loading branch information
Perl 5 Porters authored and Andy Dougherty committed Aug 19, 1996
1 parent bd4080b commit 2c2acf7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions utils/h2ph.PL
Expand Up @@ -34,14 +34,15 @@ $Config{'startperl'}
'ds 00 \"';
'ig 00 ';
\$perlincl = "$Config{archlibexp}"; # or {sitearchexp}
!GROK!THIS!

# In the following, perl variables are not expanded during extraction.

print OUT <<'!NO!SUBS!';
use Config;
$perlincl = @Config{installsitearch};
chdir '/usr/include' || die "Can't cd /usr/include";
@isatype = split(' ',<<END);
Expand Down

0 comments on commit 2c2acf7

Please sign in to comment.