summaryrefslogtreecommitdiff
path: root/hints/solaris_2.sh
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-08-31 14:30:57 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-08-31 14:30:57 +0000
commit2f4ff1581cbdb9f47106a9ae24e32767d4522dcb (patch)
treeef1b9dd20389fad51793ec996b1ba196d7622f4c /hints/solaris_2.sh
parentb2b23189a6e87ef8e3bbd5dfc9cc93945580dd22 (diff)
downloadperl-2f4ff1581cbdb9f47106a9ae24e32767d4522dcb.tar.gz
Make -Dusemorebits find long doubles in Solaris.
p4raw-id: //depot/perl@6943
Diffstat (limited to 'hints/solaris_2.sh')
-rw-r--r--hints/solaris_2.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/hints/solaris_2.sh b/hints/solaris_2.sh
index bf2f1956a0..cb54a08446 100644
--- a/hints/solaris_2.sh
+++ b/hints/solaris_2.sh
@@ -390,6 +390,14 @@ libswanted_uselargefiles="`getconf LFS_LIBS 2>/dev/null|sed -e 's@^-l@@' -e 's@
esac
EOCBU
+# This is truly a mess.
+case "$usemorebits" in
+"$define"|true|[yY]*)
+ use64bitint="$define"
+ uselongdouble="$define"
+ ;;
+esac
+
cat > UU/use64bitint.cbu <<'EOCBU'
# This script UU/use64bitint.cbu will get 'called-back' by Configure
# after it has prompted the user for whether to use 64 bit integers.