NonStop-UX patches from Tom Bates <tom.bates@compaq.com>
authorJarkko Hietaniemi <jhi@iki.fi>
Thu, 19 Oct 2000 19:33:13 +0000 (19:33 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Thu, 19 Oct 2000 19:33:13 +0000 (19:33 +0000)
p4raw-id: //depot/perl@7371

Configure
MANIFEST
hints/nonstopux.sh [new file with mode: 0644]

index 79d3ad9..03004be 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -20,7 +20,7 @@
 
 # $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $
 #
-# Generated on Sat Oct 14 17:18:06 EET DST 2000 [metaconfig 3.0 PL70]
+# Generated on Thu Oct 19 22:28:50 EET DST 2000 [metaconfig 3.0 PL70]
 # (with additional metaconfig patches by perlbug@perl.org)
 
 cat >/tmp/c1$$ <<EOF
@@ -2426,6 +2426,7 @@ EOM
                        esac
                        ;;
                next*) osname=next ;;
+               NonStop-UX) osname=nonstopux ;;
                POSIX-BC | posix-bc ) osname=posix-bc
                        osvers="$3"
                        ;;
@@ -6375,13 +6376,13 @@ EOM
                        hpux)   dflt='+z' ;;
                        next)   dflt='none' ;;
                        irix*)  dflt='-KPIC' ;;
-                       svr4*|esix*|solaris) dflt='-KPIC' ;;
+                       svr4*|esix*|solaris|nonstopux) dflt='-KPIC' ;;
                        sunos)  dflt='-pic' ;;
                        *)      dflt='none' ;;
                    esac
                        ;;
                *)  case "$osname" in
-                       svr4*|esix*|solaris) dflt='-fPIC' ;;
+                       svr4*|esix*|solaris|nonstopux) dflt='-fPIC' ;;
                        *)      dflt='-fpic' ;;
                    esac ;;
            esac ;;
@@ -6457,7 +6458,7 @@ EOM
                        next)  dflt='none' ;;
                        solaris) dflt='-G' ;;
                        sunos) dflt='-assert nodefinitions' ;;
-                       svr4*|esix*) dflt="-G $ldflags" ;;
+                       svr4*|esix*|nonstopux) dflt="-G $ldflags" ;;
                *)     dflt='none' ;;
                        esac
                        ;;
@@ -6532,7 +6533,7 @@ $undef)
        ;;
 *)     case "$useshrplib" in
        '')     case "$osname" in
-               svr4*|dgux|dynixptx|esix|powerux|beos|cygwin*)
+               svr4*|nonstopux|dgux|dynixptx|esix|powerux|beos|cygwin*)
                        dflt=y
                        also='Building a shared libperl is required for dynamic loading to work on your system.'
                        ;;
@@ -14480,7 +14481,7 @@ mert MiNT mips MIPS_FPSET MIPS_ISA MIPS_SIM MIPS_SZINT
 MIPS_SZLONG MIPS_SZPTR MIPSEB MIPSEL MODERN_C motorola
 mpeix MSDOS MTXINU MULTIMAX mvs MVS n16 ncl_el ncl_mr
 NetBSD news1500 news1700 news1800 news1900 news3700
-news700 news800 news900 NeXT NLS ns16000 ns32000
+news700 news800 news900 NeXT NLS nonstopux ns16000 ns32000
 ns32016 ns32332 ns32k nsc32000
 OCS88 OEMVS OpenBSD os OS2 OS390 osf OSF1 OSF_SOURCE
 pa_risc PA_RISC1_1 PA_RISC2_0 PARAGON parisc
index 9e87154..dbe97ca 100644 (file)
--- a/MANIFEST
+++ b/MANIFEST
@@ -500,6 +500,7 @@ hints/newsos4.sh    Hints for named architecture
 hints/next_3.sh                Hints for named architecture
 hints/next_3_0.sh      Hints for named architecture
 hints/next_4.sh                Hints for named architecture
+hints/nonstopux.sh     Hints for named architecture
 hints/openbsd.sh       Hints for named architecture
 hints/opus.sh          Hints for named architecture
 hints/os2.sh           Hints for named architecture
diff --git a/hints/nonstopux.sh b/hints/nonstopux.sh
new file mode 100644 (file)
index 0000000..f93c312
--- /dev/null
@@ -0,0 +1,17 @@
+# tom_bates@att.net
+# mips-compaq-nonstopux
+
+. $src/hints/svr4.sh
+
+case "$cc" in
+        *gcc*)
+                ccflags='-fno-strict-aliasing'
+                lddlflags='-shared'
+                ldflags=''
+               ;;
+        '')
+                cc="cc -Xa -Olimit 4096"
+                malloctype="void *"
+               ;;
+esac
+