autoconf-patches
[Top][All Lists]
Advanced

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

Re: AC_PROG_CC_C_O doesn't work with VC++


From: Stepan Kasal
Subject: Re: AC_PROG_CC_C_O doesn't work with VC++
Date: Thu, 27 Oct 2005 08:16:05 +0200
User-agent: Mutt/1.4.1i

Hello.

On Wed, Oct 26, 2005 at 09:11:09PM +0200, Eli Zaretskii wrote:
> > the problem is this: ./configure runs
> >     $CC -c -o conftst2.$ac_objext conftest.c
> > and then checks whether the compiler created conftst2.$ac_objext or
> > conftest$ac_objext
> > 
> > If it were "conftest2.$ac_objext" instead, and someone run
> >     bash ./configure
> > in a DJGPP environment, the check might not work.
> 
> It _will_ work, even on 8+3 filesystems. [detailed explanation snipped]

No, the check doesn't _work_.  It just _passes_ by shere good luck.

If $CC were not able to handle -c -o correctly, and created
conftest.$ac_objext instead of conftest2.$ac_objext, ./configure
would still think that $CC handles -c -o correctly.

I committed the patch attached to this mail.

Have a nice day,
        Stepan Kasal

Attachment: autoconf-20051026-tst2.patch
Description: Text document


reply via email to

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