diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1998-09-25 07:13:13 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1998-09-25 07:13:13 +0000 |
commit | 5ff3f7a4e03a6b103d9e628865398e498e9a7968 (patch) | |
tree | 5884f57bd4a3baf1ad76e8ab3f81f12aa71a31da /hints/irix_6.sh | |
parent | 46124e9ee58ad41479e5b089638f6c263bbddcb7 (diff) | |
download | perl-5ff3f7a4e03a6b103d9e628865398e498e9a7968.tar.gz |
big Configure update from Jarkko: sync metaconfig units; d_statblks fix
for Linux; hpux CMA-threads hints; ELF support for FreeBSD; beginnings
of full-fledged 64-bit support (including support for: fseeko/ftello,
Quad_t aka long long, hpux and irix 64-bits hints, new 64-bit constants
in Fcntl)
From: Jarkko Hietaniemi <jhi@iki.fi>
Date: Fri, 11 Sep 1998 23:56:11 +0300 (EET DST)
Message-Id: <199809112056.XAA04720@alpha.hut.fi>
Subject: [PATCH] 5.005_51: Configure "Massive Attack"
--
From: Jarkko Hietaniemi <jhi@cc.hut.fi>
Date: 12 Sep 1998 09:44:25 +0300
Message-ID: <oeeaf45bzjq.fsf@alpha.hut.fi>
Subject: Re: [PATCH] 5.005_51: Configure "Massive Attack"
p4raw-id: //depot/perl@1889
Diffstat (limited to 'hints/irix_6.sh')
-rw-r--r-- | hints/irix_6.sh | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/hints/irix_6.sh b/hints/irix_6.sh index a91be9807e..16033f99b6 100644 --- a/hints/irix_6.sh +++ b/hints/irix_6.sh @@ -25,6 +25,8 @@ # gcc-enabled by Kurt Starsinic <kstar@isinet.com> on 3/24/1998 +# 64-bitty by Jarkko Hietaniemi on 9/1998 + # Use sh Configure -Dcc='cc -n32' to try compiling with -n32. # or -Dcc='cc -n32 -mips3' (or -mips4) to force (non)portability # Don't bother with -n32 unless you have the 7.1 or later compilers. @@ -209,3 +211,23 @@ EOF libswanted="$*" usemymalloc='n' fi + +# 64-bitness. +# jhi@iki.fi, inspired by Scott Henry. + +if [ "X$use64bits" = "X$define" ]; then + uname_r=`uname -r` + case "$uname_r" in + [1-5]*|6.[01]) + echo >&4 "IRIX $uname_r" does not support 64-bit types." + echo >&4 "You should upgrade to at least IRIX 6.2." + exit 1 + ;; + esac + case "$ccflags" in + *-n32*) + ccflags="$ccflags -DUSE_LONG_LONG" + ;; + esac + ccflags="$ccflags -DUSE_64_BIT_FILES -DNO_OPEN64" +fi |