Dear all,

On Cygwin, I would like to slightly alter AC_PROG_CC's list of C
compilers. What I would like is that it tries a few ones I could hardcode
but then if they are not found that it falls back to its own list. I
realise that I could hardcode the whole list with my compilers first
but I would prefere not to because the list used internally by
AC_PROG_CC may change in the future and then my hardcoded list would
become obsolete.

I have also considered calling AC_PROG_CC twice: first with the
compilers I would like to look for, and then, if that fails, a second
time without any argument to go through the default ones. But I am
guessing that it would print the messages about looking for the C
compiler twice, which is not quite what I want.

Is there a recommended solution?

Many thanks in advance for any help,

Sébastien.

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

Reply via email to