Browse Source

Link TCL libraries and restrict tcl8.6 to SuSE only.

Jose Rubio 4 years ago
parent
commit
507665352f
2 changed files with 5 additions and 1 deletions
  1. 1 1
      cde/config/imake/imake.c
  2. 4 0
      cde/programs/dtdocbook/instant/Imakefile

+ 1 - 1
cde/config/imake/imake.c

@@ -824,7 +824,7 @@ get_distrib(FILE *inFile)
 {
   struct stat sb;
 
-  static char* yast = "/sbin/YaST";
+  static char* yast = "/sbin/yast";
   static char* redhat = "/etc/redhat-release";
 
   fprintf (inFile, "%s\n", "#define LinuxUnknown    0");

+ 4 - 0
cde/programs/dtdocbook/instant/Imakefile

@@ -7,6 +7,10 @@ TCLLIB = -ltcl
 
 #if defined(LinuxArchitecture)
 TCLINC = -I/usr/include/tcl
+#if DefaultLinuxDistribution == LinuxSuSE
+TCLLIB = -ltcl8.6
+#endif
+
 #elif defined(FreeBSDArchitecture) || defined(OpenBSDArchitecture)
 TCLINC = -I/usr/local/include/tcl8.6
 TCLLIB = -ltcl86