?RCS: $Id: liblex.U,v 2.0.1.1 2000/02/25 01:11:29 greyham Exp greyham $ ?RCS: ?RCS: Copyright (c) 1991-1993, Raphael Manfredi ?RCS: ?RCS: You may redistribute only under the terms of the Artistic Licence, ?RCS: as specified in the README file that comes with the distribution. ?RCS: You may reuse parts of this distribution only within the terms of ?RCS: that same Artistic Licence; a copy of which may be found at the root ?RCS: of the source tree for dist 3.0. ?RCS: ?RCS: $Log: liblex.U,v $ ?RCS: Revision 2.0.1.1 2000/02/25 01:11:29 greyham ?RCS: patch42: Add metaconfig units to distribution. ?RCS: ?RCS:Revision 1.1 1994/02/22 00:24:11 greyham ?RCS:Initial revision ?RCS: ?RCS: Revision 3.0 1993/08/18 12:08:59 ram ?RCS: Baseline for dist 3.0 netwide release. ?RCS: ?MAKE:liblex: Loc lex libpth ?MAKE: -pick add $@ %< ?S:liblex: ?S: This variable contains the argument to pass to the loader in order ?S: to get the lex library routines. If there is no lex or lex ?S: library, it is null. ?S:. ?T:xxx : see if we should include -ll echo " " case "$lex" in *flex*) xxx=`./loc libfl.a x $libpth` case "$xxx" in x) echo "No flex library found." >&4 liblex='' ;; *) echo "flex library found in $xxx." >&4 liblex="$xxx" ;; esac ;; *lex) xxx=`./loc libl.a x $libpth` case "$xxx" in x) echo "No lex library found." >&4 liblex='' ;; *) echo "lex library found in $xxx." >&4 liblex="$xxx" ;; esac ;; *) echo "You don't seem to have lex, so I won't look for the lex library." >&4 liblex='' ;; esac