diff -N src/s/darwin.h --- /dev/null Thu May 3 03:14:20 2001 +++ src/s/darwin.h Thu May 3 21:23:19 2001 @@ -0,0 +1,18 @@ +/* s/ file for Darwin/MacOS X systems */ + +#define SYSTEM_TYPE "darwin" + +/* Defines this as a BSD system, used in fakemail, for example */ +#ifndef NOT_C_CODE +#include +#endif + +/* The builtin malloc is broken in the sense that replacing it + with a user implementation is impossible. */ +#define SYSTEM_MALLOC + +#define HAVE_PTYS + +/* TAB3 is defined in Unix98, but darwin doesn't have it. + OXTABS is the traditional BSD equivalent. */ +#define TAB3 OXTABS diff -u -w -r1.151 configure.in --- configure.in 2001/04/12 18:20:41 1.151 +++ configure.in 2001/05/04 04:23:21 @@ -1205,6 +1205,13 @@ dnl Cubix QBx/386 i[[3-9]]86-cubix-sysv* ) machine=intel386 opsys=usg5-3 ;; + dnl Darwin, a.k.a. MacOS X (based on Mach and Freebsd) + *-*-darwin*) + opsys=darwin + RANLIB="ranlib -c" dnl Avoids a link error with lwlib-config.c + pdump=yes dnl No "native" working dumper available + ;; + dnl Data General AViiON Machines i586-dg-dgux*R4* | i586-dg-dgux5.4.4* ) machine=aviion opsys=dgux5-4r4 ;; m88k-dg-dgux5.4R3* | m88k-dg-dgux5.4.3* ) opsys=dgux5-4r3 ;; diff -Naur configure.old configure.in --- configure.old Mon May 28 01:40:19 2001 +++ configure Mon May 28 00:08:22 2001 @@ -1238,6 +1238,12 @@ i[3-9]86-cubix-sysv* ) machine=intel386 opsys=usg5-3 ;; + *-*-darwin* ) + opsys=darwin + RANLIB="ranlib -c" + pdump=yes + ;; + i586-dg-dgux*R4* | i586-dg-dgux5.4.4* ) machine=aviion opsys=dgux5-4r4 ;; m88k-dg-dgux5.4R3* | m88k-dg-dgux5.4.3* ) opsys=dgux5-4r3 ;; m88k-dg-dgux5.4R2* | m88k-dg-dgux5.4.2* ) opsys=dgux5-4r2 ;;