Explorar el Código

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

Bryan Drewery hace 14 años
padre
commit
0089500e21
Se han modificado 2 ficheros con 2 adiciones y 0 borrados
  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