develooper Front page | perl.perl5.porters | Postings from March 2015

Re: HP-UX use64bitint archname

Thread Previous | Thread Next
From:
H.Merijn Brand
Date:
March 6, 2015 12:01
Subject:
Re: HP-UX use64bitint archname
Message ID:
20150306130056.72020b63@pc09.procura.nl
On Thu, 5 Mar 2015 10:28:34 -0800, Jan Dubois <jand@activestate.com>
wrote:

> On Thu, Mar 5, 2015 at 6:45 AM, H.Merijn Brand <h.m.brand@xs4all.nl> wrote:
> >
> > I suggest:
> >
> > 32bit:    IA64.ARCHREV_0
> > 64bitint: IA64.ARCHREV_0-64int
> > 64bitall: IA64.ARCHREV_0-LP64
> 
> +1

commit 19eeb8f3f538405239ec8f4cff95421b9d9a3bfb
Author: H.Merijn Brand <h.m.brand@xs4all.nl>
Date:   Fri Mar 6 12:57:54 2015 +0100

    Make use64bitall distinctive from use64bitint on HP-UX

diff --git a/hints/hpux.sh b/hints/hpux.sh
index cb1895d..b2650a7 100644
--- a/hints/hpux.sh
+++ b/hints/hpux.sh
@@ -598,6 +598,14 @@ EOCBU
 cat >UU/uselargefiles.cbu <<'EOCBU'
 # This script UU/uselargefiles.cbu will get 'called-back' by Configure
 # after it has prompted the user for whether to use large files.
+
+case "$archname:$use64bitall:$use64bitint" in
+    *-LP64*:undef:define)
+       archname=`echo "$archname" | sed 's/-LP64/-64int/'`
+       echo "Archname changed to $archname"
+       ;;
+    esac
+
 case "$uselargefiles" in
     ""|$define|true|[yY]*)
        # there are largefile flags available via getconf(1)

-- 
H.Merijn Brand  http://tux.nl   Perl Monger  http://amsterdam.pm.org/
using perl5.00307 .. 5.21   porting perl5 on HP-UX, AIX, and openSUSE
http://mirrors.develooper.com/hpux/        http://www.test-smoke.org/
http://qa.perl.org   http://www.goldmark.org/jeff/stupid-disclaimers/

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About