From b1b472cb2b66369ffbe09c23a151ad4179be2f25 Mon Sep 17 00:00:00 2001 From: Jarkko Hietaniemi Date: Mon, 28 Feb 2000 17:35:39 +0000 Subject: [PATCH] Use the vendor file(1). p4raw-id: //depot/cfgperl@5327 --- hints/hpux.sh | 2 +- hints/irix_6.sh | 2 +- hints/solaris_2.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hints/hpux.sh b/hints/hpux.sh index 451c2a6..dc1c3d8 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 461ad66..e50ffb4 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 881c4eb..d1d2e02 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' -- 2.7.4