diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2000-02-28 17:35:39 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2000-02-28 17:35:39 +0000 |
commit | b1b472cb2b66369ffbe09c23a151ad4179be2f25 (patch) | |
tree | 2628ae33f41ef017d0cb87c3daa100cdb86ceab5 /hints | |
parent | 1e8c3fdea51149600e0609399784ddcc038b4053 (diff) | |
download | perl-b1b472cb2b66369ffbe09c23a151ad4179be2f25.tar.gz |
Use the vendor file(1).
p4raw-id: //depot/cfgperl@5327
Diffstat (limited to 'hints')
-rw-r--r-- | hints/hpux.sh | 2 | ||||
-rw-r--r-- | hints/irix_6.sh | 2 | ||||
-rw-r--r-- | hints/solaris_2.sh | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/hints/hpux.sh b/hints/hpux.sh index 451c2a6ffd..dc1c3d8d82 100644 --- a/hints/hpux.sh +++ b/hints/hpux.sh @@ -162,7 +162,7 @@ EOM ccflags="$ccflags +DD64" ldflags="$ldflags +DD64" test -d /lib/pa20_64 && loclibpth="$loclibpth /lib/pa20_64" - libscheck='case "`file $xxx`" in + libscheck='case "`/usr/bin/file $xxx`" in *LP64*|*PA-RISC2.0*) ;; *) xxx=/no/64-bit$xxx ;; esac' diff --git a/hints/irix_6.sh b/hints/irix_6.sh index 461ad664ac..e50ffb42fe 100644 --- a/hints/irix_6.sh +++ b/hints/irix_6.sh @@ -47,7 +47,7 @@ esac case "$cc" in *"cc -n32"*) - libscheck='case "`file $xxx`" in + libscheck='case "`/usr/bin/file $xxx`" in *N32*) ;; *) xxx=/no/n32$xxx ;; esac' diff --git a/hints/solaris_2.sh b/hints/solaris_2.sh index 881c4ebcbc..d1d2e02c05 100644 --- a/hints/solaris_2.sh +++ b/hints/solaris_2.sh @@ -371,7 +371,7 @@ $define|true|[yY]*) ldflags="$ccflags `getconf XBS5_LP64_OFF64_LDFLAGS`" lddlflags="$lddlflags -G `getconf XBS5_LP64_OFF64_LDFLAGS`" loclibpth="$loclibpth /usr/lib/sparcv9" - libscheck='case "`file $xxx`" in + libscheck='case "`/usr/bin/file $xxx`" in *64-bit*|*SPARCV9*) ;; *) xxx=/no/64-bit$xxx ;; esac' |