Diffstat (limited to 'mcon/U/libflex.U')
1 files changed, 65 insertions, 0 deletions
diff --git a/mcon/U/libflex.U b/mcon/U/libflex.U
new file mode 100644
@@ -0,0 +1,65 @@
+?RCS: $Id: libflex.U,v 126.96.36.199 1997/02/28 15:57:48 ram Exp $
+?RCS: Copyright (c) 1991-1993, Raphael Manfredi
+?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: $Log: libflex.U,v $
+?RCS: Revision 188.8.131.52 1997/02/28 15:57:48 ram
+?RCS: patch61: replaced .a with $_a all over the place
+?RCS: Revision 184.108.40.206 1994/05/06 15:07:02 ram
+?RCS: patch23: now uses full library path instead of -l notation
+?RCS: Revision 220.127.116.11 1994/01/24 14:13:25 ram
+?RCS: patch16: un-obsoleted this unit to allow smooth lex/flex compilations
+?RCS: Revision 3.0 1993/08/18 12:08:59 ram
+?RCS: Baseline for dist 3.0 netwide release.
+?MAKE:libflex: Loc lex libpth _a
+?MAKE: -pick add $@ %<
+?S: This variable contains the argument to pass to the loader in order
+?S: to get the flex/lex library routines. If there is no flex or flex
+?S: library, it is null.
+: see if we should include -lfl
+echo " "
+case "$lex" in
+ xxx=`./loc libfl$_a x $libpth`
+ case "$xxx" in
+ echo "No flex library found." >&4
+ echo "flex library found in $xxx." >&4
+ xxx=`./loc libl$_a x $libpth`
+ case "$xxx" in
+ echo "No lex library found." >&4
+ echo "lex library found in $xxx." >&4
+echo "You don't seem to have lex or flex, so I won't look for libraries." >&4