Hi,

I have two queries related to autoconfigure identifying the compilers

[1] I need to identify if the compiler is sun studio at configure.in
level. How do i do that?

Incase of gcc, $CC is set to gcc and I can probably use my own
conditional such as
AM_CONDITIONAL(IS_COMPILER_GCC,test x$CC = xgcc)

I need a condition for Sun Studio so that in Makefile.am this
condition can be used.

[2] If both gcc and sun studio cc are in the path, ./configure picks
up sun studio cc. This can be changed by setting the CC environment
variable. Are there any other cleaner way of doing things.

regards
Shiv
_______________________________________________
tools-discuss mailing list
[email protected]

Reply via email to