From: Perl 5 Porters Date: Mon, 19 Aug 1996 00:52:35 +0000 (+0000) Subject: perl 5.003_03: utils/h2ph.PL X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2c2acf7e900c111d48d25c0a5d8d221b3902e460;p=p5sagit%2Fp5-mst-13.2.git perl 5.003_03: utils/h2ph.PL Make h2ph architecture-independent by using Config at run-time rather than extraction time. --- diff --git a/utils/h2ph.PL b/utils/h2ph.PL index d2d83c5..4743dac 100644 --- a/utils/h2ph.PL +++ b/utils/h2ph.PL @@ -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(' ',<