[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [1/11] Native MSVC support (lib-as-archiver)
From: |
Peter Rosin |
Subject: |
Re: [1/11] Native MSVC support (lib-as-archiver) |
Date: |
Wed, 11 Jul 2007 08:15:30 +0200 |
User-agent: |
Mutt/1.5.12-2006-07-14 |
On Tue, Jul 10, 2007 at 11:17:11PM +0200, Peter Rosin wrote:
> Allow Microsoft lib to be used as the archiver.
> archive-in-archive.at passes (unexpectedly) for Microsoft lib.
> Should AR_FLAGS be ARFLAGS instead? Automake uses that...
>
> * libltdl/m4/libtool.m4 (_LT_PROG_AR): New macro, detect the
> interface used by the archiver. In particullar, add the AR_SEP
> variable to allow archivers that does not allow a space between
> the options to create an archive and the archive name and the
> ar_extract_one_by_one variable which indicates if the archiver
> can extract all members in one go.
> * libltdl/m4/libtool.m4: Add $AR_SEP between $AR and $AR_FLAGS.
> * libltdl/config/ltmain.m4sh (func_extract_an_archive): Add support
> for archivers that only supports extracting one member at a time
> and otherwise adjust to the above libtool.m4 changes.
> * Makefile.am: Pass AR, AR_FLAGS, AR_TFLAGS and AR_SEP through
> to the testsuite.
> * tests/archive-in-archive.at: Extract archive name from the .la
> file instead of hardcodeing the name, and allow different archivers.
Improved ChangeLog entry follows:
* libltdl/m4/libtool.m4 (_LT_PROG_AR): New macro, detect the
interface used by the archiver. In particullar, add the AR_SEP
variable to allow archivers that does not allow a space between
the options to create an archive and the archive name and the
ar_extract_one_by_one variable which indicates if the archiver
can extract all members in one go.
* libltdl/m4/libtool.m4: Add $AR_SEP between $AR_FLAGS and the
archive file name in all $AR commands.
* libltdl/config/ltmain.m4sh (func_extract_an_archive): Add support
for archivers that only supports extracting one member at a time
and otherwise adjust to the above libtool.m4 changes. Also, add
$AR_SEP to the $AR invocations.
* Makefile.am: Pass AR, AR_FLAGS and AR_SEP through to the
testsuite.
* tests/archive-in-archive.at: Extract archive name from the .la
file instead of hardcodeing the name, and allow different archivers.
Cheers,
Peter
[3/11] Native MSVC support (msvc-cwrapper), Peter Rosin, 2007/07/10