فهرست منبع

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