summaryrefslogtreecommitdiff
path: root/hints/solaris_2.sh
diff options
context:
space:
mode:
Diffstat (limited to 'hints/solaris_2.sh')
-rw-r--r--hints/solaris_2.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/hints/solaris_2.sh b/hints/solaris_2.sh
index 1b3ec58c94..adb20a14e8 100644
--- a/hints/solaris_2.sh
+++ b/hints/solaris_2.sh
@@ -510,7 +510,14 @@ EOCBU
# because we need to fix up things right now.
case "$uselongdouble" in
"$define"|true|[yY]*)
- . ./UU/uselongdouble.cbu
+ # Need to be double smart because we can be either here or there.
+ if test -f UU/uselongdouble.cbu; then
+ . ./UU/uselongdouble.cbu
+ else
+ if test -f uselongdouble.cbu; then
+ . ./uselongdouble.cbu
+ fi
+ fi
;;
esac