diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 1999-04-03 13:27:26 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 1999-04-03 13:27:26 +0000 |
commit | cf04f91f6497885a7b3433359e82988880c40828 (patch) | |
tree | 6b2286cc4521f5c94d76dc5d67d920bbee5572c7 /Configure | |
parent | ca11f38ff949231f89dd5f70abe39eda664c17d5 (diff) | |
download | perl-cf04f91f6497885a7b3433359e82988880c40828.tar.gz |
Change #3210 was rather unportable. This is better.
p4raw-id: //depot/cfgperl@3211
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 15 |
1 files changed, 8 insertions, 7 deletions
@@ -20,7 +20,7 @@ # $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $ # -# Generated on Sat Apr 3 16:20:23 EET DST 1999 [metaconfig 3.0 PL70] +# Generated on Sat Apr 3 16:33:12 EET DST 1999 [metaconfig 3.0 PL70] # (with additional metaconfig patches by perlbug@perl.com) cat >/tmp/c1$$ <<EOF @@ -108,12 +108,13 @@ if test -d /usr/lpp -a -f /usr/bin/bsh -a -f /usr/bin/uname; then newsh=/usr/bin/bsh fi fi -case "`uname -s`" in -OSF1) - avoidksh="to avoid Digital UNIX' ksh" - newsh=/bin/sh - unset BIN_SH # if this is 'xpg4' sh will start up ksh -esac +if test -f /osf_boot -a -f /usr/sbin/setld; then + if test X`/usr/bin/uname -s` = XOSF1; then + avoidksh="to avoid Digital UNIX' ksh" + newsh=/bin/sh + unset BIN_SH # if this is 'xpg4' sh will start up ksh + fi +fi case "$inksh/$needksh" in /[a-z]*) ENV='' |