Просмотр исходного кода

Merge branch 'master' into next

* master:
  Remove legacy config cache files when cleaning up
  If TCL cannot be found, disable it for the remainder of configure to avoid fatal errors with version check
Bryan Drewery 14 лет назад
Родитель
Сommit
e60becdf57
3 измененных файлов с 4 добавлено и 2 удалено
  1. 2 2
      Makefile.in
  2. 1 0
      build/autotools/includes/libtcl.m4
  3. 1 0
      configure

+ 2 - 2
Makefile.in

@@ -100,14 +100,14 @@ clean:  cleanutils
 	+@cd src/crypto && $(MAKE) clean
 	+@cd src/crypto && $(MAKE) clean
 	+@cd src/mod && $(MAKE) distclean
 	+@cd src/mod && $(MAKE) distclean
 	-+@cd lib && $(MAKE) clean
 	-+@cd lib && $(MAKE) clean
-	@rm -f $(BINEXEC) build/stamp.* *~ src/*~ configure.temp .mangled
+	@rm -f $(BINEXEC) build/stamp.* *~ src/*~ configure.temp .mangled stamp.*
 	@rm -f src/help.h src/response.h src/responses.h utctime@EXEEXT@ ts@EXEEXT@
 	@rm -f src/help.h src/response.h src/responses.h utctime@EXEEXT@ ts@EXEEXT@
 
 
 distclean: clean
 distclean: clean
 	@rm -rf *-$(VERSION)/ autom4te.cache/ autoscan.log configure.scan
 	@rm -rf *-$(VERSION)/ autom4te.cache/ autoscan.log configure.scan
 	@rm -rf src/.deps/ src/compat/.deps/ src/strucutres/.deps/ src/mod/*.mod/.deps/ src/crypto/.deps src/.defs/
 	@rm -rf src/.deps/ src/compat/.deps/ src/strucutres/.deps/ src/mod/*.mod/.deps/ src/crypto/.deps src/.defs/
 	-+@cd lib && $(MAKE) distclean
 	-+@cd lib && $(MAKE) distclean
-	@rm -f $(STATICMAKEFILES) $(CONFIGFILES)
+	@rm -f $(STATICMAKEFILES) $(CONFIGFILES) config.h config.log config.status config.cache
 
 
 
 
 distrib: clean
 distrib: clean

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

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

+ 1 - 0
configure

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