Browse Source

Add default TCLLIB, and allow override in host.def

Restores build on Sun, and maybe others.
Matthew R. Trower 5 years ago
parent
commit
012862e8ee
1 changed files with 9 additions and 2 deletions
  1. 9 2
      cde/programs/dtdocbook/instant/Imakefile

+ 9 - 2
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) \