Commit | Line | Data |
---|---|---|
d8875586 MBT |
1 | ?RCS: $Id: d_byacc.U 1 2006-08-24 12:32:52Z rmanfredi $ |
2 | ?RCS: | |
3 | ?RCS: Copyright (c) 1996, Andy Dougherty | |
4 | ?RCS: Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi | |
cf39bd7e | 5 | ?RCS: |
d8875586 MBT |
6 | ?RCS: You may redistribute only under the terms of the Artistic Licence, |
7 | ?RCS: as specified in the README file that comes with the distribution. | |
8 | ?RCS: You may reuse parts of this distribution only within the terms of | |
9 | ?RCS: that same Artistic Licence; a copy of which may be found at the root | |
10 | ?RCS: of the source tree for dist 4.0. | |
11 | ?RCS: | |
12 | ?RCS: $Log: d_byacc.U,v $ | |
13 | ?RCS: Revision 3.0.1.1 1997/02/28 15:31:14 ram | |
14 | ?RCS: patch61: created | |
15 | ?RCS: | |
16 | ?MAKE:d_byacc: byacc Setvar | |
17 | ?MAKE: -pick add $@ %< | |
18 | ?S:d_byacc: | |
19 | ?S: This variable indicates whether byacc is available. | |
20 | ?S: If the user has specified 'portability', then Makefile.SH | |
21 | ?S: sees $byacc='byacc' whether or not the user actually has | |
22 | ?S: byacc. This variable allows us to determine in a makefile | |
cf39bd7e | 23 | ?S: if we really have byacc. |
d8875586 MBT |
24 | ?S:. |
25 | ?LINT:set d_byacc | |
26 | : Check if we really have byacc | |
27 | case "$byacc" in | |
28 | ''|'byacc') val="$undef" ;; | |
29 | *) val="$define" ;; | |
30 | esac | |
31 | set d_byacc | |
32 | eval $setvar | |
33 |