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).
This commit is contained in:
peter 1996-11-03 19:15:45 +00:00
parent 6157b5cdfb
commit 1753d6ab18
2 changed files with 7 additions and 4 deletions

View File

@ -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}

View File

@ -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 */