EBCDIC: the non-printable characters are different.
[p5sagit/p5-mst-13.2.git] / hints / solaris_2.sh
index 0bf5bab..f89842a 100644 (file)
@@ -1,5 +1,5 @@
 # hints/solaris_2.sh
-# Last modified: Tue Jan  2 10:16:35 2001
+# Last modified: Mon Jan 29 12:52:28 2001
 # Lupe Christoph <lupe@lupe-christoph.de>
 # Based on version by:
 # Andy Dougherty  <doughera@lafayette.edu>
 #  these ought to be harmless.  See below for more details.
 
 # See man vfork.
-usevfork=false
+usevfork=${usevfork:-false}
 
-d_suidsafe=define
+# Solaris has secure SUID scripts
+d_suidsafe=${d_suidsafe:-define}
+
+# Several people reported problems with perl's malloc, especially
+# when use64bitall is defined or when using gcc.
+#     http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2001-01/msg01318.html
+#     http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2001-01/msg00465.html
+usemymalloc=${usemymalloc:-false}
 
 # Avoid all libraries in /usr/ucblib.
 # /lib is just a symlink to /usr/lib
@@ -265,7 +272,7 @@ doesn't work, you should use -B/usr/ccs/bin/ instead.
 
 END
                ccdlflags="$ccdlflags -Wl,-E"
-               lddlflags="$lddlflags -W,l-E -G"
+               lddlflags="$lddlflags -Wl,-E -G"
            fi
        fi
 
@@ -512,6 +519,9 @@ cat > UU/uselongdouble.cbu <<'EOCBU'
 case "$uselongdouble" in
 "$define"|true|[yY]*)
        if test -f /opt/SUNWspro/lib/libsunmath.so; then
+               # Unfortunately libpth has already been set and
+               # searched, so we need to add in everything manually.
+               libpth="$libpth /opt/SUNWspro/lib"
                libs="$libs -lsunmath"
                ldflags="$ldflags -L/opt/SUNWspro/lib -R/opt/SUNWspro/lib"
                d_sqrtl=define