瀏覽代碼

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

Bryan Drewery 14 年之前
父節點
當前提交
0089500e21
共有 2 個文件被更改,包括 2 次插入0 次删除
  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