From: Chris Hanson Date: Tue, 28 Jun 1994 19:30:49 +0000 (+0000) Subject: Make installation of Starbase graphics support more automatic. X-Git-Tag: 20090517-FFI~7159 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=4e80c12dd3ec642d3bc7c1a2237d0506fdc77b53;p=mit-scheme.git Make installation of Starbase graphics support more automatic. --- diff --git a/v7/src/microcode/unxutl/cf-dist.h b/v7/src/microcode/unxutl/cf-dist.h index 27ec28dd5..0037a4896 100644 --- a/v7/src/microcode/unxutl/cf-dist.h +++ b/v7/src/microcode/unxutl/cf-dist.h @@ -1,6 +1,6 @@ /* -*-C-*- -$Id: cf-dist.h,v 1.20 1994/06/28 19:05:14 cph Exp $ +$Id: cf-dist.h,v 1.21 1994/06/28 19:30:49 cph Exp $ Copyright (c) 1989-94 Massachusetts Institute of Technology @@ -70,7 +70,7 @@ MIT in each case. */ /* #define ALTERNATE_AS gashp */ /* Define this macro to use a non-standard install program. */ -/* #define INSTALL_PROGRAM ginstall -c */ +/* #define INSTALL_PROGRAM cp -p */ #include "s.h" #include "m.h" @@ -82,10 +82,34 @@ MIT in each case. */ /* Define HAVE_X_WINDOWS if you want to use the X window system. */ #define HAVE_X_WINDOWS -/* Define HAVE_STARBASE_GRAPHICS if you want Starbase graphics support. - This is specific to HP-UX. */ -/* #define HAVE_STARBASE_GRAPHICS */ -/* #define STARBASE_DEVICE_DRIVERS -ldd300h -ldd98556 -lddgcrx */ +#if defined(__hpux) || defined(hpux) +/* If this is an HP-UX system, Starbase graphics support is available. + If you don't want this support, comment out the following line. */ +#define HAVE_STARBASE_GRAPHICS +#endif + +#ifdef HAVE_STARBASE_GRAPHICS +/* You may need to tweak one of the following device driver + definitions to be correct for your machine. */ + +#if defined(__hp9000s700) || defined(hp9000s700) + +/* This default covers the standard grayscale and 8-bit color graphics + for series 700 workstations. If you have 24-bit graphics you will + need to change this. */ +#define STARBASE_DEVICE_DRIVERS -lddgcrx + +#else +#if defined(__hp9000s300) || defined(hp9000s300) + +/* This default covers the standard monochrome and 8-bit (or less) + color displays for 300 and 400 series workstations. It also + supports the 98556 graphics accelerator. */ +#define STARBASE_DEVICE_DRIVERS -ldd300h -ldd98556 + +#endif /* __hp9000s300 */ +#endif /* __hp9000s700 */ +#endif /* HAVE_STARBASE_GRAPHICS */ /* Some compilation options: -DDISABLE_HISTORY turns off history recording mechanism