]> git.ipfire.org Git - thirdparty/autoconf.git/commit
AC_PROG_CC: also check whether $CC supports "-c -o" together
authorStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 10 Jan 2013 14:14:24 +0000 (15:14 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Fri, 11 Jan 2013 10:11:31 +0000 (11:11 +0100)
commitce48964f646970abd69061590b1b82454780e3e5
treea03e13720ca740ab04f20a270a8c4aba2947386c
parentddd0bfbb0629bcb8c7f698435aa93b070df3b69e
AC_PROG_CC: also check whether $CC supports "-c -o" together

This is for Automake and its 'subdir-object' mode (see automake bug#13378,
in particular <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13378#73>), so
we make the new behavior available only if the special witness macro
'_AM_PROG_CC_C_O_HELPME' is defined (future Automake versions will define
it).  We might decide, at a later date, to make this behaviour public;
but then we'll have to discuss its usefulness and design more in depth,
and if they are agreed upon, adjust the documentation to match, and also
decide what to do with the macro AC_PROG_CC_C_O, with its similar (but
slightly incompatible) semantics; since doing so right now would bring us
off-track (and Automake needs this change *today*, or better, yesterday),
we proceed with this simpler hack.

* lib/autoconf/c.m4 (AC_PROG_CC): Adjust.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
lib/autoconf/c.m4