On 8/17/21 11:30 AM, [email protected] wrote: >>> I guess I'll have to work around it. > The docs of AC_PROG_CC say that if CC was not found to be gcc, GCC won't be > set to > "yes". And this suffices for all coding purposes.
Not exactly. It makes an affirmative statement: "If using the GNU C compiler, set shell variable GCC to ‘yes’." and doesn't say anything about what will happens if CC is not gcc. (https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/C-Compiler.html) But now that we know, it's not a problem to work around. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU [email protected] http://tiswww.cwru.edu/~chet/
