From: Akim Demaille <[EMAIL PROTECTED]>
Date: 04 Apr 2000 14:05:01 +0200
The macro AC_PROG_CC_C_O (appended below for convenience), according
to the documentation, is expected to check whether the C compiler
supports -c and -o together. But if you read the code, you can see
that it's checking that $CC *and* cc support -c -o.
That's because the macro was intended for use with GNU make, to decide
what the default compilation rule should be. GNU make should work
with both gcc and the native compiler, in cases where they are
different. gcc always supports -c -o. That is not always true of the
native compiler.
This could probably be changed. But if you change it, make sure you
coordinate with the GNU make maintainers, so that they can change
their configure.in file appropriately when they upgrade to the new
version of autoconf.
On the other hand, changing it breaks backward compatibility for no
real advantage. You could just mark it obsolete, and invent a new
macro with a better name.
Ian