1 ?X: These units are based on the ones supplied with dist-3.0
2 ?X: patchlevel 22. They have been changed or enhanced to work with
3 ?X: perl5alpha. I would appreciate hearing about any changes,
4 ?X: corrections, or enhancements.
5 ?X: Andy Dougherty doughera@lafcol.lafayette.edu
8 ?X: Easton, PA 18042-1782
9 ?X: Sat Apr 2 15:45:17 EST 1994
10 ?RCS: $Id: libyacc.U,v 3.0.1.1 1994/01/24 14:13:49 ram Exp $
12 ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
14 ?RCS: You may redistribute only under the terms of the Artistic Licence,
15 ?RCS: as specified in the README file that comes with the distribution.
16 ?RCS: You may reuse parts of this distribution only within the terms of
17 ?RCS: that same Artistic Licence; a copy of which may be found at the root
18 ?RCS: of the source tree for dist 3.0.
20 ?RCS: $Log: libyacc.U,v $
21 ?RCS: Revision 3.0.1.1 1994/01/24 14:13:49 ram
22 ?RCS: patch16: un-obsoleted this unit for smooth yacc compilations
24 ?RCS: Revision 3.0 1993/08/18 12:09:04 ram
25 ?RCS: Baseline for dist 3.0 netwide release.
27 ?MAKE:libyacc: Loc yacc libpth test
28 ?MAKE: -pick add $@ %<
30 ?S: This variable contains the argument to pass to the loader in order
31 ?S: to get the yacc library routines. If there is no yacc or yacc
32 ?S: library, it is null.
35 : see if we should include -ly
39 echo "You are using byacc, so I won't look for a yacc library." >&4
43 if $test -r /usr/lib/liby.a || $test -r /usr/local/lib/liby.a ; then
47 xxx=`./loc liby.a x $libpth`
50 echo "No yacc library found." >&4
54 echo "yacc library found in $xxx." >&4
61 echo "You are using bison, so I won't look for a yacc library." >&4
65 echo "You don't seem to have yacc, so I won't look for the yacc library." >&4