From 53f00ccb78652a80f97bfe536c18834f2536f411 Mon Sep 17 00:00:00 2001 From: peter Date: Sun, 3 Nov 1996 19:15:45 +0000 Subject: The tcl/perl interpreter compile options were not really optional. This is needed for building the boot crunch for 2.2 (It still needs a hook so the release code can tell it when to build it without tcl etc). --- usr.bin/vi/Makefile | 5 ++++- usr.bin/vi/config.h | 6 +++--- 2 files changed, 7 insertions(+), 4 deletions(-) (limited to 'usr.bin') diff --git a/usr.bin/vi/Makefile b/usr.bin/vi/Makefile index fe9dc64..e8a5466 100644 --- a/usr.bin/vi/Makefile +++ b/usr.bin/vi/Makefile @@ -1,5 +1,5 @@ # -# $Id: Makefile,v 1.2 1996/11/01 08:16:18 peter Exp $ +# $Id: Makefile,v 1.3 1996/11/01 08:34:51 peter Exp $ # # This has most of the glue needed to compile tknvi and the perl hooks, # but not all. @@ -50,12 +50,15 @@ LDADD+= -lcurses -ltermcap .PATH: ${SRCDIR}/tcl_api DPADD+= ${LIBTCL} ${LIBM} LDADD+= -ltcl -lm +CFLAGS+= -DHAVE_TCL_INTERP .endif .if defined(PERLINTERP) .PATH: ${SRCDIR}/perl_api #DPADD+= ? #LDADD+= ? +CFLAGS+= -DHAVE_PERL_INTERP +#CFLAGS+= -DHAVE_PERL_5_003_01 # If perl >= 5.03.01 .endif CLEANFILES+=${EX} diff --git a/usr.bin/vi/config.h b/usr.bin/vi/config.h index 33ee3e6..5a867f1 100644 --- a/usr.bin/vi/config.h +++ b/usr.bin/vi/config.h @@ -104,10 +104,10 @@ #define HAVE_LOCK_FLOCK 1 /* Define if you want to compile in the Perl interpreter. */ -/* #undef HAVE_PERL_INTERP */ +/* #undef HAVE_PERL_INTERP */ /* XXX: SET IN Makefile CFLAGS */ /* Define if your Perl is at least 5.003_01. */ -/* #undef HAVE_PERL_5_003_01 */ +/* #undef HAVE_PERL_5_003_01 */ /* XXX: SET IN Makefile CFLAGS */ /* Define if you have the Berkeley style revoke(2) system call. */ #define HAVE_REVOKE 1 @@ -122,7 +122,7 @@ /* #undef HAVE_SYS5_PTY */ /* Define if you want to compile in the Tcl interpreter. */ -#define HAVE_TCL_INTERP 1 +/* #define HAVE_TCL_INTERP */ /* XXX: SET IN Makefile CFLAGS */ /* Define if your sprintf returns a pointer, not a length. */ /* #undef SPRINTF_RET_CHARPNT */ -- cgit v1.1