From: Matthew R. Trower Date: Thu, 25 Oct 2018 09:51:52 +0000 (-0500) Subject: Add default TCLLIB, and allow override in host.def X-Git-Tag: 2.3.0a~25^2~4 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=012862e8eef0bb1b5498e215b1044f9f085ec4b7;p=oweals%2Fcde.git Add default TCLLIB, and allow override in host.def Restores build on Sun, and maybe others. --- diff --git a/cde/programs/dtdocbook/instant/Imakefile b/cde/programs/dtdocbook/instant/Imakefile index 0969f10b..75669164 100644 --- a/cde/programs/dtdocbook/instant/Imakefile +++ b/cde/programs/dtdocbook/instant/Imakefile @@ -3,16 +3,23 @@ XCOMM $XConsortium: Imakefile /main/6 1996/11/29 11:06:09 rswiston $ XLATESRC = $(DTSVCSRC)/DtUtil2 TCLINC = -TCLLIB = +TCLLIB = -ltcl #if defined(LinuxArchitecture) TCLINC = -I/usr/include/tcl -TCLLIB = -ltcl #elif defined(FreeBSDArchitecture) || defined(OpenBSDArchitecture) TCLINC = -I/usr/local/include/tcl8.6 TCLLIB = -ltcl86 #endif +#if defined(TCLInc) +TCLINC = TCLInc +#endif +#if defined(TCLLib) +TCLLIB = TCLLib +#endif + + INCLUDES = -I../lib/tptregexp -I$(XLATESRC) $(TCLINC) DEPLIBS = $(DEPDTSVCLIB) LOCAL_LIBRARIES = $(DTSVCLIB) $(TTLIB) $(XMLIB) $(XTOOLLIB) $(XLIB) \