[Top][All Lists]
[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
autoconf-20051026-tst2.patch
Description: Text document
- Re: AC_PROG_CC_C_O doesn't work with VC++, Harald Dunkel, 2005/10/24
- Re: AC_PROG_CC_C_O doesn't work with VC++, Keith MARSHALL, 2005/10/25
- Re: AC_PROG_CC_C_O doesn't work with VC++, Stepan Kasal, 2005/10/25
- Re: AC_PROG_CC_C_O doesn't work with VC++, Eli Zaretskii, 2005/10/25
- Re: AC_PROG_CC_C_O doesn't work with VC++, Stepan Kasal, 2005/10/26
- Re: AC_PROG_CC_C_O doesn't work with VC++, Eli Zaretskii, 2005/10/26
- Re: AC_PROG_CC_C_O doesn't work with VC++,
Stepan Kasal <=
- Re: AC_PROG_CC_C_O doesn't work with VC++, Noah Misch, 2005/10/27
- Re: AC_PROG_CC_C_O doesn't work with VC++, Paul Eggert, 2005/10/27
Re: AC_PROG_CC_C_O doesn't work with VC++, Keith MARSHALL, 2005/10/25