summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
Diffstat (limited to 'hints')
-rw-r--r--hints/aix.sh4
-rw-r--r--hints/hpux.sh9
-rw-r--r--hints/irix_6.sh9
-rw-r--r--hints/solaris_2.sh45
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'