prevent attempts to load extension libraries more than once on darwin.
[p5sagit/p5-mst-13.2.git] / hints / hpux.sh
index c08cdf9..1eaf249 100644 (file)
@@ -548,11 +548,17 @@ EOM
            libswanted="$*"
            fi
 
-       usemymalloc='n'
        ;;
     esac
 EOCBU
 
+# The mysterious io_xs memory corruption in 11.00 32bit seems to get
+# fixed by not using Perl's malloc.  
+usemymalloc='n'
+case "$useperlio" in
+    $undef|false|[nN]*) usemymalloc='y' ;;
+    esac
+
 # fpclassify() is a macro, the library call is Fpclassify
 # Similarly with the others below.
 d_fpclassify='define'