⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 avrdude-usb-v2.patch

📁 单片机的USB ISP软件包,不可多得
💻 PATCH
📖 第 1 页 / 共 5 页
字号:
 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \@@ -664,13 +594,12 @@ 	$(am__remove_distdir) 	GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf - 	chmod -R a-w $(distdir); chmod a+w $(distdir)-	mkdir $(distdir)/_build-	mkdir $(distdir)/_inst+	mkdir $(distdir)/=build+	mkdir $(distdir)/=inst 	chmod a-w $(distdir)-	dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \-	  && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \-	  && cd $(distdir)/_build \-	  && ../configure --srcdir=.. --prefix="$$dc_install_base" \+	dc_install_base=`$(am__cd) $(distdir)/=inst && pwd` \+	  && cd $(distdir)/=build \+	  && ../configure --srcdir=.. --prefix=$$dc_install_base \ 	    $(DISTCHECK_CONFIGURE_FLAGS) \ 	  && $(MAKE) $(AM_MAKEFLAGS) \ 	  && $(MAKE) $(AM_MAKEFLAGS) dvi \@@ -678,39 +607,23 @@ 	  && $(MAKE) $(AM_MAKEFLAGS) install \ 	  && $(MAKE) $(AM_MAKEFLAGS) installcheck \ 	  && $(MAKE) $(AM_MAKEFLAGS) uninstall \-	  && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \-	        distuninstallcheck \-	  && chmod -R a-w "$$dc_install_base" \-	  && ({ \-	       (cd ../.. && $(mkinstalldirs) "$$dc_destdir") \-	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \-	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \-	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \-	            distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \-	      } || { rm -rf "$$dc_destdir"; exit 1; }) \-	  && rm -rf "$$dc_destdir" \+	  && (test `find $$dc_install_base -type f -print | wc -l` -le 1 \+	      || { echo "ERROR: files left after uninstall:" ; \+	           find $$dc_install_base -type f -print ; \+	           exit 1; } >&2 ) \ 	  && $(MAKE) $(AM_MAKEFLAGS) dist-gzip \ 	  && rm -f $(distdir).tar.gz \ 	  && $(MAKE) $(AM_MAKEFLAGS) distcleancheck 	$(am__remove_distdir) 	@echo "$(distdir).tar.gz is ready for distribution" | \ 	  sed 'h;s/./=/g;p;x;p;x'-distuninstallcheck:-	cd $(distuninstallcheck_dir) \-	&& test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \-	   || { echo "ERROR: files left after uninstall:" ; \-	        if test -n "$(DESTDIR)"; then \-	          echo "  (check DESTDIR support)"; \-	        fi ; \-	        $(distuninstallcheck_listfiles) ; \-	        exit 1; } >&2 distcleancheck: distclean 	if test '$(srcdir)' = . ; then \ 	  echo "ERROR: distcleancheck can only run from a VPATH build" ; \ 	  exit 1 ; \ 	fi 	test `$(distcleancheck_listfiles) | wc -l` -eq 0 \-	  || { echo "ERROR: files left in build directory after distclean:" ; \+	  || { echo "ERROR: files left after distclean:" ; \ 	       $(distcleancheck_listfiles) ; \ 	       exit 1; } >&2 check-am: all-am@@ -745,9 +658,7 @@ maintainer-clean-generic: 	@echo "This command is intended for maintainers to use" 	@echo "it deletes files that may require special tools to rebuild."-	-rm -f lexer.c-	-rm -f config_gram.c-	-rm -f config_gram.h+	-test -z "config_gram.hconfig_gram.clexer.c" || rm -f config_gram.h config_gram.c lexer.c clean: clean-recursive  clean-am: clean-binPROGRAMS clean-generic mostlyclean-am@@ -785,14 +696,6 @@  mostlyclean-am: mostlyclean-compile mostlyclean-generic -pdf: pdf-recursive--pdf-am:--ps: ps-recursive--ps-am:- uninstall-am: uninstall-binPROGRAMS uninstall-info-am uninstall-man \ 	uninstall-sysconfDATA @@ -800,23 +703,21 @@  uninstall-man: uninstall-man1 -.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am clean \-	clean-binPROGRAMS clean-generic clean-recursive ctags \-	ctags-recursive dist dist-all dist-gzip distcheck distclean \-	distclean-compile distclean-depend distclean-generic \-	distclean-hdr distclean-recursive distclean-tags distcleancheck \-	distdir distuninstallcheck dvi dvi-am dvi-recursive info \-	info-am info-recursive install install-am install-binPROGRAMS \-	install-data install-data-am install-data-recursive \-	install-exec install-exec-am install-exec-local \-	install-exec-recursive install-info install-info-am \-	install-info-recursive install-man install-man1 \+.PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am check check-am clean \+	clean-binPROGRAMS clean-generic clean-recursive dist dist-all \+	dist-gzip distcheck distclean distclean-compile \+	distclean-depend distclean-generic distclean-hdr \+	distclean-recursive distclean-tags distcleancheck distdir dvi \+	dvi-am dvi-recursive info info-am info-recursive install \+	install-am install-binPROGRAMS install-data install-data-am \+	install-data-recursive install-exec install-exec-am \+	install-exec-local install-exec-recursive install-info \+	install-info-am install-info-recursive install-man install-man1 \ 	install-recursive install-strip install-sysconfDATA \ 	installcheck installcheck-am installdirs installdirs-am \ 	installdirs-recursive maintainer-clean maintainer-clean-generic \ 	maintainer-clean-recursive mostlyclean mostlyclean-compile \-	mostlyclean-generic mostlyclean-recursive pdf pdf-am \-	pdf-recursive ps ps-am ps-recursive tags tags-recursive \+	mostlyclean-generic mostlyclean-recursive tags tags-recursive \ 	uninstall uninstall-am uninstall-binPROGRAMS uninstall-info-am \ 	uninstall-info-recursive uninstall-man uninstall-man1 \ 	uninstall-recursive uninstall-sysconfDATAdiff -ruN avrdude-4.0.0-orig/ac_cfg.h.in avrdude-4.0.0/ac_cfg.h.in--- avrdude-4.0.0-orig/ac_cfg.h.in	2003-03-12 15:05:32.000000000 -0600+++ avrdude-4.0.0/ac_cfg.h.in	2003-12-10 10:32:41.000000000 -0600@@ -12,6 +12,9 @@ /* Define to 1 if you have the `termcap' library (-ltermcap). */ #undef HAVE_LIBTERMCAP +/* Define to 1 if you have the `usb' library (-lusb). */+#undef HAVE_LIBUSB+ /* Define to 1 if you have the <limits.h> header file. */ #undef HAVE_LIMITS_H diff -ruN avrdude-4.0.0-orig/aclocal.m4 avrdude-4.0.0/aclocal.m4--- avrdude-4.0.0-orig/aclocal.m4	2003-03-12 15:05:08.000000000 -0600+++ avrdude-4.0.0/aclocal.m4	2003-12-10 10:31:50.000000000 -0600@@ -1,6 +1,6 @@-# generated automatically by aclocal 1.7.3 -*- Autoconf -*-+# aclocal.m4 generated automatically by aclocal 1.6.3 -*- Autoconf -*- -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002+# Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002 # Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it,@@ -16,7 +16,7 @@ # This macro actually does too much some checks are only needed if # your package does certain things.  But this isn't really a big deal. -# Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003+# Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002 # Free Software Foundation, Inc.  # This program is free software; you can redistribute it and/or modify@@ -34,7 +34,7 @@ # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. -# serial 9+# serial 8  # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be # written in clear, in which case automake, when reading aclocal.m4,@@ -43,7 +43,7 @@ # CC etc. in the Makefile, will ask for an AC_PROG_CC use...  -AC_PREREQ([2.54])+AC_PREREQ([2.52])  # Autoconf 2.50 wants to disallow AM_ names.  We explicitly allow # the ones we care about.@@ -69,16 +69,6 @@   AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) fi -# test whether we have cygpath-if test -z "$CYGPATH_W"; then-  if (cygpath --version) >/dev/null 2>/dev/null; then-    CYGPATH_W='cygpath -w'-  else-    CYGPATH_W=echo-  fi-fi-AC_SUBST([CYGPATH_W])- # Define the identity of the package. dnl Distinguish between old-style and new-style calls. m4_ifval([$2],@@ -86,8 +76,8 @@  AC_SUBST([PACKAGE], [$1])dnl  AC_SUBST([VERSION], [$2])], [_AM_SET_OPTIONS([$1])dnl- AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl- AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl+ AC_SUBST([PACKAGE], [AC_PACKAGE_TARNAME])dnl+ AC_SUBST([VERSION], [AC_PACKAGE_VERSION])])dnl  _AM_IF_OPTION([no-define],, [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])@@ -108,41 +98,19 @@ # some platforms. AC_REQUIRE([AC_PROG_AWK])dnl AC_REQUIRE([AC_PROG_MAKE_SET])dnl-AC_REQUIRE([AM_SET_LEADING_DOT])dnl  _AM_IF_OPTION([no-dependencies],,-[AC_PROVIDE_IFELSE([AC_PROG_CC],+[AC_PROVIDE_IFELSE([AC_PROG_][CC],                   [_AM_DEPENDENCIES(CC)],-                  [define([AC_PROG_CC],-                          defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl-AC_PROVIDE_IFELSE([AC_PROG_CXX],+                  [define([AC_PROG_][CC],+                          defn([AC_PROG_][CC])[_AM_DEPENDENCIES(CC)])])dnl+AC_PROVIDE_IFELSE([AC_PROG_][CXX],                   [_AM_DEPENDENCIES(CXX)],-                  [define([AC_PROG_CXX],-                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl+                  [define([AC_PROG_][CXX],+                          defn([AC_PROG_][CXX])[_AM_DEPENDENCIES(CXX)])])dnl ]) ]) --# When config.status generates a header, we must update the stamp-h file.-# This file resides in the same directory as the config header-# that is generated.  The stamp files are numbered to have different names.--# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the-# loop where config.status creates the headers, so we can generate-# our stamp files there.-AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],-[# Compute $1's index in $config_headers.-_am_stamp_count=1-for _am_header in $config_headers :; do-  case $_am_header in-    $1 | $1:* )-      break ;;-    * )-      _am_stamp_count=`expr $_am_stamp_count + 1` ;;-  esac-done-echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])- # Copyright 2002  Free Software Foundation, Inc.  # This program is free software; you can redistribute it and/or modify@@ -163,14 +131,14 @@ # ---------------------------- # Automake X.Y traces this macro to ensure aclocal.m4 has been # generated from the m4 files accompanying Automake X.Y.-AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.7"])+AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.6"])  # AM_SET_CURRENT_AUTOMAKE_VERSION # ------------------------------- # Call AM_AUTOMAKE_VERSION so it can be traced. # This function is AC_REQUIREd by AC_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],-	 [AM_AUTOMAKE_VERSION([1.7.3])])+	 [AM_AUTOMAKE_VERSION([1.6.3])])  # Helper functions for option handling.                    -*- Autoconf -*- @@ -456,42 +424,9 @@ INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) -#                                                          -*- Autoconf -*--# Copyright (C) 2003  Free Software Foundation, Inc.--# This program is free software; you can redistribute it and/or modify-# it under the terms of the GNU General Public License as published by-# the Free Software Foundation; either version 2, or (at your option)-# any later version.--# This program is distributed in the hope that it will be useful,-# but WITHOUT ANY WARRANTY; without even the implied warranty of-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the-# GNU General Public License for more details.--# You should have received a copy of the GNU General Public License-# along with this program; if not, write to the Free Software-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA-# 02111-1307, USA.+# serial 4						-*- Autoconf -*- -# serial 1--# Check whether the underlying file-system supports filenames-# with a leading dot.  For instance MS-DOS doesn't.-AC_DEFUN([AM_SET_LEADING_DOT],-[rm -rf .tst 2>/dev/null-mkdir .tst 2>/dev/null-if test -d .tst; then-  am__leading_dot=.-else-  am__leading_dot=_-fi-rmdir .tst 2>/dev/null-AC_SUBST([am__leading_dot])])--# serial 5						-*- Autoconf -*---# Copyright (C) 1999, 2000, 2001, 2002, 2003  Free Software Foundation, Inc.+# Copyright 1999, 2000, 2001 Free Software Foundation, Inc.  # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by@@ -583,17 +518,11 @@     if depmode=$depmode \        source=conftest.c object=conftest.o \        depfile=conftest.Po tmpdepfile=conftest.TPo \-       $SHELL ./depcomp $depcc -c -o conftest.o conftest.c \-         >/dev/null 2>conftest.err &&+       $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&        grep conftest.h conftest.Po > /dev/null 2>&1 &&        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then-      # icc doesn't choke on unknown options, it will just issue warnings-      # (even with -Werror).  So we grep stderr for any message-      # that says an option was ignored.-      if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else-        am_cv_$1_dependencies_compiler_type=$depmode-        break-      fi+      am_cv_$1_dependencies_compiler_type=$depmode+      break     fi   done @@ -604,9 +533,6 @@ fi ]) AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])-AM_CONDITIONAL([am__fastdep$1], [-  test "x$enable_dependency_tracking" != xno \-  && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) ])  @@ -615,8 +541,16 @@ # Choose a directory name for dependency files. # This macro is AC_REQUIREd in _AM_DEPENDENCIES AC_DEFUN([AM_SET_DEPDIR],-[AC_REQUIRE([AM_SET_LEADING_DOT])dnl-AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl+[rm -f .deps 2>/dev/null+mkdir .deps 2>/dev/null+if test -d .deps; then+  DEPDIR=.deps+else+  # MS-DOS does not allow filenames that begin with a dot.+  DEPDIR=_deps+fi+rmdir .deps 2>/dev/null+AC_SUBST([DEPDIR]) ])  @@ -718,9 +652,7 @@      [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) ]) -# Check to see how 'make' treats includes.	-*- Autoconf -*---# Copyright (C) 2001, 2002 Free Software Foundation, Inc.+# Copyright 2001 Free Software Foundation, Inc.             -*- Autoconf -*-  # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by@@ -760,7 +692,7 @@ # In particular we don't look at `^make:' because GNU make might # be invoked under some other name (usually "gmake"), in which # case it prints its new name instead of `make'.-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then+if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -