This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Populate metaconfig branch.
[metaconfig.git] / dist-3.0at70b / mcon / U / d_raster.U
CommitLineData
959f3c4c
JH
1?RCS: $Id: d_raster.U,v 3.0 1993/08/18 12:06:50 ram Exp $
2?RCS:
3?RCS: Copyright (c) 1991-1993, Raphael Manfredi
4?RCS:
5?RCS: You may redistribute only under the terms of the Artistic Licence,
6?RCS: as specified in the README file that comes with the distribution.
7?RCS: You may reuse parts of this distribution only within the terms of
8?RCS: that same Artistic Licence; a copy of which may be found at the root
9?RCS: of the source tree for dist 3.0.
10?RCS:
11?RCS: $Log: d_raster.U,v $
12?RCS: Revision 3.0 1993/08/18 12:06:50 ram
13?RCS: Baseline for dist 3.0 netwide release.
14?RCS:
15?MAKE:d_raster rasterlib: cat test Setvar Myread Oldconfig
16?MAKE: -pick add $@ %<
17?S:d_raster:
18?S: Conditionally defines RASTER_TEK if this is a raster tech machine.
19?S:.
20?S:rasterlib (d_rasterlib):
21?S: Set to the needed compile flag if this is a raster tech machine.
22?S: It is up to the Makefile to use this variable.
23?S:.
24?C:RASTER_TEK:
25?C: Defined if this is a rastertech machine.
26?C:.
27?H:#$d_raster RASTER_TEK /**/
28?H:.
29?LINT:set d_raster
30: See if this is a raster tech machine.
31val="$undef"
32rasterlib=''
33if $test -r /dev/mirage; then
34 $cat <<'EOM'
35
36You seem to have a mirage device... this is normally associated with a raster
37technologies graphics workstation. If this is right, you may want to use raster
38tech in this program.
39
40EOM
41 dflt=y
42 case "$d_raster" in
43 "$undef") dflt=n;;
44 esac
45 rp='Use raster tech?'
46 . ./myread
47 case "$ans" in
48 y*) val="$define";;
49 esac
50fi
51set d_raster
52eval $setvar
53
54case "$d_raster" in
55"$define") rasterlib='-lphigs';;
56esac
57