[Top][All Lists]

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

Re: static library contains static library

From: Peter O'Gorman
Subject: Re: static library contains static library
Date: Sun, 10 Jun 2007 09:11:59 -0500

On Jun 10, 2007, at 4:35 AM, Ralf Wildenhues wrote:

Hello Peter, all,

* Peter O'Gorman wrote on Sun, Jun 03, 2007 at 07:37:39AM CEST:
2007-06-03  Peter O'Gorman  <address@hidden>

+AT_SETUP([static library contains static library])
+archive_contents=`ar -t libbar.a`
+AT_XFAIL_IF([case "$archive_contents" in *"libfoo.a"*) : ;; esac])

This is broken.  The condition inside AT_XFAIL_IF is evaluated before
the test itself is run.  In this case, just remove those 2 lines,
please, as the test should succeed always now, no?

For the general case, can this please be fixed in Autotest or at least
be clearly documented in the Autoconf manual?

Well, that is interesting, running the test at all is a bit of a waste of time then :(

It does fail with the AT_XFAIL_IF removed (at least on darwin), one static archive remains as a member of another. Still, it is an improvement on two. I wanted to XFAIL it until I had the time to fix it. Oh well. AT_XFAIL_IF([:]) or equivalent is still needed.

Peter O'Gorman

reply via email to

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