[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [patch] ar xN fixes for HEAD
From: |
Ralf Wildenhues |
Subject: |
Re: [patch] ar xN fixes for HEAD |
Date: |
Tue, 14 Dec 2004 16:30:06 +0100 |
User-agent: |
Mutt/1.4.1i |
Hi Peter,
* Peter O'Gorman wrote on Tue, Dec 14, 2004 at 03:49:49PM CET:
> Hi,
> *sigh* looks like I'll have to port this to branch 2.0 too, as that does
> not have any autotest tests :(
I'm sorry.
> Okay to apply this to HEAD?
I think it's ok. Your sed marker style is definitely better than mine,
but we may still need to find a cleaner way if their number continues to
grow.
BTW, the tested functionality does not ever look at the contents of the
*.o files you create, right (in the sense that it doesn't matter what
they contain)? SUS specifies that this should work with `ar', but I
have no idea whether some vendor's `ar' might stumble. Oh well.
Regards,
Ralf
> 2004-12-14 Peter O'Gorman <address@hidden>
>
> * config/ltmain.m4sh (func_extract_archives,func_extract_an_archive):
> On darwin, uniq can not take teh flags -cd together, thanks to Ralf
> for the fix, also ar does not accept N, so we use the fact that
> ar x libfoo.a foo.o will always extract the first foo.o in the
> archive and we then delete foo.o from the archive, which will also
> delete only the first foo.o, then rinse and repeat. Also add markers
> for the testuite.
> * m4/libtool.m4 (_LT_CONFIG): Add a marker so that we can use a sed
> expression to find the shell functions in libtool.
> * tests/functests.at: Test this feature.
> * tests/testsuite.at: Add the test.
> * tests/Makefile.am: Add the test.
*snip*