[comp.sources.bugs] Gnu Make 3.27 on Alliant hosts

pwolfe@kailand.KAI.COM (01/19/89)

Gnu Make 3.27 compiles and runs on Alliant FX/8 hosts with the
following modifications:

********************
In the file "read.c":

	globally change the variable "vector" to "read_vector".  This
	eliminates a conflict with a reserved word.

********************

In the system include file "/usr/include/fcntl.h", add the following lines.
These fixes the fcntl.h file to be just like the one distributed with BSD 4.3.


	These three go near the top, just after the line:
	#define	O_APPEND	FAPPEND	/* append (writes guaranteed at the end) */
	and before the line:
	#ifndef	F_DUPFD

#define	O_CREAT		FCREAT		/* open with file create */
#define	O_TRUNC		FTRUNC		/* open with truncation */
#define	O_EXCL		FEXCL		/* error on create if file exists */


	These three go near the end, just after the line:
	#define	FASYNC		00100		/* signal pgrp when data ready */
	and before the line:
	#endif

#define	FCREAT		001000		/* create if nonexistant */
#define	FTRUNC		002000		/* truncate to zero length */
#define	FEXCL		004000		/* error if already created */

********************
	If you don't have write access to the /usr/include directory, or you
	feel uneasy about fixing system include files, you could instead add:
#include <sys/file.h>
	to the file "remake.c", and just ignore all the warnings about things
	being redefined.

********************
        Patrick Wolfe
	System Manager, Kuck and Associates, Inc.
	pat@kai.com
	{uunet,uiucuxc}!kailand!pat
	pat%kai.com@uxc.cso.uiuc.edu
	pat@kai.com@uiucvmd.bitnet
	pat%kai.com@uiucuxc.arpa