diff options
author | peter <peter@FreeBSD.org> | 1996-11-03 19:15:45 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1996-11-03 19:15:45 +0000 |
commit | 53f00ccb78652a80f97bfe536c18834f2536f411 (patch) | |
tree | aa844b6928b1fbc14d280f129974cc2346a02274 /usr.bin/vi | |
parent | ccc595306473f936268a35e26fc896fe3a4004de (diff) | |
download | FreeBSD-src-53f00ccb78652a80f97bfe536c18834f2536f411.zip FreeBSD-src-53f00ccb78652a80f97bfe536c18834f2536f411.tar.gz |
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).
Diffstat (limited to 'usr.bin/vi')
-rw-r--r-- | usr.bin/vi/Makefile | 5 | ||||
-rw-r--r-- | usr.bin/vi/config.h | 6 |
2 files changed, 7 insertions, 4 deletions
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 */ |