From: Jarkko Hietaniemi Date: Mon, 28 Feb 2000 17:35:39 +0000 (+0000) Subject: Use the vendor file(1). X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=b1b472cb2b66369ffbe09c23a151ad4179be2f25;p=p5sagit%2Fp5-mst-13.2.git Use the vendor file(1). p4raw-id: //depot/cfgperl@5327 --- 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'