Pārlūkot izejas kodu

Re-enable TCL by default now that the warnings are fixed.

Bryan Drewery 11 gadi atpakaļ
vecāks
revīzija
71ed9529c1
3 mainītis faili ar 8 papildinājumiem un 8 dzēšanām
  1. 1 1
      build/autotools/includes/libtcl.m4
  2. 6 6
      configure
  3. 1 1
      doc/UPDATES

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

@@ -10,7 +10,7 @@ AC_DEFUN([EGG_TCL_OPTIONS],
   AC_ARG_WITH(tcllib, [AS_HELP_STRING([--with-tcllib=PATH],[full path to Tcl library])], [tcllibname="$withval"])
   AC_ARG_WITH(tclinc, [AS_HELP_STRING([--with-tclinc=PATH],[full path to Tcl header])],  [tclincname="$withval"])
 
-  MY_ARG_ENABLE([script_tcl], [TCL Script])
+  MY_ARG_DISABLE([script_tcl], [TCL Script])
 
   WARN=0
   # Make sure either both or neither $tcllibname and $tclincname are set

+ 6 - 6
configure

@@ -1337,7 +1337,7 @@ Optional Features:
   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   --disable-ipv6          disable IPv6 support
-  --enable-script-tcl     enable TCL Script support
+  --disable-script-tcl    disable TCL Script support
 
 Optional Packages:
   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
@@ -5824,19 +5824,19 @@ if test "${enable_script_tcl+set}" = set; then :
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
 $as_echo "$enableval" >&6; }
 
-$as_echo "#define USE_SCRIPT_TCL 1" >>build/confdefs.h
-
-
 else
 
-       # default if not given is DISABLED
+       # default if not given is ENABLED
        if test "x$enableval" = "x"; then
-         enableval="no"
+         enableval="yes"
        fi
        enable_script_tcl=$enableval
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
 $as_echo "$enableval" >&6; }
 
+$as_echo "#define USE_SCRIPT_TCL 1" >>build/confdefs.h
+
+
 
 fi
 

+ 1 - 1
doc/UPDATES

@@ -1,5 +1,5 @@
 maint
-  * Disable demo TCL support by default to prevent confusion during build.
+  * Fix TCL warnings during build if TCL is not being used.
 
 1.4.5
   * Remove ahbl as it now positively identifies all hosts as abusive