[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: a libtool.m4 patch for use with autoconf-2.50
From: |
Gary V . Vaughan |
Subject: |
Re: a libtool.m4 patch for use with autoconf-2.50 |
Date: |
Fri, 29 Jun 2001 02:44:38 +0100 |
On Thursday 14 June 2001 4:07 pm, Bruno Haible wrote:
> Hi,
>
> The libtool.m4 from libtool-1.4 doesn't work perfectly with autoconf-2.50:
> the "-o file.lo" test reports "no" instead of "yes" as it did with
> autoconf-2.13. config.log shows the following lines:
>
> configure:3952: checking if gcc supports -c -o file.lo
> configure:3974: gcc -c -g -O2 -c -o conftest.lo conftest.c >&5
> configure:3977: $? = 0
> configure:3980: test -s conftest.o
> configure:3983: $? = 1
>
> It is wrong to expect the existence of conftest.o after using "-o
> conftest.lo".
>
> Here is a fix.
Cool. Thanks. I just finished committing patches to support autoconf-2.50
fully in the HEAD revision too. It is nice not to have to jump between
versions of autoconf when testing on branch-1-4 and HEAD of libtool.
Applied to branch-1-4. HEAD no longer has this test, since PIC files are
compileed in a subdirectory and then moved afterwards now.
> It also fixes that the result of this test is not displayed,
> a simple typo.
Doh! Thanks again.
Cheers,
Gary.
--
())_. Gary V. Vaughan gary@(oranda.demon.co.uk|gnu.org)
( '/ Research Scientist http://www.oranda.demon.co.uk ,_())____
/ )= GNU Hacker http://www.gnu.org/software/libtool \' `&
`(_~)_ Tech' Author http://sources.redhat.com/autobook =`---d__/