This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Use the vendor file(1).
authorJarkko Hietaniemi <jhi@iki.fi>
Mon, 28 Feb 2000 17:35:39 +0000 (17:35 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Mon, 28 Feb 2000 17:35:39 +0000 (17:35 +0000)
p4raw-id: //depot/cfgperl@5327

hints/hpux.sh
hints/irix_6.sh
hints/solaris_2.sh

index 451c2a6..dc1c3d8 100644 (file)
@@ -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'
index 461ad66..e50ffb4 100644 (file)
@@ -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'
index 881c4eb..d1d2e02 100644 (file)
@@ -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'