summaryrefslogtreecommitdiff
path: root/hints/solaris_2.sh
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-11-23 15:56:52 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-11-23 15:56:52 +0000
commit5ae8d7b492625717ffaa50d6e3919f762d3ab467 (patch)
tree47f453a35ca9eb432fea958d1cc48b0c77397481 /hints/solaris_2.sh
parent1004a67afd72c98497c5e002667fe398b8380063 (diff)
downloadperl-5ae8d7b492625717ffaa50d6e3919f762d3ab467.tar.gz
STDCHAR is different in Sparc v9 vs x86.
p4raw-id: //depot/perl@7835
Diffstat (limited to 'hints/solaris_2.sh')
-rw-r--r--hints/solaris_2.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/hints/solaris_2.sh b/hints/solaris_2.sh
index 237efeafa6..dd947fc72b 100644
--- a/hints/solaris_2.sh
+++ b/hints/solaris_2.sh
@@ -474,10 +474,17 @@ EOM
lddlflags="$lddlflags -G `getconf XBS5_LP64_OFF64_LDFLAGS 2>/dev/null`"
;;
esac
+
libscheck='case "`/usr/bin/file $xxx`" in
*64-bit*|*SPARCV9*) ;;
*) xxx=/no/64-bit$xxx ;;
esac'
+
+ case "`$cc -E $cflags /usr/include/stdio.h | grep _ptr`" in
+ *"unsigned char"*) stdchar='unsigned char' ;;
+ *) stdchar='char' ;;
+ esac
+
use64bitall_done=yes
;;
esac