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: Paul Eggert
Subject: Re: AC_PROG_CC_C_O doesn't work with VC++
Date: Fri, 01 Jul 2005 11:34:09 -0700
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

Stepan Kasal <address@hidden> writes:

> 2005-07-01  Stepan Kasal  <address@hidden>
>
>       * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Use conf$$.o instead of
>       conftest.o, to see whether the compiler really obeys; rm the
>       object file before the test.
>       * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.

That looks good, except for one thing: the command

  rm -f conf$$*

might remove a bit too much.  For example, if $$ = 2, it's equivalent
to "rm -f conf2*", which might remove conf23.o.  It's a small point,
but I'd feel a bit better if you uniformly replaced "conf$$" by
"conf$$t" to prevent unexpected matches like that.




reply via email to

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