bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libtool 2.2.4: libtoolize removes config.{guess,sub}


From: Ralf Wildenhues
Subject: Re: libtool 2.2.4: libtoolize removes config.{guess,sub}
Date: Mon, 26 May 2008 21:55:29 +0200
User-agent: Mutt/1.5.17+20080114 (2008-01-14)

Hello Andreas,

* Andreas Schwab wrote on Wed, May 14, 2008 at 01:21:55PM CEST:
> libtoolize when called without --install (as does autoreconf -fi)
> removes config.guess and config.sub, but does not copy them back.  In a
> project that does not use automake this means that the files will be
> missing after the autoreconf call, although AC_PROG_LIBTOOL actually
> needs them.

Thanks for the bug report.  I'm applying this patch.

Cheers,
Ralf


2008-05-26  Ralf Wildenhues  <address@hidden>

        * 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.

diff --git a/libtoolize.m4sh b/libtoolize.m4sh
index 0c7cf02..092cd25 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"
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]