The long double hints can be here or there.
authorJarkko Hietaniemi <jhi@iki.fi>
Fri, 17 Nov 2000 00:23:22 +0000 (00:23 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Fri, 17 Nov 2000 00:23:22 +0000 (00:23 +0000)
p4raw-id: //depot/perl@7720

hints/solaris_2.sh

index 1b3ec58..adb20a1 100644 (file)
@@ -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