Sfoglia il codice sorgente

If TCL cannot be found, disable it for the remainder of configure to avoid fatal errors with version check

Bryan Drewery 14 anni fa
parent
commit
0089500e21
2 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 1 0
      build/autotools/includes/libtcl.m4
  2. 1 0
      configure

+ 1 - 0
build/autotools/includes/libtcl.m4

@@ -408,6 +408,7 @@ configure: error:
   --with-tclinc='/path/to/tcl.h' options.
 
 EOF
+    enable_script_tcl="no"
     else
       AC_DEFINE(HAVE_LIBTCL, 1, [Define if you have support for libtcl])
     fi

+ 1 - 0
configure

@@ -5928,6 +5928,7 @@ configure: error:
   --with-tclinc='/path/to/tcl.h' options.
 
 EOF
+    enable_script_tcl="no"
     else
 
 $as_echo "#define HAVE_LIBTCL 1" >>build/confdefs.h