From: Ralf Wildenhues Date: Mon, 26 May 2008 19:54:51 +0000 (+0200) Subject: libtoolize should not remove config.guess, config.sub. X-Git-Tag: v2.2.6~33 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=49db3a0a4cf26382d01c209ad4004e7eb2dd1be0;p=thirdparty%2Flibtool.git libtoolize should not remove config.guess, config.sub. * libtoolize.m4sh (all_pkgconfig_files): Do not list config.guess nor config.sub. We don't install them without --install, and the project may not be using Automake. Report by Andreas Schwab. Signed-off-by: Ralf Wildenhues --- diff --git a/ChangeLog b/ChangeLog index 97eea586b..178d50544 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2008-05-26 Ralf Wildenhues + libtoolize should not remove config.guess, config.sub. + * libtoolize.m4sh (all_pkgconfig_files): Do not list + config.guess nor config.sub. We don't install them without + --install, and the project may not be using Automake. + Report by Andreas Schwab. + Simplify argument parsing in cwrapper. * libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src): Use NULL where appropriate. Do not compute length of arguments diff --git a/libtoolize.m4sh b/libtoolize.m4sh index 0c7cf025b..092cd25b7 100644 --- a/libtoolize.m4sh +++ b/libtoolize.m4sh @@ -120,7 +120,9 @@ configure_ac=configure.in # 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. -all_pkgconfig_files="config.guess config.sub ltmain.sh" +# Do not remove config.guess nor config.sub, we don't install them +# without --install, and the project may not be using Automake. +all_pkgconfig_files="ltmain.sh" 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 slist.c"