summaryrefslogtreecommitdiff
path: root/xc/config/cf
diff options
context:
space:
mode:
authormatt <empty>1995-05-23 14:31:40 +0000
committermatt <empty>1995-05-23 14:31:40 +0000
commit80d09762cfdfe28d6f673bb6ff43bb673f49589f (patch)
treefb5b3d53d8184c5f987756748516607256d46469 /xc/config/cf
parentf9e6a20b9bcb1a95929fc04853dd5febe633bdd8 (diff)
Add support for Solaris 2.4
Diffstat (limited to 'xc/config/cf')
-rw-r--r--xc/config/cf/sun.cf26
-rw-r--r--xc/config/cf/sunLib.tmpl4
2 files changed, 28 insertions, 2 deletions
diff --git a/xc/config/cf/sun.cf b/xc/config/cf/sun.cf
index 62f8e3629..74bfdfbc1 100644
--- a/xc/config/cf/sun.cf
+++ b/xc/config/cf/sun.cf
@@ -1,26 +1,50 @@
-XCOMM platform: $XConsortium: sun.cf,v 1.140 95/02/21 21:36:15 gildea Exp kaleb $
+XCOMM platform: $XConsortium: sun.cf,v 1.141 95/05/10 15:21:19 kaleb Exp $
#ifdef SVR4Architecture
#ifdef i386Architecture
+#ifndef OSName
#define OSName SunOS 5.1 x86
+#endif
XCOMM operating system: OSName
+#ifndef OSMajorVersion
#define OSMajorVersion 5
+#endif
+#ifndef OSMinorVersion
#define OSMinorVersion 1
+#endif
+#ifndef OSTeenyVersion
#define OSTeenyVersion 0
+#endif
#else
+#ifndef OSName
#define OSName SunOS 5.3
+#endif
XCOMM operating system: OSName
+#ifndef OSMajorVersion
#define OSMajorVersion 5
+#endif
+#ifndef OSMinorVersion
#define OSMinorVersion 3
+#endif
+#ifndef OSTeenyVersion
#define OSTeenyVersion 0
#endif
+#endif
#else
+#ifndef OSName
#define OSName SunOS 4.1.3
+#endif
XCOMM operating system: OSName
+#ifndef OSMajorVersion
#define OSMajorVersion 4
+#endif
+#ifndef OSMinorVersion
#define OSMinorVersion 1
+#endif
+#ifndef OSTeenyVersion
#define OSTeenyVersion 3
#endif
+#endif
/*
* Compiler setup. This sun.cf file knows what options to use with
diff --git a/xc/config/cf/sunLib.tmpl b/xc/config/cf/sunLib.tmpl
index d8de19e67..9bcffc530 100644
--- a/xc/config/cf/sunLib.tmpl
+++ b/xc/config/cf/sunLib.tmpl
@@ -1,4 +1,4 @@
-XCOMM $XConsortium: sunLib.tmpl,v 1.35 94/03/26 18:34:37 gildea Exp $
+XCOMM $XConsortium: sunLib.tmpl,v 1.36 94/04/08 19:13:50 rws Exp $
/*
* SunOS shared library template
@@ -38,8 +38,10 @@ XCOMM $XConsortium: sunLib.tmpl,v 1.35 94/03/26 18:34:37 gildea Exp $
#else /* else it's Solaris */
#if ThreadedX
+#if OSMinorVersion < 4
#define SharedX11Reqs -lthread
#endif
+#endif
#define SharedXmuReqs $(LDPRELIB) $(XTOOLLIB) $(XLIB)
#define FixupLibReferences() /**/
#include <sv4Lib.tmpl>