summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1997-04-12 14:28:13 +0000
committerpeter <peter@FreeBSD.org>1997-04-12 14:28:13 +0000
commit55e6cf358b63db698cde463b2708d9ff2b49b6c4 (patch)
treedfa9f9870a22d8f98c2d7c0944d10211c7d01b94
parent17b78c41d7370f6d197cc08381aa56e7cfc9d0e4 (diff)
downloadFreeBSD-src-55e6cf358b63db698cde463b2708d9ff2b49b6c4.zip
FreeBSD-src-55e6cf358b63db698cde463b2708d9ff2b49b6c4.tar.gz
Respect NOTCL, don't link with libtcl for the scripting support if
we're not building it.
-rw-r--r--usr.bin/vi/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.bin/vi/Makefile b/usr.bin/vi/Makefile
index 4d9a1ca3..95d0c1d 100644
--- a/usr.bin/vi/Makefile
+++ b/usr.bin/vi/Makefile
@@ -1,5 +1,5 @@
#
-# $Id$
+# $Id: Makefile,v 1.14 1997/02/22 19:57:40 peter Exp $
#
# This has most of the glue needed to compile tknvi and the perl hooks,
# but not all.
@@ -14,7 +14,11 @@ APISTUFF= ex_notcl.c ex_noperl.c
.else
+.if defined(NOTCL)
+TCLINTERP= no #user doesn't want it.
+.else
TCLINTERP= yes #fine, in base tree, little cost
+.endif
#TKNVI= yes #not ready, needs X11, tk, doesn't quite work yet
#PERLINTERP= yes #needs the perl5 v5.003 port
OpenPOWER on IntegriCloud