summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xc/config/cf/Imakefile1
-rw-r--r--xc/config/cf/sgi.cf9
2 files changed, 6 insertions, 4 deletions
diff --git a/xc/config/cf/Imakefile b/xc/config/cf/Imakefile
index 5588bac4d..4e720ce8f 100644
--- a/xc/config/cf/Imakefile
+++ b/xc/config/cf/Imakefile
@@ -38,6 +38,7 @@ hpLib.tmpl \
ibmLib.tmpl \
necLib.tmpl \
osfLib.tmpl \
+sgiLib.tmpl \
sunLib.tmpl \
sv4Lib.tmpl
diff --git a/xc/config/cf/sgi.cf b/xc/config/cf/sgi.cf
index 7a930a4e0..e2b4e37b0 100644
--- a/xc/config/cf/sgi.cf
+++ b/xc/config/cf/sgi.cf
@@ -1,4 +1,4 @@
-XCOMM platform: $XConsortium: sgi.cf,v 1.48 95/03/17 20:53:33 gildea Exp kaleb $
+XCOMM platform: $XConsortium: sgi.cf,v 1.49 95/04/07 18:59:01 kaleb Exp kaleb $
#ifndef OSName
#define OSName IRIX 5.2
@@ -33,6 +33,7 @@ XCOMM operating system: OSName
#define HasWChar32 YES
#define HasVFork NO
#define XawI18nDefines -DHAS_WCTYPE_H -DHAS_ISW_FUNCS
+#define AllocateLocalDefines -DINCLUDE_ALLOCA_H
#endif
#if OSMajorVersion == 6
@@ -73,7 +74,7 @@ XCOMM operating system: OSName
#define ExtraLibraries -lsun -lmalloc -lc_s -lw
#define sgiCCOptions -xansi -D__STDC__=1 -float
#else
-#define sgiCCOptions
+#define sgiCCOptions -xansi
/* SGI's -lsocket -lnsl is broken, at least in 5.2, so override here */
#define ExtraLibraries -lw
#endif
@@ -109,9 +110,9 @@ XCOMM operating system: OSName
#define DefaultSystemPath /usr/sbin:/usr/bsd:/bin:/etc:/usr/bin:/usr/etc:$(BINDIR)
#define BuildServer NO
-#define ServerOSDefines -DDDXTIME
+#define ServerOSDefines -DDDXTIME
/* only need this for binary compatibility with their ddx */
-#define ServerExtraDefines -DNEED_LINEHELPER
+#define ServerExtraDefines -DNEED_LINEHELPER AllocateLocalDefines
/* Changed to a single shell command for pmake/smake */
#if OSMajorVersion < 5