Link TCL libraries and restrict tcl8.6 to SuSE only.
authorJose Rubio <joserubiovidales@gmail.com>
Sun, 15 Sep 2019 17:01:17 +0000 (19:01 +0200)
committerJose Rubio <joserubiovidales@gmail.com>
Mon, 16 Sep 2019 12:58:21 +0000 (14:58 +0200)
cde/config/imake/imake.c
cde/programs/dtdocbook/instant/Imakefile

index 6ca76d34cc2a8020b99a019a203dccfc24d888a4..574af7c740040145f84f9e14fb66b7ad89c61a6e 100644 (file)
@@ -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");
index 09f8ccaf3ffe933444921aa9419ac7c483dc972a..08071e9f50bd48be2c95a69f4bc43e9834c52a08 100644 (file)
@@ -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