--- libtoolize.in.orig 2013-08-23 05:06:01 UTC +++ libtoolize.in @@ -393,7 +393,7 @@ func_copy () # Filters always take priority. if test -n "$my_filter"; then if $opt_dry_run || { - ( umask 0 + ( $SED -e "$my_filter" "$my_srcfile" > "$my_destfile" ) >/dev/null 2>&1 } @@ -423,7 +423,7 @@ func_copy () $opt_verbose && my_copy_msg="$my_copycmd $my_srcfile $my_destdir" if $opt_dry_run || { - ( umask 0 + ( $my_copycmd "$my_srcfile" "$my_destfile" ) >/dev/null 2>&1 } @@ -1894,9 +1894,10 @@ func_require_seen_libtool () # Lists of all files libtoolize has ever installed. These are removed # before installing the latest files when --force was passed to help # ensure a clean upgrade. - # Do not remove config.guess nor config.sub, we don't install them - # without --install, and the project may not be using Automake. - all_pkgaux_files="compile install-sh depcomp missing ltmain.sh snippet/_Noreturn.h snippet/arg-nonnull.h snippet/c++defs.h snippet/warn-on-use.h" + # Do not remove config.guess, config.sub or install-sh, we don't + # install them without --install, and the project may not be using + # Automake. + all_pkgaux_files="compile depcomp missing ltmain.sh snippet/_Noreturn.h snippet/arg-nonnull.h snippet/c++defs.h snippet/warn-on-use.h" all_pkgmacro_files="argz.m4 libtool.m4 ltdl.m4 ltoptions.m4 ltsugar.m4 ltversion.in ltversion.m4 lt~obsolete.m4" all_pkgltdl_files="COPYING.LIB Makefile Makefile.in Makefile.inc Makefile.am README acinclude.m4 aclocal.m4 argz_.h argz.c config.h.in config-h.in configure configure.ac configure.in libltdl/lt__alloc.h libltdl/lt__dirent.h libltdl/lt__glibc.h libltdl/lt__private.h libltdl/lt__strl.h libltdl/lt_dlloader.h libltdl/lt_error.h libltdl/lt_system.h libltdl/slist.h loaders/dld_link.c loaders/dlopen.c loaders/dyld.c loaders/load_add_on.c loaders/loadlibrary.c loaders/preopen.c loaders/shl_load.c lt__alloc.c lt__dirent.c lt__strl.c lt_dlloader.c lt_error.c ltdl.c ltdl.h ltdl.mk slist.c"