summaryrefslogtreecommitdiff
path: root/utils/h2ph.PL
diff options
context:
space:
mode:
authorPerl 5 Porters <perl5-porters@africa.nicoh.com>1996-08-19 00:52:35 +0000
committerAndy Dougherty <doughera@lafcol.lafayette.edu>1996-08-19 00:52:35 +0000
commit2c2acf7e900c111d48d25c0a5d8d221b3902e460 (patch)
tree979e2af60f04b5369cb89faccb68552efa43628b /utils/h2ph.PL
parentbd4080b323b53cbb81e6d20ce1a47d7aa9f1e3e0 (diff)
downloadperl-2c2acf7e900c111d48d25c0a5d8d221b3902e460.tar.gz
perl 5.003_03: utils/h2ph.PL
Make h2ph architecture-independent by using Config at run-time rather than extraction time.
Diffstat (limited to 'utils/h2ph.PL')
-rw-r--r--utils/h2ph.PL5
1 files changed, 3 insertions, 2 deletions
diff --git a/utils/h2ph.PL b/utils/h2ph.PL
index d2d83c560e..4743dacde9 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(' ',<<END);