Re: AC_PROG_CC_C_O doesn't work with VC++

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

 



Stepan Kasal <kasal@xxxxxx> writes:

> 2005-07-01  Stepan Kasal  <kasal@xxxxxx>
>
> 	* 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.


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux