Add default TCLLIB, and allow override in host.def
authorMatthew R. Trower <dev@blackshard.net>
Thu, 25 Oct 2018 09:51:52 +0000 (04:51 -0500)
committerJon Trulson <jon@radscan.com>
Thu, 25 Oct 2018 17:43:43 +0000 (11:43 -0600)
Restores build on Sun, and maybe others.

cde/programs/dtdocbook/instant/Imakefile

index 0969f10b6086df4826f36febc71b3238e43b727b..75669164a072ebae39e7341224a7f13947f697c9 100644 (file)
@@ -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) \