Regen toc.
[p5sagit/p5-mst-13.2.git] / hints / hpux.sh
index 89032fc..1cd190e 100644 (file)
@@ -18,8 +18,8 @@ if [ "$xxOsRevMajor" -ge 10 ]; then
     # up to date with new CPU/OS releases.
     xxcpu=`getconf CPU_VERSION`; # Get the number.
     xxcpu=`printf '0x%x' $xxcpu`; # convert to hex
-    archname=`sed -n -e "s/^#[ \t]*define[ \t]*CPU_//p" /usr/include/sys/unistd.h |
-       sed -n -e "s/[ \t]*$xxcpu[ \t].*//p" |
+    archname=`sed -n -e "s/^#[[:space:]]*define[[:space:]]*CPU_//p" /usr/include/sys/unistd.h |
+       sed -n -e "s/[[:space:]]*$xxcpu[[:space:]].*//p" |
        sed -e s/_RISC/-RISC/ -e s/HP_// -e s/_/./ -e "s/[[:space:]]*//g"`;
 else
     # This system is running <= 9.x
@@ -555,6 +555,9 @@ 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.