autoconf
[Top][All Lists]
Advanced

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

C compiler detection question


From: Sébastien Hinderer
Subject: C compiler detection question
Date: Thu, 19 Jul 2018 12:04:50 +0200

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]