diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2000-02-24 19:26:33 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2000-02-24 19:26:33 +0000 |
commit | 6f587e792af4c67f5f5661a100d005c762882b46 (patch) | |
tree | 785132fe0edc18636812ee4420fbdaf6a2f8d735 /hints | |
parent | c5f05a911e8d8ba7e1354bba36ffbd709c382a86 (diff) | |
download | perl-6f587e792af4c67f5f5661a100d005c762882b46.tar.gz |
Largefileness in Solaris doesn't require long longs;
use64bits enhancements; introduce usefull64bits.
p4raw-id: //depot/cfgperl@5244
Diffstat (limited to 'hints')
-rw-r--r-- | hints/aix.sh | 4 | ||||
-rw-r--r-- | hints/hpux.sh | 9 | ||||
-rw-r--r-- | hints/irix_6.sh | 9 | ||||
-rw-r--r-- | hints/solaris_2.sh | 45 |
4 files changed, 17 insertions, 50 deletions
diff --git a/hints/aix.sh b/hints/aix.sh index d78494b2ee..4addec6e0c 100644 --- a/hints/aix.sh +++ b/hints/aix.sh @@ -222,10 +222,6 @@ EOM exit 1 ;; esac - case "$ccflags" in - *-DUSE_64_BITS*) ;; - *) ccflags="$ccflags -DUSE_64_BITS" ;; - esac # When a 64-bit cc becomes available $archname64 # may need setting so that $archname gets it attached. ;; diff --git a/hints/hpux.sh b/hints/hpux.sh index 6ba51cf0b9..ad213f2d99 100644 --- a/hints/hpux.sh +++ b/hints/hpux.sh @@ -101,15 +101,6 @@ EOM ;; esac -# Backward compatibility (uselonglong is deprecated). -case "$uselonglolong" in -"$define"|true|[yY]*) - case "$use64bits" in - '') use64bits="$define" ;; - esac - ;; -esac - # Determine the architecture type of this system. # Keep leading tab below -- Configure Black Magic -- RAM, 03/02/97 xxOsRevMajor=`uname -r | sed -e 's/^[^0-9]*//' | cut -d. -f1`; diff --git a/hints/irix_6.sh b/hints/irix_6.sh index 17a9e00117..8dc3cba1d2 100644 --- a/hints/irix_6.sh +++ b/hints/irix_6.sh @@ -248,15 +248,6 @@ EOM exit 1 ;; esac - case "$cc $ccflags" in - *-n32*) - case "$ccflags" in - *-DUSE_64_BITS*) ;; - *) ccflags="$ccflags -DUSE_64_BITS" ;; - esac - archname64="-n32" - ;; - esac ;; esac EOCBU diff --git a/hints/solaris_2.sh b/hints/solaris_2.sh index cbc71d834e..dc11d82621 100644 --- a/hints/solaris_2.sh +++ b/hints/solaris_2.sh @@ -333,33 +333,13 @@ EOM esac EOCBU -# This script UU/uselfs.cbu will get 'called-back' by Configure -# after it has prompted the user for whether to use large files. -cat > UU/uselfs.cbu <<'EOCBU' case "$uselargefiles" in $define|true|[yY]*) - lfcflags="`getconf LFS_CFLAGS 2>/dev/null`" - lfldflags="`getconf LFS_LDFLAGS 2>/dev/null`" - lflibs="`getconf LFS_LIBS 2>/dev/null|sed -e 's@^-l@@' -e 's@ -l@ @g`" - case "$lfcflags$lfldflags$lflibs" in - '');; - *) use64bits="$define" - echo "(Large files in Solaris require also using long longs...)" - case "$ccflags" in - *-DUSE_64_BITS*) ;; - *) ccflags="$ccflags -DUSE_64_BITS" ;; - esac - ccflags="$ccflags $lfcflags" - ldflags="$ldflags $lfldflags" - libswanted="$libswanted $lflibs" - ;; - esac - lfcflags='' - lfldflags='' - lflibs='' - ;; + ccflags="$ccflags `getconf LFS_CFLAGS 2>/dev/null`" + ldflags="$ldflags `getconf LFS_LDFLAGS 2>/dev/null`" + libswanted="$libswanted `getconf LFS_LIBS 2>/dev/null|sed -e 's@^-l@@' -e 's@ -l@ @g`" + ;; esac -EOCBU # This script UU/use64bits.cbu will get 'called-back' by Configure # after it has prompted the user for whether to use 64 bits. @@ -375,16 +355,25 @@ EOM exit 1 ;; esac - case "$ccflags" in - *-DUSE_64_BITS*) ;; - *) ccflags="$ccflags -DUSE_64_BITS" ;; - esac # When a 64-bit cc becomes available $archname64 # may need setting so that $archname gets it attached. ;; esac EOCBU +case "$usefull64bits" in +$define|true|[yY]*) + case "$ccflags" in + *-DUSE_FULL_64_BITS*) ;; + *) ccflags="$ccflags -DUSE_FULL_64_BITS" ;; + esac + ccflags="$ccflags `getconf XBS5_LP64_OFF64_CFLAGS`" + ldflags="$ccflags `getconf XBS5_LP64_OFF64_LDFLAGS`" + lddlflags="$lddlflags -G `getconf XBS5_LP64_OFF64_LDFLAGS`" + loclibpth=/usr/lib/sparcv9 + ;; +esac + # This is just a trick to include some useful notes. cat > /dev/null <<'End_of_Solaris_Notes' |